/linux-4.1.27/drivers/hwmon/ |
H A D | wm8350-hwmon.c | 40 struct wm8350 *wm8350 = dev_get_drvdata(dev); show_voltage() local 79 ATTRIBUTE_GROUPS(wm8350); variable 83 struct wm8350 *wm8350 = platform_get_drvdata(pdev); wm8350_hwmon_probe() local
|
/linux-4.1.27/drivers/mfd/ |
H A D | wm8350-i2c.c | 29 struct wm8350 *wm8350; wm8350_i2c_probe() local 53 struct wm8350 *wm8350 = i2c_get_clientdata(i2c); wm8350_i2c_remove() local
|
H A D | wm8350-regmap.c | 292 struct wm8350 *wm8350 = dev_get_drvdata(dev); wm8350_writeable() local
|
H A D | Makefile | |
H A D | wm8350-gpio.c | 23 static int gpio_set_dir(struct wm8350 *wm8350, int gpio, int dir) gpio_set_dir() argument 40 static int wm8350_gpio_set_debounce(struct wm8350 *wm8350, int gpio, int db) wm8350_gpio_set_debounce() argument 50 static int gpio_set_func(struct wm8350 *wm8350, int gpio, int func) gpio_set_func() argument 143 static int gpio_set_pull_up(struct wm8350 *wm8350, int gpio, int up) gpio_set_pull_up() argument 155 static int gpio_set_pull_down(struct wm8350 *wm8350, int gpio, int down) gpio_set_pull_down() argument 167 static int gpio_set_polarity(struct wm8350 *wm8350, int gpio, int pol) gpio_set_polarity() argument 179 static int gpio_set_invert(struct wm8350 *wm8350, int gpio, int invert) gpio_set_invert() argument 188 int wm8350_gpio_config(struct wm8350 *wm8350, int gpio, int dir, int func, wm8350_gpio_config() argument
|
H A D | wm8350-irq.c | 366 static inline struct wm8350_irq_data *irq_to_wm8350_irq(struct wm8350 *wm8350, irq_to_wm8350_irq() argument 383 struct wm8350 *wm8350 = irq_data; wm8350_irq() local 421 struct wm8350 *wm8350 = irq_data_get_irq_chip_data(data); wm8350_irq_lock() local 428 struct wm8350 *wm8350 = irq_data_get_irq_chip_data(data); wm8350_irq_sync_unlock() local 444 struct wm8350 *wm8350 = irq_data_get_irq_chip_data(data); wm8350_irq_enable() local 453 struct wm8350 *wm8350 = irq_data_get_irq_chip_data(data); wm8350_irq_disable() local 468 int wm8350_irq_init(struct wm8350 *wm8350, int irq, wm8350_irq_init() argument 549 int wm8350_irq_exit(struct wm8350 *wm8350) wm8350_irq_exit() argument
|
H A D | wm8350-core.c | 67 int wm8350_clear_bits(struct wm8350 *wm8350, u16 reg, u16 mask) wm8350_clear_bits() argument 73 int wm8350_set_bits(struct wm8350 *wm8350, u16 reg, u16 mask) wm8350_set_bits() argument 79 u16 wm8350_reg_read(struct wm8350 *wm8350, int reg) wm8350_reg_read() argument 92 int wm8350_reg_write(struct wm8350 *wm8350, int reg, u16 val) wm8350_reg_write() argument 104 int wm8350_block_read(struct wm8350 *wm8350, int start_reg, int regs, wm8350_block_read() argument 118 int wm8350_block_write(struct wm8350 *wm8350, int start_reg, int regs, wm8350_block_write() argument 139 int wm8350_reg_lock(struct wm8350 *wm8350) wm8350_reg_lock() argument 168 int wm8350_reg_unlock(struct wm8350 *wm8350) wm8350_reg_unlock() argument 188 int wm8350_read_auxadc(struct wm8350 *wm8350, int channel, int scale, int vref) wm8350_read_auxadc() argument 243 struct wm8350 *wm8350 = irq_data; wm8350_auxadc_irq() local 254 static void wm8350_client_dev_register(struct wm8350 *wm8350, wm8350_client_dev_register() argument 276 int wm8350_device_init(struct wm8350 *wm8350, int irq, wm8350_device_init() argument 445 void wm8350_device_exit(struct wm8350 *wm8350) wm8350_device_exit() argument
|
/linux-4.1.27/drivers/gpio/ |
H A D | gpio-wm8350.c | 27 struct wm8350 *wm8350; member in struct:wm8350_gpio_data 39 struct wm8350 *wm8350 = wm8350_gpio->wm8350; wm8350_gpio_direction_in() local 48 struct wm8350 *wm8350 = wm8350_gpio->wm8350; wm8350_gpio_get() local 64 struct wm8350 *wm8350 = wm8350_gpio->wm8350; wm8350_gpio_set() local 76 struct wm8350 *wm8350 = wm8350_gpio->wm8350; wm8350_gpio_direction_out() local 93 struct wm8350 *wm8350 = wm8350_gpio->wm8350; wm8350_gpio_to_irq() local 114 struct wm8350 *wm8350 = dev_get_drvdata(pdev->dev.parent); wm8350_gpio_probe() local
|
/linux-4.1.27/drivers/watchdog/ |
H A D | wm8350_wdt.c | 42 struct wm8350 *wm8350 = watchdog_get_drvdata(wdt_dev); wm8350_wdt_set_timeout() local 69 struct wm8350 *wm8350 = watchdog_get_drvdata(wdt_dev); wm8350_wdt_start() local 89 struct wm8350 *wm8350 = watchdog_get_drvdata(wdt_dev); wm8350_wdt_stop() local 108 struct wm8350 *wm8350 = watchdog_get_drvdata(wdt_dev); wm8350_wdt_ping() local 145 struct wm8350 *wm8350 = platform_get_drvdata(pdev); wm8350_wdt_probe() local
|
/linux-4.1.27/drivers/rtc/ |
H A D | rtc-wm8350.c | 40 struct wm8350 *wm8350 = dev_get_drvdata(dev); wm8350_rtc_readtime() local 99 struct wm8350 *wm8350 = dev_get_drvdata(dev); wm8350_rtc_settime() local 148 struct wm8350 *wm8350 = dev_get_drvdata(dev); wm8350_rtc_readalarm() local 192 static int wm8350_rtc_stop_alarm(struct wm8350 *wm8350) wm8350_rtc_stop_alarm() argument 216 static int wm8350_rtc_start_alarm(struct wm8350 *wm8350) wm8350_rtc_start_alarm() argument 242 struct wm8350 *wm8350 = dev_get_drvdata(dev); wm8350_rtc_alarm_irq_enable() local 252 struct wm8350 *wm8350 = dev_get_drvdata(dev); wm8350_rtc_setalarm() local 307 struct wm8350 *wm8350 = data; wm8350_rtc_alarm_handler() local 326 struct wm8350 *wm8350 = data; wm8350_rtc_update_handler() local 346 struct wm8350 *wm8350 = dev_get_drvdata(&pdev->dev); wm8350_rtc_suspend() local 366 struct wm8350 *wm8350 = dev_get_drvdata(&pdev->dev); wm8350_rtc_resume() local 382 struct wm8350 *wm8350 = platform_get_drvdata(pdev); wm8350_rtc_probe() local 460 struct wm8350 *wm8350 = platform_get_drvdata(pdev); wm8350_rtc_remove() local
|
/linux-4.1.27/drivers/power/ |
H A D | wm8350_power.c | 23 static int wm8350_read_battery_uvolts(struct wm8350 *wm8350) wm8350_read_battery_uvolts() argument 29 static int wm8350_read_line_uvolts(struct wm8350 *wm8350) wm8350_read_line_uvolts() argument 35 static int wm8350_read_usb_uvolts(struct wm8350 *wm8350) wm8350_read_usb_uvolts() argument 45 static inline int wm8350_charge_time_min(struct wm8350 *wm8350, int min) wm8350_charge_time_min() argument 53 static int wm8350_get_supplies(struct wm8350 *wm8350) wm8350_get_supplies() argument 89 static int wm8350_charger_config(struct wm8350 *wm8350, wm8350_charger_config() argument 139 static int wm8350_batt_status(struct wm8350 *wm8350) wm8350_batt_status() argument 162 struct wm8350 *wm8350 = dev_get_drvdata(dev); charger_state_show() local 189 struct wm8350 *wm8350 = data; wm8350_charger_handler() local 253 struct wm8350 *wm8350 = dev_get_drvdata(psy->dev.parent); wm8350_ac_get_prop() local 283 struct wm8350 *wm8350 = dev_get_drvdata(psy->dev.parent); wm8350_usb_get_prop() local 310 static int wm8350_bat_check_health(struct wm8350 *wm8350) wm8350_bat_check_health() argument 327 static int wm8350_bat_get_charge_type(struct wm8350 *wm8350) wm8350_bat_get_charge_type() argument 349 struct wm8350 *wm8350 = dev_get_drvdata(psy->dev.parent); wm8350_bat_get_property() local 413 static void wm8350_init_charger(struct wm8350 *wm8350) wm8350_init_charger() argument 453 static void free_charger_irq(struct wm8350 *wm8350) free_charger_irq() argument 471 struct wm8350 *wm8350 = platform_get_drvdata(pdev); wm8350_power_probe() local 517 struct wm8350 *wm8350 = platform_get_drvdata(pdev); wm8350_power_remove() local
|
/linux-4.1.27/arch/arm/mach-s3c64xx/ |
H A D | mach-smdk6410.c | 475 static int __init smdk6410_wm8350_init(struct wm8350 *wm8350) smdk6410_wm8350_init() argument
|
/linux-4.1.27/arch/arm/mach-imx/ |
H A D | mach-mx31ads.c | 424 static int mx31_wm8350_init(struct wm8350 *wm8350) mx31_wm8350_init() argument
|
/linux-4.1.27/drivers/regulator/ |
H A D | wm8350-regulator.c | 114 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); wm8350_isink_set_current() local 145 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); wm8350_isink_get_current() local 168 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); wm8350_isink_enable() local 212 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); wm8350_isink_disable() local 252 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); wm8350_isink_is_enabled() local 268 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); wm8350_isink_enable_time() local 311 int wm8350_isink_set_flash(struct wm8350 *wm8350, int isink, u16 mode, wm8350_isink_set_flash() argument 337 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); wm8350_dcdc_set_suspend_voltage() local 374 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); wm8350_dcdc_set_suspend_enable() local 414 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); wm8350_dcdc_set_suspend_disable() local 454 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); wm8350_dcdc25_set_suspend_enable() local 479 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); wm8350_dcdc25_set_suspend_disable() local 505 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); wm8350_dcdc_set_suspend_mode() local 552 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); wm8350_ldo_set_suspend_voltage() local 587 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); wm8350_ldo_set_suspend_enable() local 616 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); wm8350_ldo_set_suspend_disable() local 643 int wm8350_dcdc_set_slot(struct wm8350 *wm8350, int dcdc, u16 start, wm8350_dcdc_set_slot() argument 691 int wm8350_ldo_set_slot(struct wm8350 *wm8350, int ldo, u16 start, u16 stop) wm8350_ldo_set_slot() argument 726 int wm8350_dcdc25_set_mode(struct wm8350 *wm8350, int dcdc, u16 mode, wm8350_dcdc25_set_mode() argument 763 static int force_continuous_enable(struct wm8350 *wm8350, int dcdc, int enable) force_continuous_enable() argument 795 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); wm8350_dcdc_set_mode() local 838 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); wm8350_dcdc_get_mode() local 1171 struct wm8350 *wm8350 = dev_get_drvdata(&pdev->dev); wm8350_regulator_probe() local 1229 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); wm8350_regulator_remove() local 1236 int wm8350_register_regulator(struct wm8350 *wm8350, int reg, wm8350_register_regulator() argument 1295 int wm8350_register_led(struct wm8350 *wm8350, int lednum, int dcdc, int isink, wm8350_register_led() argument
|
/linux-4.1.27/sound/soc/codecs/ |
H A D | wm8350.c | 63 struct wm8350 *wm8350; member in struct:wm8350_data 81 struct wm8350 *wm8350 = wm8350_data->wm8350; wm8350_out1_ramp_step() local 146 struct wm8350 *wm8350 = wm8350_data->wm8350; wm8350_out2_ramp_step() local 759 struct wm8350 *wm8350 = wm8350_data->wm8350; wm8350_set_dai_sysclk() local 913 struct wm8350 *wm8350 = wm8350_data->wm8350; wm8350_pcm_hw_params() local 1030 struct wm8350 *wm8350 = priv->wm8350; wm8350_set_fll() local 1082 struct wm8350 *wm8350 = priv->wm8350; wm8350_set_bias_level() local 1246 struct wm8350 *wm8350 = priv->wm8350; wm8350_hp_work() local 1279 struct wm8350 *wm8350 = priv->wm8350; wm8350_hpl_jack_handler() local 1297 struct wm8350 *wm8350 = priv->wm8350; wm8350_hpr_jack_handler() local 1327 struct wm8350 *wm8350 = priv->wm8350; wm8350_hp_jack_detect() local 1371 struct wm8350 *wm8350 = priv->wm8350; wm8350_mic_handler() local 1407 struct wm8350 *wm8350 = priv->wm8350; wm8350_mic_jack_detect() local 1462 struct wm8350 *wm8350 = dev_get_platdata(codec->dev); wm8350_codec_probe() local 1558 struct wm8350 *wm8350 = dev_get_platdata(codec->dev); wm8350_codec_remove() local 1587 struct wm8350 *wm8350 = dev_get_platdata(dev); wm8350_get_regmap() local
|
H A D | Makefile | |
/linux-4.1.27/include/linux/mfd/wm8350/ |
H A D | core.h | 598 struct wm8350 { struct 663 static inline int wm8350_register_irq(struct wm8350 *wm8350, int irq, wm8350_register_irq() argument 675 static inline void wm8350_free_irq(struct wm8350 *wm8350, int irq, void *data) wm8350_free_irq() argument 680 static inline void wm8350_mask_irq(struct wm8350 *wm8350, int irq) wm8350_mask_irq() argument 685 static inline void wm8350_unmask_irq(struct wm8350 *wm8350, int irq) wm8350_unmask_irq() argument
|