Searched refs:power_count (Results 1 – 15 of 15) 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/phy/ |
| H A D | phy-core.c | 241 if (phy->power_count > phy->init_count) in phy_init() 325 if (phy->power_count == 0 && phy->ops->power_on) { in phy_power_on() 332 ++phy->power_count; in phy_power_on() 363 if (phy->power_count == 1 && phy->ops->power_off) { in phy_power_off() 371 --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/include/linux/framer/ |
| H A D | framer.h | 88 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 | 1919 phy, phy->init_count, phy->power_count); in msm_dp_ctrl_phy_init() 1933 phy, phy->init_count, phy->power_count); in msm_dp_ctrl_phy_exit() 1986 phy, phy->init_count, phy->power_count); in msm_dp_ctrl_deinitialize_mainlink() 2567 phy, phy->init_count, phy->power_count); in msm_dp_ctrl_off_link_stream() 2584 phy, phy->init_count, phy->power_count); in msm_dp_ctrl_off_link() 2589 phy, phy->init_count, phy->power_count); in msm_dp_ctrl_off_link() 2616 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/include/linux/phy/ |
| H A D | phy.h | 182 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/ufs/host/ |
| H A D | ufs-qcom.c | 510 if (phy->power_count) in ufs_qcom_power_up_sequence()
|