/linux/drivers/net/ethernet/netronome/nfp/nfpcore/ |
A D | nfp_resource.c | 117 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 D | rtsx.c | 273 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 D | rtsx.h | 103 struct mutex dev_mutex; member
|
/linux/drivers/mtd/ubi/ |
A D | block.c | 87 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 D | usb.c | 174 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 D | scsiglue.c | 459 mutex_lock(&(us->dev_mutex)); in device_reset() 461 mutex_unlock(&us->dev_mutex); in device_reset()
|
/linux/drivers/media/platform/mtk-vcodec/ |
A D | mtk_vcodec_dec_drv.c | 92 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 D | mtk_vcodec_enc_drv.c | 132 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 D | mtk_vcodec_fw_vpu.c | 61 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 D | cedrus.c | 315 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 D | mx2_emmaprp.c | 200 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 D | imx-pxp.c | 196 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 D | rcar_fdp1.c | 559 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 D | m2m-deinterlace.c | 126 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 D | rtsx_usb_sdmmc.c | 756 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 D | edp_ctrl.c | 961 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 D | sun8i_rotate.c | 543 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 D | sun8i-rotate.h | 125 struct mutex dev_mutex; member
|
/linux/drivers/media/platform/sunxi/sun8i-di/ |
A D | sun8i-di.c | 680 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 D | rtsx_usb_ms.c | 521 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 D | hideep.c | 156 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 D | rtsx_usb.c | 645 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 D | chcr_ipsec.c | 74 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 D | vim2m.c | 193 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 D | vpe.c | 379 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()
|