Home
last modified time | relevance | path

Searched defs:wm831x (Results 1 – 21 of 21) sorted by relevance

/linux-3.4.99/drivers/mfd/
Dwm831x-irq.c328 static inline struct wm831x_irq_data *irq_to_wm831x_irq(struct wm831x *wm831x, in irq_to_wm831x_irq()
336 struct wm831x *wm831x = irq_data_get_irq_chip_data(data); in wm831x_irq_lock() local
343 struct wm831x *wm831x = irq_data_get_irq_chip_data(data); in wm831x_irq_sync_unlock() local
375 struct wm831x *wm831x = irq_data_get_irq_chip_data(data); in wm831x_irq_enable() local
384 struct wm831x *wm831x = irq_data_get_irq_chip_data(data); in wm831x_irq_disable() local
393 struct wm831x *wm831x = irq_data_get_irq_chip_data(data); in wm831x_irq_set_type() local
452 struct wm831x *wm831x = data; in wm831x_irq_thread() local
530 int wm831x_irq_init(struct wm831x *wm831x, int irq) in wm831x_irq_init()
619 void wm831x_irq_exit(struct wm831x *wm831x) in wm831x_irq_exit()
Dwm831x-core.c94 static int wm831x_reg_locked(struct wm831x *wm831x, unsigned short reg) in wm831x_reg_locked()
120 void wm831x_reg_lock(struct wm831x *wm831x) in wm831x_reg_lock()
146 int wm831x_reg_unlock(struct wm831x *wm831x) in wm831x_reg_unlock()
346 struct wm831x *wm831x = dev_get_drvdata(dev); in wm831x_reg_writeable() local
517 int wm831x_reg_read(struct wm831x *wm831x, unsigned short reg) in wm831x_reg_read()
539 int wm831x_bulk_read(struct wm831x *wm831x, unsigned short reg, in wm831x_bulk_read()
546 static int wm831x_write(struct wm831x *wm831x, unsigned short reg, in wm831x_write()
576 int wm831x_reg_write(struct wm831x *wm831x, unsigned short reg, in wm831x_reg_write()
599 int wm831x_set_bits(struct wm831x *wm831x, unsigned short reg, in wm831x_set_bits()
1619 int wm831x_device_init(struct wm831x *wm831x, unsigned long id, int irq) in wm831x_device_init()
[all …]
Dwm831x-auxadc.c36 static int wm831x_auxadc_read_irq(struct wm831x *wm831x, in wm831x_auxadc_read_irq()
115 struct wm831x *wm831x = irq_data; in wm831x_auxadc_irq() local
158 static int wm831x_auxadc_read_polled(struct wm831x *wm831x, in wm831x_auxadc_read_polled()
250 int wm831x_auxadc_read(struct wm831x *wm831x, enum wm831x_auxadc input) in wm831x_auxadc_read()
262 int wm831x_auxadc_read_uv(struct wm831x *wm831x, enum wm831x_auxadc input) in wm831x_auxadc_read_uv()
276 void wm831x_auxadc_init(struct wm831x *wm831x) in wm831x_auxadc_init()
Dwm831x-otp.c30 static int wm831x_unique_id_read(struct wm831x *wm831x, char *id) in wm831x_unique_id_read()
49 struct wm831x *wm831x = dev_get_drvdata(dev); in wm831x_unique_id_show() local
68 int wm831x_otp_init(struct wm831x *wm831x) in wm831x_otp_init()
87 void wm831x_otp_exit(struct wm831x *wm831x) in wm831x_otp_exit()
Dwm831x-i2c.c30 struct wm831x *wm831x; in wm831x_i2c_probe() local
53 struct wm831x *wm831x = i2c_get_clientdata(i2c); in wm831x_i2c_remove() local
62 struct wm831x *wm831x = dev_get_drvdata(dev); in wm831x_i2c_suspend() local
69 struct wm831x *wm831x = i2c_get_clientdata(i2c); in wm831x_i2c_shutdown() local
Dwm831x-spi.c27 struct wm831x *wm831x; in wm831x_spi_probe() local
56 struct wm831x *wm831x = dev_get_drvdata(&spi->dev); in wm831x_spi_remove() local
65 struct wm831x *wm831x = dev_get_drvdata(dev); in wm831x_spi_suspend() local
72 struct wm831x *wm831x = dev_get_drvdata(&spi->dev); in wm831x_spi_shutdown() local
/linux-3.4.99/drivers/power/
Dwm831x_power.c23 struct wm831x *wm831x; member
33 static int wm831x_power_check_online(struct wm831x *wm831x, int supply, in wm831x_power_check_online()
50 static int wm831x_power_read_voltage(struct wm831x *wm831x, in wm831x_power_read_voltage()
71 struct wm831x *wm831x = wm831x_power->wm831x; in wm831x_wall_get_prop() local
102 struct wm831x *wm831x = wm831x_power->wm831x; in wm831x_usb_get_prop() local
197 static void wm831x_battey_apply_config(struct wm831x *wm831x, in wm831x_battey_apply_config()
216 static void wm831x_config_battery(struct wm831x *wm831x) in wm831x_config_battery()
294 static int wm831x_bat_check_status(struct wm831x *wm831x, int *status) in wm831x_bat_check_status()
328 static int wm831x_bat_check_type(struct wm831x *wm831x, int *type) in wm831x_bat_check_type()
353 static int wm831x_bat_check_health(struct wm831x *wm831x, int *health) in wm831x_bat_check_health()
[all …]
Dwm831x_backup.c23 struct wm831x *wm831x; member
28 static int wm831x_backup_read_voltage(struct wm831x *wm831x, in wm831x_backup_read_voltage()
45 static void wm831x_config_backup(struct wm831x *wm831x) in wm831x_config_backup()
119 struct wm831x *wm831x = devdata->wm831x; in wm831x_backup_get_prop() local
166 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); in wm831x_backup_probe() local
/linux-3.4.99/drivers/gpio/
Dgpio-wm831x.c29 struct wm831x *wm831x; member
41 struct wm831x *wm831x = wm831x_gpio->wm831x; in wm831x_gpio_direction_in() local
55 struct wm831x *wm831x = wm831x_gpio->wm831x; in wm831x_gpio_get() local
71 struct wm831x *wm831x = wm831x_gpio->wm831x; in wm831x_gpio_set() local
81 struct wm831x *wm831x = wm831x_gpio->wm831x; in wm831x_gpio_direction_out() local
103 struct wm831x *wm831x = wm831x_gpio->wm831x; in wm831x_gpio_to_irq() local
115 struct wm831x *wm831x = wm831x_gpio->wm831x; in wm831x_gpio_set_debounce() local
146 struct wm831x *wm831x = wm831x_gpio->wm831x; in wm831x_gpio_dbg_show() local
250 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); in wm831x_gpio_probe() local
/linux-3.4.99/drivers/regulator/
Dwm831x-dcdc.c55 struct wm831x *wm831x; member
66 struct wm831x *wm831x = dcdc->wm831x; in wm831x_dcdc_is_enabled() local
83 struct wm831x *wm831x = dcdc->wm831x; in wm831x_dcdc_enable() local
92 struct wm831x *wm831x = dcdc->wm831x; in wm831x_dcdc_disable() local
102 struct wm831x *wm831x = dcdc->wm831x; in wm831x_dcdc_get_mode() local
127 static int wm831x_dcdc_set_mode_int(struct wm831x *wm831x, int reg, in wm831x_dcdc_set_mode_int()
156 struct wm831x *wm831x = dcdc->wm831x; in wm831x_dcdc_set_mode() local
166 struct wm831x *wm831x = dcdc->wm831x; in wm831x_dcdc_set_suspend_mode() local
175 struct wm831x *wm831x = dcdc->wm831x; in wm831x_dcdc_get_status() local
292 struct wm831x *wm831x = dcdc->wm831x; in wm831x_buckv_set_voltage() local
[all …]
Dwm831x-ldo.c41 struct wm831x *wm831x; member
52 struct wm831x *wm831x = ldo->wm831x; in wm831x_ldo_is_enabled() local
69 struct wm831x *wm831x = ldo->wm831x; in wm831x_ldo_enable() local
78 struct wm831x *wm831x = ldo->wm831x; in wm831x_ldo_disable() local
120 struct wm831x *wm831x = ldo->wm831x; in wm831x_gp_ldo_set_voltage_int() local
166 struct wm831x *wm831x = ldo->wm831x; in wm831x_gp_ldo_get_voltage_sel() local
182 struct wm831x *wm831x = ldo->wm831x; in wm831x_gp_ldo_get_mode() local
208 struct wm831x *wm831x = ldo->wm831x; in wm831x_gp_ldo_set_mode() local
259 struct wm831x *wm831x = ldo->wm831x; in wm831x_gp_ldo_get_status() local
311 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); in wm831x_gp_ldo_probe() local
[all …]
Dwm831x-isink.c34 struct wm831x *wm831x; member
41 struct wm831x *wm831x = isink->wm831x; in wm831x_isink_enable() local
63 struct wm831x *wm831x = isink->wm831x; in wm831x_isink_disable() local
81 struct wm831x *wm831x = isink->wm831x; in wm831x_isink_is_enabled() local
99 struct wm831x *wm831x = isink->wm831x; in wm831x_isink_set_current() local
117 struct wm831x *wm831x = isink->wm831x; in wm831x_isink_get_current() local
153 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); in wm831x_isink_probe() local
/linux-3.4.99/drivers/watchdog/
Dwm831x_wdt.c33 struct wm831x *wm831x; member
57 struct wm831x *wm831x = driver_data->wm831x; in wm831x_wdt_start() local
80 struct wm831x *wm831x = driver_data->wm831x; in wm831x_wdt_stop() local
103 struct wm831x *wm831x = driver_data->wm831x; in wm831x_wdt_ping() local
146 struct wm831x *wm831x = driver_data->wm831x; in wm831x_wdt_set_timeout() local
186 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); in wm831x_wdt_probe() local
/linux-3.4.99/include/linux/mfd/wm831x/
Dcore.h361 struct wm831x { struct
362 struct mutex io_lock;
364 struct device *dev;
366 struct regmap *regmap;
390 wm831x_auxadc_read_fn auxadc_read; argument
402 int wm831x_reg_read(struct wm831x *wm831x, unsigned short reg); argument
/linux-3.4.99/drivers/input/touchscreen/
Dwm831x-ts.c66 struct wm831x *wm831x; member
91 struct wm831x *wm831x = wm831x_ts->wm831x; in wm831x_ts_data_irq() local
163 struct wm831x *wm831x = wm831x_ts->wm831x; in wm831x_ts_pen_down_irq() local
194 struct wm831x *wm831x = wm831x_ts->wm831x; in wm831x_ts_input_open() local
210 struct wm831x *wm831x = wm831x_ts->wm831x; in wm831x_ts_input_close() local
239 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); in wm831x_ts_probe() local
/linux-3.4.99/drivers/input/misc/
Dwm831x-on.c34 struct wm831x *wm831x; member
45 struct wm831x *wm831x = wm831x_on->wm831x; in wm831x_poll_on() local
74 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); in wm831x_on_probe() local
/linux-3.4.99/drivers/video/backlight/
Dwm831x_bl.c24 struct wm831x *wm831x; member
32 struct wm831x *wm831x = data->wm831x; in wm831x_backlight_set() local
125 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); in wm831x_backlight_probe() local
/linux-3.4.99/drivers/rtc/
Drtc-wm831x.c94 struct wm831x *wm831x; member
99 static void wm831x_rtc_add_randomness(struct wm831x *wm831x) in wm831x_rtc_add_randomness()
125 struct wm831x *wm831x = wm831x_rtc->wm831x; in wm831x_rtc_readtime() local
175 struct wm831x *wm831x = wm831x_rtc->wm831x; in wm831x_rtc_set_mmss() local
287 struct wm831x *wm831x = wm831x_rtc->wm831x; in wm831x_rtc_setalarm() local
417 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); in wm831x_rtc_probe() local
/linux-3.4.99/drivers/hwmon/
Dwm831x-hwmon.c33 struct wm831x *wm831x; member
162 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); in wm831x_hwmon_probe() local
/linux-3.4.99/drivers/leds/
Dleds-wm831x-status.c26 struct wm831x *wm831x; member
225 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); in wm831x_status_probe() local
/linux-3.4.99/arch/arm/mach-s3c64xx/
Dmach-smdk6410.c524 static int wm1192_pre_init(struct wm831x *wm831x) in wm1192_pre_init()