Lines Matching refs:da9034_dev
53 struct device *da9034_dev; member
71 return da903x_query_status(touch->da9034_dev, DA9034_STATUS_PEN_DOWN); in is_pen_down()
77 return da903x_set_bits(touch->da9034_dev, in detect_pen_down()
80 return da903x_clr_bits(touch->da9034_dev, in detect_pen_down()
89 ret = da903x_read(touch->da9034_dev, DA9034_TSI_X_MSB, &_x); in read_tsi()
93 ret = da903x_read(touch->da9034_dev, DA9034_TSI_Y_MSB, &_y); in read_tsi()
97 ret = da903x_read(touch->da9034_dev, DA9034_TSI_XY_LSB, &_v); in read_tsi()
109 return da903x_set_bits(touch->da9034_dev, in start_tsi()
115 return da903x_clr_bits(touch->da9034_dev, in stop_tsi()
254 ret = da903x_register_notifier(touch->da9034_dev, &touch->notifier, in da9034_touch_open()
260 ret = da903x_set_bits(touch->da9034_dev, in da9034_touch_open()
266 ret = da903x_write(touch->da9034_dev, DA9034_TSI_CTRL1, 0x1b); in da9034_touch_open()
270 ret = da903x_write(touch->da9034_dev, DA9034_TSI_CTRL2, 0x00); in da9034_touch_open()
284 da903x_unregister_notifier(touch->da9034_dev, &touch->notifier, in da9034_touch_close()
294 da903x_clr_bits(touch->da9034_dev, in da9034_touch_close()
313 touch->da9034_dev = pdev->dev.parent; in da9034_touch_probe()