Home
last modified time | relevance | path

Searched refs:dev_mutex (Results 1 – 25 of 44) sorted by relevance

12

/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
A Dnfp_resource.c117 if (nfp_cpp_mutex_lock(dev_mutex)) in nfp_resource_try_acquire()
128 nfp_cpp_mutex_unlock(dev_mutex); in nfp_resource_try_acquire()
135 nfp_cpp_mutex_unlock(dev_mutex); in nfp_resource_try_acquire()
154 struct nfp_cpp_mutex *dev_mutex; in nfp_resource_acquire() local
167 if (!dev_mutex) { in nfp_resource_acquire()
197 nfp_cpp_mutex_free(dev_mutex); in nfp_resource_acquire()
202 nfp_cpp_mutex_free(dev_mutex); in nfp_resource_acquire()
320 struct nfp_cpp_mutex *dev_mutex; in nfp_resource_table_init() local
335 if (!dev_mutex) in nfp_resource_table_init()
340 nfp_cpp_mutex_free(dev_mutex); in nfp_resource_table_init()
[all …]
/linux/drivers/staging/rts5208/
A Drtsx.c273 mutex_lock(&dev->dev_mutex); in rtsx_suspend()
290 mutex_unlock(&dev->dev_mutex); in rtsx_suspend()
307 mutex_lock(&dev->dev_mutex); in rtsx_resume()
318 mutex_unlock(&dev->dev_mutex); in rtsx_resume()
326 mutex_unlock(&dev->dev_mutex); in rtsx_resume()
365 mutex_lock(&dev->dev_mutex); in rtsx_control_thread()
482 mutex_lock(&dev->dev_mutex); in rtsx_polling_thread()
496 mutex_lock(&dev->dev_mutex); in rtsx_polling_thread()
617 mutex_lock(&dev->dev_mutex); in quiesce_and_remove_host()
633 mutex_lock(&dev->dev_mutex); in quiesce_and_remove_host()
[all …]
A Drtsx.h103 struct mutex dev_mutex; member
/linux/drivers/mtd/ubi/
A Dblock.c87 struct mutex dev_mutex; member
224 mutex_lock(&dev->dev_mutex); in ubiblock_open()
254 mutex_unlock(&dev->dev_mutex); in ubiblock_open()
258 mutex_unlock(&dev->dev_mutex); in ubiblock_open()
266 mutex_lock(&dev->dev_mutex); in ubiblock_release()
272 mutex_unlock(&dev->dev_mutex); in ubiblock_release()
391 mutex_init(&dev->dev_mutex); in ubiblock_create()
502 mutex_lock(&dev->dev_mutex); in ubiblock_remove()
511 mutex_unlock(&dev->dev_mutex); in ubiblock_remove()
518 mutex_unlock(&dev->dev_mutex); in ubiblock_remove()
[all …]
/linux/drivers/usb/storage/
A Dusb.c174 mutex_lock(&us->dev_mutex); in usb_stor_suspend()
184 mutex_unlock(&us->dev_mutex); in usb_stor_suspend()
193 mutex_lock(&us->dev_mutex); in usb_stor_resume()
198 mutex_unlock(&us->dev_mutex); in usb_stor_resume()
230 mutex_lock(&us->dev_mutex); in usb_stor_pre_reset()
247 mutex_unlock(&us->dev_mutex); in usb_stor_post_reset()
312 mutex_lock(&(us->dev_mutex)); in usb_stor_control_thread()
321 mutex_unlock(&us->dev_mutex); in usb_stor_control_thread()
414 mutex_unlock(&us->dev_mutex); in usb_stor_control_thread()
905 mutex_lock(&us->dev_mutex); in usb_stor_scan_dwork()
[all …]
A Dscsiglue.c459 mutex_lock(&(us->dev_mutex)); in device_reset()
461 mutex_unlock(&us->dev_mutex); in device_reset()
/linux/drivers/media/platform/mtk-vcodec/
A Dmtk_vcodec_dec_drv.c92 mutex_lock(&dev->dev_mutex); in fops_vcodec_open()
145 mutex_unlock(&dev->dev_mutex); in fops_vcodec_open()
159 mutex_unlock(&dev->dev_mutex); in fops_vcodec_open()
170 mutex_lock(&dev->dev_mutex); in fops_vcodec_release()
189 mutex_unlock(&dev->dev_mutex); in fops_vcodec_release()
269 mutex_init(&dev->dev_mutex); in mtk_vcodec_probe()
292 vfd_dec->lock = &dev->dev_mutex; in mtk_vcodec_probe()
A Dmtk_vcodec_enc_drv.c132 mutex_lock(&dev->dev_mutex); in fops_vcodec_open()
190 mutex_unlock(&dev->dev_mutex); in fops_vcodec_open()
204 mutex_unlock(&dev->dev_mutex); in fops_vcodec_open()
215 mutex_lock(&dev->dev_mutex); in fops_vcodec_release()
225 mutex_unlock(&dev->dev_mutex); in fops_vcodec_release()
307 mutex_init(&dev->dev_mutex); in mtk_vcodec_probe()
331 vfd_enc->lock = &dev->dev_mutex; in mtk_vcodec_probe()
A Dmtk_vcodec_fw_vpu.c61 mutex_lock(&dev->dev_mutex); in mtk_vcodec_vpu_reset_handler()
67 mutex_unlock(&dev->dev_mutex); in mtk_vcodec_vpu_reset_handler()
/linux/drivers/staging/media/sunxi/cedrus/
A Dcedrus.c315 if (mutex_lock_interruptible(&dev->dev_mutex)) in cedrus_open()
320 mutex_unlock(&dev->dev_mutex); in cedrus_open()
351 mutex_unlock(&dev->dev_mutex); in cedrus_open()
359 mutex_unlock(&dev->dev_mutex); in cedrus_open()
370 mutex_lock(&dev->dev_mutex); in cedrus_release()
382 mutex_unlock(&dev->dev_mutex); in cedrus_release()
440 mutex_init(&dev->dev_mutex); in cedrus_probe()
449 vfd->lock = &dev->dev_mutex; in cedrus_probe()
/linux/drivers/media/platform/
A Dmx2_emmaprp.c200 struct mutex dev_mutex; member
698 src_vq->lock = &ctx->dev->dev_mutex; in queue_init()
712 dst_vq->lock = &ctx->dev->dev_mutex; in queue_init()
743 mutex_unlock(&pcdev->dev_mutex); in emmaprp_open()
753 mutex_unlock(&pcdev->dev_mutex); in emmaprp_open()
767 mutex_lock(&pcdev->dev_mutex); in emmaprp_release()
773 mutex_unlock(&pcdev->dev_mutex); in emmaprp_release()
832 mutex_init(&pcdev->dev_mutex); in emmaprp_probe()
842 vfd->lock = &pcdev->dev_mutex; in emmaprp_probe()
886 mutex_destroy(&pcdev->dev_mutex); in emmaprp_probe()
[all …]
A Dimx-pxp.c196 struct mutex dev_mutex; member
1482 src_vq->lock = &ctx->dev->dev_mutex; in queue_init()
1496 dst_vq->lock = &ctx->dev->dev_mutex; in queue_init()
1512 if (mutex_lock_interruptible(&dev->dev_mutex)) in pxp_open()
1566 mutex_unlock(&dev->dev_mutex); in pxp_open()
1580 mutex_lock(&dev->dev_mutex); in pxp_release()
1582 mutex_unlock(&dev->dev_mutex); in pxp_release()
1686 mutex_init(&dev->dev_mutex); in pxp_probe()
1690 vfd->lock = &dev->dev_mutex; in pxp_probe()
A Drcar_fdp1.c559 struct mutex dev_mutex; member
2052 src_vq->lock = &ctx->fdp1->dev_mutex; in queue_init()
2066 dst_vq->lock = &ctx->fdp1->dev_mutex; in queue_init()
2083 if (mutex_lock_interruptible(&fdp1->dev_mutex)) in fdp1_open()
2147 mutex_unlock(&fdp1->dev_mutex); in fdp1_open()
2156 mutex_unlock(&fdp1->dev_mutex); in fdp1_open()
2170 mutex_lock(&fdp1->dev_mutex); in fdp1_release()
2172 mutex_unlock(&fdp1->dev_mutex); in fdp1_release()
2277 mutex_init(&fdp1->dev_mutex); in fdp1_probe()
2341 vfd->lock = &fdp1->dev_mutex; in fdp1_probe()
A Dm2m-deinterlace.c126 struct mutex dev_mutex; member
809 src_vq->lock = &ctx->dev->dev_mutex; in queue_init()
828 dst_vq->lock = &ctx->dev->dev_mutex; in queue_init()
949 mutex_init(&pcdev->dev_mutex); in deinterlace_probe()
953 vfd->lock = &pcdev->dev_mutex; in deinterlace_probe()
/linux/drivers/mmc/host/
A Drtsx_usb_sdmmc.c756 mutex_lock(&ucr->dev_mutex); in sdmmc_get_ro()
761 mutex_unlock(&ucr->dev_mutex); in sdmmc_get_ro()
784 mutex_lock(&ucr->dev_mutex); in sdmmc_get_cd()
789 mutex_unlock(&ucr->dev_mutex); in sdmmc_get_cd()
825 mutex_lock(&ucr->dev_mutex); in sdmmc_request()
860 mutex_unlock(&ucr->dev_mutex); in sdmmc_request()
1111 mutex_lock(&ucr->dev_mutex); in sdmmc_set_ios()
1161 mutex_lock(&ucr->dev_mutex); in sdmmc_switch_voltage()
1206 mutex_lock(&ucr->dev_mutex); in sdmmc_card_busy()
1244 mutex_lock(&ucr->dev_mutex); in sdmmc_execute_tuning()
[all …]
/linux/drivers/gpu/drm/msm/edp/
A Dedp_ctrl.c961 mutex_lock(&ctrl->dev_mutex); in edp_ctrl_on_worker()
1010 mutex_unlock(&ctrl->dev_mutex); in edp_ctrl_on_worker()
1019 mutex_lock(&ctrl->dev_mutex); in edp_ctrl_off_worker()
1059 mutex_unlock(&ctrl->dev_mutex); in edp_ctrl_off_worker()
1171 mutex_init(&ctrl->dev_mutex); in msm_edp_ctrl_init()
1210 mutex_lock(&ctrl->dev_mutex); in msm_edp_ctrl_panel_connected()
1237 mutex_unlock(&ctrl->dev_mutex); in msm_edp_ctrl_panel_connected()
1245 mutex_lock(&ctrl->dev_mutex); in msm_edp_ctrl_get_panel_info()
1278 mutex_unlock(&ctrl->dev_mutex); in msm_edp_ctrl_get_panel_info()
1290 mutex_lock(&ctrl->dev_mutex); in msm_edp_ctrl_timing_cfg()
[all …]
/linux/drivers/media/platform/sunxi/sun8i-rotate/
A Dsun8i_rotate.c543 src_vq->lock = &ctx->dev->dev_mutex; in rotate_queue_init()
558 dst_vq->lock = &ctx->dev->dev_mutex; in rotate_queue_init()
644 if (mutex_lock_interruptible(&dev->dev_mutex)) in rotate_open()
649 mutex_unlock(&dev->dev_mutex); in rotate_open()
682 mutex_unlock(&dev->dev_mutex); in rotate_open()
688 mutex_unlock(&dev->dev_mutex); in rotate_open()
699 mutex_lock(&dev->dev_mutex); in rotate_release()
708 mutex_unlock(&dev->dev_mutex); in rotate_release()
786 mutex_init(&dev->dev_mutex); in rotate_probe()
796 vfd->lock = &dev->dev_mutex; in rotate_probe()
A Dsun8i-rotate.h125 struct mutex dev_mutex; member
/linux/drivers/media/platform/sunxi/sun8i-di/
A Dsun8i-di.c680 src_vq->lock = &ctx->dev->dev_mutex; in deinterlace_queue_init()
695 dst_vq->lock = &ctx->dev->dev_mutex; in deinterlace_queue_init()
711 if (mutex_lock_interruptible(&dev->dev_mutex)) in deinterlace_open()
716 mutex_unlock(&dev->dev_mutex); in deinterlace_open()
747 mutex_unlock(&dev->dev_mutex); in deinterlace_open()
753 mutex_unlock(&dev->dev_mutex); in deinterlace_open()
764 mutex_lock(&dev->dev_mutex); in deinterlace_release()
772 mutex_unlock(&dev->dev_mutex); in deinterlace_release()
859 mutex_init(&dev->dev_mutex); in deinterlace_probe()
869 vfd->lock = &dev->dev_mutex; in deinterlace_probe()
/linux/drivers/memstick/host/
A Drtsx_usb_ms.c521 mutex_lock(&ucr->dev_mutex); in rtsx_usb_ms_handle_req()
530 mutex_unlock(&ucr->dev_mutex); in rtsx_usb_ms_handle_req()
564 mutex_lock(&ucr->dev_mutex); in rtsx_usb_ms_set_param()
628 mutex_unlock(&ucr->dev_mutex); in rtsx_usb_ms_set_param()
728 mutex_lock(&ucr->dev_mutex); in rtsx_usb_ms_poll_card()
733 mutex_unlock(&ucr->dev_mutex); in rtsx_usb_ms_poll_card()
742 mutex_unlock(&ucr->dev_mutex); in rtsx_usb_ms_poll_card()
/linux/drivers/input/touchscreen/
A Dhideep.c156 struct mutex dev_mutex; member
900 mutex_lock(&ts->dev_mutex); in hideep_update_fw()
907 mutex_unlock(&ts->dev_mutex); in hideep_update_fw()
924 mutex_lock(&ts->dev_mutex); in hideep_fw_version_show()
927 mutex_unlock(&ts->dev_mutex); in hideep_fw_version_show()
939 mutex_lock(&ts->dev_mutex); in hideep_product_id_show()
942 mutex_unlock(&ts->dev_mutex); in hideep_product_id_show()
1023 mutex_init(&ts->dev_mutex); in hideep_probe()
/linux/drivers/misc/cardreader/
A Drtsx_usb.c645 mutex_init(&ucr->dev_mutex); in rtsx_usb_probe()
699 if (mutex_trylock(&ucr->dev_mutex)) { in rtsx_usb_suspend()
701 mutex_unlock(&ucr->dev_mutex); in rtsx_usb_suspend()
750 mutex_lock(&ucr->dev_mutex); in rtsx_usb_pre_reset()
758 mutex_unlock(&ucr->dev_mutex); in rtsx_usb_post_reset()
/linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/
A Dchcr_ipsec.c74 static DEFINE_MUTEX(dev_mutex);
125 mutex_lock(&dev_mutex); in ch_ipsec_uld_state_change()
127 mutex_unlock(&dev_mutex); in ch_ipsec_uld_state_change()
805 mutex_lock(&dev_mutex); in ch_ipsec_exit()
812 mutex_unlock(&dev_mutex); in ch_ipsec_exit()
/linux/drivers/media/test-drivers/
A Dvim2m.c193 struct mutex dev_mutex; member
1171 if (mutex_lock_interruptible(&dev->dev_mutex)) in vim2m_open()
1230 mutex_unlock(&dev->dev_mutex); in vim2m_open()
1244 mutex_lock(&dev->dev_mutex); in vim2m_release()
1246 mutex_unlock(&dev->dev_mutex); in vim2m_release()
1311 mutex_init(&dev->dev_mutex); in vim2m_probe()
1315 vfd->lock = &dev->dev_mutex; in vim2m_probe()
/linux/drivers/media/platform/ti-vpe/
A Dvpe.c379 struct mutex dev_mutex; member
2234 src_vq->lock = &dev->dev_mutex; in queue_init()
2249 dst_vq->lock = &dev->dev_mutex; in queue_init()
2286 if (mutex_lock_interruptible(&dev->dev_mutex)) { in vpe_open()
2382 mutex_unlock(&dev->dev_mutex); in vpe_open()
2396 mutex_unlock(&dev->dev_mutex); in vpe_open()
2409 mutex_lock(&dev->dev_mutex); in vpe_release()
2438 mutex_unlock(&dev->dev_mutex); in vpe_release()
2498 vfd->lock = &dev->dev_mutex; in vpe_fw_cb()
2542 mutex_init(&dev->dev_mutex); in vpe_probe()

Completed in 80 milliseconds

12