Searched refs:cmd_crtl2 (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/input/touchscreen/
H A Dad7879.c131 u16 cmd_crtl2; member in struct:ad7879
247 ad7879_write(ts, AD7879_REG_CTRL2, ts->cmd_crtl2); __ad7879_enable()
256 u16 reg = (ts->cmd_crtl2 & ~AD7879_PM(-1)) | __ad7879_disable()
386 ts->cmd_crtl2 |= AD7879_GPIO_EN | AD7879_GPIODIR | AD7879_GPIOPOL; ad7879_gpio_direction_input()
387 err = ad7879_write(ts, AD7879_REG_CTRL2, ts->cmd_crtl2); ad7879_gpio_direction_input()
400 ts->cmd_crtl2 &= ~AD7879_GPIODIR; ad7879_gpio_direction_output()
401 ts->cmd_crtl2 |= AD7879_GPIO_EN | AD7879_GPIOPOL; ad7879_gpio_direction_output()
403 ts->cmd_crtl2 |= AD7879_GPIO_DATA; ad7879_gpio_direction_output()
405 ts->cmd_crtl2 &= ~AD7879_GPIO_DATA; ad7879_gpio_direction_output()
407 err = ad7879_write(ts, AD7879_REG_CTRL2, ts->cmd_crtl2); ad7879_gpio_direction_output()
432 ts->cmd_crtl2 |= AD7879_GPIO_DATA; ad7879_gpio_set_value()
434 ts->cmd_crtl2 &= ~AD7879_GPIO_DATA; ad7879_gpio_set_value()
436 ad7879_write(ts, AD7879_REG_CTRL2, ts->cmd_crtl2); ad7879_gpio_set_value()
588 ts->cmd_crtl2 = AD7879_PM(AD7879_PM_DYN) | AD7879_DFR | ad7879_probe()
H A Dad7877.c181 u16 cmd_crtl2; member in struct:ad7877
310 req->xfer[4].tx_buf = &ts->cmd_crtl2; /*REF OFF*/ ad7877_read_adc()
635 ts->cmd_crtl2 = AD7877_WRITEADD(AD7877_REG_CTRL2) | ad7877_setup_ts_def_msg()
642 ad7877_write(spi, AD7877_REG_CTRL2, ts->cmd_crtl2); ad7877_setup_ts_def_msg()

Completed in 72 milliseconds