Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
openpromio.h File Reference
#include <linux/compiler.h>
#include <linux/ioctl.h>
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  openpromio
 
struct  opiocdesc
 

Macros

#define OPROMMAXPARAM   4096 /* Maximum size of oprom_array. */
 
#define OPROMGETOPT   0x20004F01
 
#define OPROMSETOPT   0x20004F02
 
#define OPROMNXTOPT   0x20004F03
 
#define OPROMSETOPT2   0x20004F04
 
#define OPROMNEXT   0x20004F05
 
#define OPROMCHILD   0x20004F06
 
#define OPROMGETPROP   0x20004F07
 
#define OPROMNXTPROP   0x20004F08
 
#define OPROMU2P   0x20004F09
 
#define OPROMGETCONS   0x20004F0A
 
#define OPROMGETFBNAME   0x20004F0B
 
#define OPROMGETBOOTARGS   0x20004F0C
 
#define OPROMSETCUR   0x20004FF0 /* int node - Sets current node */
 
#define OPROMPCI2NODE   0x20004FF1 /* int pci_bus, pci_devfn - Sets current node to PCI device's node */
 
#define OPROMPATH2NODE   0x20004FF2 /* char path[] - Set current node from fully qualified PROM path */
 
#define OPROMCONS_NOT_WSCONS   0
 
#define OPROMCONS_STDIN_IS_KBD   0x1 /* stdin device is kbd */
 
#define OPROMCONS_STDOUT_IS_FB   0x2 /* stdout is a framebuffer */
 
#define OPROMCONS_OPENPROM   0x4 /* supports openboot */
 
#define OPIOCGET   _IOWR('O', 1, struct opiocdesc)
 
#define OPIOCSET   _IOW('O', 2, struct opiocdesc)
 
#define OPIOCNEXTPROP   _IOWR('O', 3, struct opiocdesc)
 
#define OPIOCGETOPTNODE   _IOR('O', 4, int)
 
#define OPIOCGETNEXT   _IOWR('O', 5, int)
 
#define OPIOCGETCHILD   _IOWR('O', 6, int)
 

Macro Definition Documentation

#define OPIOCGET   _IOWR('O', 1, struct opiocdesc)

Definition at line 61 of file openpromio.h.

#define OPIOCGETCHILD   _IOWR('O', 6, int)

Definition at line 66 of file openpromio.h.

#define OPIOCGETNEXT   _IOWR('O', 5, int)

Definition at line 65 of file openpromio.h.

#define OPIOCGETOPTNODE   _IOR('O', 4, int)

Definition at line 64 of file openpromio.h.

#define OPIOCNEXTPROP   _IOWR('O', 3, struct opiocdesc)

Definition at line 63 of file openpromio.h.

#define OPIOCSET   _IOW('O', 2, struct opiocdesc)

Definition at line 62 of file openpromio.h.

#define OPROMCHILD   0x20004F06

Definition at line 26 of file openpromio.h.

#define OPROMCONS_NOT_WSCONS   0

Definition at line 42 of file openpromio.h.

#define OPROMCONS_OPENPROM   0x4 /* supports openboot */

Definition at line 45 of file openpromio.h.

#define OPROMCONS_STDIN_IS_KBD   0x1 /* stdin device is kbd */

Definition at line 43 of file openpromio.h.

#define OPROMCONS_STDOUT_IS_FB   0x2 /* stdout is a framebuffer */

Definition at line 44 of file openpromio.h.

#define OPROMGETBOOTARGS   0x20004F0C

Definition at line 32 of file openpromio.h.

#define OPROMGETCONS   0x20004F0A

Definition at line 30 of file openpromio.h.

#define OPROMGETFBNAME   0x20004F0B

Definition at line 31 of file openpromio.h.

#define OPROMGETOPT   0x20004F01

Definition at line 21 of file openpromio.h.

#define OPROMGETPROP   0x20004F07

Definition at line 27 of file openpromio.h.

#define OPROMMAXPARAM   4096 /* Maximum size of oprom_array. */

Definition at line 19 of file openpromio.h.

#define OPROMNEXT   0x20004F05

Definition at line 25 of file openpromio.h.

#define OPROMNXTOPT   0x20004F03

Definition at line 23 of file openpromio.h.

#define OPROMNXTPROP   0x20004F08

Definition at line 28 of file openpromio.h.

#define OPROMPATH2NODE   0x20004FF2 /* char path[] - Set current node from fully qualified PROM path */

Definition at line 36 of file openpromio.h.

#define OPROMPCI2NODE   0x20004FF1 /* int pci_bus, pci_devfn - Sets current node to PCI device's node */

Definition at line 35 of file openpromio.h.

#define OPROMSETCUR   0x20004FF0 /* int node - Sets current node */

Definition at line 34 of file openpromio.h.

#define OPROMSETOPT   0x20004F02

Definition at line 22 of file openpromio.h.

#define OPROMSETOPT2   0x20004F04

Definition at line 24 of file openpromio.h.

#define OPROMU2P   0x20004F09

Definition at line 29 of file openpromio.h.