Lines Matching refs:port_cfg
260 const struct rockchip_usb2phy_port_cfg *port_cfg; in rockchip_chg_get_type() local
279 port_cfg = &rphy->phy_cfg->port_cfgs[USB2PHY_PORT_OTG]; in rockchip_chg_get_type()
282 if (!property_enabled(base, &port_cfg->utmi_bvalid)) { in rockchip_chg_get_type()
293 property_enable(base, &port_cfg->phy_sus, true); in rockchip_chg_get_type()
359 property_enable(base, &port_cfg->phy_sus, false); in rockchip_chg_get_type()
378 const struct rockchip_usb2phy_port_cfg *port_cfg; in otg_phy_init() local
395 port_cfg = &rphy->phy_cfg->port_cfgs[USB2PHY_PORT_OTG]; in otg_phy_init()
402 property_enable(base, &port_cfg->phy_sus, true); in otg_phy_init()
404 property_enable(base, &port_cfg->phy_sus, false); in otg_phy_init()
437 const struct rockchip_usb2phy_port_cfg *port_cfg; in rockchip_usb2phy_init() local
441 port_cfg = &rphy->phy_cfg->port_cfgs[USB2PHY_PORT_OTG]; in rockchip_usb2phy_init()
443 port_cfg = &rphy->phy_cfg->port_cfgs[USB2PHY_PORT_HOST]; in rockchip_usb2phy_init()
449 property_enable(base, &port_cfg->phy_sus, false); in rockchip_usb2phy_init()
461 const struct rockchip_usb2phy_port_cfg *port_cfg; in rockchip_usb2phy_exit() local
465 port_cfg = &rphy->phy_cfg->port_cfgs[USB2PHY_PORT_OTG]; in rockchip_usb2phy_exit()
467 port_cfg = &rphy->phy_cfg->port_cfgs[USB2PHY_PORT_HOST]; in rockchip_usb2phy_exit()
473 property_enable(base, &port_cfg->phy_sus, true); in rockchip_usb2phy_exit()