Searched refs:property_enabled (Results 1 – 4 of 4) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/phy/rockchip/ |
| H A D | phy-rockchip-naneng-usb2.c | 267 static inline bool property_enabled(struct regmap *base, in property_enabled() function 289 if (!property_enabled(rphy->grf, &rphy->phy_cfg->clkout_ctl)) { in rockchip_usb2phy_clk480m_prepare() 316 return property_enabled(rphy->grf, &rphy->phy_cfg->clkout_ctl); in rockchip_usb2phy_clk480m_prepared() 556 property_enabled(rphy->grf, in rockchip_usb2phy_init() 814 chg_valid = property_enabled(rphy->grf, in rockchip_chg_detect() 817 property_enabled(rphy->grf, in rockchip_chg_detect() 862 if (!property_enabled(rphy->grf, &rport->port_cfg->disconrise_det_st)) in rockchip_usb2phy_disconnect_irq() 874 if (!property_enabled(rphy->grf, &rport->port_cfg->utmi_hostdet)) in rockchip_usb2phy_disconnect_irq() 895 if (!property_enabled(rphy->grf, &rport->port_cfg->ls_det_st)) in rockchip_usb2phy_linestate_irq() 931 !property_enabled(rphy->grf, &rport->port_cfg->utmi_iddig)) in rockchip_usb2phy_otg_sm_work() [all …]
|
| H A D | phy-rockchip-inno-usb2.c | 372 static inline bool property_enabled(struct regmap *base, in property_enabled() function 472 } else if (!property_enabled(base, &rphy->phy_cfg->clkout_ctl)) { in rockchip_usb2phy_clk480m_prepare() 506 return property_enabled(base, &rphy->phy_cfg->clkout_ctl); in rockchip_usb2phy_clk480m_prepared() 707 if (en == property_enabled(base, &rport->port_cfg->bypass_sel)) { in rockchip_usb_bypass_uart() 764 iddig = property_enabled(rphy->grf, &rport->port_cfg->utmi_iddig); in rockchip_usb_bypass_uart_work() 767 vbus = property_enabled(rphy->grf, &rport->port_cfg->utmi_avalid); in rockchip_usb_bypass_uart_work() 769 vbus = property_enabled(rphy->grf, &rport->port_cfg->utmi_bvalid); in rockchip_usb_bypass_uart_work() 1215 property_enabled(rphy->grf, &rport->port_cfg->bvalid_grf_con); in rockchip_usb2phy_otg_sm_work() 1218 property_enabled(rphy->grf, &rport->port_cfg->utmi_avalid); in rockchip_usb2phy_otg_sm_work() 1221 property_enabled(rphy->grf, &rport->port_cfg->utmi_bvalid); in rockchip_usb2phy_otg_sm_work() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/phy/ |
| H A D | phy-rockchip-naneng-usb2.c | 167 static inline bool property_enabled(void __iomem *base, in property_enabled() function 219 if (!property_enabled(rphy->grf, &port_cfg->utmi_bvalid)) { in rockchip_chg_get_type() 233 chg_valid = property_enabled(rphy->grf, in rockchip_chg_get_type() 236 property_enabled(rphy->grf, in rockchip_chg_get_type() 280 iddig = property_enabled(base, &port_cfg->utmi_iddig); in rockchip_usb2phy_check_vbus()
|
| H A D | phy-rockchip-inno-usb2.c | 184 static inline bool property_enabled(struct regmap *base, in property_enabled() function 249 vout = property_enabled(base, &rphy->phy_cfg->chg_det.cp_det); in rockchip_chg_primary_det_retry() 282 if (!property_enabled(base, &port_cfg->utmi_bvalid)) { in rockchip_chg_get_type() 306 is_dcd = property_enabled(base, &rphy->phy_cfg->chg_det.dp_det); in rockchip_chg_get_type() 320 vout = property_enabled(base, &rphy->phy_cfg->chg_det.cp_det); in rockchip_chg_get_type() 348 vout = property_enabled(base, &rphy->phy_cfg->chg_det.dcp_det); in rockchip_chg_get_type()
|