Home
last modified time | relevance | path

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

/linux/include/linux/
A Dhid.h572 struct semaphore driver_input_lock; /* protects the current driver */ member
946 up(&hid->driver_input_lock); in hid_device_io_start()
966 down(&hid->driver_input_lock); in hid_device_io_stop()
/linux/drivers/hid/
A Dhid-core.c1820 if (down_trylock(&hid->driver_input_lock)) in hid_input_report()
1856 up(&hid->driver_input_lock); in hid_input_report()
2251 if (down_interruptible(&hdev->driver_input_lock)) { in hid_device_probe()
2300 up(&hdev->driver_input_lock); in hid_device_probe()
2310 down(&hdev->driver_input_lock); in hid_device_remove()
2324 up(&hdev->driver_input_lock); in hid_device_remove()
2475 sema_init(&hdev->driver_input_lock, 1); in hid_allocate_device()
A Dhid-debug.c1066 if (down_interruptible(&hdev->driver_input_lock)) in hid_debug_rdesc_show()
1073 up(&hdev->driver_input_lock); in hid_debug_rdesc_show()

Completed in 15 milliseconds