/linux/drivers/power/supply/ |
A D | wm8350_power.c | 20 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() 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 451 static void free_charger_irq(struct wm8350 *wm8350) in free_charger_irq() 469 struct wm8350 *wm8350 = platform_get_drvdata(pdev); in wm8350_power_probe() local [all …]
|
/linux/drivers/regulator/ |
A D | wm8350-regulator.c | 96 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 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 433 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); in wm8350_dcdc_set_suspend_mode() local [all …]
|
/linux/drivers/rtc/ |
A D | rtc-wm8350.c | 33 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 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 356 struct wm8350 *wm8350 = dev_get_drvdata(dev); in wm8350_rtc_resume() local 371 struct wm8350 *wm8350 = platform_get_drvdata(pdev); in wm8350_rtc_probe() local [all …]
|
/linux/drivers/mfd/ |
A D | wm8350-core.c | 63 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() 243 struct wm8350 *wm8350 = irq_data; in wm8350_auxadc_irq() local 254 static void wm8350_client_dev_register(struct wm8350 *wm8350, in wm8350_client_dev_register() [all …]
|
A D | wm8350-gpio.c | 18 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()
|
A D | wm8350-irq.c | 361 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()
|
A D | wm8350-i2c.c | 22 struct wm8350 *wm8350; in wm8350_i2c_probe() local
|
A D | wm8350-regmap.c | 288 struct wm8350 *wm8350 = dev_get_drvdata(dev); in wm8350_writeable() local
|
/linux/drivers/gpio/ |
A D | gpio-wm8350.c | 23 struct wm8350 *wm8350; member 30 struct wm8350 *wm8350 = wm8350_gpio->wm8350; in wm8350_gpio_direction_in() local 39 struct wm8350 *wm8350 = wm8350_gpio->wm8350; in wm8350_gpio_get() local 55 struct wm8350 *wm8350 = wm8350_gpio->wm8350; in wm8350_gpio_set() local 67 struct wm8350 *wm8350 = wm8350_gpio->wm8350; in wm8350_gpio_direction_out() local 84 struct wm8350 *wm8350 = wm8350_gpio->wm8350; in wm8350_gpio_to_irq() local 105 struct wm8350 *wm8350 = dev_get_drvdata(pdev->dev.parent); in wm8350_gpio_probe() local
|
/linux/drivers/watchdog/ |
A D | wm8350_wdt.c | 39 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/sound/soc/codecs/ |
A D | wm8350.c | 60 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 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 1323 struct wm8350 *wm8350 = priv->wm8350; in wm8350_hp_jack_detect() local 1367 struct wm8350 *wm8350 = priv->wm8350; in wm8350_mic_handler() local [all …]
|
/linux/include/linux/mfd/wm8350/ |
A D | core.h | 593 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 674 static inline void wm8350_mask_irq(struct wm8350 *wm8350, int irq) in wm8350_mask_irq() [all …]
|
/linux/drivers/hwmon/ |
A D | wm8350-hwmon.c | 28 struct wm8350 *wm8350 = dev_get_drvdata(dev); in show_voltage() local 71 struct wm8350 *wm8350 = platform_get_drvdata(pdev); in wm8350_hwmon_probe() local
|
/linux/arch/arm/mach-s3c/ |
A D | mach-smdk6410.c | 467 static int __init smdk6410_wm8350_init(struct wm8350 *wm8350) in smdk6410_wm8350_init()
|