Home
last modified time | relevance | path

Searched refs:client_lock (Results 1 – 7 of 7) sorted by relevance

/drivers/platform/surface/
Dsurface_aggregator_cdev.c45 struct rw_semaphore client_lock; /* Guards client list. */ member
484 down_write(&cdev->client_lock); in ssam_cdev_device_open()
487 up_write(&cdev->client_lock); in ssam_cdev_device_open()
497 up_write(&cdev->client_lock); in ssam_cdev_device_open()
511 down_write(&client->cdev->client_lock); in ssam_cdev_device_release()
513 up_write(&client->cdev->client_lock); in ssam_cdev_device_release()
704 init_rwsem(&cdev->client_lock); in ssam_dbg_device_probe()
728 down_write(&cdev->client_lock); in ssam_dbg_device_remove()
745 up_write(&cdev->client_lock); in ssam_dbg_device_remove()
Dsurface_dtx.c156 struct rw_semaphore client_lock; /* Guards client list. */ member
420 down_write(&ddev->client_lock); in surface_dtx_open()
429 up_write(&ddev->client_lock); in surface_dtx_open()
437 up_write(&ddev->client_lock); in surface_dtx_open()
448 down_write(&client->ddev->client_lock); in surface_dtx_release()
450 up_write(&client->ddev->client_lock); in surface_dtx_release()
604 down_read(&ddev->client_lock); in sdtx_push_event()
616 up_read(&ddev->client_lock); in sdtx_push_event()
969 init_rwsem(&ddev->client_lock); in sdtx_device_init()
1084 down_write(&ddev->client_lock); in sdtx_device_destroy()
[all …]
/drivers/input/
Dmousedev.c63 spinlock_t client_lock; /* protects client_list */ member
506 spin_lock(&mousedev->client_lock); in mousedev_attach_client()
508 spin_unlock(&mousedev->client_lock); in mousedev_attach_client()
514 spin_lock(&mousedev->client_lock); in mousedev_detach_client()
516 spin_unlock(&mousedev->client_lock); in mousedev_detach_client()
804 spin_lock(&mousedev->client_lock); in mousedev_hangup()
807 spin_unlock(&mousedev->client_lock); in mousedev_hangup()
864 spin_lock_init(&mousedev->client_lock); in mousedev_create()
Djoydev.c40 spinlock_t client_lock; /* protects client_list */ member
171 spin_lock(&joydev->client_lock); in joydev_attach_client()
173 spin_unlock(&joydev->client_lock); in joydev_attach_client()
179 spin_lock(&joydev->client_lock); in joydev_detach_client()
181 spin_unlock(&joydev->client_lock); in joydev_detach_client()
236 spin_lock(&joydev->client_lock); in joydev_hangup()
239 spin_unlock(&joydev->client_lock); in joydev_hangup()
922 spin_lock_init(&joydev->client_lock); in joydev_connect()
Devdev.c34 spinlock_t client_lock; /* protects client_list */ member
379 spin_lock(&evdev->client_lock); in evdev_attach_client()
381 spin_unlock(&evdev->client_lock); in evdev_attach_client()
387 spin_lock(&evdev->client_lock); in evdev_detach_client()
389 spin_unlock(&evdev->client_lock); in evdev_detach_client()
431 spin_lock(&evdev->client_lock); in evdev_hangup()
436 spin_unlock(&evdev->client_lock); in evdev_hangup()
1363 spin_lock_init(&evdev->client_lock); in evdev_connect()
/drivers/net/ethernet/intel/iavf/
Diavf_main.c2309 while (!mutex_trylock(&adapter->client_lock)) in iavf_reset_task()
2362 mutex_unlock(&adapter->client_lock); in iavf_reset_task()
2491 mutex_unlock(&adapter->client_lock); in iavf_reset_task()
2502 mutex_unlock(&adapter->client_lock); in iavf_reset_task()
2645 if (!mutex_trylock(&adapter->client_lock)) in iavf_client_task()
2668 mutex_unlock(&adapter->client_lock); in iavf_client_task()
4070 mutex_init(&adapter->client_lock); in iavf_probe()
4273 mutex_destroy(&adapter->client_lock); in iavf_remove()
Diavf.h240 struct mutex client_lock; member