mouse_dev 136 drivers/misc/ibmasm/ibmasm.h struct input_dev *mouse_dev; mouse_dev 185 drivers/misc/ibmasm/remote.c send_mouse_event(sp->remote.mouse_dev, &input); mouse_dev 199 drivers/misc/ibmasm/remote.c struct input_dev *mouse_dev, *keybd_dev; mouse_dev 204 drivers/misc/ibmasm/remote.c sp->remote.mouse_dev = mouse_dev = input_allocate_device(); mouse_dev 207 drivers/misc/ibmasm/remote.c if (!mouse_dev || !keybd_dev) mouse_dev 210 drivers/misc/ibmasm/remote.c mouse_dev->id.bustype = BUS_PCI; mouse_dev 211 drivers/misc/ibmasm/remote.c mouse_dev->id.vendor = pdev->vendor; mouse_dev 212 drivers/misc/ibmasm/remote.c mouse_dev->id.product = pdev->device; mouse_dev 213 drivers/misc/ibmasm/remote.c mouse_dev->id.version = 1; mouse_dev 214 drivers/misc/ibmasm/remote.c mouse_dev->dev.parent = sp->dev; mouse_dev 215 drivers/misc/ibmasm/remote.c mouse_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); mouse_dev 216 drivers/misc/ibmasm/remote.c mouse_dev->keybit[BIT_WORD(BTN_MOUSE)] = BIT_MASK(BTN_LEFT) | mouse_dev 218 drivers/misc/ibmasm/remote.c set_bit(BTN_TOUCH, mouse_dev->keybit); mouse_dev 219 drivers/misc/ibmasm/remote.c mouse_dev->name = "ibmasm RSA I remote mouse"; mouse_dev 220 drivers/misc/ibmasm/remote.c input_set_abs_params(mouse_dev, ABS_X, 0, MOUSE_X_MAX, 0, 0); mouse_dev 221 drivers/misc/ibmasm/remote.c input_set_abs_params(mouse_dev, ABS_Y, 0, MOUSE_Y_MAX, 0, 0); mouse_dev 238 drivers/misc/ibmasm/remote.c error = input_register_device(mouse_dev); mouse_dev 253 drivers/misc/ibmasm/remote.c input_unregister_device(mouse_dev); mouse_dev 254 drivers/misc/ibmasm/remote.c mouse_dev = NULL; /* so we don't try to free it again below */ mouse_dev 256 drivers/misc/ibmasm/remote.c input_free_device(mouse_dev); mouse_dev 265 drivers/misc/ibmasm/remote.c input_unregister_device(sp->remote.mouse_dev);