/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() 276 if (!coil->power_count) in ad5820_suspend() 287 if (!coil->power_count) in ad5820_resume()
|
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() 385 if (!flash->power_count) in adp1653_suspend() 396 if (!flash->power_count) in adp1653_resume()
|
D | s5k6a3.c | 67 int power_count; member 260 if (sensor->power_count == !on) { in s5k6a3_s_power() 267 sensor->power_count += on ? 1 : -1; in s5k6a3_s_power()
|
D | ov772x.c | 434 int power_count; member 756 if (priv->power_count > 0) { in ov772x_s_frame_interval() 787 if (priv->power_count == 0) in ov772x_s_ctrl() 929 if (priv->power_count == !on) { in ov772x_s_power() 946 priv->power_count += on ? 1 : -1; in ov772x_s_power() 947 WARN(priv->power_count < 0, "Unbalanced power count\n"); in ov772x_s_power() 948 WARN(priv->power_count > 1, "Duplicated s_power call\n"); in ov772x_s_power() 1241 if (priv->power_count > 0) { in ov772x_set_fmt()
|
D | ov2640.c | 309 int power_count; member 728 if (!priv->power_count) in ov2640_s_ctrl() 810 if (priv->power_count == !on) in ov2640_s_power() 812 priv->power_count += on ? 1 : -1; in ov2640_s_power() 813 WARN_ON(priv->power_count < 0); in ov2640_s_power()
|
D | mt9p031.c | 127 int power_count; member 979 if (mt9p031->power_count == !on) { in mt9p031_set_power() 986 mt9p031->power_count += on ? 1 : -1; in mt9p031_set_power() 987 WARN_ON(mt9p031->power_count < 0); in mt9p031_set_power()
|
D | mt9v032.c | 200 int power_count; member 860 if (mt9v032->power_count == !on) { in mt9v032_set_power() 867 mt9v032->power_count += on ? 1 : -1; in mt9v032_set_power() 868 WARN_ON(mt9v032->power_count < 0); in mt9v032_set_power()
|
D | mt9m111.c | 240 int power_count; member 1022 if (mt9m111->power_count == !on) { in mt9m111_s_power() 1031 mt9m111->power_count += on ? 1 : -1; in mt9m111_s_power() 1032 WARN_ON(mt9m111->power_count < 0); in mt9m111_s_power()
|
/drivers/mfd/ |
D | twl6040.c | 278 if (twl6040->power_count++) in twl6040_power() 283 twl6040->power_count = 0; in twl6040_power() 295 twl6040->power_count = 0; in twl6040_power() 303 twl6040->power_count = 0; in twl6040_power() 327 if (!twl6040->power_count) { in twl6040_power() 334 if (--twl6040->power_count) in twl6040_power() 513 if (twl6040->power_count) in twl6040_get_pll() 809 if (twl6040->power_count) in twl6040_remove()
|
/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()
|
/drivers/media/i2c/et8ek8/ |
D | et8ek8_driver.c | 59 int power_count; member 1309 if (sensor->power_count == !on) { in et8ek8_set_power() 1316 sensor->power_count += on ? 1 : -1; in et8ek8_set_power() 1317 WARN_ON(sensor->power_count < 0); in et8ek8_set_power() 1382 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()
|
/drivers/media/platform/qcom/camss/ |
D | camss-ispif.c | 369 if (ispif->power_count) { in ispif_set_power() 371 ispif->power_count++; in ispif_set_power() 395 ispif->power_count++; in ispif_set_power() 397 if (ispif->power_count == 0) { in ispif_set_power() 400 } else if (ispif->power_count == 1) { in ispif_set_power() 405 ispif->power_count--; in ispif_set_power() 1223 ispif->power_count = 0; in msm_ispif_subdev_init()
|
D | camss-ispif.h | 60 int power_count; member
|
D | camss-vfe.c | 585 if (vfe->power_count == 0) { in vfe_get() 617 vfe->power_count++; in vfe_get() 645 if (vfe->power_count == 0) { in vfe_put() 648 } else if (vfe->power_count == 1) { in vfe_put() 658 vfe->power_count--; in vfe_put() 1375 vfe->power_count = 0; in msm_vfe_subdev_init()
|
D | camss-vfe.h | 141 int power_count; member
|
/drivers/phy/ |
D | phy-core.c | 258 if (phy->power_count > phy->init_count) in phy_init() 342 if (phy->power_count == 0 && phy->ops->power_on) { in phy_power_on() 349 ++phy->power_count; in phy_power_on() 380 if (phy->power_count == 1 && phy->ops->power_off) { in phy_power_off() 388 --phy->power_count; in phy_power_off()
|
/drivers/gpu/drm/msm/dp/ |
D | dp_ctrl.c | 1452 phy, phy->init_count, phy->power_count); in dp_ctrl_phy_init() 1468 phy, phy->init_count, phy->power_count); in dp_ctrl_phy_exit() 1546 phy, phy->init_count, phy->power_count); in dp_ctrl_deinitialize_mainlink() 1973 phy, phy->init_count, phy->power_count); in dp_ctrl_off_link_stream() 1996 phy, phy->init_count, phy->power_count); in dp_ctrl_off_link() 2001 phy, phy->init_count, phy->power_count); in dp_ctrl_off_link() 2036 phy, phy->init_count, phy->power_count); in dp_ctrl_off()
|
/drivers/media/platform/samsung/s3c-camif/ |
D | camif-core.h | 282 short power_count; member
|
D | camif-capture.c | 115 if (camif->sensor.power_count == !on) in sensor_set_power() 120 sensor->power_count += on ? 1 : -1; in sensor_set_power() 123 on, sensor->power_count, err); in sensor_set_power()
|
/drivers/phy/samsung/ |
D | phy-exynos-mipi-video.c | 237 state->phys[data->coupled_phy_id].phy->power_count == 0) in __set_phy_state()
|
/drivers/phy/marvell/ |
D | phy-mvebu-a3700-comphy.c | 1146 if (phy->power_count && in mvebu_a3700_comphy_set_mode()
|
/drivers/net/ethernet/renesas/ |
D | rswitch.c | 1257 else if (rdev->serdes->power_count) in rswitch_adjust_link()
|