Home
last modified time | relevance | path

Searched defs:wm8350 (Results 1 – 15 of 15) sorted by relevance

/linux-4.4.14/drivers/power/
Dwm8350_power.c23 static int wm8350_read_battery_uvolts(struct wm8350 *wm8350) in wm8350_read_battery_uvolts()
29 static int wm8350_read_line_uvolts(struct wm8350 *wm8350) in wm8350_read_line_uvolts()
35 static int wm8350_read_usb_uvolts(struct wm8350 *wm8350) in wm8350_read_usb_uvolts()
45 static inline int wm8350_charge_time_min(struct wm8350 *wm8350, int min) in wm8350_charge_time_min()
53 static int wm8350_get_supplies(struct wm8350 *wm8350) in wm8350_get_supplies()
89 static int wm8350_charger_config(struct wm8350 *wm8350, in wm8350_charger_config()
139 static int wm8350_batt_status(struct wm8350 *wm8350) in wm8350_batt_status()
162 struct wm8350 *wm8350 = dev_get_drvdata(dev); in charger_state_show() local
189 struct wm8350 *wm8350 = data; in wm8350_charger_handler() local
253 struct wm8350 *wm8350 = dev_get_drvdata(psy->dev.parent); in wm8350_ac_get_prop() local
[all …]
/linux-4.4.14/drivers/mfd/
Dwm8350-core.c67 int wm8350_clear_bits(struct wm8350 *wm8350, u16 reg, u16 mask) in wm8350_clear_bits()
73 int wm8350_set_bits(struct wm8350 *wm8350, u16 reg, u16 mask) in wm8350_set_bits()
79 u16 wm8350_reg_read(struct wm8350 *wm8350, int reg) in wm8350_reg_read()
92 int wm8350_reg_write(struct wm8350 *wm8350, int reg, u16 val) in wm8350_reg_write()
104 int wm8350_block_read(struct wm8350 *wm8350, int start_reg, int regs, in wm8350_block_read()
118 int wm8350_block_write(struct wm8350 *wm8350, int start_reg, int regs, in wm8350_block_write()
139 int wm8350_reg_lock(struct wm8350 *wm8350) in wm8350_reg_lock()
168 int wm8350_reg_unlock(struct wm8350 *wm8350) in wm8350_reg_unlock()
188 int wm8350_read_auxadc(struct wm8350 *wm8350, int channel, int scale, int vref) in wm8350_read_auxadc()
243 struct wm8350 *wm8350 = irq_data; in wm8350_auxadc_irq() local
[all …]
Dwm8350-gpio.c23 static int gpio_set_dir(struct wm8350 *wm8350, int gpio, int dir) in gpio_set_dir()
40 static int wm8350_gpio_set_debounce(struct wm8350 *wm8350, int gpio, int db) in wm8350_gpio_set_debounce()
50 static int gpio_set_func(struct wm8350 *wm8350, int gpio, int func) in gpio_set_func()
143 static int gpio_set_pull_up(struct wm8350 *wm8350, int gpio, int up) in gpio_set_pull_up()
155 static int gpio_set_pull_down(struct wm8350 *wm8350, int gpio, int down) in gpio_set_pull_down()
167 static int gpio_set_polarity(struct wm8350 *wm8350, int gpio, int pol) in gpio_set_polarity()
179 static int gpio_set_invert(struct wm8350 *wm8350, int gpio, int invert) in gpio_set_invert()
188 int wm8350_gpio_config(struct wm8350 *wm8350, int gpio, int dir, int func, in wm8350_gpio_config()
Dwm8350-irq.c366 static inline struct wm8350_irq_data *irq_to_wm8350_irq(struct wm8350 *wm8350, in irq_to_wm8350_irq()
383 struct wm8350 *wm8350 = irq_data; in wm8350_irq() local
421 struct wm8350 *wm8350 = irq_data_get_irq_chip_data(data); in wm8350_irq_lock() local
428 struct wm8350 *wm8350 = irq_data_get_irq_chip_data(data); in wm8350_irq_sync_unlock() local
444 struct wm8350 *wm8350 = irq_data_get_irq_chip_data(data); in wm8350_irq_enable() local
453 struct wm8350 *wm8350 = irq_data_get_irq_chip_data(data); in wm8350_irq_disable() local
468 int wm8350_irq_init(struct wm8350 *wm8350, int irq, in wm8350_irq_init()
543 int wm8350_irq_exit(struct wm8350 *wm8350) in wm8350_irq_exit()
Dwm8350-i2c.c29 struct wm8350 *wm8350; in wm8350_i2c_probe() local
53 struct wm8350 *wm8350 = i2c_get_clientdata(i2c); in wm8350_i2c_remove() local
Dwm8350-regmap.c292 struct wm8350 *wm8350 = dev_get_drvdata(dev); in wm8350_writeable() local
/linux-4.4.14/drivers/regulator/
Dwm8350-regulator.c114 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); in wm8350_isink_set_current() local
145 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); in wm8350_isink_get_current() local
168 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); in wm8350_isink_enable() local
212 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); in wm8350_isink_disable() local
252 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); in wm8350_isink_is_enabled() local
268 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); in wm8350_isink_enable_time() local
311 int wm8350_isink_set_flash(struct wm8350 *wm8350, int isink, u16 mode, in wm8350_isink_set_flash()
337 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); in wm8350_dcdc_set_suspend_voltage() local
374 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); in wm8350_dcdc_set_suspend_enable() local
414 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); in wm8350_dcdc_set_suspend_disable() local
[all …]
/linux-4.4.14/drivers/rtc/
Drtc-wm8350.c40 struct wm8350 *wm8350 = dev_get_drvdata(dev); in wm8350_rtc_readtime() local
99 struct wm8350 *wm8350 = dev_get_drvdata(dev); in wm8350_rtc_settime() local
148 struct wm8350 *wm8350 = dev_get_drvdata(dev); in wm8350_rtc_readalarm() local
192 static int wm8350_rtc_stop_alarm(struct wm8350 *wm8350) in wm8350_rtc_stop_alarm()
216 static int wm8350_rtc_start_alarm(struct wm8350 *wm8350) in wm8350_rtc_start_alarm()
242 struct wm8350 *wm8350 = dev_get_drvdata(dev); in wm8350_rtc_alarm_irq_enable() local
252 struct wm8350 *wm8350 = dev_get_drvdata(dev); in wm8350_rtc_setalarm() local
307 struct wm8350 *wm8350 = data; in wm8350_rtc_alarm_handler() local
326 struct wm8350 *wm8350 = data; in wm8350_rtc_update_handler() local
346 struct wm8350 *wm8350 = dev_get_drvdata(&pdev->dev); in wm8350_rtc_suspend() local
[all …]
/linux-4.4.14/drivers/gpio/
Dgpio-wm8350.c27 struct wm8350 *wm8350; member
39 struct wm8350 *wm8350 = wm8350_gpio->wm8350; in wm8350_gpio_direction_in() local
48 struct wm8350 *wm8350 = wm8350_gpio->wm8350; in wm8350_gpio_get() local
64 struct wm8350 *wm8350 = wm8350_gpio->wm8350; in wm8350_gpio_set() local
76 struct wm8350 *wm8350 = wm8350_gpio->wm8350; in wm8350_gpio_direction_out() local
93 struct wm8350 *wm8350 = wm8350_gpio->wm8350; in wm8350_gpio_to_irq() local
114 struct wm8350 *wm8350 = dev_get_drvdata(pdev->dev.parent); in wm8350_gpio_probe() local
/linux-4.4.14/drivers/watchdog/
Dwm8350_wdt.c42 struct wm8350 *wm8350 = watchdog_get_drvdata(wdt_dev); in wm8350_wdt_set_timeout() local
69 struct wm8350 *wm8350 = watchdog_get_drvdata(wdt_dev); in wm8350_wdt_start() local
89 struct wm8350 *wm8350 = watchdog_get_drvdata(wdt_dev); in wm8350_wdt_stop() local
108 struct wm8350 *wm8350 = watchdog_get_drvdata(wdt_dev); in wm8350_wdt_ping() local
145 struct wm8350 *wm8350 = platform_get_drvdata(pdev); in wm8350_wdt_probe() local
/linux-4.4.14/sound/soc/codecs/
Dwm8350.c63 struct wm8350 *wm8350; member
81 struct wm8350 *wm8350 = wm8350_data->wm8350; in wm8350_out1_ramp_step() local
146 struct wm8350 *wm8350 = wm8350_data->wm8350; in wm8350_out2_ramp_step() local
758 struct wm8350 *wm8350 = wm8350_data->wm8350; in wm8350_set_dai_sysclk() local
912 struct wm8350 *wm8350 = wm8350_data->wm8350; in wm8350_pcm_hw_params() local
1029 struct wm8350 *wm8350 = priv->wm8350; in wm8350_set_fll() local
1081 struct wm8350 *wm8350 = priv->wm8350; in wm8350_set_bias_level() local
1244 struct wm8350 *wm8350 = priv->wm8350; in wm8350_hp_work() local
1277 struct wm8350 *wm8350 = priv->wm8350; in wm8350_hpl_jack_handler() local
1295 struct wm8350 *wm8350 = priv->wm8350; in wm8350_hpr_jack_handler() local
[all …]
/linux-4.4.14/include/linux/mfd/wm8350/
Dcore.h598 struct wm8350 { struct
615 struct wm8350_codec codec; argument
616 struct wm8350_gpio gpio; argument
617 struct wm8350_hwmon hwmon; argument
618 struct wm8350_pmic pmic; argument
619 struct wm8350_power power; argument
620 struct wm8350_rtc rtc; argument
621 struct wm8350_wdt wdt; argument
634 int (*init)(struct wm8350 *wm8350); argument
663 static inline int wm8350_register_irq(struct wm8350 *wm8350, int irq, in wm8350_register_irq()
[all …]
/linux-4.4.14/drivers/hwmon/
Dwm8350-hwmon.c40 struct wm8350 *wm8350 = dev_get_drvdata(dev); in show_voltage() local
83 struct wm8350 *wm8350 = platform_get_drvdata(pdev); in wm8350_hwmon_probe() local
/linux-4.4.14/arch/arm/mach-imx/
Dmach-mx31ads.c424 static int mx31_wm8350_init(struct wm8350 *wm8350) in mx31_wm8350_init()
/linux-4.4.14/arch/arm/mach-s3c64xx/
Dmach-smdk6410.c476 static int __init smdk6410_wm8350_init(struct wm8350 *wm8350) in smdk6410_wm8350_init()