Searched refs:property_enable (Results 1 – 3 of 3) sorted by relevance
/openbmc/u-boot/drivers/usb/phy/ |
H A D | rockchip_usb2_phy.c | 52 static void property_enable(struct dwc2_plat_otg_data *pdata, in property_enable() function 88 property_enable(pdata, &phy_cfg->soft_con, false); in otg_phy_init() 91 property_enable(pdata, &phy_cfg->port_reset, true); in otg_phy_init() 93 property_enable(pdata, &phy_cfg->port_reset, false); in otg_phy_init() 103 property_enable(pdata, &phy_cfg->soft_con, true); in otg_phy_off() 105 property_enable(pdata, &phy_cfg->suspend, true); in otg_phy_off()
|
/openbmc/linux/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(rphy->grf, 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()
|