Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/iio/adc/
Dti-adc0832.c31 u8 mux_bits; member
146 if (!adc->mux_bits) in adc0832_adc_conversion()
150 adc->tx_buf[0] = 1 << (adc->mux_bits + 1); in adc0832_adc_conversion()
152 adc->tx_buf[0] |= differential ? 0 : (1 << adc->mux_bits); in adc0832_adc_conversion()
154 adc->tx_buf[0] |= (channel % 2) << (adc->mux_bits - 1); in adc0832_adc_conversion()
156 if (adc->mux_bits > 1) in adc0832_adc_conversion()
259 adc->mux_bits = 0; in adc0832_probe()
264 adc->mux_bits = 1; in adc0832_probe()
269 adc->mux_bits = 2; in adc0832_probe()
274 adc->mux_bits = 3; in adc0832_probe()
/Linux-v5.10/drivers/pinctrl/uniphier/
Dpinctrl-uniphier-core.c582 unsigned int mux_bits, reg_stride, reg, reg_end, shift, mask; in uniphier_pmx_set_one_mux() local
600 mux_bits = 4; in uniphier_pmx_set_one_mux()
609 mux_bits = 8; in uniphier_pmx_set_one_mux()
614 reg = UNIPHIER_PINCTRL_PINMUX_BASE + pin * mux_bits / 32 * reg_stride; in uniphier_pmx_set_one_mux()
616 shift = pin * mux_bits % 32; in uniphier_pmx_set_one_mux()
617 mask = (1U << mux_bits) - 1; in uniphier_pmx_set_one_mux()
628 muxval >>= mux_bits; in uniphier_pmx_set_one_mux()
/Linux-v5.10/sound/pci/ice1712/
Dmaya44.c116 unsigned char mux_bits[2]; /* extra bits for ADC mute */ member
143 .mux_bits = { 0x80, 0x40 }, /* ADCMUX bits */
210 if (vol->mux_bits[ch]) in maya_vol_put()
212 vol->mux_bits[ch], in maya_vol_put()
213 val ? 0 : vol->mux_bits[ch]); in maya_vol_put()