Searched refs:power_count (Results 1 – 14 of 14) sorted by relevance
| /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 | 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()
|
| /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/phy/ |
| H A D | phy-core.c | 238 if (phy->power_count > phy->init_count) in phy_init() 322 if (phy->power_count == 0 && phy->ops->power_on) { in phy_power_on() 329 ++phy->power_count; in phy_power_on() 360 if (phy->power_count == 1 && phy->ops->power_off) { in phy_power_off() 368 --phy->power_count; in phy_power_off()
|
| /linux/drivers/media/platform/qcom/camss/ |
| H A D | camss-ispif.h | 60 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/drivers/media/platform/samsung/s3c-camif/ |
| H A D | camif-core.h | 282 short power_count; member
|
| /linux/drivers/gpu/drm/msm/dp/ |
| H A D | dp_ctrl.c | 1933 phy, phy->init_count, phy->power_count); in msm_dp_ctrl_phy_init() 1947 phy, phy->init_count, phy->power_count); in msm_dp_ctrl_phy_exit() 2000 phy, phy->init_count, phy->power_count); in msm_dp_ctrl_deinitialize_mainlink() 2593 phy, phy->init_count, phy->power_count); in msm_dp_ctrl_off_link_stream() 2610 phy, phy->init_count, phy->power_count); in msm_dp_ctrl_off_link() 2615 phy, phy->init_count, phy->power_count); in msm_dp_ctrl_off_link() 2642 phy, phy->init_count, phy->power_count); in msm_dp_ctrl_off()
|
| /linux/drivers/phy/samsung/ |
| H A D | phy-exynos-mipi-video.c | 286 state->phys[data->coupled_phy_id].phy->power_count == 0) in __set_phy_state()
|
| /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_main.c | 1419 else if (rdev->serdes->power_count) in rswitch_adjust_link()
|