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

/linux-4.4.14/drivers/input/touchscreen/
H A Dda9034-ts.c53 struct device *da9034_dev; member in struct:da9034_touch
71 return da903x_query_status(touch->da9034_dev, DA9034_STATUS_PEN_DOWN); is_pen_down()
77 return da903x_set_bits(touch->da9034_dev, detect_pen_down()
80 return da903x_clr_bits(touch->da9034_dev, detect_pen_down()
89 ret = da903x_read(touch->da9034_dev, DA9034_TSI_X_MSB, &_x); read_tsi()
93 ret = da903x_read(touch->da9034_dev, DA9034_TSI_Y_MSB, &_y); read_tsi()
97 ret = da903x_read(touch->da9034_dev, DA9034_TSI_XY_LSB, &_v); read_tsi()
109 return da903x_set_bits(touch->da9034_dev, start_tsi()
115 return da903x_clr_bits(touch->da9034_dev, stop_tsi()
254 ret = da903x_register_notifier(touch->da9034_dev, &touch->notifier, da9034_touch_open()
260 ret = da903x_set_bits(touch->da9034_dev, da9034_touch_open()
266 ret = da903x_write(touch->da9034_dev, DA9034_TSI_CTRL1, 0x1b); da9034_touch_open()
270 ret = da903x_write(touch->da9034_dev, DA9034_TSI_CTRL2, 0x00); da9034_touch_open()
284 da903x_unregister_notifier(touch->da9034_dev, &touch->notifier, da9034_touch_close()
294 da903x_clr_bits(touch->da9034_dev, da9034_touch_close()
313 touch->da9034_dev = pdev->dev.parent; da9034_touch_probe()
/linux-4.4.14/drivers/regulator/
H A Dda903x.c107 struct device *da9034_dev = to_da903x_dev(rdev); da903x_set_voltage_sel() local
116 return da903x_update(da9034_dev, info->vol_reg, val, mask); da903x_set_voltage_sel()
122 struct device *da9034_dev = to_da903x_dev(rdev); da903x_get_voltage_sel() local
129 ret = da903x_read(da9034_dev, info->vol_reg, &val); da903x_get_voltage_sel()
142 struct device *da9034_dev = to_da903x_dev(rdev); da903x_enable() local
144 return da903x_set_bits(da9034_dev, info->enable_reg, da903x_enable()
151 struct device *da9034_dev = to_da903x_dev(rdev); da903x_disable() local
153 return da903x_clr_bits(da9034_dev, info->enable_reg, da903x_disable()
160 struct device *da9034_dev = to_da903x_dev(rdev); da903x_is_enabled() local
164 ret = da903x_read(da9034_dev, info->enable_reg, &reg_val); da903x_is_enabled()
239 struct device *da9034_dev = to_da903x_dev(rdev); da9034_set_dvc_voltage_sel() local
246 ret = da903x_update(da9034_dev, info->vol_reg, val, mask); da9034_set_dvc_voltage_sel()
250 ret = da903x_set_bits(da9034_dev, info->update_reg, da9034_set_dvc_voltage_sel()

Completed in 429 milliseconds