Lines Matching refs:ain0
1119 unsigned int ain0, unsigned int ain1) in ad7173_validate_voltage_ain_inputs() argument
1125 if (ain0 == AD7173_AIN_POW_MON_POS && ain1 == AD7173_AIN_POW_MON_NEG && in ad7173_validate_voltage_ain_inputs()
1129 special_input0 = AD7173_IS_REF_INPUT(ain0) || in ad7173_validate_voltage_ain_inputs()
1130 (ain0 == AD4111_VINCOM_INPUT && st->info->has_vincom_input); in ad7173_validate_voltage_ain_inputs()
1134 if ((ain0 >= st->info->num_voltage_in && !special_input0) || in ad7173_validate_voltage_ain_inputs()
1136 if (ain0 == AD4111_VINCOM_INPUT || ain1 == AD4111_VINCOM_INPUT) in ad7173_validate_voltage_ain_inputs()
1142 ain0, ain1); in ad7173_validate_voltage_ain_inputs()
1145 if (AD4111_IS_VINCOM_MISMATCH(ain0, ain1) || in ad7173_validate_voltage_ain_inputs()
1146 AD4111_IS_VINCOM_MISMATCH(ain1, ain0)) in ad7173_validate_voltage_ain_inputs()
1151 ((ain0 >= st->info->num_voltage_in_div) != in ad7173_validate_voltage_ain_inputs()
1155 ain0, ain1); in ad7173_validate_voltage_ain_inputs()