Searched refs:xadc_write_adc_reg (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/iio/adc/ |
D | xilinx-xadc-core.c | 766 ret = xadc_write_adc_reg(xadc, XADC_REG_SEQ(0), scan_mask & 0xffff); in xadc_postdisable() 770 ret = xadc_write_adc_reg(xadc, XADC_REG_SEQ(1), scan_mask >> 16); in xadc_postdisable() 797 ret = xadc_write_adc_reg(xadc, XADC_REG_SEQ(0), scan_mask & 0xffff); in xadc_preenable() 801 ret = xadc_write_adc_reg(xadc, XADC_REG_SEQ(1), scan_mask >> 16); in xadc_preenable() 1242 ret = xadc_write_adc_reg(xadc, XADC_REG_CONF0, conf0); in xadc_probe() 1252 ret = xadc_write_adc_reg(xadc, XADC_REG_INPUT_MODE(0), bipolar_mask); in xadc_probe() 1255 ret = xadc_write_adc_reg(xadc, XADC_REG_INPUT_MODE(1), in xadc_probe() 1276 xadc_write_adc_reg(xadc, XADC_REG_THRESHOLD(i), in xadc_probe()
|
D | xilinx-xadc.h | 111 static inline int xadc_write_adc_reg(struct xadc *xadc, unsigned int reg, in xadc_write_adc_reg() function
|