Go to the source code of this file.
|
#define | APC_IOC 'A' |
|
#define | APCIOCGFANCTL _IOR(APC_IOC, 0x00, int) /* Get fan speed */ |
|
#define | APCIOCSFANCTL _IOW(APC_IOC, 0x01, int) /* Set fan speed */ |
|
#define | APCIOCGCPWR _IOR(APC_IOC, 0x02, int) /* Get CPOWER state */ |
|
#define | APCIOCSCPWR _IOW(APC_IOC, 0x03, int) /* Set CPOWER state */ |
|
#define | APCIOCGBPORT _IOR(APC_IOC, 0x04, int) /* Get BPORT state */ |
|
#define | APCIOCSBPORT _IOW(APC_IOC, 0x05, int) /* Set BPORT state */ |
|
#define | APC_IDLE_REG 0x00 |
|
#define | APC_FANCTL_REG 0x20 |
|
#define | APC_CPOWER_REG 0x24 |
|
#define | APC_BPORT_REG 0x30 |
|
#define | APC_REGMASK 0x01 |
|
#define | APC_BPMASK 0x03 |
|
#define | APC_IDLE_ON 0x01 |
|
#define | APC_FANCTL_HI 0x00 /* Fan speed high */ |
|
#define | APC_FANCTL_LO 0x01 /* Fan speed low */ |
|
#define | APC_CPOWER_ON 0x00 /* Conv power on */ |
|
#define | APC_CPOWER_OFF 0x01 /* Conv power off */ |
|
#define | APC_BPORT_A 0x01 /* Bit Port A */ |
|
#define | APC_BPORT_B 0x02 /* Bit Port B */ |
|
Definition at line 34 of file apc.h.
#define APC_BPORT_A 0x01 /* Bit Port A */ |
Definition at line 61 of file apc.h.
#define APC_BPORT_B 0x02 /* Bit Port B */ |
Definition at line 62 of file apc.h.
#define APC_BPORT_REG 0x30 |
Definition at line 31 of file apc.h.
#define APC_CPOWER_OFF 0x01 /* Conv power off */ |
Definition at line 51 of file apc.h.
#define APC_CPOWER_ON 0x00 /* Conv power on */ |
Definition at line 50 of file apc.h.
#define APC_CPOWER_REG 0x24 |
Definition at line 30 of file apc.h.
#define APC_FANCTL_HI 0x00 /* Fan speed high */ |
Definition at line 44 of file apc.h.
#define APC_FANCTL_LO 0x01 /* Fan speed low */ |
Definition at line 45 of file apc.h.
#define APC_FANCTL_REG 0x20 |
Definition at line 29 of file apc.h.
Definition at line 39 of file apc.h.
#define APC_IDLE_REG 0x00 |
Definition at line 28 of file apc.h.
Definition at line 14 of file apc.h.
Definition at line 33 of file apc.h.
#define APCIOCGBPORT _IOR(APC_IOC, 0x04, int) /* Get BPORT state */ |
Definition at line 22 of file apc.h.
#define APCIOCGCPWR _IOR(APC_IOC, 0x02, int) /* Get CPOWER state */ |
Definition at line 19 of file apc.h.
#define APCIOCGFANCTL _IOR(APC_IOC, 0x00, int) /* Get fan speed */ |
Definition at line 16 of file apc.h.
#define APCIOCSBPORT _IOW(APC_IOC, 0x05, int) /* Set BPORT state */ |
Definition at line 23 of file apc.h.
#define APCIOCSCPWR _IOW(APC_IOC, 0x03, int) /* Set CPOWER state */ |
Definition at line 20 of file apc.h.
#define APCIOCSFANCTL _IOW(APC_IOC, 0x01, int) /* Set fan speed */ |
Definition at line 17 of file apc.h.