PS2SDK
PS2 Homebrew Libraries
|
#include <tamtypes.h>
Go to the source code of this file.
Data Structures | |
struct | hdd_ioc_devio_t |
struct | hdd_ctl_driveio_t |
Macros | |
#define | _IOC(type, nr) (((type) << 8) | (nr)) |
#define | HDD_IOC_TYPE 'H' |
#define | HDD_CTL_TYPE 'h' |
#define | HDDIOCADDSUB _IOC(HDD_IOC_TYPE, 1) |
#define | HDDIOCDELSUB _IOC(HDD_IOC_TYPE, 2) |
#define | HDDIOCGETSUBS _IOC(HDD_IOC_TYPE, 3) |
#define | HDDIOCFLUSH _IOC(HDD_IOC_TYPE, 4) |
#define | HDDIOCDEVIO _IOC(HDD_IOC_TYPE, 50) |
#define | HDDIOCGETSIZE _IOC(HDD_IOC_TYPE, 51) |
#define | HDDIOCSETERROR _IOC(HDD_IOC_TYPE, 52) |
#define | HDDIOCGETERROR _IOC(HDD_IOC_TYPE, 53) |
#define | HDDCTLGETMAXSECT _IOC(HDD_CTL_TYPE, 1) |
#define | HDDCTLGETTOTALSECT _IOC(HDD_CTL_TYPE, 2) |
#define | HDDCTLSETIDLE _IOC(HDD_CTL_TYPE, 3) |
#define | HDDCTLFLUSH _IOC(HDD_CTL_TYPE, 4) |
#define | HDDCTLSWAPTMP _IOC(HDD_CTL_TYPE, 5) |
#define | HDDCTLSHUTDOWN _IOC(HDD_CTL_TYPE, 6) |
#define | HDDCTLGETSTATUS _IOC(HDD_CTL_TYPE, 7) |
#define | HDDCTLGETFMTVER _IOC(HDD_CTL_TYPE, 8) |
#define | HDDCTLGETSMARTSTAT _IOC(HDD_CTL_TYPE, 9) |
#define | HDDCTLGETDATE _IOC(HDD_IOC_TYPE, 50) |
#define | HDDCTLINSTALLOSD _IOC(HDD_IOC_TYPE, 51) |
#define | HDDCTLGETERROR _IOC(HDD_IOC_TYPE, 52) |
#define | HDDCTLGETERRORID _IOC(HDD_IOC_TYPE, 53) |
#define | HDDCTLDRIVEREAD _IOC(HDD_IOC_TYPE, 54) |
#define | HDDCTLDRIVEWRITE _IOC(HDD_IOC_TYPE, 55) |
#define | HDDCTLSCEIDENTIFY _IOC(HDD_IOC_TYPE, 56) |
ioctl(), ioctl2(), and devctl() definitions.
Definition in file ioctl.h.
struct hdd_ioc_devio_t |
struct hdd_ctl_driveio_t |
#define HDDIOCADDSUB _IOC(HDD_IOC_TYPE, 1) |
#define HDDIOCDELSUB _IOC(HDD_IOC_TYPE, 2) |
#define HDDIOCGETSUBS _IOC(HDD_IOC_TYPE, 3) |
#define HDDIOCFLUSH _IOC(HDD_IOC_TYPE, 4) |
#define HDDIOCDEVIO _IOC(HDD_IOC_TYPE, 50) |
#define HDDIOCGETSIZE _IOC(HDD_IOC_TYPE, 51) |
#define HDDIOCSETERROR _IOC(HDD_IOC_TYPE, 52) |
#define HDDIOCGETERROR _IOC(HDD_IOC_TYPE, 53) |
#define HDDCTLGETMAXSECT _IOC(HDD_CTL_TYPE, 1) |
#define HDDCTLGETTOTALSECT _IOC(HDD_CTL_TYPE, 2) |
#define HDDCTLSETIDLE _IOC(HDD_CTL_TYPE, 3) |
#define HDDCTLFLUSH _IOC(HDD_CTL_TYPE, 4) |
#define HDDCTLSWAPTMP _IOC(HDD_CTL_TYPE, 5) |
#define HDDCTLSHUTDOWN _IOC(HDD_CTL_TYPE, 6) |
#define HDDCTLGETSTATUS _IOC(HDD_CTL_TYPE, 7) |
#define HDDCTLGETFMTVER _IOC(HDD_CTL_TYPE, 8) |
#define HDDCTLGETSMARTSTAT _IOC(HDD_CTL_TYPE, 9) |
#define HDDCTLGETDATE _IOC(HDD_IOC_TYPE, 50) |
#define HDDCTLINSTALLOSD _IOC(HDD_IOC_TYPE, 51) |
#define HDDCTLGETERROR _IOC(HDD_IOC_TYPE, 52) |
#define HDDCTLGETERRORID _IOC(HDD_IOC_TYPE, 53) |
#define HDDCTLDRIVEREAD _IOC(HDD_IOC_TYPE, 54) |
#define HDDCTLDRIVEWRITE _IOC(HDD_IOC_TYPE, 55) |