PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
pvrdrv.h File Reference
#include <types.h>
#include <irx.h>
+ Include dependency graph for pvrdrv.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define pvrdrv_IMPORTS_start   DECLARE_IMPORT_TABLE(pvrdrv, 1, 1)
 
#define pvrdrv_IMPORTS_end   END_IMPORT_TABLE
 
#define I_DvrdrvResetSystem   DECLARE_IMPORT(4, DvrdrvResetSystem)
 
#define I_DvrdrvEnableIntr   DECLARE_IMPORT(5, DvrdrvEnableIntr)
 
#define I_DvrdrvDisableIntr   DECLARE_IMPORT(6, DvrdrvDisableIntr)
 
#define I_DvrdrvRegisterIntrHandler   DECLARE_IMPORT(7, DvrdrvRegisterIntrHandler)
 
#define I_DvrdrvUnregisterIntrHandler   DECLARE_IMPORT(8, DvrdrvUnregisterIntrHandler)
 
#define I_DvrdrvExecCmdAck   DECLARE_IMPORT(9, DvrdrvExecCmdAck)
 
#define I_DvrdrvExecCmdAckComp   DECLARE_IMPORT(10, DvrdrvExecCmdAckComp)
 
#define I_DvrdrvExecCmdAckDmaSendComp   DECLARE_IMPORT(11, DvrdrvExecCmdAckDmaSendComp)
 
#define I_DvrdrvExecCmdAckDmaRecvComp   DECLARE_IMPORT(12, DvrdrvExecCmdAckDmaRecvComp)
 
#define I_DvrdrvExecCmdAckDma2Comp   DECLARE_IMPORT(13, DvrdrvExecCmdAckDma2Comp)
 

Functions

struct __attribute__ ((aligned(4))) drvdrv_exec_cmd_ack_
 
int DvrdrvResetSystem ()
 
int DvrdrvEnableIntr (u16 a1)
 
int DvrdrvDisableIntr (s16 a1)
 
int DvrdrvRegisterIntrHandler (int a1, void *arg, void(*a3)(int, void *))
 
int DvrdrvUnregisterIntrHandler (void(*a1)(int, void *))
 
int DvrdrvExecCmdAck (drvdrv_exec_cmd_ack *a1)
 
int DvrdrvExecCmdAckComp (drvdrv_exec_cmd_ack *a1)
 
int DvrdrvExecCmdAckDmaSendComp (drvdrv_exec_cmd_ack *a1)
 
int DvrdrvExecCmdAckDmaRecvComp (drvdrv_exec_cmd_ack *a1)
 
int DvrdrvExecCmdAckDma2Comp (drvdrv_exec_cmd_ack *a1)
 

Variables

 drvdrv_exec_cmd_ack
 

Detailed Description

Personal video recorder driver. Interface to the DVRP through the DEV9 interface.

Definition in file pvrdrv.h.

Macro Definition Documentation

◆ pvrdrv_IMPORTS_start

#define pvrdrv_IMPORTS_start   DECLARE_IMPORT_TABLE(pvrdrv, 1, 1)

Definition at line 55 of file pvrdrv.h.

◆ pvrdrv_IMPORTS_end

#define pvrdrv_IMPORTS_end   END_IMPORT_TABLE

Definition at line 56 of file pvrdrv.h.

◆ I_DvrdrvResetSystem

#define I_DvrdrvResetSystem   DECLARE_IMPORT(4, DvrdrvResetSystem)

Definition at line 58 of file pvrdrv.h.

◆ I_DvrdrvEnableIntr

#define I_DvrdrvEnableIntr   DECLARE_IMPORT(5, DvrdrvEnableIntr)

Definition at line 59 of file pvrdrv.h.

◆ I_DvrdrvDisableIntr

#define I_DvrdrvDisableIntr   DECLARE_IMPORT(6, DvrdrvDisableIntr)

Definition at line 60 of file pvrdrv.h.

◆ I_DvrdrvRegisterIntrHandler

