Home
last modified time | relevance | path

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

/linux-2.6.39/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.c235 u16 wm8350_reg_read(struct wm8350 *wm8350, int reg) in wm8350_reg_read() function
248 EXPORT_SYMBOL_GPL(wm8350_reg_read);
353 reg = wm8350_reg_read(wm8350, WM8350_POWER_MGMT_5); in wm8350_read_auxadc()
362 reg = wm8350_reg_read(wm8350, WM8350_DIGITISER_CONTROL_1); in wm8350_read_auxadc()
375 reg = wm8350_reg_read(wm8350, WM8350_DIGITISER_CONTROL_1); in wm8350_read_auxadc()
379 result = wm8350_reg_read(wm8350, in wm8350_read_auxadc()
383 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()
497 wm8350_reg_read(wm8350, in wm8350_irq_init()
/linux-2.6.39/drivers/regulator/
Dwm8350-regulator.c152 val = wm8350_reg_read(wm8350, WM8350_CURRENT_SINK_DRIVER_A) & in wm8350_isink_set_current()
158 val = wm8350_reg_read(wm8350, WM8350_CURRENT_SINK_DRIVER_B) & in wm8350_isink_set_current()
178 val = wm8350_reg_read(wm8350, WM8350_CURRENT_SINK_DRIVER_A) & in wm8350_isink_get_current()
182 val = wm8350_reg_read(wm8350, WM8350_CURRENT_SINK_DRIVER_B) & in wm8350_isink_get_current()
284 return wm8350_reg_read(wm8350, WM8350_CURRENT_SINK_DRIVER_A) & in wm8350_isink_is_enabled()
287 return wm8350_reg_read(wm8350, WM8350_CURRENT_SINK_DRIVER_B) & in wm8350_isink_is_enabled()
301 reg = wm8350_reg_read(wm8350, WM8350_CSA_FLASH_CONTROL); in wm8350_isink_enable_time()
304 reg = wm8350_reg_read(wm8350, WM8350_CSB_FLASH_CONTROL); in wm8350_isink_enable_time()
403 val = wm8350_reg_read(wm8350, volt_reg) & ~WM8350_DC1_VSEL_MASK; in wm8350_dcdc_set_voltage()
433 return wm8350_reg_read(wm8350, volt_reg) & WM8350_DC1_VSEL_MASK; in wm8350_dcdc_get_voltage_sel()
[all …]
/linux-2.6.39/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()
/linux-2.6.39/drivers/watchdog/
Dwm8350_wdt.c55 reg = wm8350_reg_read(wm8350, WM8350_SYSTEM_CONTROL_2); in wm8350_wdt_set_timeout()
74 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()
110 reg = wm8350_reg_read(wm8350, WM8350_SYSTEM_CONTROL_2); in wm8350_wdt_kick()
250 reg = wm8350_reg_read(wm8350, WM8350_SYSTEM_CONTROL_2); in wm8350_wdt_ioctl()
/linux-2.6.39/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()
391 timectl = wm8350_reg_read(wm8350, WM8350_RTC_TIME_CONTROL); in wm8350_rtc_probe()
402 power5 = wm8350_reg_read(wm8350, WM8350_POWER_MGMT_5); in wm8350_rtc_probe()
430 timectl = wm8350_reg_read(wm8350, in wm8350_rtc_probe()
/linux-2.6.39/sound/soc/codecs/
Dwm8350.c85 return wm8350_reg_read(wm8350, reg); in wm8350_codec_read()
107 reg = wm8350_reg_read(wm8350, WM8350_LOUT1_VOLUME); in wm8350_out1_ramp_step()
132 reg = wm8350_reg_read(wm8350, WM8350_ROUT1_VOLUME); in wm8350_out1_ramp_step()
173 reg = wm8350_reg_read(wm8350, WM8350_LOUT2_VOLUME); in wm8350_out2_ramp_step()
197 reg = wm8350_reg_read(wm8350, WM8350_ROUT2_VOLUME); in wm8350_out2_ramp_step()
1175 pm1 = wm8350_reg_read(wm8350, WM8350_POWER_MGMT_1) & in wm8350_set_bias_level()
1183 pm1 = wm8350_reg_read(wm8350, WM8350_POWER_MGMT_1); in wm8350_set_bias_level()
1233 pm1 = wm8350_reg_read(wm8350, WM8350_POWER_MGMT_1) & in wm8350_set_bias_level()
1250 pm1 = wm8350_reg_read(wm8350, WM8350_POWER_MGMT_1) & in wm8350_set_bias_level()
1274 pm1 = wm8350_reg_read(wm8350, WM8350_POWER_MGMT_1) & in wm8350_set_bias_level()
[all …]
/linux-2.6.39/drivers/gpio/
Dwm8350-gpiolib.c51 ret = wm8350_reg_read(wm8350, WM8350_GPIO_LEVEL); in wm8350_gpio_get()
/linux-2.6.39/include/linux/mfd/wm8350/
Dcore.h672 u16 wm8350_reg_read(struct wm8350 *wm8350, int reg);