Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/power/supply/
Dwm8350_power.c20 static int wm8350_read_battery_uvolts(struct wm8350 *wm8350) in wm8350_read_battery_uvolts()
26 static int wm8350_read_line_uvolts(struct wm8350 *wm8350) in wm8350_read_line_uvolts()
32 static int wm8350_read_usb_uvolts(struct wm8350 *wm8350) in wm8350_read_usb_uvolts()
42 static inline int wm8350_charge_time_min(struct wm8350 *wm8350, int min) in wm8350_charge_time_min()
50 static int wm8350_get_supplies(struct wm8350 *wm8350) in wm8350_get_supplies()
86 static int wm8350_charger_config(struct wm8350 *wm8350, in wm8350_charger_config()
136 static int wm8350_batt_status(struct wm8350 *wm8350) in wm8350_batt_status()
159 struct wm8350 *wm8350 = dev_get_drvdata(dev); in charger_state_show() local
186 struct wm8350 *wm8350 = data; in wm8350_charger_handler() local
251 struct wm8350 *wm8350 = dev_get_drvdata(psy->dev.parent); in wm8350_ac_get_prop() local
[all …]
/Linux-v6.6/drivers/regulator/
Dwm8350-regulator.c96 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); in wm8350_isink_enable() local
140 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); in wm8350_isink_disable() local
180 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); in wm8350_isink_is_enabled() local
196 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); in wm8350_isink_enable_time() local
239 int wm8350_isink_set_flash(struct wm8350 *wm8350, int isink, u16 mode, in wm8350_isink_set_flash()
265 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); in wm8350_dcdc_set_suspend_voltage() local
302 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); in wm8350_dcdc_set_suspend_enable() local
342 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); in wm8350_dcdc_set_suspend_disable() local
382 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); in wm8350_dcdc25_set_suspend_enable() local
407 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); in wm8350_dcdc25_set_suspend_disable() local
[all …]
/Linux-v6.6/drivers/rtc/
Drtc-wm8350.c33 struct wm8350 *wm8350 = dev_get_drvdata(dev); in wm8350_rtc_readtime() local
92 struct wm8350 *wm8350 = dev_get_drvdata(dev); in wm8350_rtc_settime() local
141 struct wm8350 *wm8350 = dev_get_drvdata(dev); in wm8350_rtc_readalarm() local
185 static int wm8350_rtc_stop_alarm(struct wm8350 *wm8350) in wm8350_rtc_stop_alarm()
209 static int wm8350_rtc_start_alarm(struct wm8350 *wm8350) in wm8350_rtc_start_alarm()
235 struct wm8350 *wm8350 = dev_get_drvdata(dev); in wm8350_rtc_alarm_irq_enable() local
245 struct wm8350 *wm8350 = dev_get_drvdata(dev); in wm8350_rtc_setalarm() local
300 struct wm8350 *wm8350 = data; in wm8350_rtc_alarm_handler() local
319 struct wm8350 *wm8350 = data; in wm8350_rtc_update_handler() local
338 struct wm8350 *wm8350 = dev_get_drvdata(dev); in wm8350_rtc_suspend() local
[all …]
/Linux-v6.6/drivers/mfd/
Dwm8350-core.c63 int wm8350_clear_bits(struct wm8350 *wm8350, u16 reg, u16 mask) in wm8350_clear_bits()
69 int wm8350_set_bits(struct wm8350 *wm8350, u16 reg, u16 mask) in wm8350_set_bits()
75 u16 wm8350_reg_read(struct wm8350 *wm8350, int reg) in wm8350_reg_read()
88 int wm8350_reg_write(struct wm8350 *wm8350, int reg, u16 val) in wm8350_reg_write()
100 int wm8350_block_read(struct wm8350 *wm8350, int start_reg, int regs, in wm8350_block_read()
114 int wm8350_block_write(struct wm8350 *wm8350, int start_reg, int regs, in wm8350_block_write()
137 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.c18 static int gpio_set_dir(struct wm8350 *wm8350, int gpio, int dir) in gpio_set_dir()
35 static int wm8350_gpio_set_debounce(struct wm8350 *wm8350, int gpio, int db) in wm8350_gpio_set_debounce()
45 static int gpio_set_func(struct wm8350 *wm8350, int gpio, int func) in gpio_set_func()
138 static int gpio_set_pull_up(struct wm8350 *wm8350, int gpio, int up) in gpio_set_pull_up()
150 static int gpio_set_pull_down(struct wm8350 *wm8350, int gpio, int down) in gpio_set_pull_down()
162 static int gpio_set_polarity(struct wm8350 *wm8350, int gpio, int pol) in gpio_set_polarity()
174 static int gpio_set_invert(struct wm8350 *wm8350, int gpio, int invert) in gpio_set_invert()
183 int wm8350_gpio_config(struct wm8350 *wm8350, int gpio, int dir, int func, in wm8350_gpio_config()
Dwm8350-irq.c361 static inline struct wm8350_irq_data *irq_to_wm8350_irq(struct wm8350 *wm8350, in irq_to_wm8350_irq()
378 struct wm8350 *wm8350 = irq_data; in wm8350_irq() local
416 struct wm8350 *wm8350 = irq_data_get_irq_chip_data(data); in wm8350_irq_lock() local
423 struct wm8350 *wm8350 = irq_data_get_irq_chip_data(data); in wm8350_irq_sync_unlock() local
439 struct wm8350 *wm8350 = irq_data_get_irq_chip_data(data); in wm8350_irq_enable() local
448 struct wm8350 *wm8350 = irq_data_get_irq_chip_data(data); in wm8350_irq_disable() local
463 int wm8350_irq_init(struct wm8350 *wm8350, int irq, in wm8350_irq_init()
538 int wm8350_irq_exit(struct wm8350 *wm8350) in wm8350_irq_exit()
Dwm8350-i2c.c21 struct wm8350 *wm8350; in wm8350_i2c_probe() local
Dwm8350-regmap.c288 struct wm8350 *wm8350 = dev_get_drvdata(dev); in wm8350_writeable() local
/Linux-v6.6/drivers/gpio/
Dgpio-wm8350.c22 struct wm8350 *wm8350; member
29 struct wm8350 *wm8350 = wm8350_gpio->wm8350; in wm8350_gpio_direction_in() local
38 struct wm8350 *wm8350 = wm8350_gpio->wm8350; in wm8350_gpio_get() local
54 struct wm8350 *wm8350 = wm8350_gpio->wm8350; in wm8350_gpio_set() local
66 struct wm8350 *wm8350 = wm8350_gpio->wm8350; in wm8350_gpio_direction_out() local
83 struct wm8350 *wm8350 = wm8350_gpio->wm8350; in wm8350_gpio_to_irq() local
104 struct wm8350 *wm8350 = dev_get_drvdata(pdev->dev.parent); in wm8350_gpio_probe() local
/Linux-v6.6/drivers/watchdog/
Dwm8350_wdt.c39 struct wm8350 *wm8350 = watchdog_get_drvdata(wdt_dev); in wm8350_wdt_set_timeout() local
66 struct wm8350 *wm8350 = watchdog_get_drvdata(wdt_dev); in wm8350_wdt_start() local
86 struct wm8350 *wm8350 = watchdog_get_drvdata(wdt_dev); in wm8350_wdt_stop() local
105 struct wm8350 *wm8350 = watchdog_get_drvdata(wdt_dev); in wm8350_wdt_ping() local
142 struct wm8350 *wm8350 = platform_get_drvdata(pdev); in wm8350_wdt_probe() local
/Linux-v6.6/sound/soc/codecs/
Dwm8350.c60 struct wm8350 *wm8350; member
78 struct wm8350 *wm8350 = wm8350_data->wm8350; in wm8350_out1_ramp_step() local
143 struct wm8350 *wm8350 = wm8350_data->wm8350; in wm8350_out2_ramp_step() local
756 struct wm8350 *wm8350 = wm8350_data->wm8350; in wm8350_set_dai_sysclk() local
910 struct wm8350 *wm8350 = wm8350_data->wm8350; in wm8350_pcm_hw_params() local
1027 struct wm8350 *wm8350 = priv->wm8350; in wm8350_set_fll() local
1079 struct wm8350 *wm8350 = priv->wm8350; in wm8350_set_bias_level() local
1242 struct wm8350 *wm8350 = priv->wm8350; in wm8350_hp_work() local
1275 struct wm8350 *wm8350 = priv->wm8350; in wm8350_hpl_jack_handler() local
1293 struct wm8350 *wm8350 = priv->wm8350; in wm8350_hpr_jack_handler() local
[all …]
/Linux-v6.6/include/linux/mfd/wm8350/
Dcore.h593 struct wm8350 { struct
610 struct wm8350_codec codec; argument
611 struct wm8350_gpio gpio; argument
612 struct wm8350_hwmon hwmon; argument
613 struct wm8350_pmic pmic; argument
614 struct wm8350_power power; argument
615 struct wm8350_rtc rtc; argument
616 struct wm8350_wdt wdt; argument
629 int (*init)(struct wm8350 *wm8350); argument
657 static inline int wm8350_register_irq(struct wm8350 *wm8350, int irq, in wm8350_register_irq()
[all …]
/Linux-v6.6/drivers/hwmon/
Dwm8350-hwmon.c28 struct wm8350 *wm8350 = dev_get_drvdata(dev); in show_voltage() local
71 struct wm8350 *wm8350 = platform_get_drvdata(pdev); in wm8350_hwmon_probe() local