Lines Matching refs:phy_idx
195 u32 phy_idx = bnx2x_get_cur_phy_idx(bp); in bnx2x_get_port_type() local
196 switch (bp->link_params.phy[phy_idx].media_type) { in bnx2x_get_port_type()
373 u32 speed, phy_idx; in bnx2x_set_link_ksettings() local
643 phy_idx = bnx2x_get_cur_phy_idx(bp); in bnx2x_set_link_ksettings()
646 (bp->link_params.phy[phy_idx].media_type != in bnx2x_set_link_ksettings()
1508 int rc = -EINVAL, phy_idx; in bnx2x_get_module_eeprom() local
1518 phy_idx = bnx2x_get_cur_phy_idx(bp); in bnx2x_get_module_eeprom()
1528 rc = bnx2x_read_sfp_module_eeprom(&bp->link_params.phy[phy_idx], in bnx2x_get_module_eeprom()
1553 rc = bnx2x_read_sfp_module_eeprom(&bp->link_params.phy[phy_idx], in bnx2x_get_module_eeprom()
1572 int phy_idx, rc; in bnx2x_get_module_info() local
1580 phy_idx = bnx2x_get_cur_phy_idx(bp); in bnx2x_get_module_info()
1582 rc = bnx2x_read_sfp_module_eeprom(&bp->link_params.phy[phy_idx], in bnx2x_get_module_info()
1595 rc = bnx2x_read_sfp_module_eeprom(&bp->link_params.phy[phy_idx], in bnx2x_get_module_info()