Home
last modified time | relevance | path

Searched defs:regmap (Results 1 – 25 of 803) sorted by relevance

12345678910>>...33

/Linux-v4.19/drivers/base/regmap/
Dinternal.h52 struct regmap { struct
60 regmap_lock lock; argument
61 regmap_unlock unlock; argument
67 struct regmap_format format; /* Buffer format */ argument
68 const struct regmap_bus *bus; argument
69 void *bus_context;
70 const char *name;
72 bool async;
73 spinlock_t async_lock;
74 wait_queue_head_t async_waitq;
[all …]
/Linux-v4.19/drivers/clk/at91/
Dclk-main.c32 struct regmap *regmap; member
39 struct regmap *regmap; member
48 struct regmap *regmap; member
55 struct regmap *regmap; member
61 static inline bool clk_main_osc_ready(struct regmap *regmap) in clk_main_osc_ready()
73 struct regmap *regmap = osc->regmap; in clk_main_osc_prepare() local
96 struct regmap *regmap = osc->regmap; in clk_main_osc_unprepare() local
113 struct regmap *regmap = osc->regmap; in clk_main_osc_is_prepared() local
132 at91_clk_register_main_osc(struct regmap *regmap, in at91_clk_register_main_osc()
179 struct regmap *regmap; in of_at91rm9200_clk_main_osc_setup() local
[all …]
Dclk-usb.c30 struct regmap *regmap; member
38 struct regmap *regmap; member
196 at91sam9x5_clk_register_usb(struct regmap *regmap, const char *name, in at91sam9x5_clk_register_usb()
229 at91sam9n12_clk_register_usb(struct regmap *regmap, const char *name, in at91sam9n12_clk_register_usb()
346 at91rm9200_clk_register_usb(struct regmap *regmap, const char *name, in at91rm9200_clk_register_usb()
384 struct regmap *regmap; in of_at91sam9x5_clk_usb_setup() local
413 struct regmap *regmap; in of_at91sam9n12_clk_usb_setup() local
440 struct regmap *regmap; in of_at91rm9200_clk_usb_setup() local
Dclk-system.c27 struct regmap *regmap; member
36 static inline bool clk_system_ready(struct regmap *regmap, int id) in clk_system_ready()
92 at91_clk_register_system(struct regmap *regmap, const char *name, in at91_clk_register_system()
135 struct regmap *regmap; in of_at91rm9200_clk_sys_setup() local
Dclk-slow.c24 struct regmap *regmap; member
44 at91_clk_register_sam9260_slow(struct regmap *regmap, in at91_clk_register_sam9260_slow()
89 struct regmap *regmap; in of_at91sam9260_clk_slow_setup() local
/Linux-v4.19/drivers/clk/davinci/
Dda8xx-cfgchip.c34 struct regmap *regmap; member
89 struct regmap *regmap) in da8xx_cfgchip_gate_clk_register()
135 struct regmap *regmap) in da8xx_cfgchip_register_tbclk()
158 struct regmap *regmap) in da8xx_cfgchip_register_div4p5()
172 struct regmap *regmap) in of_da8xx_cfgchip_gate_clk_init()
184 struct regmap *regmap) in of_da8xx_tbclksync_init()
190 struct regmap *regmap) in of_da8xx_div4p5ena_init()
207 struct regmap *regmap; member
241 struct regmap *regmap) in da8xx_cfgchip_mux_clk_register()
279 struct regmap *regmap) in da8xx_cfgchip_register_async1()
[all …]
/Linux-v4.19/drivers/hwmon/
Dw83773g.c65 static int get_local_temp(struct regmap *regmap, long *val) in get_local_temp()
78 static int get_remote_temp(struct regmap *regmap, int index, long *val) in get_remote_temp()
96 static int get_fault(struct regmap *regmap, int index, long *val) in get_fault()
109 static int get_offset(struct regmap *regmap, int index, long *val) in get_offset()
127 static int set_offset(struct regmap *regmap, int index, long val) in set_offset()
146 static int get_update_interval(struct regmap *regmap, long *val) in get_update_interval()
159 static int set_update_interval(struct regmap *regmap, long val) in set_update_interval()
179 struct regmap *regmap = dev_get_drvdata(dev); in w83773_read() local
204 struct regmap *regmap = dev_get_drvdata(dev); in w83773_write() local
289 struct regmap *regmap; in w83773_probe() local
Dtmp103.c69 struct regmap *regmap = dev_get_drvdata(dev); in tmp103_show_temp() local
85 struct regmap *regmap = dev_get_drvdata(dev); in tmp103_set_temp() local
131 struct regmap *regmap; in tmp103_probe() local
155 struct regmap *regmap = dev_get_drvdata(dev); in tmp103_suspend() local
163 struct regmap *regmap = dev_get_drvdata(dev); in tmp103_resume() local
Dltc2945.c78 struct regmap *regmap = dev_get_drvdata(dev); in ltc2945_reg_to_val() local
160 struct regmap *regmap = dev_get_drvdata(dev); in ltc2945_val_to_reg() local
246 struct regmap *regmap = dev_get_drvdata(dev); in ltc2945_set_value() local
281 struct regmap *regmap = dev_get_drvdata(dev); in ltc2945_reset_history() local
333 struct regmap *regmap = dev_get_drvdata(dev); in ltc2945_show_bool() local
483 struct regmap *regmap; in ltc2945_probe() local
/Linux-v4.19/drivers/acpi/pmic/
Dintel_pmic_crc.c196 static int intel_crc_pmic_get_power(struct regmap *regmap, int reg, in intel_crc_pmic_get_power()
208 static int intel_crc_pmic_update_power(struct regmap *regmap, int reg, in intel_crc_pmic_update_power()
228 static int intel_crc_pmic_get_raw_temp(struct regmap *regmap, int reg) in intel_crc_pmic_get_raw_temp()
243 static int intel_crc_pmic_update_aux(struct regmap *regmap, int reg, int raw) in intel_crc_pmic_update_aux()
249 static int intel_crc_pmic_get_policy(struct regmap *regmap, in intel_crc_pmic_get_policy()
260 static int intel_crc_pmic_update_policy(struct regmap *regmap, in intel_crc_pmic_update_policy()
Dtps68470_pmic.c31 struct regmap *regmap; member
217 static int tps68470_pmic_get_power(struct regmap *regmap, int reg, in tps68470_pmic_get_power()
229 static int tps68470_pmic_get_vr_val(struct regmap *regmap, int reg, in tps68470_pmic_get_vr_val()
241 static int tps68470_pmic_get_clk(struct regmap *regmap, int reg, in tps68470_pmic_get_clk()
253 static int tps68470_pmic_get_clk_freq(struct regmap *regmap, int reg, in tps68470_pmic_get_clk_freq()
265 static int ti_tps68470_regmap_update_bits(struct regmap *regmap, int reg, in ti_tps68470_regmap_update_bits()
275 int (*get)(struct regmap *, in tps68470_pmic_common_handler() argument
277 int (*update)(struct regmap *, in tps68470_pmic_common_handler()
283 struct regmap *regmap = opregion->regmap; in tps68470_pmic_common_handler() local
Dintel_pmic_bxtwc.c281 static int intel_bxtwc_pmic_get_power(struct regmap *regmap, int reg, in intel_bxtwc_pmic_get_power()
293 static int intel_bxtwc_pmic_update_power(struct regmap *regmap, int reg, in intel_bxtwc_pmic_update_power()
306 static int intel_bxtwc_pmic_get_raw_temp(struct regmap *regmap, int reg) in intel_bxtwc_pmic_get_raw_temp()
332 intel_bxtwc_pmic_update_aux(struct regmap *regmap, int reg, int raw) in intel_bxtwc_pmic_update_aux()
359 intel_bxtwc_pmic_get_policy(struct regmap *regmap, int reg, int bit, u64 *value) in intel_bxtwc_pmic_get_policy()
372 intel_bxtwc_pmic_update_policy(struct regmap *regmap, in intel_bxtwc_pmic_update_policy()
Dintel_pmic_chtdc_ti.c67 static int chtdc_ti_pmic_get_power(struct regmap *regmap, int reg, int bit, in chtdc_ti_pmic_get_power()
79 static int chtdc_ti_pmic_update_power(struct regmap *regmap, int reg, int bit, in chtdc_ti_pmic_update_power()
85 static int chtdc_ti_pmic_get_raw_temp(struct regmap *regmap, int reg) in chtdc_ti_pmic_get_raw_temp()
/Linux-v4.19/drivers/reset/hisilicon/
Dhi6220_reset.c43 struct regmap *regmap; member
50 struct regmap *regmap = data->regmap; in hi6220_peripheral_assert() local
62 struct regmap *regmap = data->regmap; in hi6220_peripheral_deassert() local
79 struct regmap *regmap = data->regmap; in hi6220_media_assert() local
88 struct regmap *regmap = data->regmap; in hi6220_media_deassert() local
104 struct regmap *regmap; in hi6220_reset_probe() local
/Linux-v4.19/drivers/gpio/
Dgpio-tps68470.c32 struct regmap *regmap = tps68470_gpio->tps68470_regmap; in tps68470_gpio_get() local
55 struct regmap *regmap = tps68470_gpio->tps68470_regmap; in tps68470_gpio_get_direction() local
77 struct regmap *regmap = tps68470_gpio->tps68470_regmap; in tps68470_gpio_set() local
92 struct regmap *regmap = tps68470_gpio->tps68470_regmap; in tps68470_gpio_output() local
109 struct regmap *regmap = tps68470_gpio->tps68470_regmap; in tps68470_gpio_input() local
/Linux-v4.19/sound/soc/fsl/
Dfsl_spdif.c95 struct regmap *regmap; member
116 struct regmap *regmap = spdif_priv->regmap; in spdif_irq_dpll_lock() local
132 struct regmap *regmap = spdif_priv->regmap; in spdif_irq_sym_error() local
146 struct regmap *regmap = spdif_priv->regmap; in spdif_irq_uqrx_full() local
201 struct regmap *regmap = spdif_priv->regmap; in spdif_irq_uq_err() local
220 struct regmap *regmap = spdif_priv->regmap; in spdif_intr_status_clear() local
300 struct regmap *regmap = spdif_priv->regmap; in spdif_softreset() local
335 struct regmap *regmap = spdif_priv->regmap; in spdif_write_channel_status() local
356 struct regmap *regmap = spdif_priv->regmap; in spdif_set_rx_clksrc() local
375 struct regmap *regmap = spdif_priv->regmap; in spdif_set_sample_rate() local
[all …]
/Linux-v4.19/drivers/video/backlight/
Dsky81452-backlight.c63 struct regmap *regmap = bl_get_data(bd); in sky81452_bl_update_status() local
85 struct regmap *regmap = bl_get_data(to_backlight_device(dev)); in sky81452_bl_store_enable() local
104 struct regmap *regmap = bl_get_data(to_backlight_device(dev)); in sky81452_bl_show_open_short() local
134 struct regmap *regmap = bl_get_data(to_backlight_device(dev)); in sky81452_bl_show_fault() local
240 static int sky81452_bl_init_device(struct regmap *regmap, in sky81452_bl_init_device()
265 struct regmap *regmap = dev_get_drvdata(dev->parent); in sky81452_bl_probe() local
/Linux-v4.19/drivers/watchdog/
Duniphier_wdt.c49 struct regmap *regmap; member
76 static int __uniphier_watchdog_start(struct regmap *regmap, unsigned int sec) in __uniphier_watchdog_start()
107 static int __uniphier_watchdog_stop(struct regmap *regmap) in __uniphier_watchdog_stop()
113 static int __uniphier_watchdog_restart(struct regmap *regmap, unsigned int sec) in __uniphier_watchdog_restart()
186 struct regmap *regmap; in uniphier_wdt_probe() local
/Linux-v4.19/drivers/power/supply/
Dact8945a_charger.c82 struct regmap *regmap; member
90 static int act8945a_get_charger_state(struct regmap *regmap, int *val) in act8945a_get_charger_state()
129 static int act8945a_get_charge_type(struct regmap *regmap, int *val) in act8945a_get_charge_type()
167 static int act8945a_get_battery_health(struct regmap *regmap, int *val) in act8945a_get_battery_health()
214 struct regmap *regmap, int *val) in act8945a_get_capacity_level()
281 struct regmap *regmap, int *val) in act8945a_get_current_max()
351 struct regmap *regmap = charger->regmap; in act8945a_charger_get_property() local
390 struct regmap *regmap = charger->regmap; in act8945a_enable_interrupt() local
465 struct regmap *regmap = charger->regmap; in act8945a_charger_config() local
/Linux-v4.19/drivers/iio/adc/
Daxp288_adc.c46 struct regmap *regmap; member
107 struct regmap *regmap) in axp288_adc_read_channel()
118 static int axp288_adc_set_ts(struct regmap *regmap, unsigned int mode, in axp288_adc_set_ts()
167 static int axp288_adc_set_state(struct regmap *regmap) in axp288_adc_set_state()
/Linux-v4.19/drivers/mfd/
Dsyscon.c36 struct regmap *regmap; member
49 struct regmap *regmap; in of_syscon_register() local
165 struct regmap *regmap; in syscon_regmap_lookup_by_compatible() local
203 struct regmap *regmap; in syscon_regmap_lookup_by_phandle() local
Datmel-smc.c248 void atmel_smc_cs_conf_apply(struct regmap *regmap, int cs, in atmel_smc_cs_conf_apply()
268 void atmel_hsmc_cs_conf_apply(struct regmap *regmap, in atmel_hsmc_cs_conf_apply()
289 void atmel_smc_cs_conf_get(struct regmap *regmap, int cs, in atmel_smc_cs_conf_get()
309 void atmel_hsmc_cs_conf_get(struct regmap *regmap, in atmel_hsmc_cs_conf_get()
/Linux-v4.19/sound/soc/codecs/
Dnau8825.c1434 struct regmap *regmap = nau8825->regmap; in nau8825_enable_jack_detect() local
1450 static bool nau8825_is_jack_inserted(struct regmap *regmap) in nau8825_is_jack_inserted()
1465 static void nau8825_restart_jack_detection(struct regmap *regmap) in nau8825_restart_jack_detection()
1477 static void nau8825_int_status_clear_all(struct regmap *regmap) in nau8825_int_status_clear_all()
1496 struct regmap *regmap = nau8825->regmap; in nau8825_eject_jack() local
1539 struct regmap *regmap = nau8825->regmap; in nau8825_setup_auto_irq() local
1598 struct regmap *regmap = nau8825->regmap; in nau8825_jack_insert() local
1676 struct regmap *regmap = nau8825->regmap; in nau8825_interrupt() local
1804 struct regmap *regmap = nau8825->regmap; in nau8825_setup_buttons() local
1843 struct regmap *regmap = nau8825->regmap; in nau8825_init_regs() local
[all …]
/Linux-v4.19/drivers/media/i2c/
Dov7740.c92 struct regmap *regmap; member
274 struct regmap *regmap = ov7740->regmap; in ov7740_get_register() local
289 struct regmap *regmap = ov7740->regmap; in ov7740_set_register() local
337 struct regmap *regmap = ov7740->regmap; in ov7740_set_white_balance() local
366 static int ov7740_set_saturation(struct regmap *regmap, int value) in ov7740_set_saturation()
377 static int ov7740_set_gain(struct regmap *regmap, int value) in ov7740_set_gain()
393 static int ov7740_set_autogain(struct regmap *regmap, int value) in ov7740_set_autogain()
408 static int ov7740_set_brightness(struct regmap *regmap, int value) in ov7740_set_brightness()
425 static int ov7740_set_contrast(struct regmap *regmap, int value) in ov7740_set_contrast()
432 struct regmap *regmap = ov7740->regmap; in ov7740_get_gain() local
[all …]
/Linux-v4.19/drivers/input/misc/
Dpmic8xxx-pwrkey.c87 struct regmap *regmap; member
167 static int pm8058_disable_smps_locally_set_pull_down(struct regmap *regmap, in pm8058_disable_smps_locally_set_pull_down()
271 static int pm8058_disable_ldo_locally_set_pull_down(struct regmap *regmap, in pm8058_disable_ldo_locally_set_pull_down()
291 struct regmap *regmap = pwrkey->regmap; in pm8058_pwrkey_shutdown() local
330 struct regmap *regmap = pwrkey->regmap; in pm8921_pwrkey_shutdown() local
348 struct regmap *regmap; in pmic8xxx_pwrkey_probe() local

12345678910>>...33