Lines Matching refs:amux_channel
177 u8 amux_channel:4; member
220 .amux_channel = _amux, \
432 if (ch->hwchan->amux_channel == chan) in pm8xxx_get_channel()
449 ch->name, ch->hwchan->amux_channel, ch->hwchan->pre_scale_mux, rsv); in pm8xxx_read_channel_rsv()
454 val = ch->hwchan->amux_channel << ADC_AMUX_SEL_SHIFT; in pm8xxx_read_channel_rsv()
480 if (ch->hwchan->amux_channel == PM8XXX_CHANNEL_MUXOFF) in pm8xxx_read_channel_rsv()
701 u8 amux_channel; in pm8xxx_fwnode_xlate() local
715 amux_channel = (u8)iiospec->args[1]; in pm8xxx_fwnode_xlate()
717 pre_scale_mux, amux_channel); in pm8xxx_fwnode_xlate()
722 adc->chans[i].hwchan->amux_channel == amux_channel) in pm8xxx_fwnode_xlate()
741 u32 pre_scale_mux, amux_channel, reg[2]; in pm8xxx_xoadc_parse_channel() local
755 amux_channel = reg[1]; in pm8xxx_xoadc_parse_channel()
762 hwchan->amux_channel == amux_channel) in pm8xxx_xoadc_parse_channel()
770 pre_scale_mux, amux_channel); in pm8xxx_xoadc_parse_channel()
805 iio_chan->address = hwchan->amux_channel; in pm8xxx_xoadc_parse_channel()
815 hwchan->pre_scale_mux, hwchan->amux_channel, ch->name, in pm8xxx_xoadc_parse_channel()