Lines Matching +full:1 +full:_chan
21 #define AD5766_DITHER_SOURCE_MASK(ch) GENMASK(((2 * ch) + 1), (2 * ch))
86 "1",
101 * 0 - Normal operation, 1 - Power down
105 * 1: N0, 2: N1
108 * 0: 1 SCALING, 1: 0.75 SCALING, 2: 0.5 SCALING,
153 .cs_change = 1, in __ad5766_spi_read()
155 .tx_buf = &st->data[1].d32, in __ad5766_spi_read()
163 st->data[1].d32 = AD5766_CMD_NOP_MUX_OUT; in __ad5766_spi_read()
169 *val = st->data[2].w16[1]; in __ad5766_spi_read()
177 put_unaligned_be16(data, &st->data[0].b8[1]); in __ad5766_spi_write()
211 gpiod_set_value_cansleep(st->gpio_reset, 1); in ad5766_reset()
270 const int max_val = GENMASK(chan->scan_type.realbits - 1, 0); in ad5766_write_raw()
295 source -= 1; in ad5766_get_dither_source()
443 #define AD576x_CHANNEL(_chan, _bits) { \ argument
445 .indexed = 1, \
446 .output = 1, \
447 .channel = (_chan), \
448 .address = (_chan), \
452 .scan_index = (_chan), \
465 AD576x_CHANNEL(1, (_bits)), \
507 max = tmp[1] / 1000000; in ad5766_get_output_range()
590 st->chip_info->num_channels - 1) in ad5766_trigger_handler()