Home
last modified time | relevance | path

Searched refs:power_count (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/media/i2c/
H A Dad5820.c52 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 Dadp1653.c337 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 Dov772x.c434 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 Dov2640.c307 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 Dphy-core.c241 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 Dcamss-ispif.h60 int power_count; member
/linux/include/media/i2c/
H A Dadp1653.h110 int power_count; member
/linux/include/linux/mfd/
H A Dtwl6040.h194 int power_count; member
/linux/include/linux/framer/
H A Dframer.h88 int power_count; member
/linux/drivers/media/platform/samsung/s3c-camif/
H A Dcamif-core.h282 short power_count; member
/linux/drivers/gpu/drm/msm/dp/
H A Ddp_ctrl.c1919 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 Dphy-exynos-mipi-video.c286 state->phys[data->coupled_phy_id].phy->power_count == 0) in __set_phy_state()
/linux/include/linux/phy/
H A Dphy.h182 int power_count; member
/linux/drivers/phy/marvell/
H A Dphy-mvebu-a3700-comphy.c1146 if (phy->power_count && in mvebu_a3700_comphy_set_mode()
/linux/drivers/ufs/host/
H A Dufs-qcom.c510 if (phy->power_count) in ufs_qcom_power_up_sequence()