Searched refs:driver_input_lock (Results 1 – 3 of 3) sorted by relevance
2066 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()
621 struct semaphore driver_input_lock; /* protects the current driver */ member1006 up(&hid->driver_input_lock); in hid_device_io_start()1026 down(&hid->driver_input_lock); in hid_device_io_stop()
552 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()