/linux-4.4.14/drivers/input/misc/ |
H A D | wm831x-on.c | 33 struct wm831x *wm831x; member in struct:wm831x_on 44 struct wm831x *wm831x = wm831x_on->wm831x; wm831x_poll_on() local 73 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_on_probe() local
|
/linux-4.4.14/drivers/mfd/ |
H A D | wm831x-i2c.c | 30 struct wm831x *wm831x; wm831x_i2c_probe() local 53 struct wm831x *wm831x = i2c_get_clientdata(i2c); wm831x_i2c_remove() local 62 struct wm831x *wm831x = dev_get_drvdata(dev); wm831x_i2c_suspend() local 69 struct wm831x *wm831x = dev_get_drvdata(dev); wm831x_i2c_poweroff() local
|
H A D | wm831x-otp.c | 30 static int wm831x_unique_id_read(struct wm831x *wm831x, char *id) wm831x_unique_id_read() argument 49 struct wm831x *wm831x = dev_get_drvdata(dev); wm831x_unique_id_show() local 68 int wm831x_otp_init(struct wm831x *wm831x) wm831x_otp_init() argument 87 void wm831x_otp_exit(struct wm831x *wm831x) wm831x_otp_exit() argument
|
H A D | wm831x-spi.c | 27 struct wm831x *wm831x; wm831x_spi_probe() local 55 struct wm831x *wm831x = spi_get_drvdata(spi); wm831x_spi_remove() local 64 struct wm831x *wm831x = dev_get_drvdata(dev); wm831x_spi_suspend() local 71 struct wm831x *wm831x = dev_get_drvdata(dev); wm831x_spi_poweroff() local
|
H A D | wm831x-auxadc.c | 36 static int wm831x_auxadc_read_irq(struct wm831x *wm831x, wm831x_auxadc_read_irq() argument 115 struct wm831x *wm831x = irq_data; wm831x_auxadc_irq() local 158 static int wm831x_auxadc_read_polled(struct wm831x *wm831x, wm831x_auxadc_read_polled() argument 250 int wm831x_auxadc_read(struct wm831x *wm831x, enum wm831x_auxadc input) wm831x_auxadc_read() argument 262 int wm831x_auxadc_read_uv(struct wm831x *wm831x, enum wm831x_auxadc input) wm831x_auxadc_read_uv() argument 276 void wm831x_auxadc_init(struct wm831x *wm831x) wm831x_auxadc_init() argument
|
H A D | Makefile | |
H A D | wm831x-irq.c | 329 static inline struct wm831x_irq_data *irq_to_wm831x_irq(struct wm831x *wm831x, irq_to_wm831x_irq() argument 337 struct wm831x *wm831x = irq_data_get_irq_chip_data(data); wm831x_irq_lock() local 344 struct wm831x *wm831x = irq_data_get_irq_chip_data(data); wm831x_irq_sync_unlock() local 376 struct wm831x *wm831x = irq_data_get_irq_chip_data(data); wm831x_irq_enable() local 385 struct wm831x *wm831x = irq_data_get_irq_chip_data(data); wm831x_irq_disable() local 394 struct wm831x *wm831x = irq_data_get_irq_chip_data(data); wm831x_irq_set_type() local 456 struct wm831x *wm831x = data; wm831x_irq_thread() local 565 int wm831x_irq_init(struct wm831x *wm831x, int irq) wm831x_irq_init() argument 654 void wm831x_irq_exit(struct wm831x *wm831x) wm831x_irq_exit() argument
|
H A D | wm831x-core.c | 94 static int wm831x_reg_locked(struct wm831x *wm831x, unsigned short reg) wm831x_reg_locked() argument 120 void wm831x_reg_lock(struct wm831x *wm831x) wm831x_reg_lock() argument 146 int wm831x_reg_unlock(struct wm831x *wm831x) wm831x_reg_unlock() argument 346 struct wm831x *wm831x = dev_get_drvdata(dev); wm831x_reg_writeable() local 517 int wm831x_reg_read(struct wm831x *wm831x, unsigned short reg) wm831x_reg_read() argument 539 int wm831x_bulk_read(struct wm831x *wm831x, unsigned short reg, wm831x_bulk_read() argument 546 static int wm831x_write(struct wm831x *wm831x, unsigned short reg, wm831x_write() argument 576 int wm831x_reg_write(struct wm831x *wm831x, unsigned short reg, wm831x_reg_write() argument 599 int wm831x_set_bits(struct wm831x *wm831x, unsigned short reg, wm831x_set_bits() argument 1619 int wm831x_device_init(struct wm831x *wm831x, unsigned long id, int irq) wm831x_device_init() argument 1884 void wm831x_device_exit(struct wm831x *wm831x) wm831x_device_exit() argument 1888 free_irq(wm831x_irq(wm831x, WM831X_IRQ_AUXADC_DATA), wm831x); wm831x_device_exit() local 1892 int wm831x_device_suspend(struct wm831x *wm831x) wm831x_device_suspend() argument 1928 void wm831x_device_shutdown(struct wm831x *wm831x) wm831x_device_shutdown() argument
|
/linux-4.4.14/drivers/hwmon/ |
H A D | wm831x-hwmon.c | 45 struct wm831x *wm831x = dev_get_drvdata(dev); show_voltage() local 59 struct wm831x *wm831x = dev_get_drvdata(dev); show_chip_temp() local 140 ATTRIBUTE_GROUPS(wm831x); variable 144 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_hwmon_probe() local
|
/linux-4.4.14/drivers/video/backlight/ |
H A D | wm831x_bl.c | 24 struct wm831x *wm831x; member in struct:wm831x_backlight_data 32 struct wm831x *wm831x = data->wm831x; wm831x_backlight_set() local 126 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_backlight_probe() local
|
/linux-4.4.14/drivers/power/ |
H A D | wm831x_backup.c | 23 struct wm831x *wm831x; member in struct:wm831x_backup 29 static int wm831x_backup_read_voltage(struct wm831x *wm831x, wm831x_backup_read_voltage() argument 46 static void wm831x_config_backup(struct wm831x *wm831x) wm831x_config_backup() argument 120 struct wm831x *wm831x = devdata->wm831x; wm831x_backup_get_prop() local 167 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_backup_probe() local
|
H A D | wm831x_power.c | 23 struct wm831x *wm831x; member in struct:wm831x_power 36 static int wm831x_power_check_online(struct wm831x *wm831x, int supply, wm831x_power_check_online() argument 53 static int wm831x_power_read_voltage(struct wm831x *wm831x, wm831x_power_read_voltage() argument 74 struct wm831x *wm831x = wm831x_power->wm831x; wm831x_wall_get_prop() local 105 struct wm831x *wm831x = wm831x_power->wm831x; wm831x_usb_get_prop() local 200 static void wm831x_battey_apply_config(struct wm831x *wm831x, wm831x_battey_apply_config() argument 219 static void wm831x_config_battery(struct wm831x *wm831x) wm831x_config_battery() argument 297 static int wm831x_bat_check_status(struct wm831x *wm831x, int *status) wm831x_bat_check_status() argument 331 static int wm831x_bat_check_type(struct wm831x *wm831x, int *type) wm831x_bat_check_type() argument 356 static int wm831x_bat_check_health(struct wm831x *wm831x, int *health) wm831x_bat_check_health() argument 400 struct wm831x *wm831x = wm831x_power->wm831x; wm831x_bat_get_prop() local 450 struct wm831x *wm831x = wm831x_power->wm831x; wm831x_bat_irq() local 470 struct wm831x *wm831x = wm831x_power->wm831x; wm831x_syslo_irq() local 482 struct wm831x *wm831x = wm831x_power->wm831x; wm831x_pwr_src_irq() local 497 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_power_probe() local 637 struct wm831x *wm831x = wm831x_power->wm831x; wm831x_power_remove() local
|
/linux-4.4.14/drivers/watchdog/ |
H A D | wm831x_wdt.c | 33 struct wm831x *wm831x; member in struct:wm831x_wdt_drvdata 57 struct wm831x *wm831x = driver_data->wm831x; wm831x_wdt_start() local 80 struct wm831x *wm831x = driver_data->wm831x; wm831x_wdt_stop() local 103 struct wm831x *wm831x = driver_data->wm831x; wm831x_wdt_ping() local 146 struct wm831x *wm831x = driver_data->wm831x; wm831x_wdt_set_timeout() local 186 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_wdt_probe() local
|
/linux-4.4.14/drivers/regulator/ |
H A D | wm831x-isink.c | 34 struct wm831x *wm831x; member in struct:wm831x_isink 41 struct wm831x *wm831x = isink->wm831x; wm831x_isink_enable() local 63 struct wm831x *wm831x = isink->wm831x; wm831x_isink_disable() local 81 struct wm831x *wm831x = isink->wm831x; wm831x_isink_is_enabled() local 99 struct wm831x *wm831x = isink->wm831x; wm831x_isink_set_current() local 117 struct wm831x *wm831x = isink->wm831x; wm831x_isink_get_current() local 153 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_isink_probe() local
|
H A D | wm831x-ldo.c | 42 struct wm831x *wm831x; member in struct:wm831x_ldo 74 struct wm831x *wm831x = ldo->wm831x; wm831x_gp_ldo_set_suspend_voltage() local 87 struct wm831x *wm831x = ldo->wm831x; wm831x_gp_ldo_get_mode() local 113 struct wm831x *wm831x = ldo->wm831x; wm831x_gp_ldo_set_mode() local 164 struct wm831x *wm831x = ldo->wm831x; wm831x_gp_ldo_get_status() local 221 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_gp_ldo_probe() local 327 struct wm831x *wm831x = ldo->wm831x; wm831x_aldo_set_suspend_voltage() local 340 struct wm831x *wm831x = ldo->wm831x; wm831x_aldo_get_mode() local 358 struct wm831x *wm831x = ldo->wm831x; wm831x_aldo_set_mode() local 387 struct wm831x *wm831x = ldo->wm831x; wm831x_aldo_get_status() local 431 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_aldo_probe() local 533 struct wm831x *wm831x = ldo->wm831x; wm831x_alive_ldo_set_suspend_voltage() local 546 struct wm831x *wm831x = ldo->wm831x; wm831x_alive_ldo_get_status() local 575 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_alive_ldo_probe() local
|
H A D | wm831x-dcdc.c | 56 struct wm831x *wm831x; member in struct:wm831x_dcdc 68 struct wm831x *wm831x = dcdc->wm831x; wm831x_dcdc_get_mode() local 93 static int wm831x_dcdc_set_mode_int(struct wm831x *wm831x, int reg, wm831x_dcdc_set_mode_int() argument 122 struct wm831x *wm831x = dcdc->wm831x; wm831x_dcdc_set_mode() local 132 struct wm831x *wm831x = dcdc->wm831x; wm831x_dcdc_set_suspend_mode() local 141 struct wm831x *wm831x = dcdc->wm831x; wm831x_dcdc_get_status() local 258 struct wm831x *wm831x = dcdc->wm831x; wm831x_buckv_set_voltage_sel() local 308 struct wm831x *wm831x = dcdc->wm831x; wm831x_buckv_set_suspend_voltage() local 338 struct wm831x *wm831x = dcdc->wm831x; wm831x_buckv_set_current_limit() local 356 struct wm831x *wm831x = dcdc->wm831x; wm831x_buckv_get_current_limit() local 394 struct wm831x *wm831x = dcdc->wm831x; wm831x_buckv_dvs_init() local 454 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_buckv_probe() local 577 struct wm831x *wm831x = dcdc->wm831x; wm831x_buckp_set_suspend_voltage() local 606 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_buckp_probe() local 704 struct wm831x *wm831x = dcdc->wm831x; wm831x_boostp_get_status() local 738 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_boostp_probe() local 830 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_epe_probe() local
|
/linux-4.4.14/drivers/gpio/ |
H A D | gpio-wm831x.c | 29 struct wm831x *wm831x; member in struct:wm831x_gpio 41 struct wm831x *wm831x = wm831x_gpio->wm831x; wm831x_gpio_direction_in() local 55 struct wm831x *wm831x = wm831x_gpio->wm831x; wm831x_gpio_get() local 71 struct wm831x *wm831x = wm831x_gpio->wm831x; wm831x_gpio_set() local 81 struct wm831x *wm831x = wm831x_gpio->wm831x; wm831x_gpio_direction_out() local 103 struct wm831x *wm831x = wm831x_gpio->wm831x; wm831x_gpio_to_irq() local 113 struct wm831x *wm831x = wm831x_gpio->wm831x; wm831x_gpio_set_debounce() local 144 struct wm831x *wm831x = wm831x_gpio->wm831x; wm831x_gpio_dbg_show() local 248 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_gpio_probe() local
|
/linux-4.4.14/drivers/leds/ |
H A D | leds-wm831x-status.c | 25 struct wm831x *wm831x; member in struct:wm831x_status 230 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_status_probe() local
|
/linux-4.4.14/drivers/input/touchscreen/ |
H A D | wm831x-ts.c | 65 struct wm831x *wm831x; member in struct:wm831x_ts 90 struct wm831x *wm831x = wm831x_ts->wm831x; wm831x_ts_data_irq() local 162 struct wm831x *wm831x = wm831x_ts->wm831x; wm831x_ts_pen_down_irq() local 193 struct wm831x *wm831x = wm831x_ts->wm831x; wm831x_ts_input_open() local 209 struct wm831x *wm831x = wm831x_ts->wm831x; wm831x_ts_input_close() local 238 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_ts_probe() local
|
/linux-4.4.14/drivers/clk/ |
H A D | clk-wm831x.c | 23 struct wm831x *wm831x; member in struct:wm831x_clk 79 struct wm831x *wm831x = clkdata->wm831x; wm831x_fll_is_prepared() local 96 struct wm831x *wm831x = clkdata->wm831x; wm831x_fll_prepare() local 113 struct wm831x *wm831x = clkdata->wm831x; wm831x_fll_unprepare() local 126 struct wm831x *wm831x = clkdata->wm831x; wm831x_fll_recalc_rate() local 163 struct wm831x *wm831x = clkdata->wm831x; wm831x_fll_set_rate() local 188 struct wm831x *wm831x = clkdata->wm831x; wm831x_fll_get_parent() local 243 struct wm831x *wm831x = clkdata->wm831x; wm831x_clkout_is_prepared() local 260 struct wm831x *wm831x = clkdata->wm831x; wm831x_clkout_prepare() local 283 struct wm831x *wm831x = clkdata->wm831x; wm831x_clkout_unprepare() local 309 struct wm831x *wm831x = clkdata->wm831x; wm831x_clkout_get_parent() local 329 struct wm831x *wm831x = clkdata->wm831x; wm831x_clkout_set_parent() local 354 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_clk_probe() local
|
/linux-4.4.14/arch/arm/mach-s3c64xx/ |
H A D | mach-smdk6410.c | 521 static int wm1192_pre_init(struct wm831x *wm831x) wm1192_pre_init() argument
|
/linux-4.4.14/drivers/rtc/ |
H A D | rtc-wm831x.c | 94 struct wm831x *wm831x; member in struct:wm831x_rtc 99 static void wm831x_rtc_add_randomness(struct wm831x *wm831x) wm831x_rtc_add_randomness() argument 125 struct wm831x *wm831x = wm831x_rtc->wm831x; wm831x_rtc_readtime() local 175 struct wm831x *wm831x = wm831x_rtc->wm831x; wm831x_rtc_set_mmss() local 287 struct wm831x *wm831x = wm831x_rtc->wm831x; wm831x_rtc_setalarm() local 417 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_rtc_probe() local
|
/linux-4.4.14/include/linux/mfd/wm831x/ |
H A D | core.h | 363 struct wm831x { struct 423 static inline int wm831x_irq(struct wm831x *wm831x, int irq) wm831x_irq() argument
|