Home
last modified time | relevance | path

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

12345678910>>...38

/Linux-v5.4/drivers/base/regmap/
Dinternal.h49 struct regmap { struct
57 regmap_lock lock; argument
58 regmap_unlock unlock; argument
64 struct regmap_format format; /* Buffer format */ argument
65 const struct regmap_bus *bus; argument
66 void *bus_context;
67 const char *name;
69 bool async;
70 spinlock_t async_lock;
71 wait_queue_head_t async_waitq;
[all …]
/Linux-v5.4/drivers/clk/at91/
Dclk-main.c30 struct regmap *regmap; member
37 struct regmap *regmap; member
46 struct regmap *regmap; member
53 struct regmap *regmap; member
59 static inline bool clk_main_osc_ready(struct regmap *regmap) in clk_main_osc_ready()
71 struct regmap *regmap = osc->regmap; in clk_main_osc_prepare() local
94 struct regmap *regmap = osc->regmap; in clk_main_osc_unprepare() local
111 struct regmap *regmap = osc->regmap; in clk_main_osc_is_prepared() local
130 at91_clk_register_main_osc(struct regmap *regmap, in at91_clk_register_main_osc()
172 static bool clk_main_rc_osc_ready(struct regmap *regmap) in clk_main_rc_osc_ready()
[all …]
Ddt-compat.c31 struct regmap *regmap; in of_sama5d2_clk_audio_pll_frac_setup() local
54 struct regmap *regmap; in of_sama5d2_clk_audio_pll_pad_setup() local
77 struct regmap *regmap; in of_sama5d2_clk_audio_pll_pmc_setup() local
121 struct regmap *regmap; in of_sama5d2_clk_generated_setup() local
177 struct regmap *regmap; in of_sama5d4_clk_h32mx_setup() local
239 struct regmap *regmap; in of_at91rm9200_clk_main_osc_setup() local
265 struct regmap *regmap; in of_at91sam9x5_clk_main_rc_osc_setup() local
289 struct regmap *regmap; in of_at91rm9200_clk_main_setup() local
313 struct regmap *regmap; in of_at91sam9x5_clk_main_setup() local
370 struct regmap *regmap; in of_at91_clk_master_setup() local
[all …]
Dclk-usb.c26 struct regmap *regmap; member
35 struct regmap *regmap; member
192 _at91sam9x5_clk_register_usb(struct regmap *regmap, const char *name, in _at91sam9x5_clk_register_usb()
227 at91sam9x5_clk_register_usb(struct regmap *regmap, const char *name, in at91sam9x5_clk_register_usb()
235 sam9x60_clk_register_usb(struct regmap *regmap, const char *name, in sam9x60_clk_register_usb()
243 at91sam9n12_clk_register_usb(struct regmap *regmap, const char *name, in at91sam9n12_clk_register_usb()
360 at91rm9200_clk_register_usb(struct regmap *regmap, const char *name, in at91rm9200_clk_register_usb()
/Linux-v5.4/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()
170 struct regmap *regmap) in of_da8xx_cfgchip_gate_clk_init()
182 struct regmap *regmap) in of_da8xx_tbclksync_init()
188 struct regmap *regmap) in of_da8xx_div4p5ena_init()
205 struct regmap *regmap; member
239 struct regmap *regmap) in da8xx_cfgchip_mux_clk_register()
277 struct regmap *regmap) in da8xx_cfgchip_register_async1()
[all …]
/Linux-v5.4/drivers/hwmon/
Dw83773g.c61 static int get_local_temp(struct regmap *regmap, long *val) in get_local_temp()
74 static int get_remote_temp(struct regmap *regmap, int index, long *val) in get_remote_temp()
92 static int get_fault(struct regmap *regmap, int index, long *val) in get_fault()
105 static int get_offset(struct regmap *regmap, int index, long *val) in get_offset()
123 static int set_offset(struct regmap *regmap, int index, long val) in set_offset()
142 static int get_update_interval(struct regmap *regmap, long *val) in get_update_interval()
155 static int set_update_interval(struct regmap *regmap, long val) in set_update_interval()
175 struct regmap *regmap = dev_get_drvdata(dev); in w83773_read() local
200 struct regmap *regmap = dev_get_drvdata(dev); in w83773_write() local
267 struct regmap *regmap; in w83773_probe() local
Dtmp103.c58 struct regmap *regmap = dev_get_drvdata(dev); in tmp103_temp_show() local
74 struct regmap *regmap = dev_get_drvdata(dev); in tmp103_temp_store() local
117 struct regmap *regmap; in tmp103_probe() local
141 struct regmap *regmap = dev_get_drvdata(dev); in tmp103_suspend() local
149 struct regmap *regmap = dev_get_drvdata(dev); in tmp103_resume() local
Dltc2945.c69 struct regmap *regmap = dev_get_drvdata(dev); in ltc2945_reg_to_val() local
151 struct regmap *regmap = dev_get_drvdata(dev); in ltc2945_val_to_reg() local
237 struct regmap *regmap = dev_get_drvdata(dev); in ltc2945_value_store() local
272 struct regmap *regmap = dev_get_drvdata(dev); in ltc2945_history_store() local
324 struct regmap *regmap = dev_get_drvdata(dev); in ltc2945_bool_show() local
453 struct regmap *regmap; in ltc2945_probe() local
/Linux-v5.4/drivers/clk/qcom/
Dclk-hfpll.c24 struct regmap *regmap = h->clkr.regmap; in __clk_hfpll_init_once() local
57 struct regmap *regmap = h->clkr.regmap; in __clk_hfpll_enable() local
93 struct regmap *regmap = h->clkr.regmap; in clk_hfpll_enable() local
108 struct regmap *regmap = h->clkr.regmap; in __clk_hfpll_disable() local
153 struct regmap *regmap = h->clkr.regmap; in clk_hfpll_set_rate() local
191 struct regmap *regmap = h->clkr.regmap; in clk_hfpll_recalc_rate() local
203 struct regmap *regmap = h->clkr.regmap; in clk_hfpll_init() local
227 struct regmap *regmap = h->clkr.regmap; in hfpll_is_enabled() local
/Linux-v5.4/drivers/acpi/pmic/
Dintel_pmic_crc.c188 static int intel_crc_pmic_get_power(struct regmap *regmap, int reg, in intel_crc_pmic_get_power()
200 static int intel_crc_pmic_update_power(struct regmap *regmap, int reg, in intel_crc_pmic_update_power()
220 static int intel_crc_pmic_get_raw_temp(struct regmap *regmap, int reg) in intel_crc_pmic_get_raw_temp()
235 static int intel_crc_pmic_update_aux(struct regmap *regmap, int reg, int raw) in intel_crc_pmic_update_aux()
241 static int intel_crc_pmic_get_policy(struct regmap *regmap, in intel_crc_pmic_get_policy()
252 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.c273 static int intel_bxtwc_pmic_get_power(struct regmap *regmap, int reg, in intel_bxtwc_pmic_get_power()
285 static int intel_bxtwc_pmic_update_power(struct regmap *regmap, int reg, in intel_bxtwc_pmic_update_power()
298 static int intel_bxtwc_pmic_get_raw_temp(struct regmap *regmap, int reg) in intel_bxtwc_pmic_get_raw_temp()
324 intel_bxtwc_pmic_update_aux(struct regmap *regmap, int reg, int raw) in intel_bxtwc_pmic_update_aux()
351 intel_bxtwc_pmic_get_policy(struct regmap *regmap, int reg, int bit, u64 *value) in intel_bxtwc_pmic_get_policy()
364 intel_bxtwc_pmic_update_policy(struct regmap *regmap, in intel_bxtwc_pmic_update_policy()
Dintel_pmic_chtdc_ti.c68 static int chtdc_ti_pmic_get_power(struct regmap *regmap, int reg, int bit, in chtdc_ti_pmic_get_power()
80 static int chtdc_ti_pmic_update_power(struct regmap *regmap, int reg, int bit, in chtdc_ti_pmic_update_power()
86 static int chtdc_ti_pmic_get_raw_temp(struct regmap *regmap, int reg) in chtdc_ti_pmic_get_raw_temp()
/Linux-v5.4/drivers/reset/hisilicon/
Dhi6220_reset.c40 struct regmap *regmap; member
47 struct regmap *regmap = data->regmap; in hi6220_peripheral_assert() local
59 struct regmap *regmap = data->regmap; in hi6220_peripheral_deassert() local
76 struct regmap *regmap = data->regmap; in hi6220_media_assert() local
85 struct regmap *regmap = data->regmap; in hi6220_media_deassert() local
101 struct regmap *regmap; in hi6220_reset_probe() local
/Linux-v5.4/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-v5.4/drivers/phy/mscc/
Dphy-ocelot-serdes.c36 static int __serdes_write_mcb_s6g(struct regmap *regmap, u8 macro, u32 op) in __serdes_write_mcb_s6g()
48 static int serdes_commit_mcb_s6g(struct regmap *regmap, u8 macro) in serdes_commit_mcb_s6g()
54 static int serdes_update_mcb_s6g(struct regmap *regmap, u8 macro) in serdes_update_mcb_s6g()
60 static int serdes_init_s6g(struct regmap *regmap, u8 serdes, int mode) in serdes_init_s6g()
268 static int __serdes_write_mcb_s1g(struct regmap *regmap, u8 macro, u32 op) in __serdes_write_mcb_s1g()
280 static int serdes_commit_mcb_s1g(struct regmap *regmap, u8 macro) in serdes_commit_mcb_s1g()
286 static int serdes_update_mcb_s1g(struct regmap *regmap, u8 macro) in serdes_update_mcb_s1g()
292 static int serdes_init_s1g(struct regmap *regmap, u8 serdes) in serdes_init_s1g()
/Linux-v5.4/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-v5.4/drivers/video/backlight/
Dsky81452-backlight.c52 struct regmap *regmap = bl_get_data(bd); in sky81452_bl_update_status() local
74 struct regmap *regmap = bl_get_data(to_backlight_device(dev)); in sky81452_bl_store_enable() local
93 struct regmap *regmap = bl_get_data(to_backlight_device(dev)); in sky81452_bl_show_open_short() local
123 struct regmap *regmap = bl_get_data(to_backlight_device(dev)); in sky81452_bl_show_fault() local
229 static int sky81452_bl_init_device(struct regmap *regmap, in sky81452_bl_init_device()
254 struct regmap *regmap = dev_get_drvdata(dev->parent); in sky81452_bl_probe() local
/Linux-v5.4/drivers/power/supply/
Dact8945a_charger.c78 struct regmap *regmap; member
86 static int act8945a_get_charger_state(struct regmap *regmap, int *val) in act8945a_get_charger_state()
125 static int act8945a_get_charge_type(struct regmap *regmap, int *val) in act8945a_get_charge_type()
163 static int act8945a_get_battery_health(struct regmap *regmap, int *val) in act8945a_get_battery_health()
210 struct regmap *regmap, int *val) in act8945a_get_capacity_level()
277 struct regmap *regmap, int *val) in act8945a_get_current_max()
347 struct regmap *regmap = charger->regmap; in act8945a_charger_get_property() local
386 struct regmap *regmap = charger->regmap; in act8945a_enable_interrupt() local
461 struct regmap *regmap = charger->regmap; in act8945a_charger_config() local
/Linux-v5.4/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-v5.4/drivers/rtc/
Drtc-ab-eoz9.c77 struct regmap *regmap; member
84 struct regmap *regmap = data->regmap; in abeoz9_check_validity() local
115 static int abeoz9_reset_validity(struct regmap *regmap) in abeoz9_reset_validity()
165 struct regmap *regmap = data->regmap; in abeoz9_rtc_set_time() local
213 struct regmap *regmap = data->regmap; in abeoz9_rtc_setup() local
276 struct regmap *regmap = data->regmap; in abeoz9z3_temp_read() local
388 struct regmap *regmap; in abeoz9_probe() local
/Linux-v5.4/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-v5.4/drivers/mfd/
Dsyscon.c33 struct regmap *regmap; member
47 struct regmap *regmap; in of_syscon_register() local
194 struct regmap *regmap; in syscon_regmap_lookup_by_compatible() local
211 struct regmap *regmap; in syscon_regmap_lookup_by_phandle() local
/Linux-v5.4/sound/soc/codecs/
Dnau8825.c1432 struct regmap *regmap = nau8825->regmap; in nau8825_enable_jack_detect() local
1448 static bool nau8825_is_jack_inserted(struct regmap *regmap) in nau8825_is_jack_inserted()
1463 static void nau8825_restart_jack_detection(struct regmap *regmap) in nau8825_restart_jack_detection()
1475 static void nau8825_int_status_clear_all(struct regmap *regmap) in nau8825_int_status_clear_all()
1494 struct regmap *regmap = nau8825->regmap; in nau8825_eject_jack() local
1537 struct regmap *regmap = nau8825->regmap; in nau8825_setup_auto_irq() local
1596 struct regmap *regmap = nau8825->regmap; in nau8825_jack_insert() local
1674 struct regmap *regmap = nau8825->regmap; in nau8825_interrupt() local
1802 struct regmap *regmap = nau8825->regmap; in nau8825_setup_buttons() local
1841 struct regmap *regmap = nau8825->regmap; in nau8825_init_regs() local
[all …]
/Linux-v5.4/drivers/input/misc/
Dpmic8xxx-pwrkey.c79 struct regmap *regmap; member
159 static int pm8058_disable_smps_locally_set_pull_down(struct regmap *regmap, in pm8058_disable_smps_locally_set_pull_down()
263 static int pm8058_disable_ldo_locally_set_pull_down(struct regmap *regmap, in pm8058_disable_ldo_locally_set_pull_down()
283 struct regmap *regmap = pwrkey->regmap; in pm8058_pwrkey_shutdown() local
322 struct regmap *regmap = pwrkey->regmap; in pm8921_pwrkey_shutdown() local
340 struct regmap *regmap; in pmic8xxx_pwrkey_probe() local

12345678910>>...38