SceLcd: Difference between revisions

From Vita Development Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Module ==
== Module ==


=== Known NIDs ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! Name !! World !! Privilege !! NID
! Version !! World !! Privilege
|-
|-
| 3.60 || SceLcd || Non-secure || Kernel || 0x32FDD1BB
| 3.60 || Non-secure || Kernel
|}
|}


Line 22: Line 21:
== SceLcdForDriver ==
== SceLcdForDriver ==


=== ksceLcdWaitReady ===
=== sceLcdWaitReadyForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 30: Line 29:
|}
|}


<source lang="c">int ksceLcdWaitReady();</source>
Waits until the LCD has been initialized.


Waits until the LCD has been initialized.
<source lang="c">int sceLcdWaitReadyForDriver(void);</source>


=== ksceLcdGetDisplayColorSpaceMode ===
=== sceLcdGetDisplayColorSpaceModeForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 42: Line 41:
|}
|}


<source lang="c">int ksceLcdGetDisplayColorSpaceMode(void);</source>
<source lang="c">int sceLcdGetDisplayColorSpaceModeForDriver(void);</source>


=== ksceLcdDisplayOff ===
=== sceLcdDisplayOffForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 52: Line 51:
|}
|}


<source lang="c">int ksceLcdDisplayOff();</source>
<source lang="c">int sceLcdDisplayOffForDriver(void);</source>


=== ?? ===
=== SceLcdForDriver_1D73D7F3 ===
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 62: Line 61:
|}
|}


<source lang="c">int ??(int unk);</source>
<source lang="c">int SceLcdForDriver_1D73D7F3(int unk);</source>


=== ksceLcdGetBrightness ===
=== sceLcdGetBrightnessForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 72: Line 71:
|}
|}


<source lang="c">int ksceLcdGetBrightness(void);</source>
<source lang="c">int sceLcdGetBrightnessForDriver(void);</source>


=== SceLcdForDriver_5127FB5E ===
=== SceLcdForDriver_5127FB5E ===
Line 86: Line 85:
Sends a command to the LCD.
Sends a command to the LCD.


=== SceLcdForDriver_59CCDC97_dispatch_cmd_list ===
=== SceLcdForDriver_59CCDC97 ===
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 96: Line 95:
Dispatches the LCD cmd list (using SceLcdForDriver_5127FB5E).
Dispatches the LCD cmd list (using SceLcdForDriver_5127FB5E).


=== ksceLcdSetBrightness ===
=== sceLcdSetBrightnessForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 104: Line 103:
|}
|}


<source lang="c">int ksceLcdSetBrightness(unsigned int brightness);</source>
<source lang="c">int sceLcdSetBrightnessForDriver(unsigned int brightness);</source>


=== ksceLcdDisplayOn ===
=== sceLcdDisplayOnForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 114: Line 113:
|}
|}


<source lang="c">int ksceLcdDisplayOn();</source>
<source lang="c">int sceLcdDisplayOnForDriver();</source>


=== ksceLcdSetDisplayColorSpaceMode ===
=== sceLcdSetDisplayColorSpaceModeForDriver ===
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 124: Line 123:
|}
|}


<source lang="c">int ksceLcdSetDisplayColorSpaceMode(int mode);</source>
<source lang="c">int sceLcdSetDisplayColorSpaceModeForDriver(int mode);</source>


=== sceLcdGetDDBForDriver ===
=== sceLcdGetDDBForDriver ===
Line 133: Line 132:
| 3.60 || 0xE03E120B
| 3.60 || 0xE03E120B
|}
|}
Returns the Device Descriptor Block (DDB), read with MIPI DSI command <code>read_DDB_start</code> (<code>0xA1</code>).


<source lang="c">int sceLcdGetDDBForDriver(unsigned short *supplier_id, unsigned short *supplier_elective_data);</source>
<source lang="c">int sceLcdGetDDBForDriver(unsigned short *supplier_id, unsigned short *supplier_elective_data);</source>


Returns the Device Descriptor Block (DDB), read with MIPI DSI command <code>read_DDB_start</code> (<code>0xA1</code>).
[[Category:ARM]]
 
[[Category:Kernel]]
[[Category:Modules]]
[[Category:Modules]]
[[Category:Kernel]]
[[Category:Library]]

Latest revision as of 21:07, 1 May 2023

Module

Version World Privilege
3.60 Non-secure Kernel

Libraries

Known NIDs

Version Name World Visibility NID
3.60 SceLcdForDriver Non-secure Kernel 0xFA916D71

SceLcdForDriver

sceLcdWaitReadyForDriver

Version NID
3.60 0x0C7E03D8

Waits until the LCD has been initialized.

int sceLcdWaitReadyForDriver(void);

sceLcdGetDisplayColorSpaceModeForDriver

Version NID
3.60 0x17F66722
int sceLcdGetDisplayColorSpaceModeForDriver(void);

sceLcdDisplayOffForDriver

Version NID
3.60 0x1A0A7519
int sceLcdDisplayOffForDriver(void);

SceLcdForDriver_1D73D7F3

Version NID
3.60 0x1D73D7F3
int SceLcdForDriver_1D73D7F3(int unk);

sceLcdGetBrightnessForDriver

Version NID
3.60 0x3A6D6AC3
int sceLcdGetBrightnessForDriver(void);

SceLcdForDriver_5127FB5E

Version NID
3.60 0x5127FB5E
int SceLcdForDriver_5127FB5E(u8 cmd, void *buffer, int size);

Sends a command to the LCD.

SceLcdForDriver_59CCDC97

Version NID
3.60 0x59CCDC97

Dispatches the LCD cmd list (using SceLcdForDriver_5127FB5E).

sceLcdSetBrightnessForDriver

Version NID
3.60 0x581D3A87
int sceLcdSetBrightnessForDriver(unsigned int brightness);

sceLcdDisplayOnForDriver

Version NID
3.60 0x5F4124AB
int sceLcdDisplayOnForDriver();

sceLcdSetDisplayColorSpaceModeForDriver

Version NID
3.60 0xD40968FB
int sceLcdSetDisplayColorSpaceModeForDriver(int mode);

sceLcdGetDDBForDriver

Version NID
3.60 0xE03E120B

Returns the Device Descriptor Block (DDB), read with MIPI DSI command read_DDB_start (0xA1).

int sceLcdGetDDBForDriver(unsigned short *supplier_id, unsigned short *supplier_elective_data);