Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
322 mutex_init(&coil->power_lock); in ad5820_probe()
341 mutex_destroy(&coil->power_lock); in ad5820_probe()
355 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()
1136 mutex_init(&ov5645->power_lock); in ov5645_probe()
1252 mutex_destroy(&ov5645->power_lock); in ov5645_probe()
1265 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()
491 mutex_init(&flash->power_lock); in adp1653_probe()
Dmt9p031.c127 struct mutex power_lock; /* lock to protect power_count */ member
913 mutex_lock(&mt9p031->power_lock); in mt9p031_set_power()
929 mutex_unlock(&mt9p031->power_lock); in mt9p031_set_power()
1095 mutex_init(&mt9p031->power_lock); in mt9p031_probe()
1173 mutex_destroy(&mt9p031->power_lock); in mt9p031_probe()
1187 mutex_destroy(&mt9p031->power_lock); in mt9p031_remove()
Dmt9t001.c122 struct mutex power_lock; /* lock to protect power_count */ member
743 mutex_lock(&mt9t001->power_lock); in mt9t001_set_power()
759 mutex_unlock(&mt9t001->power_lock); in mt9t001_set_power()
875 mutex_init(&mt9t001->power_lock); in mt9t001_probe()
Dmt9v032.c199 struct mutex power_lock; member
847 mutex_lock(&mt9v032->power_lock); in mt9v032_set_power()
863 mutex_unlock(&mt9v032->power_lock); in mt9v032_set_power()
1069 mutex_init(&mt9v032->power_lock); in mt9v032_probe()
Dmt9m111.c240 struct mutex power_lock; /* lock to protect power_count */ member
1017 mutex_lock(&mt9m111->power_lock); in mt9m111_s_power()
1036 mutex_unlock(&mt9m111->power_lock); in mt9m111_s_power()
1338 mutex_init(&mt9m111->power_lock); in mt9m111_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
Dvc4_v3d.c132 mutex_lock(&vc4->power_lock); in vc4_v3d_pm_get()
138 mutex_unlock(&vc4->power_lock); in vc4_v3d_pm_get()
142 mutex_unlock(&vc4->power_lock); in vc4_v3d_pm_get()
150 mutex_lock(&vc4->power_lock); in vc4_v3d_pm_put()
155 mutex_unlock(&vc4->power_lock); in vc4_v3d_pm_put()
Dvc4_gem.c292 mutex_lock(&vc4->power_lock); in vc4_reset()
300 mutex_unlock(&vc4->power_lock); in vc4_reset()
1284 mutex_init(&vc4->power_lock); in vc4_gem_init()
Dvc4_drv.h211 struct mutex power_lock; member
/kernel/linux/linux-5.10/drivers/media/platform/qcom/camss/
Dcamss-ispif.h61 struct mutex power_lock; member
Dcamss-vfe.c1255 mutex_lock(&vfe->power_lock); in vfe_get()
1289 mutex_unlock(&vfe->power_lock); in vfe_get()
1301 mutex_unlock(&vfe->power_lock); in vfe_get()
1312 mutex_lock(&vfe->power_lock); in vfe_put()
1330 mutex_unlock(&vfe->power_lock); in vfe_put()
2069 mutex_init(&vfe->power_lock); in msm_vfe_subdev_init()
2334 mutex_destroy(&vfe->power_lock); in msm_vfe_unregister_entities()
Dcamss-ispif.c337 mutex_lock(&ispif->power_lock); in ispif_set_power()
382 mutex_unlock(&ispif->power_lock); in ispif_set_power()
1190 mutex_init(&ispif->power_lock); in msm_ispif_subdev_init()
1366 mutex_destroy(&ispif->power_lock); in msm_ispif_unregister_entities()
Dcamss-vfe.h155 struct mutex power_lock; member
/kernel/linux/linux-5.10/drivers/tty/serial/
Difx6x60.h82 spinlock_t power_lock; member
Difx6x60.c134 spin_lock_irqsave(&ifx_dev->power_lock, flags); in ifx_spi_power_state_set()
144 spin_unlock_irqrestore(&ifx_dev->power_lock, flags); in ifx_spi_power_state_set()
159 spin_lock_irqsave(&ifx_dev->power_lock, flags); in ifx_spi_power_state_clear()
167 spin_unlock_irqrestore(&ifx_dev->power_lock, flags); in ifx_spi_power_state_clear()
1017 spin_lock_init(&ifx_dev->power_lock); in ifx_spi_spi_probe()
/kernel/linux/linux-5.10/include/media/i2c/
Dadp1653.h109 struct mutex power_lock; member
/kernel/linux/linux-5.10/drivers/media/i2c/et8ek8/
Det8ek8_driver.c58 struct mutex power_lock; member
1302 mutex_lock(&sensor->power_lock); in et8ek8_set_power()
1318 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()
/kernel/linux/linux-5.10/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()
882 mutex_init(&flash->power_lock); in lm3554_probe()