Lines Matching refs:trsw_rx_gain
291 int trsw_rx_gain; in lo_measure_gain_values() local
294 trsw_rx_gain = gphy->trsw_rx_gain / 2; in lo_measure_gain_values()
295 if (max_rx_gain >= trsw_rx_gain) { in lo_measure_gain_values()
296 trsw_rx_gain = max_rx_gain - trsw_rx_gain; in lo_measure_gain_values()
299 trsw_rx_gain = max_rx_gain; in lo_measure_gain_values()
300 if (trsw_rx_gain < 9) { in lo_measure_gain_values()
304 trsw_rx_gain -= 8; in lo_measure_gain_values()
306 trsw_rx_gain = clamp_val(trsw_rx_gain, 0, 0x2D); in lo_measure_gain_values()
307 gphy->pga_gain = trsw_rx_gain / 3; in lo_measure_gain_values()
315 gphy->trsw_rx_gain = 0x20; in lo_measure_gain_values()
620 gphy->trsw_rx_gain); in lo_probe_possible_loctls()
668 gphy->trsw_rx_gain); in lo_probe_loctls_statemachine()
676 gphy->trsw_rx_gain); in lo_probe_loctls_statemachine()