Home
last modified time | relevance | path

Searched refs:readin (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/iio/frequency/
Dadf4350.c262 unsigned long long readin; in adf4350_write() local
266 ret = kstrtoull(buf, 10, &readin); in adf4350_write()
273 ret = adf4350_set_freq(st, readin); in adf4350_write()
276 if (readin > ADF4350_MAX_FREQ_REFIN) { in adf4350_write()
282 tmp = clk_round_rate(st->clk, readin); in adf4350_write()
283 if (tmp != readin) { in adf4350_write()
291 st->clkin = readin; in adf4350_write()
295 if (readin == 0) in adf4350_write()
298 st->chspc = readin; in adf4350_write()
301 if (readin) in adf4350_write()
/linux-6.12.1/drivers/iio/dac/
Dad5770r.c447 bool readin; in ad5770r_write_dac_powerdown() local
450 ret = kstrtobool(buf, &readin); in ad5770r_write_dac_powerdown()
454 readin = !readin; in ad5770r_write_dac_powerdown()
456 regval = AD5770R_CFG_SHUTDOWN_B(readin, chan->channel); in ad5770r_write_dac_powerdown()
459 regval |= AD5770R_CFG_CH0_SINK_EN(readin); in ad5770r_write_dac_powerdown()
469 regval = AD5770R_CH_SET(readin, chan->channel); in ad5770r_write_dac_powerdown()
475 st->ch_pwr_down[chan->channel] = !readin; in ad5770r_write_dac_powerdown()
Dad5766.c389 bool readin; in ad5766_write_ext() local
392 ret = kstrtobool(buf, &readin); in ad5766_write_ext()
400 readin); in ad5766_write_ext()
407 readin); in ad5766_write_ext()
412 ret = ad5766_set_dither_source(indio_dev, chan, readin); in ad5766_write_ext()
Dad5686.c70 bool readin; in ad5686_write_dac_powerdown() local
76 ret = kstrtobool(buf, &readin); in ad5686_write_dac_powerdown()
80 if (readin) in ad5686_write_dac_powerdown()
/linux-6.12.1/drivers/iio/adc/
Dad7280a.c489 bool readin; in ad7280_store_balance_sw() local
492 ret = kstrtobool(buf, &readin); in ad7280_store_balance_sw()
500 if (readin) in ad7280_store_balance_sw()