Home
last modified time | relevance | path

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

/linux/drivers/media/i2c/
H A 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()
H A Dadp1653.c332 mutex_lock(&flash->power_lock); in adp1653_set_power()
348 mutex_unlock(&flash->power_lock); in adp1653_set_power()
490 mutex_init(&flash->power_lock); in adp1653_probe()
H A Dmt9p031.c123 struct mutex power_lock; /* lock to protect power_count */ member
967 mutex_lock(&mt9p031->power_lock); in mt9p031_set_power()
983 mutex_unlock(&mt9p031->power_lock); in mt9p031_set_power()
1127 mutex_init(&mt9p031->power_lock); in mt9p031_probe()
1194 mutex_destroy(&mt9p031->power_lock); in mt9p031_probe()
1208 mutex_destroy(&mt9p031->power_lock); in mt9p031_remove()
H A Dmt9v032.c200 struct mutex power_lock; member
854 mutex_lock(&mt9v032->power_lock); in mt9v032_set_power()
870 mutex_unlock(&mt9v032->power_lock); in mt9v032_set_power()
1075 mutex_init(&mt9v032->power_lock); in mt9v032_probe()
H A Dmt9m111.c239 struct mutex power_lock; /* lock to protect power_count */ member
1010 mutex_lock(&mt9m111->power_lock); in mt9m111_s_power()
1029 mutex_unlock(&mt9m111->power_lock); in mt9m111_s_power()
1350 mutex_init(&mt9m111->power_lock); in mt9m111_probe()
/linux/drivers/gpu/drm/vc4/
H A 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()
H A Dvc4_gem.c295 mutex_lock(&vc4->power_lock); in vc4_reset()
303 mutex_unlock(&vc4->power_lock); in vc4_reset()
1286 ret = drmm_mutex_init(dev, &vc4->power_lock); in vc4_gem_init()
/linux/drivers/media/pci/intel/ipu6/
H A Dipu6-fw-isys.c150 spin_lock_irqsave(&isys->power_lock, flags); in ipu6_fw_isys_close()
154 spin_unlock_irqrestore(&isys->power_lock, flags); in ipu6_fw_isys_close()
167 spin_lock_irqsave(&isys->power_lock, flags); in ipu6_fw_isys_close()
169 spin_unlock_irqrestore(&isys->power_lock, flags); in ipu6_fw_isys_close()
H A Dipu6-isys.c351 spin_lock(&isys->power_lock); in isys_isr()
353 spin_unlock(&isys->power_lock); in isys_isr()
400 spin_unlock(&isys->power_lock); in isys_isr()
873 spin_lock_irqsave(&isys->power_lock, flags); in isys_runtime_pm_resume()
875 spin_unlock_irqrestore(&isys->power_lock, flags); in isys_runtime_pm_resume()
894 spin_lock_irqsave(&isys->power_lock, flags); in isys_runtime_pm_suspend()
896 spin_unlock_irqrestore(&isys->power_lock, flags); in isys_runtime_pm_suspend()
1081 spin_lock_init(&isys->power_lock); in isys_probe()
/linux/drivers/media/platform/qcom/camss/
H A Dcamss-ispif.h61 struct mutex power_lock; member
H A Dcamss-vfe.h149 struct mutex power_lock; member
/linux/drivers/media/i2c/et8ek8/
H A Det8ek8_driver.c58 struct mutex power_lock; member
1319 mutex_lock(&sensor->power_lock); in et8ek8_set_power()
1335 mutex_unlock(&sensor->power_lock); in et8ek8_set_power()
1449 mutex_init(&sensor->power_lock); in et8ek8_probe()
1474 mutex_destroy(&sensor->power_lock); in et8ek8_probe()
1494 mutex_destroy(&sensor->power_lock); in et8ek8_remove()
/linux/include/media/i2c/
H A Dadp1653.h109 struct mutex power_lock; member