/Linux-v5.10/drivers/clk/ |
D | clk-wm831x.c | 18 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 …]
|
/Linux-v5.10/drivers/mfd/ |
D | wm831x-irq.c | 324 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()
|
D | wm831x-core.c | 92 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 …]
|
D | wm831x-auxadc.c | 31 static int wm831x_auxadc_read_irq(struct wm831x *wm831x, in wm831x_auxadc_read_irq() 110 struct wm831x *wm831x = irq_data; in wm831x_auxadc_irq() local 153 static int wm831x_auxadc_read_polled(struct wm831x *wm831x, in wm831x_auxadc_read_polled() 245 int wm831x_auxadc_read(struct wm831x *wm831x, enum wm831x_auxadc input) in wm831x_auxadc_read() 257 int wm831x_auxadc_read_uv(struct wm831x *wm831x, enum wm831x_auxadc input) in wm831x_auxadc_read_uv() 271 void wm831x_auxadc_init(struct wm831x *wm831x) in wm831x_auxadc_init()
|
D | wm831x-otp.c | 25 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()
|
D | wm831x-i2c.c | 29 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
|
D | wm831x-spi.c | 26 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
|
/Linux-v5.10/drivers/gpio/ |
D | gpio-wm831x.c | 25 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
|
/Linux-v5.10/drivers/power/supply/ |
D | wm831x_power.c | 21 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 …]
|
D | wm831x_backup.c | 20 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
|
/Linux-v5.10/drivers/regulator/ |
D | wm831x-ldo.c | 37 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 …]
|
D | wm831x-dcdc.c | 51 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 …]
|
D | wm831x-isink.c | 29 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
|
/Linux-v5.10/include/linux/mfd/wm831x/ |
D | core.h | 360 struct wm831x { struct 367 struct wm831x_pdata pdata; argument 368 enum wm831x_parent type; argument 393 wm831x_auxadc_read_fn auxadc_read; argument 405 int wm831x_reg_read(struct wm831x *wm831x, unsigned short reg); argument 422 static inline int wm831x_irq(struct wm831x *wm831x, int irq) in wm831x_irq()
|
/Linux-v5.10/drivers/watchdog/ |
D | wm831x_wdt.c | 29 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
|
/Linux-v5.10/drivers/input/touchscreen/ |
D | wm831x-ts.c | 61 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
|
/Linux-v5.10/drivers/input/misc/ |
D | wm831x-on.c | 33 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
|
/Linux-v5.10/drivers/hwmon/ |
D | wm831x-hwmon.c | 33 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
|
/Linux-v5.10/drivers/rtc/ |
D | rtc-wm831x.c | 90 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
|
/Linux-v5.10/drivers/video/backlight/ |
D | wm831x_bl.c | 21 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
|
/Linux-v5.10/drivers/leds/ |
D | leds-wm831x-status.c | 21 struct wm831x *wm831x; member 210 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); in wm831x_status_probe() local
|
/Linux-v5.10/arch/arm/mach-s3c/ |
D | mach-smdk6410.c | 512 static int wm1192_pre_init(struct wm831x *wm831x) in wm1192_pre_init()
|