Go to the documentation of this file.
16 #define APCIOCGFANCTL _IOR(APC_IOC, 0x00, int)
17 #define APCIOCSFANCTL _IOW(APC_IOC, 0x01, int)
19 #define APCIOCGCPWR _IOR(APC_IOC, 0x02, int)
20 #define APCIOCSCPWR _IOW(APC_IOC, 0x03, int)
22 #define APCIOCGBPORT _IOR(APC_IOC, 0x04, int)
23 #define APCIOCSBPORT _IOW(APC_IOC, 0x05, int)
28 #define APC_IDLE_REG 0x00
29 #define APC_FANCTL_REG 0x20
30 #define APC_CPOWER_REG 0x24
31 #define APC_BPORT_REG 0x30
33 #define APC_REGMASK 0x01
34 #define APC_BPMASK 0x03
39 #define APC_IDLE_ON 0x01
44 #define APC_FANCTL_HI 0x00
45 #define APC_FANCTL_LO 0x01
50 #define APC_CPOWER_ON 0x00
51 #define APC_CPOWER_OFF 0x01
61 #define APC_BPORT_A 0x01
62 #define APC_BPORT_B 0x02