Home
last modified time | relevance | path

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

/linux-3.3/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-3.3/drivers/regulator/
Dwm8350-regulator.c141 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); in wm8350_isink_set_current() local
172 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); in wm8350_isink_get_current() local
195 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); in wm8350_isink_enable() local
239 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); in wm8350_isink_disable() local
279 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); in wm8350_isink_is_enabled() local
295 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); in wm8350_isink_enable_time() local
338 int wm8350_isink_set_flash(struct wm8350 *wm8350, int isink, u16 mode, in wm8350_isink_set_flash()
365 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); in wm8350_dcdc_set_voltage() local
410 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); in wm8350_dcdc_get_voltage_sel() local
446 struct wm8350 *wm8350 = rdev_get_drvdata(rdev); in wm8350_dcdc_set_suspend_voltage() local
[all …]
/linux-3.3/drivers/mfd/
Dwm8350-core.c70 static int wm8350_phys_read(struct wm8350 *wm8350, u8 reg, int num_regs, in wm8350_phys_read()
92 static int wm8350_read(struct wm8350 *wm8350, u8 reg, int num_regs, u16 *dest) in wm8350_read()
132 static inline int is_reg_locked(struct wm8350 *wm8350, u8 reg) in is_reg_locked()
146 static int wm8350_write(struct wm8350 *wm8350, u8 reg, int num_regs, u16 *src) in wm8350_write()
191 int wm8350_clear_bits(struct wm8350 *wm8350, u16 reg, u16 mask) in wm8350_clear_bits()
213 int wm8350_set_bits(struct wm8350 *wm8350, u16 reg, u16 mask) in wm8350_set_bits()
235 u16 wm8350_reg_read(struct wm8350 *wm8350, int reg) in wm8350_reg_read()
250 int wm8350_reg_write(struct wm8350 *wm8350, int reg, u16 val) in wm8350_reg_write()
264 int wm8350_block_read(struct wm8350 *wm8350, int start_reg, int regs, in wm8350_block_read()
279 int wm8350_block_write(struct wm8350 *wm8350, int start_reg, int regs, in wm8350_block_write()
[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.c367 static inline struct wm8350_irq_data *irq_to_wm8350_irq(struct wm8350 *wm8350, in irq_to_wm8350_irq()
384 struct wm8350 *wm8350 = irq_data; in wm8350_irq() local
422 struct wm8350 *wm8350 = irq_data_get_irq_chip_data(data); in wm8350_irq_lock() local
429 struct wm8350 *wm8350 = irq_data_get_irq_chip_data(data); in wm8350_irq_sync_unlock() local
447 struct wm8350 *wm8350 = irq_data_get_irq_chip_data(data); in wm8350_irq_enable() local
456 struct wm8350 *wm8350 = irq_data_get_irq_chip_data(data); in wm8350_irq_disable() local
471 int wm8350_irq_init(struct wm8350 *wm8350, int irq, in wm8350_irq_init()
551 int wm8350_irq_exit(struct wm8350 *wm8350) in wm8350_irq_exit()
Dwm8350-i2c.c24 static int wm8350_i2c_read_device(struct wm8350 *wm8350, char reg, in wm8350_i2c_read_device()
40 static int wm8350_i2c_write_device(struct wm8350 *wm8350, char reg, in wm8350_i2c_write_device()
63 struct wm8350 *wm8350; in wm8350_i2c_probe() local
88 struct wm8350 *wm8350 = i2c_get_clientdata(i2c); in wm8350_i2c_remove() local
/linux-3.3/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-3.3/drivers/watchdog/
Dwm8350_wdt.c47 static int wm8350_wdt_set_timeout(struct wm8350 *wm8350, u16 value) in wm8350_wdt_set_timeout()
66 static int wm8350_wdt_start(struct wm8350 *wm8350) in wm8350_wdt_start()
85 static int wm8350_wdt_stop(struct wm8350 *wm8350) in wm8350_wdt_stop()
103 static int wm8350_wdt_kick(struct wm8350 *wm8350) in wm8350_wdt_kick()
120 struct wm8350 *wm8350 = get_wm8350(); in wm8350_wdt_open() local
138 struct wm8350 *wm8350 = get_wm8350(); in wm8350_wdt_release() local
156 struct wm8350 *wm8350 = get_wm8350(); in wm8350_wdt_write() local
188 struct wm8350 *wm8350 = get_wm8350(); in wm8350_wdt_ioctl() local
284 struct wm8350 *wm8350 = platform_get_drvdata(pdev); in wm8350_wdt_probe() local
/linux-3.3/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-3.3/sound/soc/codecs/
Dwm8350.c77 struct wm8350 *wm8350 = codec->control_data; in wm8350_codec_cache_read() local
84 struct wm8350 *wm8350 = codec->control_data; in wm8350_codec_read() local
91 struct wm8350 *wm8350 = codec->control_data; in wm8350_codec_write() local
102 struct wm8350 *wm8350 = codec->control_data; in wm8350_out1_ramp_step() local
168 struct wm8350 *wm8350 = codec->control_data; in wm8350_out2_ramp_step() local
784 struct wm8350 *wm8350 = codec->control_data; in wm8350_set_dai_sysclk() local
969 struct wm8350 *wm8350 = codec->control_data; in wm8350_pcm_hw_params() local
1008 struct wm8350 *wm8350 = codec->control_data; in wm8350_mute() local
1082 struct wm8350 *wm8350 = codec->control_data; in wm8350_set_fll() local
1134 struct wm8350 *wm8350 = codec->control_data; in wm8350_set_bias_level() local
[all …]
/linux-3.3/include/linux/mfd/wm8350/
Dcore.h611 struct wm8350 { struct
619 int (*read_dev)(struct wm8350 *wm8350, char reg, int size, void *dest); argument
620 int (*write_dev)(struct wm8350 *wm8350, char reg, int size, argument
634 struct wm8350_codec codec; argument
635 struct wm8350_gpio gpio; argument
636 struct wm8350_hwmon hwmon; argument
637 struct wm8350_pmic pmic; argument
638 struct wm8350_power power; argument
639 struct wm8350_rtc rtc; argument
640 struct wm8350_wdt wdt; argument
[all …]
/linux-3.3/drivers/hwmon/
Dwm8350-hwmon.c47 struct wm8350 *wm8350 = dev_get_drvdata(dev); in show_voltage() local
96 struct wm8350 *wm8350 = platform_get_drvdata(pdev); in wm8350_hwmon_probe() local
119 struct wm8350 *wm8350 = platform_get_drvdata(pdev); in wm8350_hwmon_remove() local
/linux-3.3/arch/arm/mach-s3c64xx/
Dmach-smdk6410.c478 static int __init smdk6410_wm8350_init(struct wm8350 *wm8350) in smdk6410_wm8350_init()
/linux-3.3/arch/arm/mach-imx/
Dmach-mx31ads.c384 static int mx31_wm8350_init(struct wm8350 *wm8350) in mx31_wm8350_init()