Lines Matching refs:hv_serio
91 struct serio *hv_serio; member
153 serio_interrupt(kbd_dev->hv_serio, in hv_kbd_on_receive()
156 serio_interrupt(kbd_dev->hv_serio, in hv_kbd_on_receive()
162 serio_interrupt(kbd_dev->hv_serio, scan_code, 0); in hv_kbd_on_receive()
318 struct serio *hv_serio; in hv_kbd_probe() local
322 hv_serio = kzalloc(sizeof(struct serio), GFP_KERNEL); in hv_kbd_probe()
323 if (!kbd_dev || !hv_serio) { in hv_kbd_probe()
329 kbd_dev->hv_serio = hv_serio; in hv_kbd_probe()
334 hv_serio->dev.parent = &hv_dev->device; in hv_kbd_probe()
335 hv_serio->id.type = SERIO_8042_XL; in hv_kbd_probe()
336 hv_serio->port_data = kbd_dev; in hv_kbd_probe()
337 strscpy(hv_serio->name, dev_name(&hv_dev->device), in hv_kbd_probe()
338 sizeof(hv_serio->name)); in hv_kbd_probe()
339 strscpy(hv_serio->phys, dev_name(&hv_dev->device), in hv_kbd_probe()
340 sizeof(hv_serio->phys)); in hv_kbd_probe()
342 hv_serio->start = hv_kbd_start; in hv_kbd_probe()
343 hv_serio->stop = hv_kbd_stop; in hv_kbd_probe()
358 serio_register_port(kbd_dev->hv_serio); in hv_kbd_probe()
367 kfree(hv_serio); in hv_kbd_probe()
376 serio_unregister_port(kbd_dev->hv_serio); in hv_kbd_remove()