Searched refs:cur_agc_index (Results 1 – 2 of 2) sorted by relevance
1758 u16 cur_agc_index, max_agc_index = 0; in igb_get_cable_length_igp_2() local1779 cur_agc_index = (phy_data >> IGP02E1000_AGC_LENGTH_SHIFT) & in igb_get_cable_length_igp_2()1783 if ((cur_agc_index >= IGP02E1000_CABLE_LENGTH_TABLE_SIZE) || in igb_get_cable_length_igp_2()1784 (cur_agc_index == 0)) { in igb_get_cable_length_igp_2()1791 e1000_igp_2_cable_length_table[cur_agc_index]) in igb_get_cable_length_igp_2()1792 min_agc_index = cur_agc_index; in igb_get_cable_length_igp_2()1794 e1000_igp_2_cable_length_table[cur_agc_index]) in igb_get_cable_length_igp_2()1795 max_agc_index = cur_agc_index; in igb_get_cable_length_igp_2()1797 agc_value += e1000_igp_2_cable_length_table[cur_agc_index]; in igb_get_cable_length_igp_2()
1850 u16 cur_agc_index, max_agc_index = 0; in e1000e_get_cable_length_igp_2() local1871 cur_agc_index = (phy_data >> IGP02E1000_AGC_LENGTH_SHIFT) & in e1000e_get_cable_length_igp_2()1875 if ((cur_agc_index >= IGP02E1000_CABLE_LENGTH_TABLE_SIZE) || in e1000e_get_cable_length_igp_2()1876 (cur_agc_index == 0)) in e1000e_get_cable_length_igp_2()1881 e1000_igp_2_cable_length_table[cur_agc_index]) in e1000e_get_cable_length_igp_2()1882 min_agc_index = cur_agc_index; in e1000e_get_cable_length_igp_2()1884 e1000_igp_2_cable_length_table[cur_agc_index]) in e1000e_get_cable_length_igp_2()1885 max_agc_index = cur_agc_index; in e1000e_get_cable_length_igp_2()1887 agc_value += e1000_igp_2_cable_length_table[cur_agc_index]; in e1000e_get_cable_length_igp_2()