Home
last modified time | relevance | path

Searched refs:wm831x_set_bits (Results 1 – 14 of 14) sorted by relevance

/drivers/video/backlight/
Dwm831x_bl.c39 ret = wm831x_set_bits(wm831x, data->isink_reg, in wm831x_backlight_set()
45 ret = wm831x_set_bits(wm831x, WM831X_DCDC_ENABLE, in wm831x_backlight_set()
53 ret = wm831x_set_bits(wm831x, WM831X_DCDC_ENABLE, in wm831x_backlight_set()
59 ret = wm831x_set_bits(wm831x, data->isink_reg, in wm831x_backlight_set()
66 ret = wm831x_set_bits(wm831x, data->isink_reg, in wm831x_backlight_set()
73 ret = wm831x_set_bits(wm831x, data->isink_reg, in wm831x_backlight_set()
88 wm831x_set_bits(wm831x, WM831X_DCDC_ENABLE, WM831X_DC4_ENA, 0); in wm831x_backlight_set()
89 wm831x_set_bits(wm831x, data->isink_reg, WM831X_CS1_ENA, 0); in wm831x_backlight_set()
181 ret = wm831x_set_bits(wm831x, WM831X_DC4_CONTROL, WM831X_DC4_FBSRC, in wm831x_backlight_probe()
211 wm831x_set_bits(wm831x, WM831X_DCDC_ENABLE, WM831X_DC4_ENA, 0); in wm831x_backlight_probe()
/drivers/input/touchscreen/
Dwm831x-ts.c101 wm831x_set_bits(wm831x, WM831X_INTERRUPT_STATUS_1, in wm831x_ts_data_irq()
133 wm831x_set_bits(wm831x, WM831X_TOUCH_CONTROL_1, in wm831x_ts_data_irq()
138 wm831x_set_bits(wm831x, WM831X_INTERRUPT_STATUS_1, in wm831x_ts_data_irq()
174 wm831x_set_bits(wm831x, WM831X_TOUCH_CONTROL_1, in wm831x_ts_pen_down_irq()
178 wm831x_set_bits(wm831x, WM831X_INTERRUPT_STATUS_1, in wm831x_ts_pen_down_irq()
195 wm831x_set_bits(wm831x, WM831X_TOUCH_CONTROL_1, in wm831x_ts_input_open()
200 wm831x_set_bits(wm831x, WM831X_TOUCH_CONTROL_1, in wm831x_ts_input_open()
212 wm831x_set_bits(wm831x, WM831X_TOUCH_CONTROL_1, in wm831x_ts_input_close()
281 wm831x_set_bits(wm831x, WM831X_TOUCH_CONTROL_2, in wm831x_ts_probe()
288 wm831x_set_bits(wm831x, WM831X_TOUCH_CONTROL_2, in wm831x_ts_probe()
[all …]
/drivers/mfd/
Dwm831x-auxadc.c59 ret = wm831x_set_bits(wm831x, WM831X_AUXADC_CONTROL, in wm831x_auxadc_read_irq()
70 ret = wm831x_set_bits(wm831x, WM831X_AUXADC_SOURCE, in wm831x_auxadc_read_irq()
83 ret = wm831x_set_bits(wm831x, WM831X_AUXADC_CONTROL, in wm831x_auxadc_read_irq()
137 wm831x_set_bits(wm831x, WM831X_AUXADC_SOURCE, in wm831x_auxadc_irq()
165 ret = wm831x_set_bits(wm831x, WM831X_AUXADC_CONTROL, in wm831x_auxadc_read_polled()
181 ret = wm831x_set_bits(wm831x, WM831X_AUXADC_CONTROL, in wm831x_auxadc_read_polled()
238 wm831x_set_bits(wm831x, WM831X_AUXADC_CONTROL, WM831X_AUX_ENA, 0); in wm831x_auxadc_read_polled()
Dwm831x-irq.c349 wm831x_set_bits(wm831x, WM831X_GPIO1_CONTROL + i, in wm831x_irq_sync_unlock()
616 wm831x_set_bits(wm831x, WM831X_IRQ_CONFIG, in wm831x_irq_init()
Dwm831x-core.c599 int wm831x_set_bits(struct wm831x *wm831x, unsigned short reg, in wm831x_set_bits() function
615 EXPORT_SYMBOL_GPL(wm831x_set_bits);
1932 wm831x_set_bits(wm831x, WM831X_POWER_STATE, WM831X_CHIP_ON, 0); in wm831x_device_shutdown()
/drivers/regulator/
Dwm831x-isink.c45 ret = wm831x_set_bits(wm831x, isink->reg, WM831X_CS1_ENA, in wm831x_isink_enable()
51 ret = wm831x_set_bits(wm831x, isink->reg, WM831X_CS1_DRIVE, in wm831x_isink_enable()
54 wm831x_set_bits(wm831x, isink->reg, WM831X_CS1_ENA, 0); in wm831x_isink_enable()
66 ret = wm831x_set_bits(wm831x, isink->reg, WM831X_CS1_DRIVE, 0); in wm831x_isink_disable()
70 ret = wm831x_set_bits(wm831x, isink->reg, WM831X_CS1_ENA, 0); in wm831x_isink_disable()
105 ret = wm831x_set_bits(wm831x, isink->reg, in wm831x_isink_set_current()
Dwm831x-ldo.c81 return wm831x_set_bits(wm831x, reg, WM831X_LDO1_ON_VSEL_MASK, sel); in wm831x_gp_ldo_set_suspend_voltage()
121 ret = wm831x_set_bits(wm831x, on_reg, in wm831x_gp_ldo_set_mode()
128 ret = wm831x_set_bits(wm831x, ctrl_reg, in wm831x_gp_ldo_set_mode()
133 ret = wm831x_set_bits(wm831x, on_reg, in wm831x_gp_ldo_set_mode()
141 ret = wm831x_set_bits(wm831x, ctrl_reg, in wm831x_gp_ldo_set_mode()
147 ret = wm831x_set_bits(wm831x, on_reg, in wm831x_gp_ldo_set_mode()
334 return wm831x_set_bits(wm831x, reg, WM831X_LDO7_ON_VSEL_MASK, sel); in wm831x_aldo_set_suspend_voltage()
365 ret = wm831x_set_bits(wm831x, on_reg, WM831X_LDO7_ON_MODE, 0); in wm831x_aldo_set_mode()
371 ret = wm831x_set_bits(wm831x, on_reg, WM831X_LDO7_ON_MODE, in wm831x_aldo_set_mode()
540 return wm831x_set_bits(wm831x, reg, WM831X_LDO11_ON_VSEL_MASK, sel); in wm831x_alive_ldo_set_suspend_voltage()
Dwm831x-dcdc.c115 return wm831x_set_bits(wm831x, reg, WM831X_DC1_ON_MODE_MASK, in wm831x_dcdc_set_mode_int()
271 ret = wm831x_set_bits(wm831x, on_reg, WM831X_DC1_ON_VSEL_MASK, vsel); in wm831x_buckv_set_voltage_sel()
291 ret = wm831x_set_bits(wm831x, dvs_reg, in wm831x_buckv_set_voltage_sel()
316 return wm831x_set_bits(wm831x, reg, WM831X_DC1_SLP_VSEL_MASK, vsel); in wm831x_buckv_set_suspend_voltage()
345 return wm831x_set_bits(wm831x, reg, in wm831x_buckv_set_current_limit()
434 ret = wm831x_set_bits(wm831x, in wm831x_buckv_dvs_init()
444 ret = wm831x_set_bits(wm831x, dcdc->base + WM831X_DCDC_DVS_CONTROL, in wm831x_buckv_dvs_init()
585 return wm831x_set_bits(wm831x, reg, WM831X_DC3_ON_VSEL_MASK, sel); in wm831x_buckp_set_suspend_voltage()
/drivers/gpio/
Dgpio-wm831x.c42 return wm831x_set_bits(wm831x, WM831X_GPIO1_CONTROL + offset, in wm831x_gpio_direction_in()
68 wm831x_set_bits(wm831x, WM831X_GPIO_LEVEL, 1 << offset, in wm831x_gpio_set()
83 ret = wm831x_set_bits(wm831x, WM831X_GPIO1_CONTROL + offset, in wm831x_gpio_direction_out()
132 return wm831x_set_bits(wm831x, reg, WM831X_GPN_FN_MASK, fn); in wm831x_gpio_set_debounce()
145 return wm831x_set_bits(wm831x, reg, in wm831x_set_single_ended()
148 return wm831x_set_bits(wm831x, reg, in wm831x_set_single_ended()
/drivers/clk/
Dclk-wm831x.c95 ret = wm831x_set_bits(wm831x, WM831X_FLL_CONTROL_1, in wm831x_fll_prepare()
112 ret = wm831x_set_bits(wm831x, WM831X_FLL_CONTROL_1, WM831X_FLL_ENA, 0); in wm831x_fll_unprepare()
171 return wm831x_set_bits(wm831x, WM831X_CLOCK_CONTROL_2, in wm831x_fll_set_rate()
265 ret = wm831x_set_bits(wm831x, WM831X_CLOCK_CONTROL_1, in wm831x_clkout_prepare()
288 ret = wm831x_set_bits(wm831x, WM831X_CLOCK_CONTROL_1, in wm831x_clkout_unprepare()
327 return wm831x_set_bits(wm831x, WM831X_CLOCK_CONTROL_1, in wm831x_clkout_set_parent()
/drivers/rtc/
Drtc-wm831x.c272 return wm831x_set_bits(wm831x_rtc->wm831x, WM831X_RTC_CONTROL, in wm831x_rtc_stop_alarm()
280 return wm831x_set_bits(wm831x_rtc->wm831x, WM831X_RTC_CONTROL, in wm831x_rtc_start_alarm()
368 ret = wm831x_set_bits(wm831x_rtc->wm831x, WM831X_RTC_CONTROL, in wm831x_rtc_suspend()
402 ret = wm831x_set_bits(wm831x_rtc->wm831x, WM831X_RTC_CONTROL, in wm831x_rtc_freeze()
/drivers/watchdog/
Dwm831x_wdt.c64 ret = wm831x_set_bits(wm831x, WM831X_WATCHDOG, in wm831x_wdt_start()
87 ret = wm831x_set_bits(wm831x, WM831X_WATCHDOG, in wm831x_wdt_stop()
157 ret = wm831x_set_bits(wm831x, WM831X_WATCHDOG, in wm831x_wdt_set_timeout()
/drivers/power/supply/
Dwm831x_backup.c101 ret = wm831x_set_bits(wm831x, WM831X_BACKUP_CHARGER_CONTROL, in wm831x_config_backup()
Dwm831x_power.c274 ret = wm831x_set_bits(wm831x, WM831X_CHARGER_CONTROL_1, in wm831x_config_battery()
283 ret = wm831x_set_bits(wm831x, WM831X_CHARGER_CONTROL_2, in wm831x_config_battery()