Lines Matching refs:port_cfg
198 const struct rockchip_usb2phy_port_cfg *port_cfg; in rockchip_chg_get_type() local
216 port_cfg = &rphy->phy_cfg->port_cfgs[USB2PHY_PORT_OTG]; in rockchip_chg_get_type()
219 if (!property_enabled(rphy->grf, &port_cfg->utmi_bvalid)) { in rockchip_chg_get_type()
270 const struct rockchip_usb2phy_port_cfg *port_cfg; in rockchip_usb2phy_check_vbus() local
278 port_cfg = &rphy->phy_cfg->port_cfgs[USB2PHY_PORT_OTG]; in rockchip_usb2phy_check_vbus()
279 if (port_cfg->utmi_iddig.offset) { in rockchip_usb2phy_check_vbus()
280 iddig = property_enabled(base, &port_cfg->utmi_iddig); in rockchip_usb2phy_check_vbus()
293 const struct rockchip_usb2phy_port_cfg *port_cfg; in rockchip_usb2phy_init() local
296 port_cfg = &rphy->phy_cfg->port_cfgs[USB2PHY_PORT_OTG]; in rockchip_usb2phy_init()
298 port_cfg = &rphy->phy_cfg->port_cfgs[USB2PHY_PORT_HOST]; in rockchip_usb2phy_init()
304 property_enable(rphy->grf, &port_cfg->phy_sus, false); in rockchip_usb2phy_init()
316 const struct rockchip_usb2phy_port_cfg *port_cfg; in rockchip_usb2phy_exit() local
319 port_cfg = &rphy->phy_cfg->port_cfgs[USB2PHY_PORT_OTG]; in rockchip_usb2phy_exit()
321 port_cfg = &rphy->phy_cfg->port_cfgs[USB2PHY_PORT_HOST]; in rockchip_usb2phy_exit()
327 property_enable(rphy->grf, &port_cfg->phy_sus, true); in rockchip_usb2phy_exit()