Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/video/backlight/
Dwm831x_bl.c36 ret = wm831x_set_bits(wm831x, data->isink_reg, in wm831x_backlight_set()
42 ret = wm831x_set_bits(wm831x, WM831X_DCDC_ENABLE, in wm831x_backlight_set()
50 ret = wm831x_set_bits(wm831x, WM831X_DCDC_ENABLE, in wm831x_backlight_set()
56 ret = wm831x_set_bits(wm831x, data->isink_reg, in wm831x_backlight_set()
63 ret = wm831x_set_bits(wm831x, data->isink_reg, in wm831x_backlight_set()
70 ret = wm831x_set_bits(wm831x, data->isink_reg, in wm831x_backlight_set()
85 wm831x_set_bits(wm831x, WM831X_DCDC_ENABLE, WM831X_DC4_ENA, 0); in wm831x_backlight_set()
86 wm831x_set_bits(wm831x, data->isink_reg, WM831X_CS1_ENA, 0); in wm831x_backlight_set()
178 ret = wm831x_set_bits(wm831x, WM831X_DC4_CONTROL, WM831X_DC4_FBSRC, in wm831x_backlight_probe()
208 wm831x_set_bits(wm831x, WM831X_DCDC_ENABLE, WM831X_DC4_ENA, 0); in wm831x_backlight_probe()
/Linux-v5.4/drivers/input/touchscreen/
Dwm831x-ts.c97 wm831x_set_bits(wm831x, WM831X_INTERRUPT_STATUS_1, in wm831x_ts_data_irq()
129 wm831x_set_bits(wm831x, WM831X_TOUCH_CONTROL_1, in wm831x_ts_data_irq()
134 wm831x_set_bits(wm831x, WM831X_INTERRUPT_STATUS_1, in wm831x_ts_data_irq()
170 wm831x_set_bits(wm831x, WM831X_TOUCH_CONTROL_1, in wm831x_ts_pen_down_irq()
174 wm831x_set_bits(wm831x, WM831X_INTERRUPT_STATUS_1, in wm831x_ts_pen_down_irq()
191 wm831x_set_bits(wm831x, WM831X_TOUCH_CONTROL_1, in wm831x_ts_input_open()
196 wm831x_set_bits(wm831x, WM831X_TOUCH_CONTROL_1, in wm831x_ts_input_open()
208 wm831x_set_bits(wm831x, WM831X_TOUCH_CONTROL_1, in wm831x_ts_input_close()
277 wm831x_set_bits(wm831x, WM831X_TOUCH_CONTROL_2, in wm831x_ts_probe()
284 wm831x_set_bits(wm831x, WM831X_TOUCH_CONTROL_2, in wm831x_ts_probe()
[all …]
/Linux-v5.4/drivers/mfd/
Dwm831x-auxadc.c54 ret = wm831x_set_bits(wm831x, WM831X_AUXADC_CONTROL, in wm831x_auxadc_read_irq()
65 ret = wm831x_set_bits(wm831x, WM831X_AUXADC_SOURCE, in wm831x_auxadc_read_irq()
78 ret = wm831x_set_bits(wm831x, WM831X_AUXADC_CONTROL, in wm831x_auxadc_read_irq()
132 wm831x_set_bits(wm831x, WM831X_AUXADC_SOURCE, in wm831x_auxadc_irq()
160 ret = wm831x_set_bits(wm831x, WM831X_AUXADC_CONTROL, in wm831x_auxadc_read_polled()
176 ret = wm831x_set_bits(wm831x, WM831X_AUXADC_CONTROL, in wm831x_auxadc_read_polled()
233 wm831x_set_bits(wm831x, WM831X_AUXADC_CONTROL, WM831X_AUX_ENA, 0); in wm831x_auxadc_read_polled()
Dwm831x-irq.c344 wm831x_set_bits(wm831x, WM831X_GPIO1_CONTROL + i, in wm831x_irq_sync_unlock()
611 wm831x_set_bits(wm831x, WM831X_IRQ_CONFIG, in wm831x_irq_init()
Dwm831x-core.c597 int wm831x_set_bits(struct wm831x *wm831x, unsigned short reg, in wm831x_set_bits() function
613 EXPORT_SYMBOL_GPL(wm831x_set_bits);
1931 wm831x_set_bits(wm831x, WM831X_POWER_STATE, WM831X_CHIP_ON, 0); in wm831x_device_shutdown()
/Linux-v5.4/drivers/gpio/
Dgpio-wm831x.c38 return wm831x_set_bits(wm831x, WM831X_GPIO1_CONTROL + offset, in wm831x_gpio_direction_in()
64 wm831x_set_bits(wm831x, WM831X_GPIO_LEVEL, 1 << offset, in wm831x_gpio_set()
79 ret = wm831x_set_bits(wm831x, WM831X_GPIO1_CONTROL + offset, in wm831x_gpio_direction_out()
126 return wm831x_set_bits(wm831x, reg, WM831X_GPN_FN_MASK, fn); in wm831x_gpio_set_debounce()
138 return wm831x_set_bits(wm831x, reg, in wm831x_set_config()
141 return wm831x_set_bits(wm831x, reg, in wm831x_set_config()
/Linux-v5.4/drivers/regulator/
Dwm831x-isink.c40 ret = wm831x_set_bits(wm831x, isink->reg, WM831X_CS1_ENA, in wm831x_isink_enable()
46 ret = wm831x_set_bits(wm831x, isink->reg, WM831X_CS1_DRIVE, in wm831x_isink_enable()
49 wm831x_set_bits(wm831x, isink->reg, WM831X_CS1_ENA, 0); in wm831x_isink_enable()
61 ret = wm831x_set_bits(wm831x, isink->reg, WM831X_CS1_DRIVE, 0); in wm831x_isink_disable()
65 ret = wm831x_set_bits(wm831x, isink->reg, WM831X_CS1_ENA, 0); in wm831x_isink_disable()
Dwm831x-ldo.c78 return wm831x_set_bits(wm831x, reg, WM831X_LDO1_ON_VSEL_MASK, sel); in wm831x_gp_ldo_set_suspend_voltage()
118 ret = wm831x_set_bits(wm831x, on_reg, in wm831x_gp_ldo_set_mode()
125 ret = wm831x_set_bits(wm831x, ctrl_reg, in wm831x_gp_ldo_set_mode()
130 ret = wm831x_set_bits(wm831x, on_reg, in wm831x_gp_ldo_set_mode()
138 ret = wm831x_set_bits(wm831x, ctrl_reg, in wm831x_gp_ldo_set_mode()
144 ret = wm831x_set_bits(wm831x, on_reg, in wm831x_gp_ldo_set_mode()
331 return wm831x_set_bits(wm831x, reg, WM831X_LDO7_ON_VSEL_MASK, sel); in wm831x_aldo_set_suspend_voltage()
362 ret = wm831x_set_bits(wm831x, on_reg, WM831X_LDO7_ON_MODE, 0); in wm831x_aldo_set_mode()
368 ret = wm831x_set_bits(wm831x, on_reg, WM831X_LDO7_ON_MODE, in wm831x_aldo_set_mode()
537 return wm831x_set_bits(wm831x, reg, WM831X_LDO11_ON_VSEL_MASK, sel); in wm831x_alive_ldo_set_suspend_voltage()
Dwm831x-dcdc.c110 return wm831x_set_bits(wm831x, reg, WM831X_DC1_ON_MODE_MASK, in wm831x_dcdc_set_mode_int()
247 ret = wm831x_set_bits(wm831x, on_reg, WM831X_DC1_ON_VSEL_MASK, vsel); in wm831x_buckv_set_voltage_sel()
267 ret = wm831x_set_bits(wm831x, dvs_reg, in wm831x_buckv_set_voltage_sel()
292 return wm831x_set_bits(wm831x, reg, WM831X_DC1_SLP_VSEL_MASK, vsel); in wm831x_buckv_set_suspend_voltage()
373 ret = wm831x_set_bits(wm831x, in wm831x_buckv_dvs_init()
383 ret = wm831x_set_bits(wm831x, dcdc->base + WM831X_DCDC_DVS_CONTROL, in wm831x_buckv_dvs_init()
530 return wm831x_set_bits(wm831x, reg, WM831X_DC3_ON_VSEL_MASK, sel); in wm831x_buckp_set_suspend_voltage()
/Linux-v5.4/drivers/clk/
Dclk-wm831x.c90 ret = wm831x_set_bits(wm831x, WM831X_FLL_CONTROL_1, in wm831x_fll_prepare()
108 ret = wm831x_set_bits(wm831x, WM831X_FLL_CONTROL_1, WM831X_FLL_ENA, 0); in wm831x_fll_unprepare()
167 return wm831x_set_bits(wm831x, WM831X_CLOCK_CONTROL_2, in wm831x_fll_set_rate()
261 ret = wm831x_set_bits(wm831x, WM831X_CLOCK_CONTROL_1, in wm831x_clkout_prepare()
284 ret = wm831x_set_bits(wm831x, WM831X_CLOCK_CONTROL_1, in wm831x_clkout_unprepare()
323 return wm831x_set_bits(wm831x, WM831X_CLOCK_CONTROL_1, in wm831x_clkout_set_parent()
/Linux-v5.4/drivers/rtc/
Drtc-wm831x.c266 return wm831x_set_bits(wm831x_rtc->wm831x, WM831X_RTC_CONTROL, in wm831x_rtc_stop_alarm()
274 return wm831x_set_bits(wm831x_rtc->wm831x, WM831X_RTC_CONTROL, in wm831x_rtc_start_alarm()
357 ret = wm831x_set_bits(wm831x_rtc->wm831x, WM831X_RTC_CONTROL, in wm831x_rtc_suspend()
388 ret = wm831x_set_bits(wm831x_rtc->wm831x, WM831X_RTC_CONTROL, in wm831x_rtc_freeze()
/Linux-v5.4/drivers/watchdog/
Dwm831x_wdt.c61 ret = wm831x_set_bits(wm831x, WM831X_WATCHDOG, in wm831x_wdt_start()
84 ret = wm831x_set_bits(wm831x, WM831X_WATCHDOG, in wm831x_wdt_stop()
154 ret = wm831x_set_bits(wm831x, WM831X_WATCHDOG, in wm831x_wdt_set_timeout()
/Linux-v5.4/drivers/power/supply/
Dwm831x_power.c159 wm831x_set_bits(wm831x_power->wm831x, WM831X_POWER_STATE, in wm831x_usb_limit_change()
311 ret = wm831x_set_bits(wm831x, WM831X_CHARGER_CONTROL_1, in wm831x_config_battery()
320 ret = wm831x_set_bits(wm831x, WM831X_CHARGER_CONTROL_2, in wm831x_config_battery()
Dwm831x_backup.c98 ret = wm831x_set_bits(wm831x, WM831X_BACKUP_CHARGER_CONTROL, in wm831x_config_backup()
/Linux-v5.4/include/linux/mfd/wm831x/
Dcore.h410 int wm831x_set_bits(struct wm831x *wm831x, unsigned short reg,