Home
last modified time | relevance | path

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

/linux-6.1.9/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()
320 mutex_init(&coil->power_lock); in ad5820_probe()
341 mutex_destroy(&coil->power_lock); in ad5820_probe()
353 mutex_destroy(&coil->power_lock); in ad5820_remove()
Dov5645.c110 struct mutex power_lock; /* lock to protect power state */ member
677 mutex_lock(&ov5645->power_lock); in ov5645_s_power()
710 mutex_unlock(&ov5645->power_lock); in ov5645_s_power()
797 mutex_lock(&ov5645->power_lock); in ov5645_s_ctrl()
799 mutex_unlock(&ov5645->power_lock); in ov5645_s_ctrl()
830 mutex_unlock(&ov5645->power_lock); in ov5645_s_ctrl()
1138 mutex_init(&ov5645->power_lock); in ov5645_probe()
1254 mutex_destroy(&ov5645->power_lock); in ov5645_probe()
1267 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()
489 mutex_init(&flash->power_lock); in adp1653_probe()
Dmt9p031.c126 struct mutex power_lock; /* lock to protect power_count */ member
968 mutex_lock(&mt9p031->power_lock); in mt9p031_set_power()
984 mutex_unlock(&mt9p031->power_lock); in mt9p031_set_power()
1138 mutex_init(&mt9p031->power_lock); in mt9p031_probe()
1205 mutex_destroy(&mt9p031->power_lock); in mt9p031_probe()
1219 mutex_destroy(&mt9p031->power_lock); in mt9p031_remove()
Dmt9t001.c122 struct mutex power_lock; /* lock to protect power_count */ member
751 mutex_lock(&mt9t001->power_lock); in mt9t001_set_power()
767 mutex_unlock(&mt9t001->power_lock); in mt9t001_set_power()
883 mutex_init(&mt9t001->power_lock); in mt9t001_probe()
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-6.1.9/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()
1329 ret = drmm_mutex_init(dev, &vc4->power_lock); in vc4_gem_init()
Dvc4_drv.h212 struct mutex power_lock; member
/linux-6.1.9/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()
1372 mutex_init(&vfe->power_lock); in msm_vfe_subdev_init()
1603 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-6.1.9/include/media/i2c/
Dadp1653.h109 struct mutex power_lock; member
/linux-6.1.9/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-6.1.9/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()