PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
cdvd-ioctl.h
Go to the documentation of this file.
1/*
2# _____ ___ ____ ___ ____
3# ____| | ____| | | |____|
4# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5#-----------------------------------------------------------------------
6# Copyright 2001-2004, ps2dev - http://www.ps2dev.org
7# Licenced under Academic Free License version 2.0
8# Review ps2sdk README & LICENSE files for further details.
9*/
10
16#ifndef __CDVD_IOCTL_H__
17#define __CDVD_IOCTL_H__
18
20// CDVDMAN.IRX
21
22//
23// IOCTL2 commands
24//
25#define CIOCSTREAMPAUSE 0x630D
26#define CIOCSTREAMRESUME 0x630E
27#define CIOCSTREAMSTAT 0x630F
28
29//
30// DEVCTL commands
31//
32#define CDIOC_READCLOCK 0x430C
33#define CDIOC_GETDISKTYP 0x431F
34#define CDIOC_GETERROR 0x4320
35#define CDIOC_TRAYREQ 0x4321
36#define CDIOC_STATUS 0x4322
37#define CDIOC_POWEROFF 0x4323
38#define CDIOC_MMODE 0x4324
39#define CDIOC_DISKRDY 0x4325
40#define CDIOC_STREAMINIT 0x4327
41#define CDIOC_BREAK 0x4328
42
43#define CDIOC_SPINNOM 0x4380
44#define CDIOC_SPINSTM 0x4381
45#define CDIOC_TRYCNT 0x4382
46#define CDIOC_STANDBY 0x4384
47#define CDIOC_STOP 0x4385
48#define CDIOC_PAUSE 0x4386
49#define CDIOC_GETTOC 0x4387
50#define CDIOC_SETTIMEOUT 0x4388
51#define CDIOC_READDVDDUALINFO 0x4389
52#define CDIOC_INIT 0x438A
53#define CDIOC_FSCACHEINIT 0x4395
54#define CDIOC_FSCACHEDELETE 0x4397
55
56#endif /* __CDVD_IOCTL_H__ */