/Linux-v5.4/drivers/video/backlight/ |
D | wm831x_bl.c | 36 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/ |
D | wm831x-ts.c | 97 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/ |
D | wm831x-auxadc.c | 54 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()
|
D | wm831x-irq.c | 344 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()
|
D | wm831x-core.c | 597 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/ |
D | gpio-wm831x.c | 38 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/ |
D | wm831x-isink.c | 40 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()
|
D | wm831x-ldo.c | 78 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()
|
D | wm831x-dcdc.c | 110 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/ |
D | clk-wm831x.c | 90 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/ |
D | rtc-wm831x.c | 266 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/ |
D | wm831x_wdt.c | 61 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/ |
D | wm831x_power.c | 159 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()
|
D | wm831x_backup.c | 98 ret = wm831x_set_bits(wm831x, WM831X_BACKUP_CHARGER_CONTROL, in wm831x_config_backup()
|
/Linux-v5.4/include/linux/mfd/wm831x/ |
D | core.h | 410 int wm831x_set_bits(struct wm831x *wm831x, unsigned short reg,
|