Home
last modified time | relevance | path

Searched refs:kbd_dev (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/drivers/input/serio/
Dhyperv-keyboard.c103 struct hv_kbd_dev *kbd_dev = hv_get_drvdata(hv_dev); in hv_kbd_on_receive() local
125 memcpy(&kbd_dev->protocol_resp, msg, in hv_kbd_on_receive()
127 complete(&kbd_dev->wait_event); in hv_kbd_on_receive()
150 spin_lock_irqsave(&kbd_dev->lock, flags); in hv_kbd_on_receive()
151 if (kbd_dev->started) { in hv_kbd_on_receive()
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()
164 spin_unlock_irqrestore(&kbd_dev->lock, flags); in hv_kbd_on_receive()
256 struct hv_kbd_dev *kbd_dev = hv_get_drvdata(hv_dev); in hv_kbd_connect_to_vsp() local
[all …]
/Linux-v6.1/drivers/platform/x86/
Dlenovo-yogabook-wmi.c36 struct device *kbd_dev; member
135 device_release_driver(data->kbd_dev); in yogabook_wmi_work()
146 r = device_reprobe(data->kbd_dev); in yogabook_wmi_work()
269 data->kbd_dev = get_device(acpi_get_first_physical_node(data->kbd_adev)); in yogabook_wmi_probe()
270 if (!data->kbd_dev || !data->kbd_dev->driver) { in yogabook_wmi_probe()
328 put_device(data->kbd_dev); in yogabook_wmi_probe()
339 put_device(data->kbd_dev); in yogabook_wmi_remove()