Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
Dhid.h621 struct semaphore driver_input_lock; /* protects the current driver */ member
1004 up(&hid->driver_input_lock); in hid_device_io_start()
1024 down(&hid->driver_input_lock); in hid_device_io_stop()
/linux-6.6.21/drivers/hid/
Dhid-core.c2051 if (down_trylock(&hid->driver_input_lock)) in hid_input_report()
2093 up(&hid->driver_input_lock); in hid_input_report()
2663 if (down_interruptible(&hdev->driver_input_lock)) in hid_device_probe()
2673 up(&hdev->driver_input_lock); in hid_device_probe()
2683 down(&hdev->driver_input_lock); in hid_device_remove()
2701 up(&hdev->driver_input_lock); in hid_device_remove()
2854 sema_init(&hdev->driver_input_lock, 1); in hid_allocate_device()
Dhid-debug.c1109 if (down_interruptible(&hdev->driver_input_lock)) in hid_debug_rdesc_show()
1116 up(&hdev->driver_input_lock); in hid_debug_rdesc_show()