Home
last modified time | relevance | path

Searched refs:ain_pos (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/iio/adc/
Dti-ads1119.c553 static int ads1119_map_analog_inputs_mux(int ain_pos, int ain_neg, in ads1119_map_analog_inputs_mux() argument
556 if (ain_pos >= ADS1119_MAX_SINGLE_CHANNELS) in ads1119_map_analog_inputs_mux()
560 return ADS1119_MUX_AIN0 + ain_pos; in ads1119_map_analog_inputs_mux()
562 if (ain_pos == 0 && ain_neg == 1) in ads1119_map_analog_inputs_mux()
564 else if (ain_pos == 1 && ain_neg == 2) in ads1119_map_analog_inputs_mux()
566 else if (ain_pos == 2 && ain_neg == 3) in ads1119_map_analog_inputs_mux()