Home
last modified time | relevance | path

Searched refs:da9052_reg_update (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/drivers/input/touchscreen/
Dda9052_tsi.c30 da9052_reg_update(tsi->da9052, DA9052_TSI_CONT_A_REG, 1 << 0, on); in da9052_ts_adc_toggle()
126 ret = da9052_reg_update(tsi->da9052, in da9052_ts_pen_work()
142 error = da9052_reg_update(da9052, DA9052_GPIO_2_3_REG, 0x30, 0); in da9052_ts_configure_gpio()
146 error = da9052_reg_update(da9052, DA9052_GPIO_4_5_REG, 0x33, 0); in da9052_ts_configure_gpio()
150 error = da9052_reg_update(da9052, DA9052_GPIO_6_7_REG, 0x33, 0); in da9052_ts_configure_gpio()
166 error = da9052_reg_update(tsi->da9052, DA9052_ADC_CONT_REG, in da9052_configure_tsi()
172 error = da9052_reg_update(tsi->da9052, DA9052_TSI_CONT_A_REG, 0xFC, 0xC0); in da9052_configure_tsi()
195 return da9052_reg_update(tsi->da9052, DA9052_TSI_CONT_A_REG, in da9052_ts_input_open()
221 da9052_reg_update(tsi->da9052, DA9052_TSI_CONT_A_REG, 1 << 1, 0); in da9052_ts_input_close()
266 da9052_reg_update(tsi->da9052, DA9052_TSI_CONT_A_REG, 1 << 1, 0); in da9052_ts_probe()
/Linux-v5.4/drivers/gpio/
Dgpio-da9052.c99 ret = da9052_reg_update(gpio->da9052, (offset >> 1) + in da9052_gpio_set()
108 ret = da9052_reg_update(gpio->da9052, (offset >> 1) + in da9052_gpio_set()
130 ret = da9052_reg_update(gpio->da9052, (offset >> 1) + in da9052_gpio_direction_input()
136 ret = da9052_reg_update(gpio->da9052, (offset >> 1) + in da9052_gpio_direction_input()
156 ret = da9052_reg_update(gpio->da9052, (offset >> 1) + in da9052_gpio_direction_output()
162 ret = da9052_reg_update(gpio->da9052, (offset >> 1) + in da9052_gpio_direction_output()
/Linux-v5.4/drivers/watchdog/
Dda9052_wdt.c60 ret = da9052_reg_update(da9052, DA9052_CONTROL_D_REG, in da9052_wdt_set_timeout()
82 ret = da9052_reg_update(da9052, DA9052_CONTROL_D_REG, in da9052_wdt_set_timeout()
124 ret = da9052_reg_update(da9052, DA9052_CONTROL_D_REG, in da9052_wdt_ping()
133 return da9052_reg_update(da9052, DA9052_CONTROL_D_REG, in da9052_wdt_ping()
172 ret = da9052_reg_update(da9052, DA9052_CONTROL_D_REG, in da9052_wdt_probe()
/Linux-v5.4/drivers/rtc/
Drtc-da9052.c33 ret = da9052_reg_update(rtc->da9052, DA9052_ALARM_Y_REG, in da9052_rtc_enable_alarm()
39 ret = da9052_reg_update(rtc->da9052, DA9052_ALARM_Y_REG, in da9052_rtc_enable_alarm()
119 ret = da9052_reg_update(da9052, DA9052_ALARM_MI_REG, in da9052_set_alarm()
134 ret = da9052_reg_update(da9052, DA9052_ALARM_Y_REG, in da9052_set_alarm()
295 ret = da9052_reg_update(rtc->da9052, DA9052_ALARM_Y_REG, in da9052_rtc_probe()
/Linux-v5.4/drivers/regulator/
Dda9052-regulator.c139 return da9052_reg_update(regulator->da9052, in da9052_dcdc_set_current_limit()
144 return da9052_reg_update(regulator->da9052, in da9052_dcdc_set_current_limit()
213 ret = da9052_reg_update(regulator->da9052, rdev->desc->vsel_reg, in da9052_regulator_set_voltage_sel()
227 ret = da9052_reg_update(regulator->da9052, DA9052_SUPPLY_REG, in da9052_regulator_set_voltage_sel()
/Linux-v5.4/drivers/leds/
Dleds-da9052.c69 error = da9052_reg_update(da9052, DA9052_GPIO_14_15_REG, in da9052_configure_leds()
79 error = da9052_reg_update(da9052, DA9052_GPIO_14_15_REG, in da9052_configure_leds()
/Linux-v5.4/drivers/hwmon/
Dda9052-hwmon.c74 return da9052_reg_update(da9052, DA9052_ADC_CONT_REG, in da9052_enable_vddout_channel()
81 return da9052_reg_update(da9052, DA9052_ADC_CONT_REG, in da9052_disable_vddout_channel()
449 da9052_reg_update(hwmon->da9052, DA9052_ADC_CONT_REG, in da9052_hwmon_probe()
/Linux-v5.4/include/linux/mfd/da9052/
Dda9052.h184 static inline int da9052_reg_update(struct da9052 *da9052, unsigned char reg, in da9052_reg_update() function
/Linux-v5.4/drivers/power/supply/
Dda9052-battery.c488 return da9052_reg_update(bat->da9052, DA9052_ISET_REG, in da9052_USB_current_notifier()