Lines Matching refs:phy_idx
6296 u8 phy_idx; in bnx2x_set_led() local
6304 for (phy_idx = EXT_PHY1; phy_idx < MAX_PHYS; phy_idx++) { in bnx2x_set_led()
6305 if (params->phy[phy_idx].set_link_led) { in bnx2x_set_led()
6306 params->phy[phy_idx].set_link_led( in bnx2x_set_led()
6307 ¶ms->phy[phy_idx], params, mode); in bnx2x_set_led()
6676 u8 phy_idx, port = params->port; in bnx2x_update_link_up() local
6752 for (phy_idx = INT_PHY; phy_idx < MAX_PHYS; phy_idx++) { in bnx2x_update_link_up()
6753 if (params->phy[phy_idx].flags & FLAGS_TX_ERROR_CHECK) { in bnx2x_update_link_up()
8116 u32 sync_offset = 0, phy_idx, media_types; in bnx2x_get_edc_mode() local
8219 for (phy_idx = INT_PHY; phy_idx < MAX_PHYS; phy_idx++) { in bnx2x_get_edc_mode()
8220 if (&(params->phy[phy_idx]) == phy) { in bnx2x_get_edc_mode()
8222 (PORT_HW_CFG_MEDIA_TYPE_PHY1_SHIFT * phy_idx)); in bnx2x_get_edc_mode()
8225 (PORT_HW_CFG_MEDIA_TYPE_PHY1_SHIFT * phy_idx)); in bnx2x_get_edc_mode()
12530 u32 phy_idx; in bnx2x_avoid_link_flap() local
12543 for (phy_idx = INT_PHY; phy_idx < params->num_phys; phy_idx++) { in bnx2x_avoid_link_flap()
12544 struct bnx2x_phy *phy = ¶ms->phy[phy_idx]; in bnx2x_avoid_link_flap()
13626 u16 phy_idx; in bnx2x_period_func() local
13628 for (phy_idx = INT_PHY; phy_idx < MAX_PHYS; phy_idx++) { in bnx2x_period_func()
13629 if (params->phy[phy_idx].flags & FLAGS_TX_ERROR_CHECK) { in bnx2x_period_func()
13630 bnx2x_set_aer_mmd(params, ¶ms->phy[phy_idx]); in bnx2x_period_func()