Lines Matching refs:port_cfg
314 const struct rockchip_usb2phy_port_cfg *port_cfg; in rockchip_chg_get_type() local
333 port_cfg = &rphy->phy_cfg->port_cfgs[USB2PHY_PORT_OTG]; in rockchip_chg_get_type()
349 } else if (!property_enabled(base, &port_cfg->utmi_bvalid)) { in rockchip_chg_get_type()
360 property_enable(base, &port_cfg->phy_sus, true); in rockchip_chg_get_type()
426 property_enable(base, &port_cfg->phy_sus, false); in rockchip_chg_get_type()
445 const struct rockchip_usb2phy_port_cfg *port_cfg; in otg_phy_init() local
462 port_cfg = &rphy->phy_cfg->port_cfgs[USB2PHY_PORT_OTG]; in otg_phy_init()
469 property_enable(base, &port_cfg->phy_sus, true); in otg_phy_init()
471 property_enable(base, &port_cfg->phy_sus, false); in otg_phy_init()
504 const struct rockchip_usb2phy_port_cfg *port_cfg; in rockchip_usb2phy_init() local
508 port_cfg = &rphy->phy_cfg->port_cfgs[USB2PHY_PORT_OTG]; in rockchip_usb2phy_init()
510 port_cfg = &rphy->phy_cfg->port_cfgs[USB2PHY_PORT_HOST]; in rockchip_usb2phy_init()
516 property_enable(base, &port_cfg->phy_sus, false); in rockchip_usb2phy_init()
528 const struct rockchip_usb2phy_port_cfg *port_cfg; in rockchip_usb2phy_exit() local
532 port_cfg = &rphy->phy_cfg->port_cfgs[USB2PHY_PORT_OTG]; in rockchip_usb2phy_exit()
534 port_cfg = &rphy->phy_cfg->port_cfgs[USB2PHY_PORT_HOST]; in rockchip_usb2phy_exit()
540 property_enable(base, &port_cfg->phy_sus, true); in rockchip_usb2phy_exit()