Home
last modified time | relevance | path

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

/drivers/clk/
Dclk-wm831x.c18 struct wm831x *wm831x; member
70 struct wm831x *wm831x = clkdata->wm831x; in wm831x_fll_is_prepared() local
87 struct wm831x *wm831x = clkdata->wm831x; in wm831x_fll_prepare() local
105 struct wm831x *wm831x = clkdata->wm831x; in wm831x_fll_unprepare() local
118 struct wm831x *wm831x = clkdata->wm831x; in wm831x_fll_recalc_rate() local
155 struct wm831x *wm831x = clkdata->wm831x; in wm831x_fll_set_rate() local
180 struct wm831x *wm831x = clkdata->wm831x; in wm831x_fll_get_parent() local
235 struct wm831x *wm831x = clkdata->wm831x; in wm831x_clkout_is_prepared() local
252 struct wm831x *wm831x = clkdata->wm831x; in wm831x_clkout_prepare() local
275 struct wm831x *wm831x = clkdata->wm831x; in wm831x_clkout_unprepare() local
[all …]
/drivers/power/supply/
Dwm831x_power.c21 struct wm831x *wm831x; member
36 static int wm831x_power_check_online(struct wm831x *wm831x, int supply, in wm831x_power_check_online()
53 static int wm831x_power_read_voltage(struct wm831x *wm831x, in wm831x_power_read_voltage()
74 struct wm831x *wm831x = wm831x_power->wm831x; in wm831x_wall_get_prop() local
105 struct wm831x *wm831x = wm831x_power->wm831x; in wm831x_usb_get_prop() local
237 static void wm831x_battey_apply_config(struct wm831x *wm831x, in wm831x_battey_apply_config()
256 static void wm831x_config_battery(struct wm831x *wm831x) in wm831x_config_battery()
334 static int wm831x_bat_check_status(struct wm831x *wm831x, int *status) in wm831x_bat_check_status()
368 static int wm831x_bat_check_type(struct wm831x *wm831x, int *type) in wm831x_bat_check_type()
393 static int wm831x_bat_check_health(struct wm831x *wm831x, int *health) in wm831x_bat_check_health()
[all …]
Dwm831x_backup.c20 struct wm831x *wm831x; member
26 static int wm831x_backup_read_voltage(struct wm831x *wm831x, in wm831x_backup_read_voltage()
43 static void wm831x_config_backup(struct wm831x *wm831x) in wm831x_config_backup()
117 struct wm831x *wm831x = devdata->wm831x; in wm831x_backup_get_prop() local
164 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); in wm831x_backup_probe() local
/drivers/mfd/
Dwm831x-core.c92 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()
148 int wm831x_reg_unlock(struct wm831x *wm831x) in wm831x_reg_unlock()
348 struct wm831x *wm831x = dev_get_drvdata(dev); in wm831x_reg_writeable() local
519 int wm831x_reg_read(struct wm831x *wm831x, unsigned short reg) in wm831x_reg_read()
541 int wm831x_bulk_read(struct wm831x *wm831x, unsigned short reg, in wm831x_bulk_read()
548 static int wm831x_write(struct wm831x *wm831x, unsigned short reg, in wm831x_write()
578 int wm831x_reg_write(struct wm831x *wm831x, unsigned short reg, in wm831x_reg_write()
601 int wm831x_set_bits(struct wm831x *wm831x, unsigned short reg, in wm831x_set_bits()
1633 int wm831x_device_init(struct wm831x *wm831x, int irq) in wm831x_device_init()
[all …]
Dwm831x-irq.c324 static inline struct wm831x_irq_data *irq_to_wm831x_irq(struct wm831x *wm831x, in irq_to_wm831x_irq()
332 struct wm831x *wm831x = irq_data_get_irq_chip_data(data); in wm831x_irq_lock() local
339 struct wm831x *wm831x = irq_data_get_irq_chip_data(data); in wm831x_irq_sync_unlock() local
371 struct wm831x *wm831x = irq_data_get_irq_chip_data(data); in wm831x_irq_enable() local
380 struct wm831x *wm831x = irq_data_get_irq_chip_data(data); in wm831x_irq_disable() local
389 struct wm831x *wm831x = irq_data_get_irq_chip_data(data); in wm831x_irq_set_type() local
451 struct wm831x *wm831x = data; in wm831x_irq_thread() local
560 int wm831x_irq_init(struct wm831x *wm831x, int irq) in wm831x_irq_init()
649 void wm831x_irq_exit(struct wm831x *wm831x) in wm831x_irq_exit()
Dwm831x-auxadc.c31 static int wm831x_auxadc_read_irq(struct wm831x *wm831x, in wm831x_auxadc_read_irq()
109 struct wm831x *wm831x = irq_data; in wm831x_auxadc_irq() local
152 static int wm831x_auxadc_read_polled(struct wm831x *wm831x, in wm831x_auxadc_read_polled()
244 int wm831x_auxadc_read(struct wm831x *wm831x, enum wm831x_auxadc input) in wm831x_auxadc_read()
256 int wm831x_auxadc_read_uv(struct wm831x *wm831x, enum wm831x_auxadc input) in wm831x_auxadc_read_uv()
270 void wm831x_auxadc_init(struct wm831x *wm831x) in wm831x_auxadc_init()
Dwm831x-otp.c25 static int wm831x_unique_id_read(struct wm831x *wm831x, char *id) in wm831x_unique_id_read()
44 struct wm831x *wm831x = dev_get_drvdata(dev); in wm831x_unique_id_show() local
57 int wm831x_otp_init(struct wm831x *wm831x) in wm831x_otp_init()
76 void wm831x_otp_exit(struct wm831x *wm831x) in wm831x_otp_exit()
Dwm831x-i2c.c29 struct wm831x *wm831x; in wm831x_i2c_probe() local
68 struct wm831x *wm831x = dev_get_drvdata(dev); in wm831x_i2c_suspend() local
75 struct wm831x *wm831x = dev_get_drvdata(dev); in wm831x_i2c_poweroff() local
Dwm831x-spi.c26 struct wm831x *wm831x; in wm831x_spi_probe() local
67 struct wm831x *wm831x = dev_get_drvdata(dev); in wm831x_spi_suspend() local
74 struct wm831x *wm831x = dev_get_drvdata(dev); in wm831x_spi_poweroff() local
/drivers/gpio/
Dgpio-wm831x.c25 struct wm831x *wm831x; member
32 struct wm831x *wm831x = wm831x_gpio->wm831x; in wm831x_gpio_direction_in() local
46 struct wm831x *wm831x = wm831x_gpio->wm831x; in wm831x_gpio_get() local
62 struct wm831x *wm831x = wm831x_gpio->wm831x; in wm831x_gpio_set() local
72 struct wm831x *wm831x = wm831x_gpio->wm831x; in wm831x_gpio_direction_out() local
94 struct wm831x *wm831x = wm831x_gpio->wm831x; in wm831x_gpio_to_irq() local
100 static int wm831x_gpio_set_debounce(struct wm831x *wm831x, unsigned offset, in wm831x_gpio_set_debounce()
133 struct wm831x *wm831x = wm831x_gpio->wm831x; in wm831x_set_config() local
157 struct wm831x *wm831x = wm831x_gpio->wm831x; in wm831x_gpio_dbg_show() local
261 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); in wm831x_gpio_probe() local
/drivers/regulator/
Dwm831x-ldo.c37 struct wm831x *wm831x; member
69 struct wm831x *wm831x = ldo->wm831x; in wm831x_gp_ldo_set_suspend_voltage() local
82 struct wm831x *wm831x = ldo->wm831x; in wm831x_gp_ldo_get_mode() local
108 struct wm831x *wm831x = ldo->wm831x; in wm831x_gp_ldo_set_mode() local
159 struct wm831x *wm831x = ldo->wm831x; in wm831x_gp_ldo_get_status() local
216 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); in wm831x_gp_ldo_probe() local
322 struct wm831x *wm831x = ldo->wm831x; in wm831x_aldo_set_suspend_voltage() local
335 struct wm831x *wm831x = ldo->wm831x; in wm831x_aldo_get_mode() local
353 struct wm831x *wm831x = ldo->wm831x; in wm831x_aldo_set_mode() local
382 struct wm831x *wm831x = ldo->wm831x; in wm831x_aldo_get_status() local
[all …]
Dwm831x-dcdc.c51 struct wm831x *wm831x; member
63 struct wm831x *wm831x = dcdc->wm831x; in wm831x_dcdc_get_mode() local
88 static int wm831x_dcdc_set_mode_int(struct wm831x *wm831x, int reg, in wm831x_dcdc_set_mode_int()
117 struct wm831x *wm831x = dcdc->wm831x; in wm831x_dcdc_set_mode() local
127 struct wm831x *wm831x = dcdc->wm831x; in wm831x_dcdc_set_suspend_mode() local
136 struct wm831x *wm831x = dcdc->wm831x; in wm831x_dcdc_get_status() local
230 struct wm831x *wm831x = dcdc->wm831x; in wm831x_buckv_set_voltage_sel() local
280 struct wm831x *wm831x = dcdc->wm831x; in wm831x_buckv_set_suspend_voltage() local
332 struct wm831x *wm831x = dcdc->wm831x; in wm831x_buckv_dvs_init() local
389 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); in wm831x_buckv_probe() local
[all …]
Dwm831x-isink.c29 struct wm831x *wm831x; member
36 struct wm831x *wm831x = isink->wm831x; in wm831x_isink_enable() local
58 struct wm831x *wm831x = isink->wm831x; in wm831x_isink_disable() local
76 struct wm831x *wm831x = isink->wm831x; in wm831x_isink_is_enabled() local
112 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); in wm831x_isink_probe() local
/drivers/watchdog/
Dwm831x_wdt.c29 struct wm831x *wm831x; member
52 struct wm831x *wm831x = driver_data->wm831x; in wm831x_wdt_start() local
75 struct wm831x *wm831x = driver_data->wm831x; in wm831x_wdt_stop() local
98 struct wm831x *wm831x = driver_data->wm831x; in wm831x_wdt_ping() local
133 struct wm831x *wm831x = driver_data->wm831x; in wm831x_wdt_set_timeout() local
174 struct wm831x *wm831x = dev_get_drvdata(dev->parent); in wm831x_wdt_probe() local
/drivers/input/touchscreen/
Dwm831x-ts.c61 struct wm831x *wm831x; member
86 struct wm831x *wm831x = wm831x_ts->wm831x; in wm831x_ts_data_irq() local
158 struct wm831x *wm831x = wm831x_ts->wm831x; in wm831x_ts_pen_down_irq() local
189 struct wm831x *wm831x = wm831x_ts->wm831x; in wm831x_ts_input_open() local
205 struct wm831x *wm831x = wm831x_ts->wm831x; in wm831x_ts_input_close() local
234 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); in wm831x_ts_probe() local
/drivers/rtc/
Drtc-wm831x.c90 struct wm831x *wm831x; member
95 static void wm831x_rtc_add_randomness(struct wm831x *wm831x) in wm831x_rtc_add_randomness()
121 struct wm831x *wm831x = wm831x_rtc->wm831x; in wm831x_rtc_readtime() local
171 struct wm831x *wm831x = wm831x_rtc->wm831x; in wm831x_rtc_settime() local
281 struct wm831x *wm831x = wm831x_rtc->wm831x; in wm831x_rtc_setalarm() local
403 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); in wm831x_rtc_probe() local
/drivers/input/misc/
Dwm831x-on.c33 struct wm831x *wm831x; member
44 struct wm831x *wm831x = wm831x_on->wm831x; in wm831x_poll_on() local
73 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); in wm831x_on_probe() local
/drivers/hwmon/
Dwm831x-hwmon.c33 struct wm831x *wm831x = dev_get_drvdata(dev); in show_voltage() local
47 struct wm831x *wm831x = dev_get_drvdata(dev); in show_chip_temp() local
132 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); in wm831x_hwmon_probe() local
/drivers/video/backlight/
Dwm831x_bl.c21 struct wm831x *wm831x; member
29 struct wm831x *wm831x = data->wm831x; in wm831x_backlight_set() local
112 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); in wm831x_backlight_probe() local
/drivers/leds/
Dleds-wm831x-status.c21 struct wm831x *wm831x; member
210 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); in wm831x_status_probe() local