Home
last modified time | relevance | path

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

/linux/drivers/input/touchscreen/
H A Dad7877.c129 #define AD7877_WRITEADD(x) ((x)<<12) macro
131 #define AD7877_READ_CHAN(x) (AD7877_WRITEADD(AD7877_REG_CTRL1) | AD7877_SER | \
210 req->command = (u16) (AD7877_WRITEADD(AD7877_REG_CTRL1) | in ad7877_read()
241 req->command = (u16) (AD7877_WRITEADD(reg) | (val & MAX_12BIT)); in ad7877_write()
269 req->ref_on = AD7877_WRITEADD(AD7877_REG_CTRL2) | in ad7877_read_adc()
274 req->reset = AD7877_WRITEADD(AD7877_REG_CTRL1) | AD7877_MODE_NOC; in ad7877_read_adc()
626 ts->cmd_crtl2 = AD7877_WRITEADD(AD7877_REG_CTRL2) | in ad7877_setup_ts_def_msg()
635 ts->cmd_crtl1 = AD7877_WRITEADD(AD7877_REG_CTRL1) | in ad7877_setup_ts_def_msg()