Lines Matching refs:keybd_dev
187 send_keyboard_event(sp->remote.keybd_dev, &input); in ibmasm_handle_mouse_interrupt()
199 struct input_dev *mouse_dev, *keybd_dev; in ibmasm_init_remote_input_dev() local
205 sp->remote.keybd_dev = keybd_dev = input_allocate_device(); in ibmasm_init_remote_input_dev()
207 if (!mouse_dev || !keybd_dev) in ibmasm_init_remote_input_dev()
223 keybd_dev->id.bustype = BUS_PCI; in ibmasm_init_remote_input_dev()
224 keybd_dev->id.vendor = pdev->vendor; in ibmasm_init_remote_input_dev()
225 keybd_dev->id.product = pdev->device; in ibmasm_init_remote_input_dev()
226 keybd_dev->id.version = 2; in ibmasm_init_remote_input_dev()
227 keybd_dev->dev.parent = sp->dev; in ibmasm_init_remote_input_dev()
228 keybd_dev->evbit[0] = BIT_MASK(EV_KEY); in ibmasm_init_remote_input_dev()
229 keybd_dev->name = "ibmasm RSA I remote keyboard"; in ibmasm_init_remote_input_dev()
233 set_bit(xlate_high[i], keybd_dev->keybit); in ibmasm_init_remote_input_dev()
235 set_bit(xlate[i], keybd_dev->keybit); in ibmasm_init_remote_input_dev()
242 error = input_register_device(keybd_dev); in ibmasm_init_remote_input_dev()
257 input_free_device(keybd_dev); in ibmasm_init_remote_input_dev()
266 input_unregister_device(sp->remote.keybd_dev); in ibmasm_free_remote_input_dev()