Searched refs:agc_value (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_82541.c877 u16 cur_agc_value, agc_value = 0; local
901 agc_value += cur_agc_value;
908 if (agc_value < IGP01E1000_PHY_CHANNEL_NUM * 50) {
909 agc_value -= min_agc_value;
911 agc_value /= (IGP01E1000_PHY_CHANNEL_NUM - 1);
914 agc_value /= IGP01E1000_PHY_CHANNEL_NUM;
917 phy->min_cable_length = (e1000_igp_cable_length_table[agc_value] >
919 ? (e1000_igp_cable_length_table[agc_value] -
922 phy->max_cable_length = e1000_igp_cable_length_table[agc_value] +
H A De1000_phy.c2559 u16 phy_data, i, agc_value = 0; local
2598 agc_value += e1000_igp_2_cable_length_table[cur_agc_index];
2601 agc_value -= (e1000_igp_2_cable_length_table[min_agc_index] +
2603 agc_value /= (IGP02E1000_PHY_CHANNEL_NUM - 2);
2606 phy->min_cable_length = (((agc_value - IGP02E1000_AGC_RANGE) > 0) ?
2607 (agc_value - IGP02E1000_AGC_RANGE) : 0);
2608 phy->max_cable_length = agc_value + IGP02E1000_AGC_RANGE;

Completed in 73 milliseconds