Lines Matching defs:dither_scale
82 * Available dither scale strings corresponding to "dither_scale" field in
107 * @dither_scale: Two bits are used for each of the 16 channels:
121 u32 dither_scale;
327 scale = st->dither_scale & AD5766_DITHER_SCALE_MASK(chan->channel);
340 st->dither_scale &= ~AD5766_DITHER_SCALE_MASK(chan->channel);
341 st->dither_scale |= AD5766_DITHER_SCALE(chan->channel, scale);
343 val = FIELD_GET(AD5766_LOWER_WORD_SPI_MASK, st->dither_scale);
347 val = FIELD_GET(AD5766_UPPER_WORD_SPI_MASK, st->dither_scale);
437 IIO_ENUM("dither_scale", IIO_SEPARATE, &ad5766_dither_scale_enum),
438 IIO_ENUM_AVAILABLE("dither_scale", IIO_SEPARATE,
555 st->dither_scale = 0;
556 val = FIELD_GET(AD5766_LOWER_WORD_SPI_MASK, st->dither_scale);
561 val = FIELD_GET(AD5766_UPPER_WORD_SPI_MASK, st->dither_scale);