Lines Matching refs:property_enabled
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()
1111 rport->mode == USB_DR_MODE_OTG) && property_enabled(rphy->grf, in otg_mode_store()
1141 if (!property_enabled(rphy->grf, &rport->port_cfg->bvalidfall_det_st) && in rockchip_usb2phy_bvalid_irq()
1142 !property_enabled(rphy->grf, &rport->port_cfg->bvalidrise_det_st)) in rockchip_usb2phy_bvalid_irq()
1148 if (property_enabled(rphy->grf, &rport->port_cfg->bvalidfall_det_st)) { in rockchip_usb2phy_bvalid_irq()
1152 } else if (property_enabled(rphy->grf, in rockchip_usb2phy_bvalid_irq()
1173 if (!property_enabled(rphy->grf, &rport->port_cfg->idfall_det_st) && in rockchip_usb2phy_id_irq()
1174 !property_enabled(rphy->grf, &rport->port_cfg->idrise_det_st)) in rockchip_usb2phy_id_irq()
1180 if (property_enabled(rphy->grf, &rport->port_cfg->idfall_det_st)) { in rockchip_usb2phy_id_irq()
1184 } else if (property_enabled(rphy->grf, in rockchip_usb2phy_id_irq()
1320 iddig = property_enabled(rphy->grf, in rockchip_usb2phy_otg_port_init()
1725 property_enabled(rphy->grf, in rockchip_usb2phy_pm_suspend()
1785 iddig = property_enabled(rphy->grf, in rockchip_usb2phy_pm_resume()