Lines Matching refs:da9034_dev
50 struct device *da9034_dev; member
68 return da903x_query_status(touch->da9034_dev, DA9034_STATUS_PEN_DOWN); in is_pen_down()
74 return da903x_set_bits(touch->da9034_dev, in detect_pen_down()
77 return da903x_clr_bits(touch->da9034_dev, in detect_pen_down()
86 ret = da903x_read(touch->da9034_dev, DA9034_TSI_X_MSB, &_x); in read_tsi()
90 ret = da903x_read(touch->da9034_dev, DA9034_TSI_Y_MSB, &_y); in read_tsi()
94 ret = da903x_read(touch->da9034_dev, DA9034_TSI_XY_LSB, &_v); in read_tsi()
106 return da903x_set_bits(touch->da9034_dev, in start_tsi()
112 return da903x_clr_bits(touch->da9034_dev, in stop_tsi()
251 ret = da903x_register_notifier(touch->da9034_dev, &touch->notifier, in da9034_touch_open()
257 ret = da903x_set_bits(touch->da9034_dev, in da9034_touch_open()
263 ret = da903x_write(touch->da9034_dev, DA9034_TSI_CTRL1, 0x1b); in da9034_touch_open()
267 ret = da903x_write(touch->da9034_dev, DA9034_TSI_CTRL2, 0x00); in da9034_touch_open()
281 da903x_unregister_notifier(touch->da9034_dev, &touch->notifier, in da9034_touch_close()
291 da903x_clr_bits(touch->da9034_dev, in da9034_touch_close()
310 touch->da9034_dev = pdev->dev.parent; in da9034_touch_probe()