Searched refs:inport_dev (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/input/mouse/ |
H A D | inport.c | 65 static struct input_dev *inport_dev; variable 75 input_report_rel(inport_dev, REL_X, inb(INPORT_DATA_PORT)); in inport_interrupt() 78 input_report_rel(inport_dev, REL_Y, inb(INPORT_DATA_PORT)); in inport_interrupt() 83 input_report_key(inport_dev, BTN_MIDDLE, buttons & 1); in inport_interrupt() 84 input_report_key(inport_dev, BTN_LEFT, buttons & 2); in inport_interrupt() 85 input_report_key(inport_dev, BTN_RIGHT, buttons & 4); in inport_interrupt() 90 input_sync(inport_dev); in inport_interrupt() 130 inport_dev = input_allocate_device(); in inport_init() 131 if (!inport_dev) { in inport_init() 137 inport_dev->name = INPORT_NAME; in inport_init() [all …]
|