Lines Matching refs:keybd_dev
201 send_keyboard_event(sp->remote.keybd_dev, &input); in ibmasm_handle_mouse_interrupt()
213 struct input_dev *mouse_dev, *keybd_dev; in ibmasm_init_remote_input_dev() local
219 sp->remote.keybd_dev = keybd_dev = input_allocate_device(); in ibmasm_init_remote_input_dev()
221 if (!mouse_dev || !keybd_dev) in ibmasm_init_remote_input_dev()
237 keybd_dev->id.bustype = BUS_PCI; in ibmasm_init_remote_input_dev()
238 keybd_dev->id.vendor = pdev->vendor; in ibmasm_init_remote_input_dev()
239 keybd_dev->id.product = pdev->device; in ibmasm_init_remote_input_dev()
240 keybd_dev->id.version = 2; in ibmasm_init_remote_input_dev()
241 keybd_dev->dev.parent = sp->dev; in ibmasm_init_remote_input_dev()
242 keybd_dev->evbit[0] = BIT_MASK(EV_KEY); in ibmasm_init_remote_input_dev()
243 keybd_dev->name = "ibmasm RSA I remote keyboard"; in ibmasm_init_remote_input_dev()
247 set_bit(xlate_high[i], keybd_dev->keybit); in ibmasm_init_remote_input_dev()
249 set_bit(xlate[i], keybd_dev->keybit); in ibmasm_init_remote_input_dev()
256 error = input_register_device(keybd_dev); in ibmasm_init_remote_input_dev()
271 input_free_device(keybd_dev); in ibmasm_init_remote_input_dev()
280 input_unregister_device(sp->remote.keybd_dev); in ibmasm_free_remote_input_dev()