Searched refs:cur_agc_index (Results 1 – 1 of 1) sorted by relevance
6802 uint16_t cur_agc_index, max_agc_index = 0; in e1000_get_cable_length() local6818 cur_agc_index = (phy_data >> IGP02E1000_AGC_LENGTH_SHIFT) & in e1000_get_cable_length()6822 if ((cur_agc_index >= IGP02E1000_AGC_LENGTH_TABLE_SIZE) || in e1000_get_cable_length()6823 (cur_agc_index == 0)) in e1000_get_cable_length()6828 e1000_igp_2_cable_length_table[cur_agc_index]) in e1000_get_cable_length()6829 min_agc_index = cur_agc_index; in e1000_get_cable_length()6831 e1000_igp_2_cable_length_table[cur_agc_index]) in e1000_get_cable_length()6832 max_agc_index = cur_agc_index; in e1000_get_cable_length()6834 agc_value += e1000_igp_2_cable_length_table[cur_agc_index]; in e1000_get_cable_length()