Lines Matching refs:input_positive
694 dev->name, channel_cfg->input_positive, channel_cfg->input_negative); in ads1x4s0x_channel_setup()
695 if (channel_cfg->input_positive >= config->channels && in ads1x4s0x_channel_setup()
696 channel_cfg->input_positive != ADS1X4S0X_INPUT_SELECTION_AINCOM) { in ads1x4s0x_channel_setup()
698 channel_cfg->input_positive); in ads1x4s0x_channel_setup()
709 if (channel_cfg->input_positive == channel_cfg->input_negative) { in ads1x4s0x_channel_setup()
715 ADS1X4S0X_REGISTER_INPMUX_MUXP_SET(input_mux, channel_cfg->input_positive); in ads1x4s0x_channel_setup()
717 pin_selections[0] = channel_cfg->input_positive; in ads1x4s0x_channel_setup()
721 dev->name, channel_cfg->input_positive); in ads1x4s0x_channel_setup()
722 if (channel_cfg->input_positive >= config->channels && in ads1x4s0x_channel_setup()
723 channel_cfg->input_positive != ADS1X4S0X_INPUT_SELECTION_AINCOM) { in ads1x4s0x_channel_setup()
725 channel_cfg->input_positive); in ads1x4s0x_channel_setup()
729 ADS1X4S0X_REGISTER_INPMUX_MUXP_SET(input_mux, channel_cfg->input_positive); in ads1x4s0x_channel_setup()
731 pin_selections[0] = channel_cfg->input_positive; in ads1x4s0x_channel_setup()