Home
last modified time | relevance | path

Searched refs:power_lock (Results 1 – 16 of 16) sorted by relevance

/Linux-v6.6/drivers/media/i2c/
Dad5820.c51 struct mutex power_lock; member
222 mutex_lock(&coil->power_lock); in ad5820_set_power()
240 mutex_unlock(&coil->power_lock); in ad5820_set_power()
313 mutex_init(&coil->power_lock); in ad5820_probe()
334 mutex_destroy(&coil->power_lock); in ad5820_probe()
346 mutex_destroy(&coil->power_lock); in ad5820_remove()
Dov5645.c108 struct mutex power_lock; /* lock to protect power state */ member
772 mutex_lock(&ov5645->power_lock); in ov5645_s_ctrl()
774 mutex_unlock(&ov5645->power_lock); in ov5645_s_ctrl()
807 mutex_unlock(&ov5645->power_lock); in ov5645_s_ctrl()
1123 mutex_init(&ov5645->power_lock); in ov5645_probe()
1247 mutex_destroy(&ov5645->power_lock); in ov5645_probe()
1264 mutex_destroy(&ov5645->power_lock); in ov5645_remove()
Dadp1653.c332 mutex_lock(&flash->power_lock); in adp1653_set_power()
348 mutex_unlock(&flash->power_lock); in adp1653_set_power()
488 mutex_init(&flash->power_lock); in adp1653_probe()
Dmt9p031.c126 struct mutex power_lock; /* lock to protect power_count */ member
974 mutex_lock(&mt9p031->power_lock); in mt9p031_set_power()
990 mutex_unlock(&mt9p031->power_lock); in mt9p031_set_power()
1144 mutex_init(&mt9p031->power_lock); in mt9p031_probe()
1211 mutex_destroy(&mt9p031->power_lock); in mt9p031_probe()
1225 mutex_destroy(&mt9p031->power_lock); in mt9p031_remove()
Dmt9v032.c199 struct mutex power_lock; member
855 mutex_lock(&mt9v032->power_lock); in mt9v032_set_power()
871 mutex_unlock(&mt9v032->power_lock); in mt9v032_set_power()
1077 mutex_init(&mt9v032->power_lock); in mt9v032_probe()
Dmt9m111.c239 struct mutex power_lock; /* lock to protect power_count */ member
1016 mutex_lock(&mt9m111->power_lock); in mt9m111_s_power()
1035 mutex_unlock(&mt9m111->power_lock); in mt9m111_s_power()
1339 mutex_init(&mt9m111->power_lock); in mt9m111_probe()
/Linux-v6.6/drivers/gpu/drm/vc4/
Dvc4_v3d.c133 mutex_lock(&vc4->power_lock); in vc4_v3d_pm_get()
139 mutex_unlock(&vc4->power_lock); in vc4_v3d_pm_get()
143 mutex_unlock(&vc4->power_lock); in vc4_v3d_pm_get()
154 mutex_lock(&vc4->power_lock); in vc4_v3d_pm_put()
159 mutex_unlock(&vc4->power_lock); in vc4_v3d_pm_put()
Dvc4_gem.c295 mutex_lock(&vc4->power_lock); in vc4_reset()
303 mutex_unlock(&vc4->power_lock); in vc4_reset()
1287 ret = drmm_mutex_init(dev, &vc4->power_lock); in vc4_gem_init()
Dvc4_drv.h217 struct mutex power_lock; member
/Linux-v6.6/drivers/media/platform/qcom/camss/
Dcamss-ispif.h61 struct mutex power_lock; member
Dcamss-vfe.c582 mutex_lock(&vfe->power_lock); in vfe_get()
618 mutex_unlock(&vfe->power_lock); in vfe_get()
631 mutex_unlock(&vfe->power_lock); in vfe_get()
642 mutex_lock(&vfe->power_lock); in vfe_put()
660 mutex_unlock(&vfe->power_lock); in vfe_put()
1373 mutex_init(&vfe->power_lock); in msm_vfe_subdev_init()
1608 mutex_destroy(&vfe->power_lock); in msm_vfe_unregister_entities()
Dcamss-vfe.h140 struct mutex power_lock; member
Dcamss-ispif.c366 mutex_lock(&ispif->power_lock); in ispif_set_power()
409 mutex_unlock(&ispif->power_lock); in ispif_set_power()
1222 mutex_init(&ispif->power_lock); in msm_ispif_subdev_init()
1444 mutex_destroy(&ispif->power_lock); in msm_ispif_unregister_entities()
/Linux-v6.6/include/media/i2c/
Dadp1653.h109 struct mutex power_lock; member
/Linux-v6.6/drivers/media/i2c/et8ek8/
Det8ek8_driver.c58 struct mutex power_lock; member
1304 mutex_lock(&sensor->power_lock); in et8ek8_set_power()
1320 mutex_unlock(&sensor->power_lock); in et8ek8_set_power()
1434 mutex_init(&sensor->power_lock); in et8ek8_probe()
1459 mutex_destroy(&sensor->power_lock); in et8ek8_probe()
1479 mutex_destroy(&sensor->power_lock); in et8ek8_remove()
/Linux-v6.6/drivers/staging/media/atomisp/i2c/
Datomisp-lm3554.c65 struct mutex power_lock; member
651 mutex_lock(&flash->power_lock); in lm3554_s_power()
663 mutex_unlock(&flash->power_lock); in lm3554_s_power()
881 mutex_init(&flash->power_lock); in lm3554_probe()