/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/mfd/ |
H A D | wm831x-otp.c | 2 * wm831x-otp.c -- OTP for Wolfson WM831x PMICs 22 #include <linux/mfd/wm831x/core.h> 23 #include <linux/mfd/wm831x/otp.h> 29 static int wm831x_unique_id_read(struct wm831x *wm831x, char *id) argument 34 val = wm831x_reg_read(wm831x, WM831X_UNIQUE_ID_1 + i); 48 struct wm831x *wm831x = dev_get_drvdata(dev); local 53 rval = wm831x_unique_id_read(wm831x, id); 67 int wm831x_otp_init(struct wm831x *wm831 argument 79 wm831x_otp_exit(struct wm831x *wm831x) argument [all...] |
H A D | wm831x-core.c | 2 * wm831x-core.c -- Device access for Wolfson WM831x PMICs 23 #include <linux/mfd/wm831x/core.h> 24 #include <linux/mfd/wm831x/pdata.h> 25 #include <linux/mfd/wm831x/irq.h> 26 #include <linux/mfd/wm831x/auxadc.h> 27 #include <linux/mfd/wm831x/otp.h> 28 #include <linux/mfd/wm831x/regulator.h> 101 static int wm831x_reg_locked(struct wm831x *wm831x, unsigned short reg) argument 103 if (!wm831x 127 wm831x_reg_lock(struct wm831x *wm831x) argument 153 wm831x_reg_unlock(struct wm831x *wm831x) argument 172 wm831x_read(struct wm831x *wm831x, unsigned short reg, int bytes, void *dest) argument 201 wm831x_reg_read(struct wm831x *wm831x, unsigned short reg) argument 227 wm831x_bulk_read(struct wm831x *wm831x, unsigned short reg, int count, u16 *buf) argument 242 wm831x_write(struct wm831x *wm831x, unsigned short reg, int bytes, void *src) argument 271 wm831x_reg_write(struct wm831x *wm831x, unsigned short reg, unsigned short val) argument 294 wm831x_set_bits(struct wm831x *wm831x, unsigned short reg, unsigned short mask, unsigned short val) argument 324 wm831x_auxadc_read(struct wm831x *wm831x, enum wm831x_auxadc input) argument 431 struct wm831x *wm831x = irq_data; local 444 wm831x_auxadc_read_uv(struct wm831x *wm831x, enum wm831x_auxadc input) argument 1449 wm831x_device_init(struct wm831x *wm831x, unsigned long id, int irq) argument 1667 wm831x_device_exit(struct wm831x *wm831x) argument 1677 wm831x_device_suspend(struct wm831x *wm831x) argument 1713 wm831x_i2c_read_device(struct wm831x *wm831x, unsigned short reg, int bytes, void *dest) argument 1738 wm831x_i2c_write_device(struct wm831x *wm831x, unsigned short reg, int bytes, void *src) argument 1761 struct wm831x *wm831x; local 1778 struct wm831x *wm831x = i2c_get_clientdata(i2c); local 1787 struct wm831x *wm831x = i2c_get_clientdata(i2c); local [all...] |
H A D | wm831x-irq.c | 2 * wm831x-irq.c -- Interrupt controller support for Wolfson WM831x PMICs 22 #include <linux/mfd/wm831x/core.h> 23 #include <linux/mfd/wm831x/pdata.h> 24 #include <linux/mfd/wm831x/gpio.h> 25 #include <linux/mfd/wm831x/irq.h> 342 static inline struct wm831x_irq_data *irq_to_wm831x_irq(struct wm831x *wm831x, argument 345 return &wm831x_irqs[irq - wm831x->irq_base]; 350 struct wm831x *wm831x local 357 struct wm831x *wm831x = get_irq_chip_data(irq); local 376 struct wm831x *wm831x = get_irq_chip_data(irq); local 384 struct wm831x *wm831x = get_irq_chip_data(irq); local 392 struct wm831x *wm831x = get_irq_chip_data(irq); local 436 struct wm831x *wm831x = data; local 491 wm831x_irq_init(struct wm831x *wm831x, int irq) argument 554 wm831x_irq_exit(struct wm831x *wm831x) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/mfd/ |
H A D | wm831x-otp.c | 2 * wm831x-otp.c -- OTP for Wolfson WM831x PMICs 22 #include <linux/mfd/wm831x/core.h> 23 #include <linux/mfd/wm831x/otp.h> 29 static int wm831x_unique_id_read(struct wm831x *wm831x, char *id) argument 34 val = wm831x_reg_read(wm831x, WM831X_UNIQUE_ID_1 + i); 48 struct wm831x *wm831x = dev_get_drvdata(dev); local 53 rval = wm831x_unique_id_read(wm831x, id); 67 int wm831x_otp_init(struct wm831x *wm831 argument 79 wm831x_otp_exit(struct wm831x *wm831x) argument [all...] |
H A D | wm831x-core.c | 2 * wm831x-core.c -- Device access for Wolfson WM831x PMICs 23 #include <linux/mfd/wm831x/core.h> 24 #include <linux/mfd/wm831x/pdata.h> 25 #include <linux/mfd/wm831x/irq.h> 26 #include <linux/mfd/wm831x/auxadc.h> 27 #include <linux/mfd/wm831x/otp.h> 28 #include <linux/mfd/wm831x/regulator.h> 101 static int wm831x_reg_locked(struct wm831x *wm831x, unsigned short reg) argument 103 if (!wm831x 127 wm831x_reg_lock(struct wm831x *wm831x) argument 153 wm831x_reg_unlock(struct wm831x *wm831x) argument 172 wm831x_read(struct wm831x *wm831x, unsigned short reg, int bytes, void *dest) argument 201 wm831x_reg_read(struct wm831x *wm831x, unsigned short reg) argument 227 wm831x_bulk_read(struct wm831x *wm831x, unsigned short reg, int count, u16 *buf) argument 242 wm831x_write(struct wm831x *wm831x, unsigned short reg, int bytes, void *src) argument 271 wm831x_reg_write(struct wm831x *wm831x, unsigned short reg, unsigned short val) argument 294 wm831x_set_bits(struct wm831x *wm831x, unsigned short reg, unsigned short mask, unsigned short val) argument 324 wm831x_auxadc_read(struct wm831x *wm831x, enum wm831x_auxadc input) argument 431 struct wm831x *wm831x = irq_data; local 444 wm831x_auxadc_read_uv(struct wm831x *wm831x, enum wm831x_auxadc input) argument 1449 wm831x_device_init(struct wm831x *wm831x, unsigned long id, int irq) argument 1667 wm831x_device_exit(struct wm831x *wm831x) argument 1677 wm831x_device_suspend(struct wm831x *wm831x) argument 1713 wm831x_i2c_read_device(struct wm831x *wm831x, unsigned short reg, int bytes, void *dest) argument 1738 wm831x_i2c_write_device(struct wm831x *wm831x, unsigned short reg, int bytes, void *src) argument 1761 struct wm831x *wm831x; local 1778 struct wm831x *wm831x = i2c_get_clientdata(i2c); local 1787 struct wm831x *wm831x = i2c_get_clientdata(i2c); local [all...] |
H A D | wm831x-irq.c | 2 * wm831x-irq.c -- Interrupt controller support for Wolfson WM831x PMICs 22 #include <linux/mfd/wm831x/core.h> 23 #include <linux/mfd/wm831x/pdata.h> 24 #include <linux/mfd/wm831x/gpio.h> 25 #include <linux/mfd/wm831x/irq.h> 342 static inline struct wm831x_irq_data *irq_to_wm831x_irq(struct wm831x *wm831x, argument 345 return &wm831x_irqs[irq - wm831x->irq_base]; 350 struct wm831x *wm831x local 357 struct wm831x *wm831x = get_irq_chip_data(irq); local 376 struct wm831x *wm831x = get_irq_chip_data(irq); local 384 struct wm831x *wm831x = get_irq_chip_data(irq); local 392 struct wm831x *wm831x = get_irq_chip_data(irq); local 436 struct wm831x *wm831x = data; local 491 wm831x_irq_init(struct wm831x *wm831x, int irq) argument 554 wm831x_irq_exit(struct wm831x *wm831x) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/power/ |
H A D | wm831x_backup.c | 2 * Backup battery driver for Wolfson Microelectronics wm831x PMICs 17 #include <linux/mfd/wm831x/core.h> 18 #include <linux/mfd/wm831x/auxadc.h> 19 #include <linux/mfd/wm831x/pmu.h> 20 #include <linux/mfd/wm831x/pdata.h> 23 struct wm831x *wm831x; member in struct:wm831x_backup 27 static int wm831x_backup_read_voltage(struct wm831x *wm831x, argument 33 ret = wm831x_auxadc_read_uv(wm831x, sr 44 wm831x_config_backup(struct wm831x *wm831x) argument 118 struct wm831x *wm831x = devdata->wm831x; local 165 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); local [all...] |
H A D | wm831x_power.c | 2 * PMU driver for Wolfson Microelectronics wm831x PMICs 17 #include <linux/mfd/wm831x/core.h> 18 #include <linux/mfd/wm831x/auxadc.h> 19 #include <linux/mfd/wm831x/pmu.h> 20 #include <linux/mfd/wm831x/pdata.h> 23 struct wm831x *wm831x; member in struct:wm831x_power 29 static int wm831x_power_check_online(struct wm831x *wm831x, int supply, argument 34 ret = wm831x_reg_read(wm831x, WM831X_SYSTEM_STATU 46 wm831x_power_read_voltage(struct wm831x *wm831x, enum wm831x_auxadc src, union power_supply_propval *val) argument 67 struct wm831x *wm831x = wm831x_power->wm831x; local 98 struct wm831x *wm831x = wm831x_power->wm831x; local 193 wm831x_battey_apply_config(struct wm831x *wm831x, struct chg_map *map, int count, int val, int *reg, const char *name, const char *units) argument 212 wm831x_config_battery(struct wm831x *wm831x) argument 291 wm831x_bat_check_status(struct wm831x *wm831x, int *status) argument 325 wm831x_bat_check_type(struct wm831x *wm831x, int *type) argument 350 wm831x_bat_check_health(struct wm831x *wm831x, int *health) argument 394 struct wm831x *wm831x = wm831x_power->wm831x; local 444 struct wm831x *wm831x = wm831x_power->wm831x; local 463 struct wm831x *wm831x = wm831x_power->wm831x; local 475 struct wm831x *wm831x = wm831x_power->wm831x; local 489 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/power/ |
H A D | wm831x_backup.c | 2 * Backup battery driver for Wolfson Microelectronics wm831x PMICs 17 #include <linux/mfd/wm831x/core.h> 18 #include <linux/mfd/wm831x/auxadc.h> 19 #include <linux/mfd/wm831x/pmu.h> 20 #include <linux/mfd/wm831x/pdata.h> 23 struct wm831x *wm831x; member in struct:wm831x_backup 27 static int wm831x_backup_read_voltage(struct wm831x *wm831x, argument 33 ret = wm831x_auxadc_read_uv(wm831x, sr 44 wm831x_config_backup(struct wm831x *wm831x) argument 118 struct wm831x *wm831x = devdata->wm831x; local 165 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); local [all...] |
H A D | wm831x_power.c | 2 * PMU driver for Wolfson Microelectronics wm831x PMICs 17 #include <linux/mfd/wm831x/core.h> 18 #include <linux/mfd/wm831x/auxadc.h> 19 #include <linux/mfd/wm831x/pmu.h> 20 #include <linux/mfd/wm831x/pdata.h> 23 struct wm831x *wm831x; member in struct:wm831x_power 29 static int wm831x_power_check_online(struct wm831x *wm831x, int supply, argument 34 ret = wm831x_reg_read(wm831x, WM831X_SYSTEM_STATU 46 wm831x_power_read_voltage(struct wm831x *wm831x, enum wm831x_auxadc src, union power_supply_propval *val) argument 67 struct wm831x *wm831x = wm831x_power->wm831x; local 98 struct wm831x *wm831x = wm831x_power->wm831x; local 193 wm831x_battey_apply_config(struct wm831x *wm831x, struct chg_map *map, int count, int val, int *reg, const char *name, const char *units) argument 212 wm831x_config_battery(struct wm831x *wm831x) argument 291 wm831x_bat_check_status(struct wm831x *wm831x, int *status) argument 325 wm831x_bat_check_type(struct wm831x *wm831x, int *type) argument 350 wm831x_bat_check_health(struct wm831x *wm831x, int *health) argument 394 struct wm831x *wm831x = wm831x_power->wm831x; local 444 struct wm831x *wm831x = wm831x_power->wm831x; local 463 struct wm831x *wm831x = wm831x_power->wm831x; local 475 struct wm831x *wm831x = wm831x_power->wm831x; local 489 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/gpio/ |
H A D | wm831x-gpio.c | 2 * wm831x-gpio.c -- gpiolib support for Wolfson WM831x PMICs 23 #include <linux/mfd/wm831x/core.h> 24 #include <linux/mfd/wm831x/pdata.h> 25 #include <linux/mfd/wm831x/gpio.h> 26 #include <linux/mfd/wm831x/irq.h> 29 struct wm831x *wm831x; member in struct:wm831x_gpio 41 struct wm831x *wm831x = wm831x_gpio->wm831x; local 55 struct wm831x *wm831x = wm831x_gpio->wm831x; local 71 struct wm831x *wm831x = wm831x_gpio->wm831x; local 81 struct wm831x *wm831x = wm831x_gpio->wm831x; local 103 struct wm831x *wm831x = wm831x_gpio->wm831x; local 115 struct wm831x *wm831x = wm831x_gpio->wm831x; local 146 struct wm831x *wm831x = wm831x_gpio->wm831x; local 249 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/gpio/ |
H A D | wm831x-gpio.c | 2 * wm831x-gpio.c -- gpiolib support for Wolfson WM831x PMICs 23 #include <linux/mfd/wm831x/core.h> 24 #include <linux/mfd/wm831x/pdata.h> 25 #include <linux/mfd/wm831x/gpio.h> 26 #include <linux/mfd/wm831x/irq.h> 29 struct wm831x *wm831x; member in struct:wm831x_gpio 41 struct wm831x *wm831x = wm831x_gpio->wm831x; local 55 struct wm831x *wm831x = wm831x_gpio->wm831x; local 71 struct wm831x *wm831x = wm831x_gpio->wm831x; local 81 struct wm831x *wm831x = wm831x_gpio->wm831x; local 103 struct wm831x *wm831x = wm831x_gpio->wm831x; local 115 struct wm831x *wm831x = wm831x_gpio->wm831x; local 146 struct wm831x *wm831x = wm831x_gpio->wm831x; local 249 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/watchdog/ |
H A D | wm831x_wdt.c | 2 * Watchdog driver for the wm831x PMICs 22 #include <linux/mfd/wm831x/core.h> 23 #include <linux/mfd/wm831x/pdata.h> 24 #include <linux/mfd/wm831x/watchdog.h> 36 static struct wm831x *wm831x; variable in typeref:struct:wm831x 55 static int wm831x_wdt_set_timeout(struct wm831x *wm831x, u16 value) argument 61 ret = wm831x_reg_unlock(wm831x); 63 ret = wm831x_set_bits(wm831x, WM831X_WATCHDO 76 wm831x_wdt_start(struct wm831x *wm831x) argument 97 wm831x_wdt_stop(struct wm831x *wm831x) argument 118 wm831x_wdt_kick(struct wm831x *wm831x) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/watchdog/ |
H A D | wm831x_wdt.c | 2 * Watchdog driver for the wm831x PMICs 22 #include <linux/mfd/wm831x/core.h> 23 #include <linux/mfd/wm831x/pdata.h> 24 #include <linux/mfd/wm831x/watchdog.h> 36 static struct wm831x *wm831x; variable in typeref:struct:wm831x 55 static int wm831x_wdt_set_timeout(struct wm831x *wm831x, u16 value) argument 61 ret = wm831x_reg_unlock(wm831x); 63 ret = wm831x_set_bits(wm831x, WM831X_WATCHDO 76 wm831x_wdt_start(struct wm831x *wm831x) argument 97 wm831x_wdt_stop(struct wm831x *wm831x) argument 118 wm831x_wdt_kick(struct wm831x *wm831x) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/regulator/ |
H A D | wm831x-isink.c | 2 * wm831x-isink.c -- Current sink driver for the WM831x series 24 #include <linux/mfd/wm831x/core.h> 25 #include <linux/mfd/wm831x/regulator.h> 26 #include <linux/mfd/wm831x/pdata.h> 34 struct wm831x *wm831x; member in struct:wm831x_isink 41 struct wm831x *wm831x = isink->wm831x; local 45 ret = wm831x_set_bits(wm831x, isin 63 struct wm831x *wm831x = isink->wm831x; local 81 struct wm831x *wm831x = isink->wm831x; local 99 struct wm831x *wm831x = isink->wm831x; local 117 struct wm831x *wm831x = isink->wm831x; local 153 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); local 224 struct wm831x *wm831x = isink->wm831x; local [all...] |
H A D | wm831x-dcdc.c | 2 * wm831x-dcdc.c -- DC-DC buck convertor driver for the WM831x series 26 #include <linux/mfd/wm831x/core.h> 27 #include <linux/mfd/wm831x/regulator.h> 28 #include <linux/mfd/wm831x/pdata.h> 55 struct wm831x *wm831x; member in struct:wm831x_dcdc 66 struct wm831x *wm831x = dcdc->wm831x; local 70 reg = wm831x_reg_read(wm831x, WM831X_DCDC_ENABL 83 struct wm831x *wm831x = dcdc->wm831x; local 92 struct wm831x *wm831x = dcdc->wm831x; local 102 struct wm831x *wm831x = dcdc->wm831x; local 126 wm831x_dcdc_set_mode_int(struct wm831x *wm831x, int reg, unsigned int mode) argument 155 struct wm831x *wm831x = dcdc->wm831x; local 165 struct wm831x *wm831x = dcdc->wm831x; local 174 struct wm831x *wm831x = dcdc->wm831x; local 308 struct wm831x *wm831x = dcdc->wm831x; local 367 struct wm831x *wm831x = dcdc->wm831x; local 397 struct wm831x *wm831x = dcdc->wm831x; local 414 struct wm831x *wm831x = dcdc->wm831x; local 449 struct wm831x *wm831x = dcdc->wm831x; local 502 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); local 602 struct wm831x *wm831x = dcdc->wm831x; local 642 struct wm831x *wm831x = dcdc->wm831x; local 677 struct wm831x *wm831x = dcdc->wm831x; local 705 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); local 774 struct wm831x *wm831x = dcdc->wm831x; local 801 struct wm831x *wm831x = dcdc->wm831x; local 835 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); local 903 struct wm831x *wm831x = dcdc->wm831x; local 941 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); local [all...] |
H A D | wm831x-ldo.c | 2 * wm831x-ldo.c -- LDO driver for the WM831x series 24 #include <linux/mfd/wm831x/core.h> 25 #include <linux/mfd/wm831x/regulator.h> 26 #include <linux/mfd/wm831x/pdata.h> 41 struct wm831x *wm831x; member in struct:wm831x_ldo 52 struct wm831x *wm831x = ldo->wm831x; local 56 reg = wm831x_reg_read(wm831x, WM831X_LDO_ENABL 69 struct wm831x *wm831x = ldo->wm831x; local 78 struct wm831x *wm831x = ldo->wm831x; local 119 struct wm831x *wm831x = ldo->wm831x; local 160 struct wm831x *wm831x = ldo->wm831x; local 176 struct wm831x *wm831x = ldo->wm831x; local 202 struct wm831x *wm831x = ldo->wm831x; local 253 struct wm831x *wm831x = ldo->wm831x; local 305 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); local 374 struct wm831x *wm831x = ldo->wm831x; local 419 struct wm831x *wm831x = ldo->wm831x; local 460 struct wm831x *wm831x = ldo->wm831x; local 476 struct wm831x *wm831x = ldo->wm831x; local 494 struct wm831x *wm831x = ldo->wm831x; local 526 struct wm831x *wm831x = ldo->wm831x; local 565 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); local 634 struct wm831x *wm831x = ldo->wm831x; local 672 struct wm831x *wm831x = ldo->wm831x; local 707 struct wm831x *wm831x = ldo->wm831x; local 723 struct wm831x *wm831x = ldo->wm831x; local 751 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/regulator/ |
H A D | wm831x-isink.c | 2 * wm831x-isink.c -- Current sink driver for the WM831x series 24 #include <linux/mfd/wm831x/core.h> 25 #include <linux/mfd/wm831x/regulator.h> 26 #include <linux/mfd/wm831x/pdata.h> 34 struct wm831x *wm831x; member in struct:wm831x_isink 41 struct wm831x *wm831x = isink->wm831x; local 45 ret = wm831x_set_bits(wm831x, isin 63 struct wm831x *wm831x = isink->wm831x; local 81 struct wm831x *wm831x = isink->wm831x; local 99 struct wm831x *wm831x = isink->wm831x; local 117 struct wm831x *wm831x = isink->wm831x; local 153 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); local 224 struct wm831x *wm831x = isink->wm831x; local [all...] |
H A D | wm831x-dcdc.c | 2 * wm831x-dcdc.c -- DC-DC buck convertor driver for the WM831x series 26 #include <linux/mfd/wm831x/core.h> 27 #include <linux/mfd/wm831x/regulator.h> 28 #include <linux/mfd/wm831x/pdata.h> 55 struct wm831x *wm831x; member in struct:wm831x_dcdc 66 struct wm831x *wm831x = dcdc->wm831x; local 70 reg = wm831x_reg_read(wm831x, WM831X_DCDC_ENABL 83 struct wm831x *wm831x = dcdc->wm831x; local 92 struct wm831x *wm831x = dcdc->wm831x; local 102 struct wm831x *wm831x = dcdc->wm831x; local 126 wm831x_dcdc_set_mode_int(struct wm831x *wm831x, int reg, unsigned int mode) argument 155 struct wm831x *wm831x = dcdc->wm831x; local 165 struct wm831x *wm831x = dcdc->wm831x; local 174 struct wm831x *wm831x = dcdc->wm831x; local 308 struct wm831x *wm831x = dcdc->wm831x; local 367 struct wm831x *wm831x = dcdc->wm831x; local 397 struct wm831x *wm831x = dcdc->wm831x; local 414 struct wm831x *wm831x = dcdc->wm831x; local 449 struct wm831x *wm831x = dcdc->wm831x; local 502 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); local 602 struct wm831x *wm831x = dcdc->wm831x; local 642 struct wm831x *wm831x = dcdc->wm831x; local 677 struct wm831x *wm831x = dcdc->wm831x; local 705 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); local 774 struct wm831x *wm831x = dcdc->wm831x; local 801 struct wm831x *wm831x = dcdc->wm831x; local 835 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); local 903 struct wm831x *wm831x = dcdc->wm831x; local 941 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); local [all...] |
H A D | wm831x-ldo.c | 2 * wm831x-ldo.c -- LDO driver for the WM831x series 24 #include <linux/mfd/wm831x/core.h> 25 #include <linux/mfd/wm831x/regulator.h> 26 #include <linux/mfd/wm831x/pdata.h> 41 struct wm831x *wm831x; member in struct:wm831x_ldo 52 struct wm831x *wm831x = ldo->wm831x; local 56 reg = wm831x_reg_read(wm831x, WM831X_LDO_ENABL 69 struct wm831x *wm831x = ldo->wm831x; local 78 struct wm831x *wm831x = ldo->wm831x; local 119 struct wm831x *wm831x = ldo->wm831x; local 160 struct wm831x *wm831x = ldo->wm831x; local 176 struct wm831x *wm831x = ldo->wm831x; local 202 struct wm831x *wm831x = ldo->wm831x; local 253 struct wm831x *wm831x = ldo->wm831x; local 305 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); local 374 struct wm831x *wm831x = ldo->wm831x; local 419 struct wm831x *wm831x = ldo->wm831x; local 460 struct wm831x *wm831x = ldo->wm831x; local 476 struct wm831x *wm831x = ldo->wm831x; local 494 struct wm831x *wm831x = ldo->wm831x; local 526 struct wm831x *wm831x = ldo->wm831x; local 565 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); local 634 struct wm831x *wm831x = ldo->wm831x; local 672 struct wm831x *wm831x = ldo->wm831x; local 707 struct wm831x *wm831x = ldo->wm831x; local 723 struct wm831x *wm831x = ldo->wm831x; local 751 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/include/linux/mfd/wm831x/ |
H A D | core.h | 2 * include/linux/mfd/wm831x/core.h -- Core interface for WM831x 241 struct wm831x { struct 245 int (*read_dev)(struct wm831x *wm831x, unsigned short reg, 247 int (*write_dev)(struct wm831x *wm831x, unsigned short reg, 278 int wm831x_reg_read(struct wm831x *wm831x, unsigned short reg); 279 int wm831x_reg_write(struct wm831x *wm831x, unsigne 291 wm831x_request_irq(struct wm831x *wm831x, unsigned int irq, irq_handler_t handler, unsigned long flags, const char *name, void *dev) argument 301 wm831x_free_irq(struct wm831x *wm831x, unsigned int irq, void *dev) argument 307 wm831x_disable_irq(struct wm831x *wm831x, int irq) argument 312 wm831x_enable_irq(struct wm831x *wm831x, int irq) argument [all...] |
H A D | pdata.h | 2 * include/linux/mfd/wm831x/pdata.h -- Platform data for WM831x 18 struct wm831x; 107 int (*pre_init)(struct wm831x *wm831x); 109 int (*post_init)(struct wm831x *wm831x);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/include/linux/mfd/wm831x/ |
H A D | core.h | 2 * include/linux/mfd/wm831x/core.h -- Core interface for WM831x 241 struct wm831x { struct 245 int (*read_dev)(struct wm831x *wm831x, unsigned short reg, 247 int (*write_dev)(struct wm831x *wm831x, unsigned short reg, 278 int wm831x_reg_read(struct wm831x *wm831x, unsigned short reg); 279 int wm831x_reg_write(struct wm831x *wm831x, unsigne 291 wm831x_request_irq(struct wm831x *wm831x, unsigned int irq, irq_handler_t handler, unsigned long flags, const char *name, void *dev) argument 301 wm831x_free_irq(struct wm831x *wm831x, unsigned int irq, void *dev) argument 307 wm831x_disable_irq(struct wm831x *wm831x, int irq) argument 312 wm831x_enable_irq(struct wm831x *wm831x, int irq) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/video/backlight/ |
H A D | wm831x_bl.c | 18 #include <linux/mfd/wm831x/core.h> 19 #include <linux/mfd/wm831x/pdata.h> 20 #include <linux/mfd/wm831x/regulator.h> 23 struct wm831x *wm831x; member in struct:wm831x_backlight_data 31 struct wm831x *wm831x = data->wm831x; local 38 ret = wm831x_set_bits(wm831x, data->isink_reg, 44 ret = wm831x_set_bits(wm831x, WM831X_DCDC_ENABL 124 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/video/backlight/ |
H A D | wm831x_bl.c | 18 #include <linux/mfd/wm831x/core.h> 19 #include <linux/mfd/wm831x/pdata.h> 20 #include <linux/mfd/wm831x/regulator.h> 23 struct wm831x *wm831x; member in struct:wm831x_backlight_data 31 struct wm831x *wm831x = data->wm831x; local 38 ret = wm831x_set_bits(wm831x, data->isink_reg, 44 ret = wm831x_set_bits(wm831x, WM831X_DCDC_ENABL 124 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); local [all...] |