Lines Matching refs:index
480 int32_t index; in usb_info_fill() local
494 for (index = MAX_NR_PORTS - 1U; index > -1; index--) { in usb_info_fill()
495 phy_info->phy_port[index].enabled = (phy_info->ports_enabled in usb_info_fill()
496 >> index) & 0x1U; in usb_info_fill()
497 phy_info->phy_port[index].p = phy_info; in usb_info_fill()
498 phy_info->phy_port[index].port_id = index; in usb_info_fill()
508 uint32_t index; in usb_phy_init() local
517 for (index = 0U; index < MAX_NR_PORTS; index++) { in usb_phy_init()
518 if (phy_info->phy_port[index].enabled != 0U) { in usb_phy_init()
523 phy_port[index]); in usb_phy_init()
528 phy_port[index]); in usb_phy_init()
540 uint32_t index; in usb_phy_shutdown() local
546 for (index = 0U; index < MAX_NR_PORTS; index++) { in usb_phy_shutdown()
547 if (phy_info->phy_port[index].enabled != 0U) { in usb_phy_shutdown()
551 phy_port[index]); in usb_phy_shutdown()
554 u3drd_phy_power_off(&phy_info->phy_port[index]); in usb_phy_shutdown()