/linux/drivers/clk/ |
A 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/drivers/power/supply/ |
A D | wm831x_power.c | 21 struct wm831x *wm831x; member 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 256 static void wm831x_config_battery(struct wm831x *wm831x) in wm831x_config_battery() 437 struct wm831x *wm831x = wm831x_power->wm831x; in wm831x_bat_get_prop() local 487 struct wm831x *wm831x = wm831x_power->wm831x; in wm831x_bat_irq() local 507 struct wm831x *wm831x = wm831x_power->wm831x; in wm831x_syslo_irq() local 519 struct wm831x *wm831x = wm831x_power->wm831x; in wm831x_pwr_src_irq() local 534 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); in wm831x_power_probe() local [all …]
|
A 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/drivers/mfd/ |
A 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() 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() 1457 int wm831x_device_init(struct wm831x *wm831x, int irq) in wm831x_device_init() 1719 int wm831x_device_suspend(struct wm831x *wm831x) in wm831x_device_suspend() [all …]
|
A 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()
|
A D | wm831x-auxadc.c | 31 static int wm831x_auxadc_read_irq(struct wm831x *wm831x, in wm831x_auxadc_read_irq() 109 struct wm831x *wm831x = irq_data; in wm831x_auxadc_irq() local 152 static int wm831x_auxadc_read_polled(struct wm831x *wm831x, in wm831x_auxadc_read_polled() 244 int wm831x_auxadc_read(struct wm831x *wm831x, enum wm831x_auxadc input) in wm831x_auxadc_read() 256 int wm831x_auxadc_read_uv(struct wm831x *wm831x, enum wm831x_auxadc input) in wm831x_auxadc_read_uv() 270 void wm831x_auxadc_init(struct wm831x *wm831x) in wm831x_auxadc_init()
|
A 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 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()
|
A 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
|
A 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
|
/linux/drivers/gpio/ |
A 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/drivers/regulator/ |
A 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 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 528 struct wm831x *wm831x = ldo->wm831x; in wm831x_alive_ldo_set_suspend_voltage() local [all …]
|
A D | wm831x-dcdc.c | 51 struct wm831x *wm831x; member 63 struct wm831x *wm831x = dcdc->wm831x; in wm831x_dcdc_get_mode() local 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 518 struct wm831x *wm831x = dcdc->wm831x; in wm831x_buckp_set_suspend_voltage() local [all …]
|
A 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/include/linux/mfd/wm831x/ |
A 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/drivers/watchdog/ |
A 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/drivers/input/touchscreen/ |
A 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/drivers/input/misc/ |
A 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/drivers/rtc/ |
A 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/drivers/hwmon/ |
A 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/drivers/video/backlight/ |
A 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/drivers/leds/ |
A 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/arch/arm/mach-s3c/ |
A D | mach-smdk6410.c | 512 static int wm1192_pre_init(struct wm831x *wm831x) in wm1192_pre_init()
|