Lines Matching refs:hv_serio
91 struct serio *hv_serio; member
152 serio_interrupt(kbd_dev->hv_serio, in hv_kbd_on_receive()
155 serio_interrupt(kbd_dev->hv_serio, in hv_kbd_on_receive()
161 serio_interrupt(kbd_dev->hv_serio, in hv_kbd_on_receive()
316 struct serio *hv_serio; in hv_kbd_probe() local
320 hv_serio = kzalloc(sizeof(*hv_serio), GFP_KERNEL); in hv_kbd_probe()
321 if (!kbd_dev || !hv_serio) { in hv_kbd_probe()
327 kbd_dev->hv_serio = hv_serio; in hv_kbd_probe()
332 hv_serio->dev.parent = &hv_dev->device; in hv_kbd_probe()
333 hv_serio->id.type = SERIO_8042_XL; in hv_kbd_probe()
334 hv_serio->port_data = kbd_dev; in hv_kbd_probe()
335 strscpy(hv_serio->name, dev_name(&hv_dev->device), in hv_kbd_probe()
336 sizeof(hv_serio->name)); in hv_kbd_probe()
337 strscpy(hv_serio->phys, dev_name(&hv_dev->device), in hv_kbd_probe()
338 sizeof(hv_serio->phys)); in hv_kbd_probe()
340 hv_serio->start = hv_kbd_start; in hv_kbd_probe()
341 hv_serio->stop = hv_kbd_stop; in hv_kbd_probe()
356 serio_register_port(kbd_dev->hv_serio); in hv_kbd_probe()
365 kfree(hv_serio); in hv_kbd_probe()
374 serio_unregister_port(kbd_dev->hv_serio); in hv_kbd_remove()