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
12extern "C" {
13#endif
14
21
26
27int ksceDsiEnableHead(int head);
28int ksceDsiDisableHead(int head);
30int ksceDsiSetLanesAndPixelSize(int head, int lanes, int pixelsize);
31int ksceDsiSetVic(int head, int vic);
32int ksceDsiGetVicResolution(int vic, int *width, int *height);
34int ksceDsiGenericShortWrite(int head, int param0, int param1, int param2);
35int ksceDsiGenericReadRequest(int head, int param, void *buff, unsigned int size);
36int ksceDsiDcsShortWrite(int head, unsigned short param0, int param1);
37int 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