Home
last modified time | relevance | path

Searched refs:wm831x_reg_read (Results 1 – 16 of 16) sorted by relevance

/Linux-v5.4/drivers/clk/
Dclk-wm831x.c73 ret = wm831x_reg_read(wm831x, WM831X_FLL_CONTROL_1); in wm831x_fll_is_prepared()
121 ret = wm831x_reg_read(wm831x, WM831X_CLOCK_CONTROL_2); in wm831x_fll_recalc_rate()
184 ret = wm831x_reg_read(wm831x, WM831X_CLOCK_CONTROL_2); in wm831x_fll_get_parent()
194 ret = wm831x_reg_read(wm831x, WM831X_FLL_CONTROL_5); in wm831x_fll_get_parent()
238 ret = wm831x_reg_read(wm831x, WM831X_CLOCK_CONTROL_1); in wm831x_clkout_is_prepared()
304 ret = wm831x_reg_read(wm831x, WM831X_CLOCK_CONTROL_1); in wm831x_clkout_get_parent()
357 ret = wm831x_reg_read(wm831x, WM831X_CLOCK_CONTROL_2); in wm831x_clk_probe()
/Linux-v5.4/drivers/rtc/
Drtc-wm831x.c105 ret = wm831x_reg_read(wm831x, WM831X_RTC_WRITE_COUNTER); in wm831x_rtc_add_randomness()
127 ret = wm831x_reg_read(wm831x, WM831X_RTC_CONTROL); in wm831x_rtc_readtime()
198 ret = wm831x_reg_read(wm831x, WM831X_RTC_CONTROL); in wm831x_rtc_settime()
248 ret = wm831x_reg_read(wm831x_rtc->wm831x, WM831X_RTC_CONTROL); in wm831x_rtc_readalarm()
415 ret = wm831x_reg_read(wm831x, WM831X_RTC_CONTROL); in wm831x_rtc_probe()
/Linux-v5.4/drivers/regulator/
Dwm831x-ldo.c89 ret = wm831x_reg_read(wm831x, on_reg); in wm831x_gp_ldo_get_mode()
96 ret = wm831x_reg_read(wm831x, ctrl_reg); in wm831x_gp_ldo_get_mode()
166 ret = wm831x_reg_read(wm831x, WM831X_LDO_STATUS); in wm831x_gp_ldo_get_status()
173 ret = wm831x_reg_read(wm831x, WM831X_LDO_UV_STATUS); in wm831x_gp_ldo_get_status()
341 ret = wm831x_reg_read(wm831x, on_reg); in wm831x_aldo_get_mode()
389 ret = wm831x_reg_read(wm831x, WM831X_LDO_STATUS); in wm831x_aldo_get_status()
396 ret = wm831x_reg_read(wm831x, WM831X_LDO_UV_STATUS); in wm831x_aldo_get_status()
548 ret = wm831x_reg_read(wm831x, WM831X_LDO_STATUS); in wm831x_alive_ldo_get_status()
Dwm831x-dcdc.c67 val = wm831x_reg_read(wm831x, reg); in wm831x_dcdc_get_mode()
140 ret = wm831x_reg_read(wm831x, WM831X_DCDC_UV_STATUS); in wm831x_dcdc_get_status()
166 ret = wm831x_reg_read(wm831x, WM831X_DCDC_STATUS); in wm831x_dcdc_get_status()
445 ret = wm831x_reg_read(wm831x, dcdc->base + WM831X_DCDC_ON_CONFIG); in wm831x_buckv_probe()
452 ret = wm831x_reg_read(wm831x, dcdc->base + WM831X_DCDC_DVS_CONTROL); in wm831x_buckv_probe()
653 ret = wm831x_reg_read(wm831x, WM831X_DCDC_UV_STATUS); in wm831x_boostp_get_status()
664 ret = wm831x_reg_read(wm831x, WM831X_DCDC_STATUS); in wm831x_boostp_get_status()
Dwm831x-isink.c79 ret = wm831x_reg_read(wm831x, isink->reg); in wm831x_isink_is_enabled()
/Linux-v5.4/drivers/mfd/
Dwm831x-irq.c458 primary = wm831x_reg_read(wm831x, WM831X_SYSTEM_INTERRUPTS); in wm831x_irq_thread()
491 *status = wm831x_reg_read(wm831x, status_addr); in wm831x_irq_thread()
519 ret = wm831x_reg_read(wm831x, WM831X_GPIO_LEVEL); in wm831x_irq_thread()
523 ret = wm831x_reg_read(wm831x, in wm831x_irq_thread()
530 ret = wm831x_reg_read(wm831x, WM831X_GPIO_LEVEL); in wm831x_irq_thread()
534 ret = wm831x_reg_read(wm831x, in wm831x_irq_thread()
Dwm831x-auxadc.c114 ret = wm831x_reg_read(wm831x, WM831X_AUXADC_DATA); in wm831x_auxadc_irq()
189 ret = wm831x_reg_read(wm831x, in wm831x_auxadc_read_polled()
211 ret = wm831x_reg_read(wm831x, WM831X_AUXADC_DATA); in wm831x_auxadc_read_polled()
Dwm831x-core.c515 int wm831x_reg_read(struct wm831x *wm831x, unsigned short reg) in wm831x_reg_read() function
527 EXPORT_SYMBOL_GPL(wm831x_reg_read);
1642 ret = wm831x_reg_read(wm831x, WM831X_PARENT_ID); in wm831x_device_init()
1657 ret = wm831x_reg_read(wm831x, WM831X_REVISION); in wm831x_device_init()
1664 ret = wm831x_reg_read(wm831x, WM831X_RESET_ID); in wm831x_device_init()
1753 ret = wm831x_reg_read(wm831x, WM831X_SECURITY_KEY); in wm831x_device_init()
1844 ret = wm831x_reg_read(wm831x, WM831X_CLOCK_CONTROL_2); in wm831x_device_init()
1901 reg = wm831x_reg_read(wm831x, WM831X_INTERRUPT_STATUS_2_MASK); in wm831x_device_suspend()
1912 reg = wm831x_reg_read(wm831x, in wm831x_device_suspend()
Dwm831x-otp.c30 val = wm831x_reg_read(wm831x, WM831X_UNIQUE_ID_1 + i); in wm831x_unique_id_read()
/Linux-v5.4/drivers/watchdog/
Dwm831x_wdt.c114 reg = wm831x_reg_read(wm831x, WM831X_WATCHDOG); in wm831x_wdt_ping()
191 ret = wm831x_reg_read(wm831x, WM831X_WATCHDOG); in wm831x_wdt_probe()
217 reg = wm831x_reg_read(wm831x, WM831X_WATCHDOG); in wm831x_wdt_probe()
/Linux-v5.4/drivers/gpio/
Dgpio-wm831x.c49 ret = wm831x_reg_read(wm831x, WM831X_GPIO_LEVEL); in wm831x_gpio_get()
106 ret = wm831x_reg_read(wm831x, reg); in wm831x_gpio_set_debounce()
176 reg = wm831x_reg_read(wm831x, WM831X_GPIO1_CONTROL + i); in wm831x_gpio_dbg_show()
/Linux-v5.4/drivers/power/supply/
Dwm831x_power.c41 ret = wm831x_reg_read(wm831x, WM831X_SYSTEM_STATUS); in wm831x_power_check_online()
338 ret = wm831x_reg_read(wm831x, WM831X_SYSTEM_STATUS); in wm831x_bat_check_status()
347 ret = wm831x_reg_read(wm831x, WM831X_CHARGER_STATUS); in wm831x_bat_check_status()
372 ret = wm831x_reg_read(wm831x, WM831X_CHARGER_STATUS); in wm831x_bat_check_type()
397 ret = wm831x_reg_read(wm831x, WM831X_CHARGER_STATUS); in wm831x_bat_check_health()
591 ret = wm831x_reg_read(wm831x, WM831X_CHARGER_CONTROL_1); in wm831x_power_probe()
Dwm831x_backup.c120 ret = wm831x_reg_read(wm831x, WM831X_BACKUP_CHARGER_CONTROL); in wm831x_backup_get_prop()
/Linux-v5.4/drivers/input/misc/
Dwm831x-on.c47 ret = wm831x_reg_read(wm831x, WM831X_ON_PIN_CONTROL); in wm831x_poll_on()
/Linux-v5.4/include/linux/mfd/wm831x/
Dcore.h405 int wm831x_reg_read(struct wm831x *wm831x, unsigned short reg);
/Linux-v5.4/drivers/leds/
Dleds-wm831x-status.c248 drvdata->reg_val = wm831x_reg_read(wm831x, drvdata->reg); in wm831x_status_probe()