Home
last modified time | relevance | path

Searched refs:dev_lock (Results 1 – 25 of 36) sorted by relevance

12

/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/cif/
Dcommon.c151 mutex_lock(&hw->dev_lock); in rkcif_alloc_common_dummy_buf()
171 mutex_unlock(&hw->dev_lock); in rkcif_alloc_common_dummy_buf()
179 mutex_lock(&hw->dev_lock); in rkcif_free_common_dummy_buf()
185 mutex_unlock(&hw->dev_lock); in rkcif_free_common_dummy_buf()
Dhw.h122 struct mutex dev_lock; member
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/cif/
Dcommon.c153 mutex_lock(&hw->dev_lock); in rkcif_alloc_common_dummy_buf()
175 mutex_unlock(&hw->dev_lock); in rkcif_alloc_common_dummy_buf()
183 mutex_lock(&hw->dev_lock); in rkcif_free_common_dummy_buf()
190 mutex_unlock(&hw->dev_lock); in rkcif_free_common_dummy_buf()
Dhw.h118 struct mutex dev_lock; member
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/ispp/
Ddev.c344 mutex_lock(&ispp_dev->hw_dev->dev_lock); in rkispp_runtime_suspend()
346 mutex_unlock(&ispp_dev->hw_dev->dev_lock); in rkispp_runtime_suspend()
360 mutex_lock(&ispp_dev->hw_dev->dev_lock); in rkispp_runtime_resume()
362 mutex_unlock(&ispp_dev->hw_dev->dev_lock); in rkispp_runtime_resume()
Dhw.h51 struct mutex dev_lock; member
Dcommon.c481 mutex_lock(&hw->dev_lock); in rkispp_alloc_common_dummy_buf()
499 mutex_unlock(&hw->dev_lock); in rkispp_alloc_common_dummy_buf()
507 mutex_lock(&hw->dev_lock); in rkispp_free_common_dummy_buf()
516 mutex_unlock(&hw->dev_lock); in rkispp_free_common_dummy_buf()
Dhw.c388 mutex_init(&hw_dev->dev_lock); in rkispp_hw_probe()
433 mutex_destroy(&hw_dev->dev_lock); in rkispp_hw_remove()
Dstream_v20.c391 mutex_lock(&dev->hw_dev->dev_lock); in start_isp()
423 mutex_unlock(&dev->hw_dev->dev_lock); in start_isp()
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/ispp/
Ddev.c361 mutex_lock(&ispp_dev->hw_dev->dev_lock); in rkispp_runtime_suspend()
363 mutex_unlock(&ispp_dev->hw_dev->dev_lock); in rkispp_runtime_suspend()
377 mutex_lock(&ispp_dev->hw_dev->dev_lock); in rkispp_runtime_resume()
379 mutex_unlock(&ispp_dev->hw_dev->dev_lock); in rkispp_runtime_resume()
Dhw.h58 struct mutex dev_lock; member
Dcommon.c495 mutex_lock(&hw->dev_lock); in rkispp_alloc_common_dummy_buf()
515 mutex_unlock(&hw->dev_lock); in rkispp_alloc_common_dummy_buf()
523 mutex_lock(&hw->dev_lock); in rkispp_free_common_dummy_buf()
533 mutex_unlock(&hw->dev_lock); in rkispp_free_common_dummy_buf()
Dhw.c380 mutex_init(&hw_dev->dev_lock); in rkispp_hw_probe()
426 mutex_destroy(&hw_dev->dev_lock); in rkispp_hw_remove()
Dstream_v20.c386 mutex_lock(&dev->hw_dev->dev_lock); in start_isp()
420 mutex_unlock(&dev->hw_dev->dev_lock); in start_isp()
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/
Dhw.h58 struct mutex dev_lock; member
Ddev.c884 mutex_lock(&isp_dev->hw_dev->dev_lock); in rkisp_runtime_suspend()
886 mutex_unlock(&isp_dev->hw_dev->dev_lock); in rkisp_runtime_suspend()
896 mutex_lock(&isp_dev->hw_dev->dev_lock); in rkisp_runtime_resume()
898 mutex_unlock(&isp_dev->hw_dev->dev_lock); in rkisp_runtime_resume()
Dcapture_v30.c937 mutex_lock(&dev->hw_dev->dev_lock); in rkisp_stop_streaming()
977 mutex_unlock(&dev->hw_dev->dev_lock); in rkisp_stop_streaming()
1110 mutex_lock(&dev->hw_dev->dev_lock); in rkisp_start_streaming()
1115 mutex_unlock(&dev->hw_dev->dev_lock); in rkisp_start_streaming()
1135 mutex_unlock(&dev->hw_dev->dev_lock); in rkisp_start_streaming()
1187 mutex_unlock(&dev->hw_dev->dev_lock); in rkisp_start_streaming()
1202 mutex_unlock(&dev->hw_dev->dev_lock); in rkisp_start_streaming()
Dcapture_v21.c1176 mutex_lock(&dev->hw_dev->dev_lock); in rkisp_stop_streaming()
1205 mutex_unlock(&dev->hw_dev->dev_lock); in rkisp_stop_streaming()
1254 mutex_lock(&dev->hw_dev->dev_lock); in rkisp_start_streaming()
1259 mutex_unlock(&dev->hw_dev->dev_lock); in rkisp_start_streaming()
1323 mutex_unlock(&dev->hw_dev->dev_lock); in rkisp_start_streaming()
1338 mutex_unlock(&dev->hw_dev->dev_lock); in rkisp_start_streaming()
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/
Dhw.h58 struct mutex dev_lock; member
Ddev.c858 mutex_lock(&isp_dev->hw_dev->dev_lock); in rkisp_runtime_suspend()
860 mutex_unlock(&isp_dev->hw_dev->dev_lock); in rkisp_runtime_suspend()
870 mutex_lock(&isp_dev->hw_dev->dev_lock); in rkisp_runtime_resume()
872 mutex_unlock(&isp_dev->hw_dev->dev_lock); in rkisp_runtime_resume()
Dcapture_v30.c979 mutex_lock(&dev->hw_dev->dev_lock); in rkisp_stop_streaming()
1018 mutex_unlock(&dev->hw_dev->dev_lock); in rkisp_stop_streaming()
1154 mutex_lock(&dev->hw_dev->dev_lock); in rkisp_start_streaming()
1160 mutex_unlock(&dev->hw_dev->dev_lock); in rkisp_start_streaming()
1181 mutex_unlock(&dev->hw_dev->dev_lock); in rkisp_start_streaming()
1232 mutex_unlock(&dev->hw_dev->dev_lock); in rkisp_start_streaming()
1247 mutex_unlock(&dev->hw_dev->dev_lock); in rkisp_start_streaming()
Dcapture_v21.c1221 mutex_lock(&dev->hw_dev->dev_lock); in rkisp_stop_streaming()
1250 mutex_unlock(&dev->hw_dev->dev_lock); in rkisp_stop_streaming()
1300 mutex_lock(&dev->hw_dev->dev_lock); in rkisp_start_streaming()
1306 mutex_unlock(&dev->hw_dev->dev_lock); in rkisp_start_streaming()
1375 mutex_unlock(&dev->hw_dev->dev_lock); in rkisp_start_streaming()
1390 mutex_unlock(&dev->hw_dev->dev_lock); in rkisp_start_streaming()
Dbridge.c412 mutex_lock(&hw->dev_lock); in bridge_s_stream()
422 mutex_unlock(&hw->dev_lock); in bridge_s_stream()
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/mpp/
Dmpp_common.c860 mutex_init(&queue->dev_lock); in mpp_taskqueue_init()
882 mutex_lock(&queue->dev_lock); in mpp_attach_workqueue()
915 mutex_unlock(&queue->dev_lock); in mpp_attach_workqueue()
923 mutex_lock(&queue->dev_lock); in mpp_detach_workqueue()
933 mutex_unlock(&queue->dev_lock); in mpp_detach_workqueue()
/device/soc/rockchip/common/vendor/drivers/video/rockchip/mpp/
Dmpp_common.c821 mutex_init(&queue->dev_lock); in mpp_taskqueue_init()
842 mutex_lock(&queue->dev_lock); in mpp_attach_workqueue()
876 mutex_unlock(&queue->dev_lock); in mpp_attach_workqueue()
884 mutex_lock(&queue->dev_lock); in mpp_detach_workqueue()
894 mutex_unlock(&queue->dev_lock); in mpp_detach_workqueue()

12