Searched refs:driver_input_lock (Results 1 – 3 of 3) sorted by relevance
566 struct semaphore driver_input_lock; /* protects the current driver */ member932 up(&hid->driver_input_lock); in hid_device_io_start()952 down(&hid->driver_input_lock); in hid_device_io_stop()
1817 if (down_trylock(&hid->driver_input_lock)) in hid_input_report()1853 up(&hid->driver_input_lock); in hid_input_report()2245 if (down_interruptible(&hdev->driver_input_lock)) { in hid_device_probe()2294 up(&hdev->driver_input_lock); in hid_device_probe()2305 if (down_interruptible(&hdev->driver_input_lock)) { in hid_device_remove()2322 up(&hdev->driver_input_lock); in hid_device_remove()2475 sema_init(&hdev->driver_input_lock, 1); in hid_allocate_device()
1051 if (down_interruptible(&hdev->driver_input_lock)) in hid_debug_rdesc_show()1058 up(&hdev->driver_input_lock); in hid_debug_rdesc_show()