summaryrefslogtreecommitdiff
path: root/include/kernel/lowio/pervasive.h
blob: 1fa732a44c45ce971289dc8389c06accdec6ecf7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/*
	Vita Development Suite Libraries
*/

#ifndef _VDSUITE_KERNEL_LOWIO_PERVASIVE_H
#define _VDSUITE_KERNEL_LOWIO_PERVASIVE_H

#ifdef __cplusplus
extern "C" {
#endif

int scePervasiveUartClkGateDisable(int port);
int scePervasiveUartResetEnable(int port);
int scePervasiveUartResetDisable(int port);
int scePervasiveUartClkGateEnable(int port);
int scePervasiveUartSetBaudrate(int port, unsigned int baudrate);

int scePervasiveGpioResetEnable(void);
int scePervasiveGpioResetDisable(void);
int scePervasiveGpioClkGateEnable(void);
int scePervasiveGpioClkGateDisable(void);

int scePervasiveSpiResetEnable(int port);
int scePervasiveSpiResetDisable(int port);
int scePervasiveSpiClkGateDisable(int port);
int scePervasiveSpiClkGateEnable(int port);

int scePervasiveIftuDsiResetEnable(int port, unsigned int mask);
int scePervasiveIftuDsiResetDisable(int port, unsigned int mask);
int scePervasiveIftuDsiClkGateEnable(int port, unsigned int mask);
int scePervasiveIftuDsiClkGateDisable(int port, unsigned int mask);
int scePervasiveDsiSetPixelClock(int port, int pixelclock);

int scePervasiveMsifResetEnable(void);
int scePervasiveMsifResetDisable(void);
int scePervasiveMsifClkGateEnable(void);
int scePervasiveMsifClkGateDisable(void);
int scePervasiveMsifSetClock(unsigned int clock);

int scePervasiveRemovableMemoryGetCardInsertState(void);

#ifdef __cplusplus
}
#endif

#endif /* _VDSUITE_KERNEL_LOWIO_PERVASIVE_H */