/linux-6.3-rc2/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-6.3-rc2/drivers/staging/rts5208/ |
A D | rtsx.c | 267 mutex_lock(&dev->dev_mutex); in rtsx_suspend() 284 mutex_unlock(&dev->dev_mutex); in rtsx_suspend() 301 mutex_lock(&dev->dev_mutex); in rtsx_resume() 312 mutex_unlock(&dev->dev_mutex); in rtsx_resume() 320 mutex_unlock(&dev->dev_mutex); in rtsx_resume() 359 mutex_lock(&dev->dev_mutex); in rtsx_control_thread() 476 mutex_lock(&dev->dev_mutex); in rtsx_polling_thread() 490 mutex_lock(&dev->dev_mutex); in rtsx_polling_thread() 611 mutex_lock(&dev->dev_mutex); in quiesce_and_remove_host() 627 mutex_lock(&dev->dev_mutex); in quiesce_and_remove_host() [all …]
|
A D | rtsx.h | 103 struct mutex dev_mutex; member
|
/linux-6.3-rc2/drivers/mtd/ubi/ |
A D | block.c | 83 struct mutex dev_mutex; member 235 mutex_lock(&dev->dev_mutex); in ubiblock_open() 265 mutex_unlock(&dev->dev_mutex); in ubiblock_open() 269 mutex_unlock(&dev->dev_mutex); in ubiblock_open() 277 mutex_lock(&dev->dev_mutex); in ubiblock_release() 283 mutex_unlock(&dev->dev_mutex); in ubiblock_release() 375 mutex_init(&dev->dev_mutex); in ubiblock_create() 473 mutex_lock(&dev->dev_mutex); in ubiblock_remove() 482 mutex_unlock(&dev->dev_mutex); in ubiblock_remove() 489 mutex_unlock(&dev->dev_mutex); in ubiblock_remove() [all …]
|
/linux-6.3-rc2/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-6.3-rc2/drivers/media/test-drivers/visl/ |
A D | visl-core.c | 295 if (mutex_lock_interruptible(&dev->dev_mutex)) in visl_open() 331 mutex_unlock(&dev->dev_mutex); in visl_open() 343 mutex_unlock(&dev->dev_mutex); in visl_open() 358 mutex_lock(&dev->dev_mutex); in visl_release() 360 mutex_unlock(&dev->dev_mutex); in visl_release() 411 mutex_init(&dev->dev_mutex); in visl_probe() 415 vfd->lock = &dev->dev_mutex; in visl_probe()
|
A D | visl.h | 108 struct mutex dev_mutex; member
|
/linux-6.3-rc2/drivers/staging/media/sunxi/cedrus/ |
A D | cedrus.c | 359 if (mutex_lock_interruptible(&dev->dev_mutex)) in cedrus_open() 364 mutex_unlock(&dev->dev_mutex); in cedrus_open() 388 mutex_unlock(&dev->dev_mutex); in cedrus_open() 396 mutex_unlock(&dev->dev_mutex); in cedrus_open() 407 mutex_lock(&dev->dev_mutex); in cedrus_release() 419 mutex_unlock(&dev->dev_mutex); in cedrus_release() 474 mutex_init(&dev->dev_mutex); in cedrus_probe() 485 vfd->lock = &dev->dev_mutex; in cedrus_probe()
|
/linux-6.3-rc2/drivers/media/platform/mediatek/vcodec/ |
A D | mtk_vcodec_enc_drv.c | 121 mutex_lock(&dev->dev_mutex); in fops_vcodec_open() 180 mutex_unlock(&dev->dev_mutex); in fops_vcodec_open() 194 mutex_unlock(&dev->dev_mutex); in fops_vcodec_open() 205 mutex_lock(&dev->dev_mutex); in fops_vcodec_release() 215 mutex_unlock(&dev->dev_mutex); in fops_vcodec_release() 294 mutex_init(&dev->dev_mutex); in mtk_vcodec_probe() 318 vfd_enc->lock = &dev->dev_mutex; in mtk_vcodec_probe()
|
A D | mtk_vcodec_dec_drv.c | 151 mutex_lock(&dev->dev_mutex); in fops_vcodec_open() 219 mutex_unlock(&dev->dev_mutex); in fops_vcodec_open() 233 mutex_unlock(&dev->dev_mutex); in fops_vcodec_open() 244 mutex_lock(&dev->dev_mutex); in fops_vcodec_release() 261 mutex_unlock(&dev->dev_mutex); in fops_vcodec_release() 334 mutex_init(&dev->dev_mutex); in mtk_vcodec_probe() 357 vfd_dec->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-6.3-rc2/drivers/media/platform/nxp/ |
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 | 223 struct mutex dev_mutex; member 1627 src_vq->lock = &ctx->dev->dev_mutex; in queue_init() 1641 dst_vq->lock = &ctx->dev->dev_mutex; in queue_init() 1657 if (mutex_lock_interruptible(&dev->dev_mutex)) in pxp_open() 1712 mutex_unlock(&dev->dev_mutex); in pxp_open() 1726 mutex_lock(&dev->dev_mutex); in pxp_release() 1728 mutex_unlock(&dev->dev_mutex); in pxp_release() 1842 mutex_init(&dev->dev_mutex); in pxp_probe() 1846 vfd->lock = &dev->dev_mutex; in pxp_probe()
|
/linux-6.3-rc2/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() 1108 mutex_lock(&ucr->dev_mutex); in sdmmc_set_ios() 1158 mutex_lock(&ucr->dev_mutex); in sdmmc_switch_voltage() 1203 mutex_lock(&ucr->dev_mutex); in sdmmc_card_busy() 1241 mutex_lock(&ucr->dev_mutex); in sdmmc_execute_tuning() [all …]
|
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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() 1022 mutex_init(&ts->dev_mutex); in hideep_probe()
|
/linux-6.3-rc2/drivers/misc/cardreader/ |
A D | rtsx_usb.c | 649 mutex_init(&ucr->dev_mutex); in rtsx_usb_probe() 711 if (mutex_trylock(&ucr->dev_mutex)) { in rtsx_usb_suspend() 713 mutex_unlock(&ucr->dev_mutex); in rtsx_usb_suspend() 762 mutex_lock(&ucr->dev_mutex); in rtsx_usb_pre_reset() 770 mutex_unlock(&ucr->dev_mutex); in rtsx_usb_post_reset()
|
/linux-6.3-rc2/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/ |
A D | chcr_ipsec.c | 74 static DEFINE_MUTEX(dev_mutex); 126 mutex_lock(&dev_mutex); in ch_ipsec_uld_state_change() 128 mutex_unlock(&dev_mutex); in ch_ipsec_uld_state_change() 811 mutex_lock(&dev_mutex); in ch_ipsec_exit() 818 mutex_unlock(&dev_mutex); in ch_ipsec_exit()
|
/linux-6.3-rc2/drivers/media/platform/renesas/ |
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() 2340 vfd->lock = &fdp1->dev_mutex; in fdp1_probe()
|
/linux-6.3-rc2/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-6.3-rc2/drivers/media/platform/ |
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()
|