vitasdk
Documentation of the vitasdk
dsi.h
Go to the documentation of this file.
1 
6 #ifndef _PSP2KERN_LOWIO_DSI_H_
7 #define _PSP2KERN_LOWIO_DSI_H_
8 
9 #include <psp2kern/types.h>
10 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
15 typedef enum SceDsiErrorCode {
21 
22 typedef enum SceDsiHead {
25 } SceDsiHead;
26 
27 int ksceDsiEnableHead(int head);
28 int ksceDsiDisableHead(int head);
30 int ksceDsiSetLanesAndPixelSize(int head, int lanes, int pixelsize);
31 int ksceDsiSetVic(int head, int vic);
32 int ksceDsiGetVicResolution(int vic, int *width, int *height);
33 int ksceDsiGetPixelClock(int head);
34 int ksceDsiGenericShortWrite(int head, int param0, int param1, int param2);
35 int ksceDsiGenericReadRequest(int head, int param, void *buff, unsigned int size);
36 int ksceDsiDcsShortWrite(int head, unsigned short param0, int param1);
37 int ksceDsiDcsRead(int head, unsigned short param, void *buff, unsigned int size);
38 
39 #ifdef __cplusplus
40 }
41 #endif
42 
43 #endif /* _PSP2KERN_LOWIO_DSI_H_ */
44 
int ksceDsiSendBlankingPacket(int head)
SceDsiErrorCode
Definition: dsi.h:15
int ksceDsiGetVicResolution(int vic, int *width, int *height)
int ksceDsiSetLanesAndPixelSize(int head, int lanes, int pixelsize)
int ksceDsiDcsShortWrite(int head, unsigned short param0, int param1)
int ksceDsiDisableHead(int head)
int ksceDsiSetVic(int head, int vic)
int ksceDsiDcsRead(int head, unsigned short param, void *buff, unsigned int size)
int ksceDsiEnableHead(int head)
int ksceDsiGenericShortWrite(int head, int param0, int param1, int param2)
SceDsiHead
Definition: dsi.h:22
int ksceDsiGenericReadRequest(int head, int param, void *buff, unsigned int size)
int ksceDsiGetPixelClock(int head)
@ SCE_DSI_ERROR_HEAD_NOT_ENABLED
Definition: dsi.h:19
@ SCE_DSI_ERROR_INVALID_STATE
Definition: dsi.h:17
@ SCE_DSI_ERROR_INVALID_PARAM
Definition: dsi.h:18
@ SCE_DSI_ERROR_INVALID_HEAD
Definition: dsi.h:16
@ SCE_DSI_HEAD_OLED_LCD
Definition: dsi.h:23
@ SCE_DSI_HEAD_HDMI
Definition: dsi.h:24
SceSize size
struct size(variable size)
Definition: debug.h:0