Home
last modified time | relevance | path

Searched refs:wm8350_reg_read (Results 1 – 8 of 8) sorted by relevance

/drivers/mfd/
Dwm8350-gpio.c57 reg = wm8350_reg_read(wm8350, WM8350_GPIO_FUNCTION_SELECT_1) in gpio_set_func()
63 reg = wm8350_reg_read(wm8350, WM8350_GPIO_FUNCTION_SELECT_1) in gpio_set_func()
69 reg = wm8350_reg_read(wm8350, WM8350_GPIO_FUNCTION_SELECT_1) in gpio_set_func()
75 reg = wm8350_reg_read(wm8350, WM8350_GPIO_FUNCTION_SELECT_1) in gpio_set_func()
81 reg = wm8350_reg_read(wm8350, WM8350_GPIO_FUNCTION_SELECT_2) in gpio_set_func()
87 reg = wm8350_reg_read(wm8350, WM8350_GPIO_FUNCTION_SELECT_2) in gpio_set_func()
93 reg = wm8350_reg_read(wm8350, WM8350_GPIO_FUNCTION_SELECT_2) in gpio_set_func()
99 reg = wm8350_reg_read(wm8350, WM8350_GPIO_FUNCTION_SELECT_2) in gpio_set_func()
105 reg = wm8350_reg_read(wm8350, WM8350_GPIO_FUNCTION_SELECT_3) in gpio_set_func()
111 reg = wm8350_reg_read(wm8350, WM8350_GPIO_FUNCTION_SELECT_3) in gpio_set_func()
[all …]
Dwm8350-core.c80 u16 wm8350_reg_read(struct wm8350 *wm8350, int reg) in wm8350_reg_read() function
91 EXPORT_SYMBOL_GPL(wm8350_reg_read);
202 reg = wm8350_reg_read(wm8350, WM8350_POWER_MGMT_5); in wm8350_read_auxadc()
211 reg = wm8350_reg_read(wm8350, WM8350_DIGITISER_CONTROL_1); in wm8350_read_auxadc()
224 reg = wm8350_reg_read(wm8350, WM8350_DIGITISER_CONTROL_1); in wm8350_read_auxadc()
228 result = wm8350_reg_read(wm8350, in wm8350_read_auxadc()
232 reg = wm8350_reg_read(wm8350, WM8350_POWER_MGMT_5); in wm8350_read_auxadc()
Dwm8350-irq.c391 level_one = wm8350_reg_read(wm8350, WM8350_SYSTEM_INTERRUPTS) in wm8350_irq()
392 & ~wm8350_reg_read(wm8350, WM8350_SYSTEM_INTERRUPTS_MASK); in wm8350_irq()
407 wm8350_reg_read(wm8350, WM8350_INT_STATUS_1 + in wm8350_irq()
491 wm8350_reg_read(wm8350, in wm8350_irq_init()
/drivers/regulator/
Dwm8350-regulator.c125 val = wm8350_reg_read(wm8350, WM8350_CURRENT_SINK_DRIVER_A) & in wm8350_isink_set_current()
131 val = wm8350_reg_read(wm8350, WM8350_CURRENT_SINK_DRIVER_B) & in wm8350_isink_set_current()
151 val = wm8350_reg_read(wm8350, WM8350_CURRENT_SINK_DRIVER_A) & in wm8350_isink_get_current()
155 val = wm8350_reg_read(wm8350, WM8350_CURRENT_SINK_DRIVER_B) & in wm8350_isink_get_current()
257 return wm8350_reg_read(wm8350, WM8350_CURRENT_SINK_DRIVER_A) & in wm8350_isink_is_enabled()
260 return wm8350_reg_read(wm8350, WM8350_CURRENT_SINK_DRIVER_B) & in wm8350_isink_is_enabled()
274 reg = wm8350_reg_read(wm8350, WM8350_CSA_FLASH_CONTROL); in wm8350_isink_enable_time()
277 reg = wm8350_reg_read(wm8350, WM8350_CSB_FLASH_CONTROL); in wm8350_isink_enable_time()
367 val = wm8350_reg_read(wm8350, volt_reg) & ~WM8350_DC1_VSEL_MASK; in wm8350_dcdc_set_suspend_voltage()
380 val = wm8350_reg_read(wm8350, WM8350_DCDC1_LOW_POWER) in wm8350_dcdc_set_suspend_enable()
[all …]
/drivers/power/
Dwm8350_power.c58 sm = wm8350_reg_read(wm8350, WM8350_STATE_MACHINE_STATUS); in wm8350_get_supplies()
59 ov = wm8350_reg_read(wm8350, WM8350_MISC_OVERRIDES); in wm8350_get_supplies()
60 co = wm8350_reg_read(wm8350, WM8350_COMPARATOR_OVERRIDES); in wm8350_get_supplies()
61 chrg = wm8350_reg_read(wm8350, WM8350_BATTERY_CHARGER_CONTROL_2); in wm8350_get_supplies()
110 reg = wm8350_reg_read(wm8350, WM8350_BATTERY_CHARGER_CONTROL_1) in wm8350_charger_config()
143 state = wm8350_reg_read(wm8350, WM8350_BATTERY_CHARGER_CONTROL_2); in wm8350_batt_status()
166 state = wm8350_reg_read(wm8350, WM8350_BATTERY_CHARGER_CONTROL_2) & in charger_state_show()
317 reg = wm8350_reg_read(wm8350, WM8350_CHARGER_OVERRIDES); in wm8350_bat_check_health()
331 state = wm8350_reg_read(wm8350, WM8350_BATTERY_CHARGER_CONTROL_2) & in wm8350_bat_get_charge_type()
/drivers/watchdog/
Dwm8350_wdt.c55 reg = wm8350_reg_read(wm8350, WM8350_SYSTEM_CONTROL_2); in wm8350_wdt_set_timeout()
76 reg = wm8350_reg_read(wm8350, WM8350_SYSTEM_CONTROL_2); in wm8350_wdt_start()
96 reg = wm8350_reg_read(wm8350, WM8350_SYSTEM_CONTROL_2); in wm8350_wdt_stop()
114 reg = wm8350_reg_read(wm8350, WM8350_SYSTEM_CONTROL_2); in wm8350_wdt_ping()
/drivers/rtc/
Drtc-wm8350.c123 rtc_ctrl = wm8350_reg_read(wm8350, WM8350_RTC_TIME_CONTROL); in wm8350_rtc_settime()
206 rtc_ctrl = wm8350_reg_read(wm8350, WM8350_RTC_TIME_CONTROL); in wm8350_rtc_stop_alarm()
229 rtc_ctrl = wm8350_reg_read(wm8350, WM8350_RTC_TIME_CONTROL); in wm8350_rtc_start_alarm()
350 reg = wm8350_reg_read(wm8350, WM8350_RTC_TIME_CONTROL); in wm8350_rtc_suspend()
387 timectl = wm8350_reg_read(wm8350, WM8350_RTC_TIME_CONTROL); in wm8350_rtc_probe()
398 power5 = wm8350_reg_read(wm8350, WM8350_POWER_MGMT_5); in wm8350_rtc_probe()
426 timectl = wm8350_reg_read(wm8350, in wm8350_rtc_probe()
/drivers/gpio/
Dgpio-wm8350.c51 ret = wm8350_reg_read(wm8350, WM8350_GPIO_LEVEL); in wm8350_gpio_get()