Searched refs:property_enable (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/phy/rockchip/ |
H A D | phy-rockchip-inno-usb2.c | 230 static inline int property_enable(struct regmap *base, in property_enable() function 266 ret = property_enable(base, &rphy->phy_cfg->clkout_ctl, true); in rockchip_usb2phy_clk480m_prepare() 284 property_enable(base, &rphy->phy_cfg->clkout_ctl, false); in rockchip_usb2phy_clk480m_unprepare() 415 ret = property_enable(rphy->grf, in rockchip_usb2phy_init() 421 ret = property_enable(rphy->grf, in rockchip_usb2phy_init() 435 ret = property_enable(rphy->grf, in rockchip_usb2phy_init() 440 ret = property_enable(rphy->grf, in rockchip_usb2phy_init() 469 ret = property_enable(base, &rport->port_cfg->phy_sus, false); in rockchip_usb2phy_power_on() 494 ret = property_enable(base, &rport->port_cfg->phy_sus, true); in rockchip_usb2phy_power_off() 660 property_enable(bas in rockchip_chg_enable_dcd() [all...] |
H A D | phy-rockchip-typec.c | 560 static inline int property_enable(struct rockchip_typec_phy *tcphy, in property_enable() function 742 property_enable(tcphy, &cfg->typec_conn_dir, tcphy->flip); in tcphy_phy_init() 858 property_enable(tcphy, &cfg->usb3tousb2_en, value); in tcphy_cfg_usb3_to_usb2_only() 859 property_enable(tcphy, &cfg->usb3_host_disable, value); in tcphy_cfg_usb3_to_usb2_only() 860 property_enable(tcphy, &cfg->usb3_host_port, !value); in tcphy_cfg_usb3_to_usb2_only() 980 property_enable(tcphy, &cfg->uphy_dp_sel, 1); in rockchip_dp_phy_power_on() 1092 property_enable(tcphy, &cfg->external_psm, 1); in typec_phy_pre_init() 1093 property_enable(tcphy, &cfg->usb3tousb2_en, 0); in typec_phy_pre_init()
|
/kernel/linux/linux-6.6/drivers/phy/rockchip/ |
H A D | phy-rockchip-inno-usb2.c | 263 static inline int property_enable(struct regmap *base, in property_enable() function 318 ret = property_enable(base, &rphy->phy_cfg->clkout_ctl, true); in rockchip_usb2phy_clk480m_prepare() 336 property_enable(base, &rphy->phy_cfg->clkout_ctl, false); in rockchip_usb2phy_clk480m_unprepare() 454 ret = property_enable(rphy->grf, &rport->port_cfg->disfall_clr, true); in rockchip_usb2phy_enable_host_disc_irq() 458 ret = property_enable(rphy->grf, &rport->port_cfg->disfall_en, en); in rockchip_usb2phy_enable_host_disc_irq() 462 ret = property_enable(rphy->grf, &rport->port_cfg->disrise_clr, true); in rockchip_usb2phy_enable_host_disc_irq() 466 return property_enable(rphy->grf, &rport->port_cfg->disrise_en, en); in rockchip_usb2phy_enable_host_disc_irq() 481 ret = property_enable(rphy->grf, in rockchip_usb2phy_init() 487 ret = property_enable(rphy->grf, in rockchip_usb2phy_init() 494 ret = property_enable(rph in rockchip_usb2phy_init() [all...] |
H A D | phy-rockchip-typec.c | 560 static inline int property_enable(struct rockchip_typec_phy *tcphy, in property_enable() function 742 property_enable(tcphy, &cfg->typec_conn_dir, tcphy->flip); in tcphy_phy_init() 858 property_enable(tcphy, &cfg->usb3tousb2_en, value); in tcphy_cfg_usb3_to_usb2_only() 859 property_enable(tcphy, &cfg->usb3_host_disable, value); in tcphy_cfg_usb3_to_usb2_only() 860 property_enable(tcphy, &cfg->usb3_host_port, !value); in tcphy_cfg_usb3_to_usb2_only() 980 property_enable(tcphy, &cfg->uphy_dp_sel, 1); in rockchip_dp_phy_power_on() 1092 property_enable(tcphy, &cfg->external_psm, 1); in typec_phy_pre_init() 1093 property_enable(tcphy, &cfg->usb3tousb2_en, 0); in typec_phy_pre_init()
|
Completed in 9 milliseconds