Searched refs:ad7879_write (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/input/touchscreen/ |
H A D | ad7879.c | 150 static int ad7879_write(struct ad7879 *ts, u8 reg, u16 val) in ad7879_write() function 263 ad7879_write(ts, AD7879_REG_CTRL2, ts->cmd_crtl2); in __ad7879_enable() 264 ad7879_write(ts, AD7879_REG_CTRL3, ts->cmd_crtl3); in __ad7879_enable() 265 ad7879_write(ts, AD7879_REG_CTRL1, ts->cmd_crtl1); in __ad7879_enable() 279 ad7879_write(ts, AD7879_REG_CTRL2, reg); in __ad7879_disable() 403 err = ad7879_write(ts, AD7879_REG_CTRL2, ts->cmd_crtl2); in ad7879_gpio_direction_input() 423 err = ad7879_write(ts, AD7879_REG_CTRL2, ts->cmd_crtl2); in ad7879_gpio_direction_output() 452 ad7879_write(ts, AD7879_REG_CTRL2, ts->cmd_crtl2); in ad7879_gpio_set_value() 573 err = ad7879_write(ts, AD7879_REG_CTRL2, AD7879_RESET); in ad7879_probe()
|