Lines Matching +full:0 +full:x23c
32 #define INPORT_BASE 0x23c
35 #define INPORT_CONTROL_PORT INPORT_BASE + 0
39 #define INPORT_REG_BTNS 0x00
40 #define INPORT_REG_X 0x01
41 #define INPORT_REG_Y 0x02
42 #define INPORT_REG_MODE 0x07
43 #define INPORT_RESET 0x80
47 #define INPORT_VENDOR 0x0002
48 #define INPORT_SPEED_30HZ 0x01
49 #define INPORT_SPEED_50HZ 0x02
50 #define INPORT_SPEED_100HZ 0x03
51 #define INPORT_SPEED_200HZ 0x04
53 #define INPORT_MODE_IRQ 0x08
56 #define INPORT_VENDOR 0x0001
57 #define INPORT_MODE_BASE 0x10
58 #define INPORT_MODE_IRQ 0x01
60 #define INPORT_MODE_HOLD 0x20
65 module_param_hw_named(irq, inport_irq, uint, irq, 0);
99 if (request_irq(inport_irq, inport_interrupt, 0, "inport", NULL)) in inport_open()
104 return 0; in inport_open()
144 inport_dev->id.product = 0x0001; in inport_init()
145 inport_dev->id.version = 0x0100; in inport_init()
147 inport_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in inport_init()
150 inport_dev->relbit[0] = BIT_MASK(REL_X) | BIT_MASK(REL_Y); in inport_init()
163 return 0; in inport_init()