Searched refs:driver_input_lock (Results 1 – 3 of 3) sorted by relevance
594 struct semaphore driver_input_lock; /* protects the current driver */ member980 up(&hid->driver_input_lock); in hid_device_io_start()1000 down(&hid->driver_input_lock); in hid_device_io_stop()
2036 if (down_trylock(&hid->driver_input_lock)) in hid_input_report()2072 up(&hid->driver_input_lock); in hid_input_report()2567 if (down_interruptible(&hdev->driver_input_lock)) { in hid_device_probe()2616 up(&hdev->driver_input_lock); in hid_device_probe()2626 down(&hdev->driver_input_lock); in hid_device_remove()2640 up(&hdev->driver_input_lock); in hid_device_remove()2793 sema_init(&hdev->driver_input_lock, 1); in hid_allocate_device()
1105 if (down_interruptible(&hdev->driver_input_lock)) in hid_debug_rdesc_show()1112 up(&hdev->driver_input_lock); in hid_debug_rdesc_show()