/kernel/linux/linux-5.10/drivers/mfd/ |
H A D | wm831x-auxadc.c | 3 * wm831x-auxadc.c -- AUXADC for Wolfson WM831x PMICs 17 #include <linux/mfd/wm831x/core.h> 18 #include <linux/mfd/wm831x/pdata.h> 19 #include <linux/mfd/wm831x/irq.h> 20 #include <linux/mfd/wm831x/auxadc.h> 21 #include <linux/mfd/wm831x/otp.h> 22 #include <linux/mfd/wm831x/regulator.h> 31 static int wm831x_auxadc_read_irq(struct wm831x *wm831x, in wm831x_auxadc_read_irq() argument 46 mutex_lock(&wm831x in wm831x_auxadc_read_irq() 109 struct wm831x *wm831x = irq_data; wm831x_auxadc_irq() local 152 wm831x_auxadc_read_polled(struct wm831x *wm831x, enum wm831x_auxadc input) wm831x_auxadc_read_polled() argument 244 wm831x_auxadc_read(struct wm831x *wm831x, enum wm831x_auxadc input) wm831x_auxadc_read() argument 256 wm831x_auxadc_read_uv(struct wm831x *wm831x, enum wm831x_auxadc input) wm831x_auxadc_read_uv() argument 270 wm831x_auxadc_init(struct wm831x *wm831x) wm831x_auxadc_init() argument [all...] |
H A D | wm831x-irq.c | 3 * wm831x-irq.c -- Interrupt controller support for Wolfson WM831x PMICs 18 #include <linux/mfd/wm831x/core.h> 19 #include <linux/mfd/wm831x/pdata.h> 20 #include <linux/mfd/wm831x/gpio.h> 21 #include <linux/mfd/wm831x/irq.h> 324 static inline struct wm831x_irq_data *irq_to_wm831x_irq(struct wm831x *wm831x, in irq_to_wm831x_irq() argument 332 struct wm831x *wm831x = irq_data_get_irq_chip_data(data); in wm831x_irq_lock() local 334 mutex_lock(&wm831x in wm831x_irq_lock() 339 struct wm831x *wm831x = irq_data_get_irq_chip_data(data); wm831x_irq_sync_unlock() local 371 struct wm831x *wm831x = irq_data_get_irq_chip_data(data); wm831x_irq_enable() local 380 struct wm831x *wm831x = irq_data_get_irq_chip_data(data); wm831x_irq_disable() local 389 struct wm831x *wm831x = irq_data_get_irq_chip_data(data); wm831x_irq_set_type() local 451 struct wm831x *wm831x = data; wm831x_irq_thread() local 560 wm831x_irq_init(struct wm831x *wm831x, int irq) wm831x_irq_init() argument 649 wm831x_irq_exit(struct wm831x *wm831x) wm831x_irq_exit() argument [all...] |
H A D | wm831x-core.c | 3 * wm831x-core.c -- Device access for Wolfson WM831x PMICs 21 #include <linux/mfd/wm831x/core.h> 22 #include <linux/mfd/wm831x/pdata.h> 23 #include <linux/mfd/wm831x/irq.h> 24 #include <linux/mfd/wm831x/auxadc.h> 25 #include <linux/mfd/wm831x/otp.h> 26 #include <linux/mfd/wm831x/pmu.h> 27 #include <linux/mfd/wm831x/regulator.h> 92 static int wm831x_reg_locked(struct wm831x *wm831x, unsigne argument 120 wm831x_reg_lock(struct wm831x *wm831x) wm831x_reg_lock() argument 148 wm831x_reg_unlock(struct wm831x *wm831x) wm831x_reg_unlock() argument 348 struct wm831x *wm831x = dev_get_drvdata(dev); wm831x_reg_writeable() local 519 wm831x_reg_read(struct wm831x *wm831x, unsigned short reg) wm831x_reg_read() argument 541 wm831x_bulk_read(struct wm831x *wm831x, unsigned short reg, int count, u16 *buf) wm831x_bulk_read() argument 548 wm831x_write(struct wm831x *wm831x, unsigned short reg, int bytes, void *src) wm831x_write() argument 578 wm831x_reg_write(struct wm831x *wm831x, unsigned short reg, unsigned short val) wm831x_reg_write() argument 601 wm831x_set_bits(struct wm831x *wm831x, unsigned short reg, unsigned short mask, unsigned short val) wm831x_set_bits() argument 1633 wm831x_device_init(struct wm831x *wm831x, int irq) wm831x_device_init() argument 1895 wm831x_device_suspend(struct wm831x *wm831x) wm831x_device_suspend() argument 1931 wm831x_device_shutdown(struct wm831x *wm831x) wm831x_device_shutdown() argument [all...] |
H A D | wm831x-i2c.c | 3 * wm831x-i2c.c -- I2C access for Wolfson WM831x PMICs 21 #include <linux/mfd/wm831x/core.h> 22 #include <linux/mfd/wm831x/pdata.h> 29 struct wm831x *wm831x; in wm831x_i2c_probe() local 44 wm831x = devm_kzalloc(&i2c->dev, sizeof(struct wm831x), GFP_KERNEL); in wm831x_i2c_probe() 45 if (wm831x == NULL) in wm831x_i2c_probe() 48 i2c_set_clientdata(i2c, wm831x); in wm831x_i2c_probe() 49 wm831x in wm831x_i2c_probe() 68 struct wm831x *wm831x = dev_get_drvdata(dev); wm831x_i2c_suspend() local 75 struct wm831x *wm831x = dev_get_drvdata(dev); wm831x_i2c_poweroff() local [all...] |
H A D | wm831x-spi.c | 3 * wm831x-spi.c -- SPI access for Wolfson WM831x PMICs 19 #include <linux/mfd/wm831x/core.h> 26 struct wm831x *wm831x; in wm831x_spi_probe() local 41 wm831x = devm_kzalloc(&spi->dev, sizeof(struct wm831x), GFP_KERNEL); in wm831x_spi_probe() 42 if (wm831x == NULL) in wm831x_spi_probe() 47 spi_set_drvdata(spi, wm831x); in wm831x_spi_probe() 48 wm831x->dev = &spi->dev; in wm831x_spi_probe() 49 wm831x in wm831x_spi_probe() 67 struct wm831x *wm831x = dev_get_drvdata(dev); wm831x_spi_suspend() local 74 struct wm831x *wm831x = dev_get_drvdata(dev); wm831x_spi_poweroff() local [all...] |
/kernel/linux/linux-6.6/drivers/mfd/ |
H A D | wm831x-auxadc.c | 3 * wm831x-auxadc.c -- AUXADC for Wolfson WM831x PMICs 17 #include <linux/mfd/wm831x/core.h> 18 #include <linux/mfd/wm831x/pdata.h> 19 #include <linux/mfd/wm831x/irq.h> 20 #include <linux/mfd/wm831x/auxadc.h> 21 #include <linux/mfd/wm831x/otp.h> 22 #include <linux/mfd/wm831x/regulator.h> 31 static int wm831x_auxadc_read_irq(struct wm831x *wm831x, in wm831x_auxadc_read_irq() argument 46 mutex_lock(&wm831x in wm831x_auxadc_read_irq() 109 struct wm831x *wm831x = irq_data; wm831x_auxadc_irq() local 152 wm831x_auxadc_read_polled(struct wm831x *wm831x, enum wm831x_auxadc input) wm831x_auxadc_read_polled() argument 244 wm831x_auxadc_read(struct wm831x *wm831x, enum wm831x_auxadc input) wm831x_auxadc_read() argument 256 wm831x_auxadc_read_uv(struct wm831x *wm831x, enum wm831x_auxadc input) wm831x_auxadc_read_uv() argument 270 wm831x_auxadc_init(struct wm831x *wm831x) wm831x_auxadc_init() argument [all...] |
H A D | wm831x-irq.c | 3 * wm831x-irq.c -- Interrupt controller support for Wolfson WM831x PMICs 18 #include <linux/mfd/wm831x/core.h> 19 #include <linux/mfd/wm831x/pdata.h> 20 #include <linux/mfd/wm831x/gpio.h> 21 #include <linux/mfd/wm831x/irq.h> 324 static inline struct wm831x_irq_data *irq_to_wm831x_irq(struct wm831x *wm831x, in irq_to_wm831x_irq() argument 332 struct wm831x *wm831x = irq_data_get_irq_chip_data(data); in wm831x_irq_lock() local 334 mutex_lock(&wm831x in wm831x_irq_lock() 339 struct wm831x *wm831x = irq_data_get_irq_chip_data(data); wm831x_irq_sync_unlock() local 371 struct wm831x *wm831x = irq_data_get_irq_chip_data(data); wm831x_irq_enable() local 380 struct wm831x *wm831x = irq_data_get_irq_chip_data(data); wm831x_irq_disable() local 389 struct wm831x *wm831x = irq_data_get_irq_chip_data(data); wm831x_irq_set_type() local 451 struct wm831x *wm831x = data; wm831x_irq_thread() local 560 wm831x_irq_init(struct wm831x *wm831x, int irq) wm831x_irq_init() argument 649 wm831x_irq_exit(struct wm831x *wm831x) wm831x_irq_exit() argument [all...] |
H A D | wm831x-core.c | 3 * wm831x-core.c -- Device access for Wolfson WM831x PMICs 20 #include <linux/mfd/wm831x/core.h> 21 #include <linux/mfd/wm831x/pdata.h> 22 #include <linux/mfd/wm831x/irq.h> 23 #include <linux/mfd/wm831x/auxadc.h> 24 #include <linux/mfd/wm831x/otp.h> 25 #include <linux/mfd/wm831x/pmu.h> 26 #include <linux/mfd/wm831x/regulator.h> 91 static int wm831x_reg_locked(struct wm831x *wm831x, unsigne argument 119 wm831x_reg_lock(struct wm831x *wm831x) wm831x_reg_lock() argument 147 wm831x_reg_unlock(struct wm831x *wm831x) wm831x_reg_unlock() argument 347 struct wm831x *wm831x = dev_get_drvdata(dev); wm831x_reg_writeable() local 518 wm831x_reg_read(struct wm831x *wm831x, unsigned short reg) wm831x_reg_read() argument 540 wm831x_bulk_read(struct wm831x *wm831x, unsigned short reg, int count, u16 *buf) wm831x_bulk_read() argument 547 wm831x_write(struct wm831x *wm831x, unsigned short reg, int bytes, void *src) wm831x_write() argument 577 wm831x_reg_write(struct wm831x *wm831x, unsigned short reg, unsigned short val) wm831x_reg_write() argument 600 wm831x_set_bits(struct wm831x *wm831x, unsigned short reg, unsigned short mask, unsigned short val) wm831x_set_bits() argument 1456 wm831x_device_init(struct wm831x *wm831x, int irq) wm831x_device_init() argument 1718 wm831x_device_suspend(struct wm831x *wm831x) wm831x_device_suspend() argument 1754 wm831x_device_shutdown(struct wm831x *wm831x) wm831x_device_shutdown() argument [all...] |
H A D | wm831x-i2c.c | 3 * wm831x-i2c.c -- I2C access for Wolfson WM831x PMICs 21 #include <linux/mfd/wm831x/core.h> 22 #include <linux/mfd/wm831x/pdata.h> 29 struct wm831x *wm831x; in wm831x_i2c_probe() local 44 wm831x = devm_kzalloc(&i2c->dev, sizeof(struct wm831x), GFP_KERNEL); in wm831x_i2c_probe() 45 if (wm831x == NULL) in wm831x_i2c_probe() 48 i2c_set_clientdata(i2c, wm831x); in wm831x_i2c_probe() 49 wm831x in wm831x_i2c_probe() 68 struct wm831x *wm831x = dev_get_drvdata(dev); wm831x_i2c_suspend() local 75 struct wm831x *wm831x = dev_get_drvdata(dev); wm831x_i2c_poweroff() local [all...] |
/kernel/linux/linux-5.10/drivers/clk/ |
H A D | clk-wm831x.c | 15 #include <linux/mfd/wm831x/core.h> 18 struct wm831x *wm831x; member 70 struct wm831x *wm831x = clkdata->wm831x; in wm831x_fll_is_prepared() local 73 ret = wm831x_reg_read(wm831x, WM831X_FLL_CONTROL_1); in wm831x_fll_is_prepared() 75 dev_err(wm831x->dev, "Unable to read FLL_CONTROL_1: %d\n", in wm831x_fll_is_prepared() 87 struct wm831x *wm831x in wm831x_fll_prepare() local 105 struct wm831x *wm831x = clkdata->wm831x; wm831x_fll_unprepare() local 118 struct wm831x *wm831x = clkdata->wm831x; wm831x_fll_recalc_rate() local 155 struct wm831x *wm831x = clkdata->wm831x; wm831x_fll_set_rate() local 180 struct wm831x *wm831x = clkdata->wm831x; wm831x_fll_get_parent() local 235 struct wm831x *wm831x = clkdata->wm831x; wm831x_clkout_is_prepared() local 252 struct wm831x *wm831x = clkdata->wm831x; wm831x_clkout_prepare() local 275 struct wm831x *wm831x = clkdata->wm831x; wm831x_clkout_unprepare() local 301 struct wm831x *wm831x = clkdata->wm831x; wm831x_clkout_get_parent() local 321 struct wm831x *wm831x = clkdata->wm831x; wm831x_clkout_set_parent() local 346 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_clk_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/clk/ |
H A D | clk-wm831x.c | 15 #include <linux/mfd/wm831x/core.h> 18 struct wm831x *wm831x; member 70 struct wm831x *wm831x = clkdata->wm831x; in wm831x_fll_is_prepared() local 73 ret = wm831x_reg_read(wm831x, WM831X_FLL_CONTROL_1); in wm831x_fll_is_prepared() 75 dev_err(wm831x->dev, "Unable to read FLL_CONTROL_1: %d\n", in wm831x_fll_is_prepared() 87 struct wm831x *wm831x in wm831x_fll_prepare() local 105 struct wm831x *wm831x = clkdata->wm831x; wm831x_fll_unprepare() local 118 struct wm831x *wm831x = clkdata->wm831x; wm831x_fll_recalc_rate() local 155 struct wm831x *wm831x = clkdata->wm831x; wm831x_fll_set_rate() local 180 struct wm831x *wm831x = clkdata->wm831x; wm831x_fll_get_parent() local 235 struct wm831x *wm831x = clkdata->wm831x; wm831x_clkout_is_prepared() local 252 struct wm831x *wm831x = clkdata->wm831x; wm831x_clkout_prepare() local 275 struct wm831x *wm831x = clkdata->wm831x; wm831x_clkout_unprepare() local 301 struct wm831x *wm831x = clkdata->wm831x; wm831x_clkout_get_parent() local 321 struct wm831x *wm831x = clkdata->wm831x; wm831x_clkout_set_parent() local 347 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_clk_probe() local [all...] |
/kernel/linux/linux-5.10/drivers/gpio/ |
H A D | gpio-wm831x.c | 19 #include <linux/mfd/wm831x/core.h> 20 #include <linux/mfd/wm831x/pdata.h> 21 #include <linux/mfd/wm831x/gpio.h> 22 #include <linux/mfd/wm831x/irq.h> 25 struct wm831x *wm831x; member 32 struct wm831x *wm831x = wm831x_gpio->wm831x; in wm831x_gpio_direction_in() local 35 if (wm831x in wm831x_gpio_direction_in() 46 struct wm831x *wm831x = wm831x_gpio->wm831x; wm831x_gpio_get() local 62 struct wm831x *wm831x = wm831x_gpio->wm831x; wm831x_gpio_set() local 72 struct wm831x *wm831x = wm831x_gpio->wm831x; wm831x_gpio_direction_out() local 94 struct wm831x *wm831x = wm831x_gpio->wm831x; wm831x_gpio_to_irq() local 100 wm831x_gpio_set_debounce(struct wm831x *wm831x, unsigned offset, unsigned debounce) wm831x_gpio_set_debounce() argument 133 struct wm831x *wm831x = wm831x_gpio->wm831x; wm831x_set_config() local 157 struct wm831x *wm831x = wm831x_gpio->wm831x; wm831x_gpio_dbg_show() local 261 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_gpio_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/gpio/ |
H A D | gpio-wm831x.c | 19 #include <linux/mfd/wm831x/core.h> 20 #include <linux/mfd/wm831x/pdata.h> 21 #include <linux/mfd/wm831x/gpio.h> 22 #include <linux/mfd/wm831x/irq.h> 25 struct wm831x *wm831x; member 32 struct wm831x *wm831x = wm831x_gpio->wm831x; in wm831x_gpio_direction_in() local 35 if (wm831x in wm831x_gpio_direction_in() 46 struct wm831x *wm831x = wm831x_gpio->wm831x; wm831x_gpio_get() local 62 struct wm831x *wm831x = wm831x_gpio->wm831x; wm831x_gpio_set() local 72 struct wm831x *wm831x = wm831x_gpio->wm831x; wm831x_gpio_direction_out() local 94 struct wm831x *wm831x = wm831x_gpio->wm831x; wm831x_gpio_to_irq() local 100 wm831x_gpio_set_debounce(struct wm831x *wm831x, unsigned offset, unsigned debounce) wm831x_gpio_set_debounce() argument 133 struct wm831x *wm831x = wm831x_gpio->wm831x; wm831x_set_config() local 157 struct wm831x *wm831x = wm831x_gpio->wm831x; wm831x_gpio_dbg_show() local 261 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_gpio_probe() local [all...] |
/kernel/linux/linux-5.10/drivers/watchdog/ |
H A D | wm831x_wdt.c | 3 * Watchdog driver for the wm831x PMICs 17 #include <linux/mfd/wm831x/core.h> 18 #include <linux/mfd/wm831x/pdata.h> 19 #include <linux/mfd/wm831x/watchdog.h> 29 struct wm831x *wm831x; member 52 struct wm831x *wm831x = driver_data->wm831x; in wm831x_wdt_start() local 57 ret = wm831x_reg_unlock(wm831x); in wm831x_wdt_start() 75 struct wm831x *wm831x = driver_data->wm831x; wm831x_wdt_stop() local 98 struct wm831x *wm831x = driver_data->wm831x; wm831x_wdt_ping() local 133 struct wm831x *wm831x = driver_data->wm831x; wm831x_wdt_set_timeout() local 174 struct wm831x *wm831x = dev_get_drvdata(dev->parent); wm831x_wdt_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/watchdog/ |
H A D | wm831x_wdt.c | 3 * Watchdog driver for the wm831x PMICs 17 #include <linux/mfd/wm831x/core.h> 18 #include <linux/mfd/wm831x/pdata.h> 19 #include <linux/mfd/wm831x/watchdog.h> 29 struct wm831x *wm831x; member 52 struct wm831x *wm831x = driver_data->wm831x; in wm831x_wdt_start() local 57 ret = wm831x_reg_unlock(wm831x); in wm831x_wdt_start() 75 struct wm831x *wm831x = driver_data->wm831x; wm831x_wdt_stop() local 98 struct wm831x *wm831x = driver_data->wm831x; wm831x_wdt_ping() local 133 struct wm831x *wm831x = driver_data->wm831x; wm831x_wdt_set_timeout() local 174 struct wm831x *wm831x = dev_get_drvdata(dev->parent); wm831x_wdt_probe() local [all...] |
/kernel/linux/linux-5.10/drivers/power/supply/ |
H A D | wm831x_power.c | 3 * PMU driver for Wolfson Microelectronics wm831x PMICs 15 #include <linux/mfd/wm831x/core.h> 16 #include <linux/mfd/wm831x/auxadc.h> 17 #include <linux/mfd/wm831x/pmu.h> 18 #include <linux/mfd/wm831x/pdata.h> 21 struct wm831x *wm831x; member 36 static int wm831x_power_check_online(struct wm831x *wm831x, int supply, in wm831x_power_check_online() argument 41 ret = wm831x_reg_read(wm831x, WM831X_SYSTEM_STATU in wm831x_power_check_online() 53 wm831x_power_read_voltage(struct wm831x *wm831x, enum wm831x_auxadc src, union power_supply_propval *val) 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 237 wm831x_battey_apply_config(struct wm831x *wm831x, struct chg_map *map, int count, int val, int *reg, const char *name, const char *units) wm831x_battey_apply_config() argument 256 wm831x_config_battery(struct wm831x *wm831x) wm831x_config_battery() argument 334 wm831x_bat_check_status(struct wm831x *wm831x, int *status) wm831x_bat_check_status() argument 368 wm831x_bat_check_type(struct wm831x *wm831x, int *type) wm831x_bat_check_type() argument 393 wm831x_bat_check_health(struct wm831x *wm831x, int *health) wm831x_bat_check_health() argument 437 struct wm831x *wm831x = wm831x_power->wm831x; wm831x_bat_get_prop() local 487 struct wm831x *wm831x = wm831x_power->wm831x; wm831x_bat_irq() local 507 struct wm831x *wm831x = wm831x_power->wm831x; wm831x_syslo_irq() local 519 struct wm831x *wm831x = wm831x_power->wm831x; wm831x_pwr_src_irq() local 534 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_power_probe() local 701 struct wm831x *wm831x = wm831x_power->wm831x; wm831x_power_remove() local [all...] |
H A D | wm831x_backup.c | 3 * Backup battery driver for Wolfson Microelectronics wm831x PMICs 14 #include <linux/mfd/wm831x/core.h> 15 #include <linux/mfd/wm831x/auxadc.h> 16 #include <linux/mfd/wm831x/pmu.h> 17 #include <linux/mfd/wm831x/pdata.h> 20 struct wm831x *wm831x; member 26 static int wm831x_backup_read_voltage(struct wm831x *wm831x, in wm831x_backup_read_voltage() argument 32 ret = wm831x_auxadc_read_uv(wm831x, sr in wm831x_backup_read_voltage() 43 wm831x_config_backup(struct wm831x *wm831x) wm831x_config_backup() argument 117 struct wm831x *wm831x = devdata->wm831x; wm831x_backup_get_prop() local 164 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_backup_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/power/supply/ |
H A D | wm831x_power.c | 3 * PMU driver for Wolfson Microelectronics wm831x PMICs 15 #include <linux/mfd/wm831x/core.h> 16 #include <linux/mfd/wm831x/auxadc.h> 17 #include <linux/mfd/wm831x/pmu.h> 18 #include <linux/mfd/wm831x/pdata.h> 21 struct wm831x *wm831x; member 36 static int wm831x_power_check_online(struct wm831x *wm831x, int supply, in wm831x_power_check_online() argument 41 ret = wm831x_reg_read(wm831x, WM831X_SYSTEM_STATU in wm831x_power_check_online() 53 wm831x_power_read_voltage(struct wm831x *wm831x, enum wm831x_auxadc src, union power_supply_propval *val) 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 237 wm831x_battery_apply_config(struct wm831x *wm831x, struct chg_map *map, int count, int val, int *reg, const char *name, const char *units) wm831x_battery_apply_config() argument 256 wm831x_config_battery(struct wm831x *wm831x) wm831x_config_battery() argument 334 wm831x_bat_check_status(struct wm831x *wm831x, int *status) wm831x_bat_check_status() argument 368 wm831x_bat_check_type(struct wm831x *wm831x, int *type) wm831x_bat_check_type() argument 393 wm831x_bat_check_health(struct wm831x *wm831x, int *health) wm831x_bat_check_health() argument 437 struct wm831x *wm831x = wm831x_power->wm831x; wm831x_bat_get_prop() local 487 struct wm831x *wm831x = wm831x_power->wm831x; wm831x_bat_irq() local 507 struct wm831x *wm831x = wm831x_power->wm831x; wm831x_syslo_irq() local 519 struct wm831x *wm831x = wm831x_power->wm831x; wm831x_pwr_src_irq() local 534 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_power_probe() local 700 struct wm831x *wm831x = wm831x_power->wm831x; wm831x_power_remove() local [all...] |
H A D | wm831x_backup.c | 3 * Backup battery driver for Wolfson Microelectronics wm831x PMICs 14 #include <linux/mfd/wm831x/core.h> 15 #include <linux/mfd/wm831x/auxadc.h> 16 #include <linux/mfd/wm831x/pmu.h> 17 #include <linux/mfd/wm831x/pdata.h> 20 struct wm831x *wm831x; member 26 static int wm831x_backup_read_voltage(struct wm831x *wm831x, in wm831x_backup_read_voltage() argument 32 ret = wm831x_auxadc_read_uv(wm831x, sr in wm831x_backup_read_voltage() 43 wm831x_config_backup(struct wm831x *wm831x) wm831x_config_backup() argument 117 struct wm831x *wm831x = devdata->wm831x; wm831x_backup_get_prop() local 164 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_backup_probe() local [all...] |
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
H A D | wm831x-ts.c | 17 #include <linux/mfd/wm831x/core.h> 18 #include <linux/mfd/wm831x/irq.h> 19 #include <linux/mfd/wm831x/pdata.h> 61 struct wm831x *wm831x; member 76 dev_dbg(wm831x_ts->wm831x->dev, "IRQ PD->DATA done\n"); in wm831x_pd_data_work() 79 dev_dbg(wm831x_ts->wm831x->dev, "IRQ DATA->PD done\n"); in wm831x_pd_data_work() 86 struct wm831x *wm831x = wm831x_ts->wm831x; in wm831x_ts_data_irq() local 158 struct wm831x *wm831x = wm831x_ts->wm831x; wm831x_ts_pen_down_irq() local 189 struct wm831x *wm831x = wm831x_ts->wm831x; wm831x_ts_input_open() local 205 struct wm831x *wm831x = wm831x_ts->wm831x; wm831x_ts_input_close() local 234 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_ts_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/input/touchscreen/ |
H A D | wm831x-ts.c | 17 #include <linux/mfd/wm831x/core.h> 18 #include <linux/mfd/wm831x/irq.h> 19 #include <linux/mfd/wm831x/pdata.h> 61 struct wm831x *wm831x; member 76 dev_dbg(wm831x_ts->wm831x->dev, "IRQ PD->DATA done\n"); in wm831x_pd_data_work() 79 dev_dbg(wm831x_ts->wm831x->dev, "IRQ DATA->PD done\n"); in wm831x_pd_data_work() 86 struct wm831x *wm831x = wm831x_ts->wm831x; in wm831x_ts_data_irq() local 158 struct wm831x *wm831x = wm831x_ts->wm831x; wm831x_ts_pen_down_irq() local 189 struct wm831x *wm831x = wm831x_ts->wm831x; wm831x_ts_input_open() local 205 struct wm831x *wm831x = wm831x_ts->wm831x; wm831x_ts_input_close() local 234 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_ts_probe() local [all...] |
/kernel/linux/linux-5.10/drivers/regulator/ |
H A D | wm831x-ldo.c | 3 // wm831x-ldo.c -- LDO driver for the WM831x series 19 #include <linux/mfd/wm831x/core.h> 20 #include <linux/mfd/wm831x/regulator.h> 21 #include <linux/mfd/wm831x/pdata.h> 37 struct wm831x *wm831x; member 69 struct wm831x *wm831x = ldo->wm831x; in wm831x_gp_ldo_set_suspend_voltage() local 76 return wm831x_set_bits(wm831x, re in wm831x_gp_ldo_set_suspend_voltage() 82 struct wm831x *wm831x = ldo->wm831x; wm831x_gp_ldo_get_mode() local 108 struct wm831x *wm831x = ldo->wm831x; wm831x_gp_ldo_set_mode() local 159 struct wm831x *wm831x = ldo->wm831x; wm831x_gp_ldo_get_status() local 216 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_gp_ldo_probe() local 322 struct wm831x *wm831x = ldo->wm831x; wm831x_aldo_set_suspend_voltage() local 335 struct wm831x *wm831x = ldo->wm831x; wm831x_aldo_get_mode() local 353 struct wm831x *wm831x = ldo->wm831x; wm831x_aldo_set_mode() local 382 struct wm831x *wm831x = ldo->wm831x; wm831x_aldo_get_status() local 426 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_aldo_probe() local 528 struct wm831x *wm831x = ldo->wm831x; wm831x_alive_ldo_set_suspend_voltage() local 541 struct wm831x *wm831x = ldo->wm831x; wm831x_alive_ldo_get_status() local 570 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_alive_ldo_probe() local [all...] |
H A D | wm831x-dcdc.c | 3 // wm831x-dcdc.c -- DC-DC buck converter driver for the WM831x series 21 #include <linux/mfd/wm831x/core.h> 22 #include <linux/mfd/wm831x/regulator.h> 23 #include <linux/mfd/wm831x/pdata.h> 51 struct wm831x *wm831x; member 63 struct wm831x *wm831x = dcdc->wm831x; in wm831x_dcdc_get_mode() local 67 val = wm831x_reg_read(wm831x, re in wm831x_dcdc_get_mode() 88 wm831x_dcdc_set_mode_int(struct wm831x *wm831x, int reg, unsigned int mode) wm831x_dcdc_set_mode_int() argument 117 struct wm831x *wm831x = dcdc->wm831x; wm831x_dcdc_set_mode() local 127 struct wm831x *wm831x = dcdc->wm831x; wm831x_dcdc_set_suspend_mode() local 136 struct wm831x *wm831x = dcdc->wm831x; wm831x_dcdc_get_status() local 230 struct wm831x *wm831x = dcdc->wm831x; wm831x_buckv_set_voltage_sel() local 280 struct wm831x *wm831x = dcdc->wm831x; wm831x_buckv_set_suspend_voltage() local 332 struct wm831x *wm831x = dcdc->wm831x; wm831x_buckv_dvs_init() local 389 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_buckv_probe() local 518 struct wm831x *wm831x = dcdc->wm831x; wm831x_buckp_set_suspend_voltage() local 547 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_buckp_probe() local 645 struct wm831x *wm831x = dcdc->wm831x; wm831x_boostp_get_status() local 679 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_boostp_probe() local 771 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_epe_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/regulator/ |
H A D | wm831x-ldo.c | 3 // wm831x-ldo.c -- LDO driver for the WM831x series 19 #include <linux/mfd/wm831x/core.h> 20 #include <linux/mfd/wm831x/regulator.h> 21 #include <linux/mfd/wm831x/pdata.h> 37 struct wm831x *wm831x; member 69 struct wm831x *wm831x = ldo->wm831x; in wm831x_gp_ldo_set_suspend_voltage() local 76 return wm831x_set_bits(wm831x, re in wm831x_gp_ldo_set_suspend_voltage() 82 struct wm831x *wm831x = ldo->wm831x; wm831x_gp_ldo_get_mode() local 108 struct wm831x *wm831x = ldo->wm831x; wm831x_gp_ldo_set_mode() local 159 struct wm831x *wm831x = ldo->wm831x; wm831x_gp_ldo_get_status() local 216 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_gp_ldo_probe() local 323 struct wm831x *wm831x = ldo->wm831x; wm831x_aldo_set_suspend_voltage() local 336 struct wm831x *wm831x = ldo->wm831x; wm831x_aldo_get_mode() local 354 struct wm831x *wm831x = ldo->wm831x; wm831x_aldo_set_mode() local 383 struct wm831x *wm831x = ldo->wm831x; wm831x_aldo_get_status() local 427 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_aldo_probe() local 530 struct wm831x *wm831x = ldo->wm831x; wm831x_alive_ldo_set_suspend_voltage() local 543 struct wm831x *wm831x = ldo->wm831x; wm831x_alive_ldo_get_status() local 572 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_alive_ldo_probe() local [all...] |
H A D | wm831x-dcdc.c | 3 // wm831x-dcdc.c -- DC-DC buck converter driver for the WM831x series 21 #include <linux/mfd/wm831x/core.h> 22 #include <linux/mfd/wm831x/regulator.h> 23 #include <linux/mfd/wm831x/pdata.h> 51 struct wm831x *wm831x; member 63 struct wm831x *wm831x = dcdc->wm831x; in wm831x_dcdc_get_mode() local 67 val = wm831x_reg_read(wm831x, re in wm831x_dcdc_get_mode() 88 wm831x_dcdc_set_mode_int(struct wm831x *wm831x, int reg, unsigned int mode) wm831x_dcdc_set_mode_int() argument 117 struct wm831x *wm831x = dcdc->wm831x; wm831x_dcdc_set_mode() local 127 struct wm831x *wm831x = dcdc->wm831x; wm831x_dcdc_set_suspend_mode() local 136 struct wm831x *wm831x = dcdc->wm831x; wm831x_dcdc_get_status() local 230 struct wm831x *wm831x = dcdc->wm831x; wm831x_buckv_set_voltage_sel() local 280 struct wm831x *wm831x = dcdc->wm831x; wm831x_buckv_set_suspend_voltage() local 332 struct wm831x *wm831x = dcdc->wm831x; wm831x_buckv_dvs_init() local 389 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_buckv_probe() local 519 struct wm831x *wm831x = dcdc->wm831x; wm831x_buckp_set_suspend_voltage() local 548 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_buckp_probe() local 647 struct wm831x *wm831x = dcdc->wm831x; wm831x_boostp_get_status() local 681 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_boostp_probe() local 774 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); wm831x_epe_probe() local [all...] |