AD799X_CHANNEL_SHIFT 189 drivers/iio/adc/ad799x.c (*indio_dev->active_scan_mask << AD799X_CHANNEL_SHIFT); AD799X_CHANNEL_SHIFT 194 drivers/iio/adc/ad799x.c cmd = (*indio_dev->active_scan_mask << AD799X_CHANNEL_SHIFT) | AD799X_CHANNEL_SHIFT 236 drivers/iio/adc/ad799x.c st->config &= ~(GENMASK(7, 0) << AD799X_CHANNEL_SHIFT); AD799X_CHANNEL_SHIFT 237 drivers/iio/adc/ad799x.c st->config |= (*scan_mask << AD799X_CHANNEL_SHIFT); AD799X_CHANNEL_SHIFT 252 drivers/iio/adc/ad799x.c cmd = st->config | (BIT(ch) << AD799X_CHANNEL_SHIFT); AD799X_CHANNEL_SHIFT 257 drivers/iio/adc/ad799x.c cmd = BIT(ch) << AD799X_CHANNEL_SHIFT; AD799X_CHANNEL_SHIFT 261 drivers/iio/adc/ad799x.c cmd = (ch << AD799X_CHANNEL_SHIFT) | AD7997_8_READ_SINGLE; AD799X_CHANNEL_SHIFT 378 drivers/iio/adc/ad799x.c if ((st->config >> AD799X_CHANNEL_SHIFT) & BIT(chan->scan_index)) AD799X_CHANNEL_SHIFT 398 drivers/iio/adc/ad799x.c st->config |= BIT(chan->scan_index) << AD799X_CHANNEL_SHIFT; AD799X_CHANNEL_SHIFT 400 drivers/iio/adc/ad799x.c st->config &= ~(BIT(chan->scan_index) << AD799X_CHANNEL_SHIFT); AD799X_CHANNEL_SHIFT 402 drivers/iio/adc/ad799x.c if (st->config >> AD799X_CHANNEL_SHIFT)