Lines Matching refs:phy_idx
7060 uint8_t phy_idx;
7068 for (phy_idx = ELINK_EXT_PHY1; phy_idx < ELINK_MAX_PHYS; phy_idx++) {
7069 if (params->phy[phy_idx].set_link_led) {
7070 params->phy[phy_idx].set_link_led(
7071 ¶ms->phy[phy_idx], params, mode);
7454 uint8_t phy_idx, port = params->port;
7530 for (phy_idx = ELINK_INT_PHY; phy_idx < ELINK_MAX_PHYS; phy_idx++) {
7531 if (params->phy[phy_idx].flags & ELINK_FLAGS_TX_ERROR_CHECK) {
8870 uint32_t sync_offset = 0, phy_idx, media_types;
8972 for (phy_idx = ELINK_INT_PHY; phy_idx < ELINK_MAX_PHYS; phy_idx++) {
8973 if (&(params->phy[phy_idx]) == phy) {
8975 (PORT_HW_CFG_MEDIA_TYPE_PHY1_SHIFT * phy_idx));
8978 (PORT_HW_CFG_MEDIA_TYPE_PHY1_SHIFT * phy_idx));
13482 uint32_t phy_idx;
13494 for (phy_idx = ELINK_INT_PHY; phy_idx < params->num_phys; phy_idx++) {
13495 struct elink_phy *phy = ¶ms->phy[phy_idx];
14607 uint16_t phy_idx;
14609 for (phy_idx = ELINK_INT_PHY; phy_idx < ELINK_MAX_PHYS; phy_idx++) {
14610 if (params->phy[phy_idx].flags & ELINK_FLAGS_TX_ERROR_CHECK) {
14611 elink_set_aer_mmd(params, ¶ms->phy[phy_idx]);