#define I_DvrdrvRegisterIntrHandler   DECLARE_IMPORT(7, DvrdrvRegisterIntrHandler)

Definition at line 61 of file pvrdrv.h.

◆ I_DvrdrvUnregisterIntrHandler

#define I_DvrdrvUnregisterIntrHandler   DECLARE_IMPORT(8, DvrdrvUnregisterIntrHandler)

Definition at line 62 of file pvrdrv.h.

◆ I_DvrdrvExecCmdAck

#define I_DvrdrvExecCmdAck   DECLARE_IMPORT(9, DvrdrvExecCmdAck)

Definition at line 63 of file pvrdrv.h.

◆ I_DvrdrvExecCmdAckComp

#define I_DvrdrvExecCmdAckComp   DECLARE_IMPORT(10, DvrdrvExecCmdAckComp)

Definition at line 64 of file pvrdrv.h.

◆ I_DvrdrvExecCmdAckDmaSendComp

#define I_DvrdrvExecCmdAckDmaSendComp   DECLARE_IMPORT(11, DvrdrvExecCmdAckDmaSendComp)

Definition at line 65 of file pvrdrv.h.

◆ I_DvrdrvExecCmdAckDmaRecvComp

#define I_DvrdrvExecCmdAckDmaRecvComp   DECLARE_IMPORT(12, DvrdrvExecCmdAckDmaRecvComp)

Definition at line 66 of file pvrdrv.h.

◆ I_DvrdrvExecCmdAckDma2Comp

#define I_DvrdrvExecCmdAckDma2Comp   DECLARE_IMPORT(13, DvrdrvExecCmdAckDma2Comp)

Definition at line 67 of file pvrdrv.h.

Function Documentation

◆ __attribute__()

struct __attribute__ ( (aligned(4))  )

Definition at line 1 of file pvrdrv.h.

◆ DvrdrvResetSystem()

int DvrdrvResetSystem ( )
extern

Definition at line 189 of file dvrdrv.c.

◆ DvrdrvEnableIntr()

int DvrdrvEnableIntr ( u16  a1)
extern

Definition at line 602 of file dvrdrv.c.

◆ DvrdrvDisableIntr()

int DvrdrvDisableIntr ( s16  a1)
extern

Definition at line 614 of file dvrdrv.c.

◆ DvrdrvRegisterIntrHandler()

int DvrdrvRegisterIntrHandler ( int  a1,
void *  arg,
void(*)(int, void *)  a3 
)
extern

Definition at line 628 of file dvrdrv.c.

◆ DvrdrvUnregisterIntrHandler()

int DvrdrvUnregisterIntrHandler ( void(*)(int, void *)  a1)
extern

Definition at line 648 of file dvrdrv.c.

◆ DvrdrvExecCmdAck()

int DvrdrvExecCmdAck ( drvdrv_exec_cmd_ack *  a1)
extern

Definition at line 1024 of file dvrdrv.c.

◆ DvrdrvExecCmdAckComp()

int DvrdrvExecCmdAckComp ( drvdrv_exec_cmd_ack *  a1)
extern

Definition at line 1055 of file dvrdrv.c.

◆ DvrdrvExecCmdAckDmaSendComp()

int DvrdrvExecCmdAckDmaSendComp ( drvdrv_exec_cmd_ack *  a1)
extern

Definition at line 1098 of file dvrdrv.c.

◆ DvrdrvExecCmdAckDmaRecvComp()

int DvrdrvExecCmdAckDmaRecvComp ( drvdrv_exec_cmd_ack *  a1)
extern

Definition at line 1184 of file dvrdrv.c.

◆ DvrdrvExecCmdAckDma2Comp()

int DvrdrvExecCmdAckDma2Comp ( drvdrv_exec_cmd_ack *  a1)
extern

Definition at line 1261 of file dvrdrv.c.

Variable Documentation

◆ drvdrv_exec_cmd_ack

drvdrv_exec_cmd_ack

Definition at line 42 of file pvrdrv.h.