Lines Matching refs:kbd
34 struct input_dev *kbd; member
78 if (test_bit(event->key.keycode, info->kbd->keybit)) in input_handler()
79 dev = info->kbd; in input_handler()
112 struct input_dev *kbd, *ptr; in xenkbd_probe() local
135 kbd = input_allocate_device(); in xenkbd_probe()
136 if (!kbd) in xenkbd_probe()
138 kbd->name = "Xen Virtual Keyboard"; in xenkbd_probe()
139 kbd->phys = info->phys; in xenkbd_probe()
140 kbd->id.bustype = BUS_PCI; in xenkbd_probe()
141 kbd->id.vendor = 0x5853; in xenkbd_probe()
142 kbd->id.product = 0xffff; in xenkbd_probe()
144 __set_bit(EV_KEY, kbd->evbit); in xenkbd_probe()
146 __set_bit(i, kbd->keybit); in xenkbd_probe()
148 __set_bit(i, kbd->keybit); in xenkbd_probe()
150 ret = input_register_device(kbd); in xenkbd_probe()
152 input_free_device(kbd); in xenkbd_probe()
156 info->kbd = kbd; in xenkbd_probe()
218 if (info->kbd) in xenkbd_remove()
219 input_unregister_device(info->kbd); in xenkbd_remove()