Lines Matching +full:0 +full:x23c
29 #define INPORT_BASE 0x23c
32 #define INPORT_CONTROL_PORT INPORT_BASE + 0
36 #define INPORT_REG_BTNS 0x00
37 #define INPORT_REG_X 0x01
38 #define INPORT_REG_Y 0x02
39 #define INPORT_REG_MODE 0x07
40 #define INPORT_RESET 0x80
44 #define INPORT_VENDOR 0x0002
45 #define INPORT_SPEED_30HZ 0x01
46 #define INPORT_SPEED_50HZ 0x02
47 #define INPORT_SPEED_100HZ 0x03
48 #define INPORT_SPEED_200HZ 0x04
50 #define INPORT_MODE_IRQ 0x08
53 #define INPORT_VENDOR 0x0001
54 #define INPORT_MODE_BASE 0x10
55 #define INPORT_MODE_IRQ 0x01
57 #define INPORT_MODE_HOLD 0x20
62 module_param_hw_named(irq, inport_irq, uint, irq, 0);
96 if (request_irq(inport_irq, inport_interrupt, 0, "inport", NULL)) in inport_open()
101 return 0; in inport_open()
141 inport_dev->id.product = 0x0001; in inport_init()
142 inport_dev->id.version = 0x0100; in inport_init()
144 inport_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in inport_init()
147 inport_dev->relbit[0] = BIT_MASK(REL_X) | BIT_MASK(REL_Y); in inport_init()
160 return 0; in inport_init()