Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/mfd/
Dwm8350-gpio.c52 reg = wm8350_reg_read(wm8350, WM8350_GPIO_FUNCTION_SELECT_1) in gpio_set_func()
58 reg = wm8350_reg_read(wm8350, WM8350_GPIO_FUNCTION_SELECT_1) in gpio_set_func()
64 reg = wm8350_reg_read(wm8350, WM8350_GPIO_FUNCTION_SELECT_1) in gpio_set_func()
70 reg = wm8350_reg_read(wm8350, WM8350_GPIO_FUNCTION_SELECT_1) in gpio_set_func()
76 reg = wm8350_reg_read(wm8350, WM8350_GPIO_FUNCTION_SELECT_2) in gpio_set_func()
82 reg = wm8350_reg_read(wm8350, WM8350_GPIO_FUNCTION_SELECT_2) in gpio_set_func()
88 reg = wm8350_reg_read(wm8350, WM8350_GPIO_FUNCTION_SELECT_2) in gpio_set_func()
94 reg = wm8350_reg_read(wm8350, WM8350_GPIO_FUNCTION_SELECT_2) in gpio_set_func()
100 reg = wm8350_reg_read(wm8350, WM8350_GPIO_FUNCTION_SELECT_3) in gpio_set_func()
106 reg = wm8350_reg_read(wm8350, WM8350_GPIO_FUNCTION_SELECT_3) in gpio_set_func()
[all …]
Dwm8350-core.c75 u16 wm8350_reg_read(struct wm8350 *wm8350, int reg) in wm8350_reg_read() function
86 EXPORT_SYMBOL_GPL(wm8350_reg_read);
197 reg = wm8350_reg_read(wm8350, WM8350_POWER_MGMT_5); in wm8350_read_auxadc()
206 reg = wm8350_reg_read(wm8350, WM8350_DIGITISER_CONTROL_1); in wm8350_read_auxadc()
219 reg = wm8350_reg_read(wm8350, WM8350_DIGITISER_CONTROL_1); in wm8350_read_auxadc()
223 result = wm8350_reg_read(wm8350, in wm8350_read_auxadc()
227 reg = wm8350_reg_read(wm8350, WM8350_POWER_MGMT_5); in wm8350_read_auxadc()
Dwm8350-irq.c385 level_one = wm8350_reg_read(wm8350, WM8350_SYSTEM_INTERRUPTS) in wm8350_irq()
386 & ~wm8350_reg_read(wm8350, WM8350_SYSTEM_INTERRUPTS_MASK); in wm8350_irq()
401 wm8350_reg_read(wm8350, WM8350_INT_STATUS_1 + in wm8350_irq()
485 wm8350_reg_read(wm8350, in wm8350_irq_init()
/Linux-v5.4/drivers/regulator/
Dwm8350-regulator.c185 return wm8350_reg_read(wm8350, WM8350_CURRENT_SINK_DRIVER_A) & in wm8350_isink_is_enabled()
188 return wm8350_reg_read(wm8350, WM8350_CURRENT_SINK_DRIVER_B) & in wm8350_isink_is_enabled()
202 reg = wm8350_reg_read(wm8350, WM8350_CSA_FLASH_CONTROL); in wm8350_isink_enable_time()
205 reg = wm8350_reg_read(wm8350, WM8350_CSB_FLASH_CONTROL); in wm8350_isink_enable_time()
295 val = wm8350_reg_read(wm8350, volt_reg) & ~WM8350_DC1_VSEL_MASK; in wm8350_dcdc_set_suspend_voltage()
308 val = wm8350_reg_read(wm8350, WM8350_DCDC1_LOW_POWER) in wm8350_dcdc_set_suspend_enable()
314 val = wm8350_reg_read(wm8350, WM8350_DCDC3_LOW_POWER) in wm8350_dcdc_set_suspend_enable()
320 val = wm8350_reg_read(wm8350, WM8350_DCDC4_LOW_POWER) in wm8350_dcdc_set_suspend_enable()
326 val = wm8350_reg_read(wm8350, WM8350_DCDC6_LOW_POWER) in wm8350_dcdc_set_suspend_enable()
348 val = wm8350_reg_read(wm8350, WM8350_DCDC1_LOW_POWER); in wm8350_dcdc_set_suspend_disable()
[all …]
/Linux-v5.4/drivers/power/supply/
Dwm8350_power.c55 sm = wm8350_reg_read(wm8350, WM8350_STATE_MACHINE_STATUS); in wm8350_get_supplies()
56 ov = wm8350_reg_read(wm8350, WM8350_MISC_OVERRIDES); in wm8350_get_supplies()
57 co = wm8350_reg_read(wm8350, WM8350_COMPARATOR_OVERRIDES); in wm8350_get_supplies()
58 chrg = wm8350_reg_read(wm8350, WM8350_BATTERY_CHARGER_CONTROL_2); in wm8350_get_supplies()
107 reg = wm8350_reg_read(wm8350, WM8350_BATTERY_CHARGER_CONTROL_1) in wm8350_charger_config()
140 state = wm8350_reg_read(wm8350, WM8350_BATTERY_CHARGER_CONTROL_2); in wm8350_batt_status()
163 state = wm8350_reg_read(wm8350, WM8350_BATTERY_CHARGER_CONTROL_2) & in charger_state_show()
315 reg = wm8350_reg_read(wm8350, WM8350_CHARGER_OVERRIDES); in wm8350_bat_check_health()
329 state = wm8350_reg_read(wm8350, WM8350_BATTERY_CHARGER_CONTROL_2) & in wm8350_bat_get_charge_type()
/Linux-v5.4/drivers/watchdog/
Dwm8350_wdt.c52 reg = wm8350_reg_read(wm8350, WM8350_SYSTEM_CONTROL_2); in wm8350_wdt_set_timeout()
73 reg = wm8350_reg_read(wm8350, WM8350_SYSTEM_CONTROL_2); in wm8350_wdt_start()
93 reg = wm8350_reg_read(wm8350, WM8350_SYSTEM_CONTROL_2); in wm8350_wdt_stop()
111 reg = wm8350_reg_read(wm8350, WM8350_SYSTEM_CONTROL_2); in wm8350_wdt_ping()
/Linux-v5.4/drivers/rtc/
Drtc-wm8350.c116 rtc_ctrl = wm8350_reg_read(wm8350, WM8350_RTC_TIME_CONTROL); in wm8350_rtc_settime()
199 rtc_ctrl = wm8350_reg_read(wm8350, WM8350_RTC_TIME_CONTROL); in wm8350_rtc_stop_alarm()
222 rtc_ctrl = wm8350_reg_read(wm8350, WM8350_RTC_TIME_CONTROL); in wm8350_rtc_start_alarm()
342 reg = wm8350_reg_read(wm8350, WM8350_RTC_TIME_CONTROL); in wm8350_rtc_suspend()
376 timectl = wm8350_reg_read(wm8350, WM8350_RTC_TIME_CONTROL); in wm8350_rtc_probe()
387 power5 = wm8350_reg_read(wm8350, WM8350_POWER_MGMT_5); in wm8350_rtc_probe()
415 timectl = wm8350_reg_read(wm8350, in wm8350_rtc_probe()
/Linux-v5.4/sound/soc/codecs/
Dwm8350.c83 reg = wm8350_reg_read(wm8350, WM8350_LOUT1_VOLUME); in wm8350_out1_ramp_step()
108 reg = wm8350_reg_read(wm8350, WM8350_ROUT1_VOLUME); in wm8350_out1_ramp_step()
148 reg = wm8350_reg_read(wm8350, WM8350_LOUT2_VOLUME); in wm8350_out2_ramp_step()
172 reg = wm8350_reg_read(wm8350, WM8350_ROUT2_VOLUME); in wm8350_out2_ramp_step()
1086 pm1 = wm8350_reg_read(wm8350, WM8350_POWER_MGMT_1) & in wm8350_set_bias_level()
1094 pm1 = wm8350_reg_read(wm8350, WM8350_POWER_MGMT_1); in wm8350_set_bias_level()
1144 pm1 = wm8350_reg_read(wm8350, WM8350_POWER_MGMT_1) & in wm8350_set_bias_level()
1161 pm1 = wm8350_reg_read(wm8350, WM8350_POWER_MGMT_1) & in wm8350_set_bias_level()
1185 pm1 = wm8350_reg_read(wm8350, WM8350_POWER_MGMT_1) & in wm8350_set_bias_level()
1202 pm1 = wm8350_reg_read(wm8350, WM8350_POWER_MGMT_1) & in wm8350_set_bias_level()
[all …]
/Linux-v5.4/drivers/gpio/
Dgpio-wm8350.c42 ret = wm8350_reg_read(wm8350, WM8350_GPIO_LEVEL); in wm8350_gpio_get()
/Linux-v5.4/include/linux/mfd/wm8350/
Dcore.h647 u16 wm8350_reg_read(struct wm8350 *wm8350, int reg);