/linux/drivers/media/i2c/ |
H A 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()
|
H A 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()
|
H A D | s5k6a3.c | 67 int power_count; member 258 if (sensor->power_count == !on) { in s5k6a3_s_power() 265 sensor->power_count += on ? 1 : -1; in s5k6a3_s_power()
|
H A D | ov772x.c | 434 int power_count; member 770 if (priv->power_count > 0) { in ov772x_set_frame_interval() 801 if (priv->power_count == 0) in ov772x_s_ctrl() 943 if (priv->power_count == !on) { in ov772x_s_power() 960 priv->power_count += on ? 1 : -1; in ov772x_s_power() 961 WARN(priv->power_count < 0, "Unbalanced power count\n"); in ov772x_s_power() 962 WARN(priv->power_count > 1, "Duplicated s_power call\n"); in ov772x_s_power() 1255 if (priv->power_count > 0) { in ov772x_set_fmt()
|
H A D | ov2640.c | 307 int power_count; member 726 if (!priv->power_count) in ov2640_s_ctrl() 808 if (priv->power_count == !on) in ov2640_s_power() 810 priv->power_count += on ? 1 : -1; in ov2640_s_power() 811 WARN_ON(priv->power_count < 0); in ov2640_s_power()
|
H A D | mt9v032.c | 201 int power_count; member 859 if (mt9v032->power_count == !on) { in mt9v032_set_power() 866 mt9v032->power_count += on ? 1 : -1; in mt9v032_set_power() 867 WARN_ON(mt9v032->power_count < 0); in mt9v032_set_power()
|
H A D | mt9p031.c | 124 int power_count; member 972 if (mt9p031->power_count == !on) { in mt9p031_set_power() 979 mt9p031->power_count += on ? 1 : -1; in mt9p031_set_power() 980 WARN_ON(mt9p031->power_count < 0); in mt9p031_set_power()
|
H A D | mt9m111.c | 240 int power_count; member 1016 if (mt9m111->power_count == !on) { in mt9m111_s_power() 1025 mt9m111->power_count += on ? 1 : -1; in mt9m111_s_power() 1026 WARN_ON(mt9m111->power_count < 0); in mt9m111_s_power()
|
/linux/drivers/mfd/ |
H A 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()
|
/linux/drivers/net/wan/framer/ |
H A D | framer-core.c | 103 if (framer->power_count > framer->init_count) in framer_init() 194 if (framer->power_count == 0 && framer->ops->power_on) { in framer_power_on() 201 ++framer->power_count; in framer_power_on() 228 if (framer->power_count == 1 && framer->ops->power_off) { in framer_power_off() 236 --framer->power_count; in framer_power_off()
|
/linux/drivers/media/i2c/et8ek8/ |
H A D | et8ek8_driver.c | 59 int power_count; member 1324 if (sensor->power_count == !on) { in et8ek8_set_power() 1331 sensor->power_count += on ? 1 : -1; in et8ek8_set_power() 1332 WARN_ON(sensor->power_count < 0); in et8ek8_set_power() 1397 if (!sensor->power_count) in et8ek8_suspend() 1408 if (!sensor->power_count) in et8ek8_resume() 1483 if (sensor->power_count) { in et8ek8_remove() 1486 sensor->power_count = 0; in et8ek8_remove()
|
/linux/drivers/phy/ |
H A D | phy-core.c | 263 if (phy->power_count > phy->init_count) in phy_init() 347 if (phy->power_count == 0 && phy->ops->power_on) { in phy_power_on() 354 ++phy->power_count; in phy_power_on() 385 if (phy->power_count == 1 && phy->ops->power_off) { in phy_power_off() 393 --phy->power_count; in phy_power_off()
|
/linux/drivers/media/platform/qcom/camss/ |
H A D | camss-ispif.h | 60 int power_count; member
|
H A D | camss-vfe.h | 150 int power_count; member
|
/linux/include/media/i2c/ |
H A D | adp1653.h | 110 int power_count; member
|
/linux/include/linux/mfd/ |
H A D | twl6040.h | 194 int power_count; member
|
/linux/include/linux/framer/ |
H A D | framer.h | 88 int power_count; member
|
/linux/drivers/gpu/drm/msm/dp/ |
H A D | dp_ctrl.c | 1554 phy, phy->init_count, phy->power_count); in msm_dp_ctrl_phy_init() 1568 phy, phy->init_count, phy->power_count); in msm_dp_ctrl_phy_exit() 1621 phy, phy->init_count, phy->power_count); in msm_dp_ctrl_deinitialize_mainlink() 2061 phy, phy->init_count, phy->power_count); in msm_dp_ctrl_off_link_stream() 2077 phy, phy->init_count, phy->power_count); in msm_dp_ctrl_off_link() 2082 phy, phy->init_count, phy->power_count); in msm_dp_ctrl_off_link() 2109 phy, phy->init_count, phy->power_count); in msm_dp_ctrl_off()
|
/linux/drivers/media/platform/samsung/s3c-camif/ |
H A D | camif-core.h | 282 short power_count; member
|
/linux/drivers/phy/samsung/ |
H A D | phy-exynos-mipi-video.c | 237 state->phys[data->coupled_phy_id].phy->power_count == 0) in __set_phy_state()
|
/linux/include/linux/phy/ |
H A D | phy.h | 164 int power_count; member
|
/linux/drivers/phy/marvell/ |
H A D | phy-mvebu-a3700-comphy.c | 1146 if (phy->power_count && in mvebu_a3700_comphy_set_mode()
|
/linux/drivers/net/ethernet/renesas/ |
H A D | rswitch.c | 1367 else if (rdev->serdes->power_count) in rswitch_adjust_link()
|