/drivers/power/ |
D | wm831x_power.c | 23 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 …]
|
D | wm831x_backup.c | 23 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
|
/drivers/mfd/ |
D | wm831x-core.c | 94 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 …]
|
D | wm831x-irq.c | 329 static inline struct wm831x_irq_data *irq_to_wm831x_irq(struct wm831x *wm831x, in irq_to_wm831x_irq() 337 struct wm831x *wm831x = irq_data_get_irq_chip_data(data); in wm831x_irq_lock() local 344 struct wm831x *wm831x = irq_data_get_irq_chip_data(data); in wm831x_irq_sync_unlock() local 376 struct wm831x *wm831x = irq_data_get_irq_chip_data(data); in wm831x_irq_enable() local 385 struct wm831x *wm831x = irq_data_get_irq_chip_data(data); in wm831x_irq_disable() local 394 struct wm831x *wm831x = irq_data_get_irq_chip_data(data); in wm831x_irq_set_type() local 456 struct wm831x *wm831x = data; in wm831x_irq_thread() local 572 int wm831x_irq_init(struct wm831x *wm831x, int irq) in wm831x_irq_init() 661 void wm831x_irq_exit(struct wm831x *wm831x) in wm831x_irq_exit()
|
D | wm831x-auxadc.c | 36 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()
|
D | wm831x-otp.c | 30 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()
|
D | wm831x-i2c.c | 30 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
|
D | wm831x-spi.c | 27 struct wm831x *wm831x; in wm831x_spi_probe() local 56 struct wm831x *wm831x = spi_get_drvdata(spi); in wm831x_spi_remove() local 65 struct wm831x *wm831x = dev_get_drvdata(dev); in wm831x_spi_suspend() local 72 struct wm831x *wm831x = spi_get_drvdata(spi); in wm831x_spi_shutdown() local
|
/drivers/clk/ |
D | clk-wm831x.c | 24 struct wm831x *wm831x; member 80 struct wm831x *wm831x = clkdata->wm831x; in wm831x_fll_is_enabled() local 97 struct wm831x *wm831x = clkdata->wm831x; in wm831x_fll_prepare() local 114 struct wm831x *wm831x = clkdata->wm831x; in wm831x_fll_unprepare() local 127 struct wm831x *wm831x = clkdata->wm831x; in wm831x_fll_recalc_rate() local 164 struct wm831x *wm831x = clkdata->wm831x; in wm831x_fll_set_rate() local 189 struct wm831x *wm831x = clkdata->wm831x; in wm831x_fll_get_parent() local 244 struct wm831x *wm831x = clkdata->wm831x; in wm831x_clkout_is_enabled() local 261 struct wm831x *wm831x = clkdata->wm831x; in wm831x_clkout_prepare() local 284 struct wm831x *wm831x = clkdata->wm831x; in wm831x_clkout_unprepare() local [all …]
|
/drivers/regulator/ |
D | wm831x-dcdc.c | 56 struct wm831x *wm831x; member 68 struct wm831x *wm831x = dcdc->wm831x; in wm831x_dcdc_get_mode() local 93 static int wm831x_dcdc_set_mode_int(struct wm831x *wm831x, int reg, in wm831x_dcdc_set_mode_int() 122 struct wm831x *wm831x = dcdc->wm831x; in wm831x_dcdc_set_mode() local 132 struct wm831x *wm831x = dcdc->wm831x; in wm831x_dcdc_set_suspend_mode() local 141 struct wm831x *wm831x = dcdc->wm831x; in wm831x_dcdc_get_status() local 258 struct wm831x *wm831x = dcdc->wm831x; in wm831x_buckv_set_voltage_sel() local 308 struct wm831x *wm831x = dcdc->wm831x; in wm831x_buckv_set_suspend_voltage() local 338 struct wm831x *wm831x = dcdc->wm831x; in wm831x_buckv_set_current_limit() local 356 struct wm831x *wm831x = dcdc->wm831x; in wm831x_buckv_get_current_limit() local [all …]
|
D | wm831x-ldo.c | 42 struct wm831x *wm831x; member 105 struct wm831x *wm831x = ldo->wm831x; in wm831x_gp_ldo_set_suspend_voltage() local 118 struct wm831x *wm831x = ldo->wm831x; in wm831x_gp_ldo_get_mode() local 144 struct wm831x *wm831x = ldo->wm831x; in wm831x_gp_ldo_set_mode() local 195 struct wm831x *wm831x = ldo->wm831x; in wm831x_gp_ldo_get_status() local 252 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); in wm831x_gp_ldo_probe() local 405 struct wm831x *wm831x = ldo->wm831x; in wm831x_aldo_set_suspend_voltage() local 418 struct wm831x *wm831x = ldo->wm831x; in wm831x_aldo_get_mode() local 436 struct wm831x *wm831x = ldo->wm831x; in wm831x_aldo_set_mode() local 465 struct wm831x *wm831x = ldo->wm831x; in wm831x_aldo_get_status() local [all …]
|
D | wm831x-isink.c | 34 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
|
/drivers/gpio/ |
D | gpio-wm831x.c | 29 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 113 struct wm831x *wm831x = wm831x_gpio->wm831x; in wm831x_gpio_set_debounce() local 144 struct wm831x *wm831x = wm831x_gpio->wm831x; in wm831x_gpio_dbg_show() local 248 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); in wm831x_gpio_probe() local
|
/drivers/watchdog/ |
D | wm831x_wdt.c | 33 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
|
/drivers/input/touchscreen/ |
D | wm831x-ts.c | 66 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
|
/drivers/input/misc/ |
D | wm831x-on.c | 34 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
|
/drivers/rtc/ |
D | rtc-wm831x.c | 94 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
|
/drivers/video/backlight/ |
D | wm831x_bl.c | 24 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
|
/drivers/hwmon/ |
D | wm831x-hwmon.c | 33 struct wm831x *wm831x; member 162 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); in wm831x_hwmon_probe() local
|
/drivers/leds/ |
D | leds-wm831x-status.c | 26 struct wm831x *wm831x; member 225 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); in wm831x_status_probe() local
|