Home
last modified time | relevance | path

Searched refs:driver_input_lock (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/hid/
H A Dhid-core.c2066 ret = down_trylock(&hid->driver_input_lock); in __hid_input_report()
2068 up(&hid->driver_input_lock); in __hid_input_report()
2114 up(&hid->driver_input_lock); in __hid_input_report()
2729 if (down_interruptible(&hdev->driver_input_lock)) in hid_device_probe()
2739 up(&hdev->driver_input_lock); in hid_device_probe()
2749 down(&hdev->driver_input_lock); in hid_device_remove()
2767 up(&hdev->driver_input_lock); in hid_device_remove()
2920 sema_init(&hdev->driver_input_lock, 1); in hid_allocate_device()
/linux/include/linux/
H A Dhid.h621 struct semaphore driver_input_lock; /* protects the current driver */ member
1006 up(&hid->driver_input_lock); in hid_device_io_start()
1026 down(&hid->driver_input_lock); in hid_device_io_stop()
/linux/drivers/hid/bpf/
H A Dhid_bpf_dispatch.c552 ret = down_interruptible(&ctx->hid->driver_input_lock); in hid_bpf_input_report()
559 up(&ctx->hid->driver_input_lock); in hid_bpf_input_report()