Home
last modified time | relevance | path

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

/openbmc/linux/drivers/comedi/drivers/
H A Ds626.c515 u16 chan, int16_t dacdata) in s626_set_dac() argument
526 if (dacdata < 0) { in s626_set_dac()
527 dacdata = -dacdata; in s626_set_dac()
534 if ((u16)dacdata > 0x1FFF) in s626_set_dac()
535 dacdata = 0x1FFF; in s626_set_dac()
579 val |= (u32)dacdata; /* Include DAC setpoint data. */ in s626_set_dac()
1928 s16 dacdata = (s16)data[i]; in s626_ao_insn_write() local
1931 dacdata -= (0x1fff); in s626_ao_insn_write()
1933 ret = s626_set_dac(dev, chan, dacdata); in s626_ao_insn_write()