Searched refs:cmd_crtl2 (Results 1 – 2 of 2) sorted by relevance
128 u16 cmd_crtl2; member263 ad7879_write(ts, AD7879_REG_CTRL2, ts->cmd_crtl2); in __ad7879_enable()272 u16 reg = (ts->cmd_crtl2 & ~AD7879_PM(-1)) | in __ad7879_disable()416 ts->cmd_crtl2 &= ~AD7879_GPIODIR; in ad7879_gpio_direction_output()417 ts->cmd_crtl2 |= AD7879_GPIO_EN | AD7879_GPIOPOL; in ad7879_gpio_direction_output()419 ts->cmd_crtl2 |= AD7879_GPIO_DATA; in ad7879_gpio_direction_output()421 ts->cmd_crtl2 &= ~AD7879_GPIO_DATA; in ad7879_gpio_direction_output()448 ts->cmd_crtl2 |= AD7879_GPIO_DATA; in ad7879_gpio_set_value()450 ts->cmd_crtl2 &= ~AD7879_GPIO_DATA; in ad7879_gpio_set_value()452 ad7879_write(ts, AD7879_REG_CTRL2, ts->cmd_crtl2); in ad7879_gpio_set_value()[all …]
167 u16 cmd_crtl2; member298 req->xfer[4].tx_buf = &ts->cmd_crtl2; /*REF OFF*/ in ad7877_read_adc()625 ts->cmd_crtl2 = AD7877_WRITEADD(AD7877_REG_CTRL2) | in ad7877_setup_ts_def_msg()632 ad7877_write(spi, AD7877_REG_CTRL2, ts->cmd_crtl2); in ad7877_setup_ts_def_msg()