/kernel/linux/linux-5.10/drivers/media/i2c/ |
D | ad5820.c | 52 int power_count; member 228 if (coil->power_count == !on) { in ad5820_set_power() 236 coil->power_count += on ? 1 : -1; in ad5820_set_power() 237 WARN_ON(coil->power_count < 0); in ad5820_set_power() 277 if (!coil->power_count) in ad5820_suspend() 289 if (!coil->power_count) in ad5820_resume()
|
D | ov5647.c | 87 int power_count; member 355 if (on && !ov5647->power_count) { in ov5647_sensor_power() 380 } else if (!on && ov5647->power_count == 1) { in ov5647_sensor_power() 398 ov5647->power_count += on ? 1 : -1; in ov5647_sensor_power() 399 WARN_ON(ov5647->power_count < 0); in ov5647_sensor_power()
|
D | adp1653.c | 337 if (flash->power_count == !on) { in adp1653_set_power() 344 flash->power_count += on ? 1 : -1; in adp1653_set_power() 345 WARN_ON(flash->power_count < 0); in adp1653_set_power() 386 if (!flash->power_count) in adp1653_suspend() 398 if (!flash->power_count) in adp1653_resume()
|
D | s5k6a3.c | 67 int power_count; member 255 if (sensor->power_count == !on) { in s5k6a3_s_power() 262 sensor->power_count += on ? 1 : -1; in s5k6a3_s_power()
|
D | ov772x.c | 432 int power_count; member 740 if (priv->power_count > 0) { in ov772x_s_frame_interval() 771 if (priv->power_count == 0) in ov772x_s_ctrl() 910 if (priv->power_count == !on) { in ov772x_s_power() 927 priv->power_count += on ? 1 : -1; in ov772x_s_power() 928 WARN(priv->power_count < 0, "Unbalanced power count\n"); in ov772x_s_power() 929 WARN(priv->power_count > 1, "Duplicated s_power call\n"); in ov772x_s_power() 1220 if (priv->power_count > 0) { in ov772x_set_fmt()
|
D | ov5645.c | 111 int power_count; member 682 if (ov5645->power_count == !on) { in ov5645_s_power() 706 ov5645->power_count += on ? 1 : -1; in ov5645_s_power() 707 WARN_ON(ov5645->power_count < 0); in ov5645_s_power() 798 if (!ov5645->power_count) { in ov5645_s_ctrl()
|
D | ov2640.c | 311 int power_count; member 730 if (!priv->power_count) in ov2640_s_ctrl() 812 if (priv->power_count == !on) in ov2640_s_power() 814 priv->power_count += on ? 1 : -1; in ov2640_s_power() 815 WARN_ON(priv->power_count < 0); in ov2640_s_power()
|
D | mt9t001.c | 123 int power_count; member 748 if (mt9t001->power_count == !on) { in mt9t001_set_power() 755 mt9t001->power_count += on ? 1 : -1; in mt9t001_set_power() 756 WARN_ON(mt9t001->power_count < 0); in mt9t001_set_power()
|
D | mt9v032.c | 200 int power_count; member 852 if (mt9v032->power_count == !on) { in mt9v032_set_power() 859 mt9v032->power_count += on ? 1 : -1; in mt9v032_set_power() 860 WARN_ON(mt9v032->power_count < 0); in mt9v032_set_power()
|
D | mt9p031.c | 128 int power_count; member 918 if (mt9p031->power_count == !on) { in mt9p031_set_power() 925 mt9p031->power_count += on ? 1 : -1; in mt9p031_set_power() 926 WARN_ON(mt9p031->power_count < 0); in mt9p031_set_power()
|
D | mt9m111.c | 241 int power_count; member 1023 if (mt9m111->power_count == !on) { in mt9m111_s_power() 1032 mt9m111->power_count += on ? 1 : -1; in mt9m111_s_power() 1033 WARN_ON(mt9m111->power_count < 0); in mt9m111_s_power()
|
D | ov5640.c | 240 int power_count; member 2145 if (sensor->power_count == !on) { in ov5640_s_power() 2152 sensor->power_count += on ? 1 : -1; in ov5640_s_power() 2153 WARN_ON(sensor->power_count < 0); in ov5640_s_power() 2157 if (on && !ret && sensor->power_count == 1) { in ov5640_s_power() 2669 if (sensor->power_count == 0) in ov5640_s_ctrl()
|
/kernel/linux/linux-5.10/drivers/mfd/ |
D | twl6040.c | 281 if (twl6040->power_count++) in twl6040_power() 286 twl6040->power_count = 0; in twl6040_power() 298 twl6040->power_count = 0; in twl6040_power() 306 twl6040->power_count = 0; in twl6040_power() 330 if (!twl6040->power_count) { in twl6040_power() 337 if (--twl6040->power_count) in twl6040_power() 516 if (twl6040->power_count) in twl6040_get_pll() 815 if (twl6040->power_count) in twl6040_remove()
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/i2c/ |
D | atomisp-lm3554.c | 67 int power_count; member 653 if (flash->power_count == !power) { in lm3554_s_power() 659 flash->power_count += power ? 1 : -1; in lm3554_s_power() 660 WARN_ON(flash->power_count < 0); in lm3554_s_power() 727 if (flash->power_count == 0) in lm3554_suspend() 744 if (flash->power_count == 0) in lm3554_resume()
|
/kernel/linux/linux-5.10/drivers/media/i2c/et8ek8/ |
D | et8ek8_driver.c | 59 int power_count; member 1307 if (sensor->power_count == !on) { in et8ek8_set_power() 1314 sensor->power_count += on ? 1 : -1; in et8ek8_set_power() 1315 WARN_ON(sensor->power_count < 0); in et8ek8_set_power() 1381 if (!sensor->power_count) in et8ek8_suspend() 1393 if (!sensor->power_count) in et8ek8_resume() 1468 if (sensor->power_count) { in et8ek8_remove() 1471 sensor->power_count = 0; in et8ek8_remove()
|
/kernel/linux/linux-5.10/drivers/media/platform/qcom/camss/ |
D | camss-ispif.h | 60 int power_count; member
|
D | camss-ispif.c | 340 if (ispif->power_count) { in ispif_set_power() 342 ispif->power_count++; in ispif_set_power() 368 ispif->power_count++; in ispif_set_power() 370 if (ispif->power_count == 0) { in ispif_set_power() 373 } else if (ispif->power_count == 1) { in ispif_set_power() 378 ispif->power_count--; in ispif_set_power() 1191 ispif->power_count = 0; in msm_ispif_subdev_init()
|
D | camss-vfe.h | 156 int power_count; member
|
D | camss-vfe.c | 1257 if (vfe->power_count == 0) { in vfe_get() 1287 vfe->power_count++; in vfe_get() 1314 if (vfe->power_count == 0) { in vfe_put() 1317 } else if (vfe->power_count == 1) { in vfe_put() 1327 vfe->power_count--; in vfe_put() 2070 vfe->power_count = 0; in msm_vfe_subdev_init()
|
/kernel/linux/linux-5.10/include/media/i2c/ |
D | adp1653.h | 110 int power_count; member
|
/kernel/linux/linux-5.10/drivers/phy/ |
D | phy-core.c | 310 if (phy->power_count == 0 && phy->ops->power_on) { in phy_power_on() 317 ++phy->power_count; in phy_power_on() 340 if (phy->power_count == 1 && phy->ops->power_off) { in phy_power_off() 348 --phy->power_count; in phy_power_off()
|
/kernel/linux/linux-5.10/include/linux/mfd/ |
D | twl6040.h | 222 int power_count; member
|
/kernel/linux/linux-5.10/drivers/media/platform/s3c-camif/ |
D | camif-core.h | 272 short power_count; member
|
/kernel/linux/linux-5.10/drivers/phy/samsung/ |
D | phy-exynos-mipi-video.c | 238 state->phys[data->coupled_phy_id].phy->power_count == 0) in __set_phy_state()
|
/kernel/linux/linux-5.10/include/linux/phy/ |
D | phy.h | 144 int power_count; member
|