Home
last modified time | relevance | path

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

12345678910>>...72

/kernel/linux/linux-4.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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-4.19/drivers/clk/at91/
Dclk-main.c36 struct regmap *regmap; member
43 struct regmap *regmap; member
52 struct regmap *regmap; member
59 struct regmap *regmap; member
65 static inline bool clk_main_osc_ready(struct regmap *regmap) in clk_main_osc_ready()
77 struct regmap *regmap = osc->regmap; in clk_main_osc_prepare() local
100 struct regmap *regmap = osc->regmap; in clk_main_osc_unprepare() local
117 struct regmap *regmap = osc->regmap; in clk_main_osc_is_prepared() local
136 at91_clk_register_main_osc(struct regmap *regmap, in at91_clk_register_main_osc()
183 struct regmap *regmap; in of_at91rm9200_clk_main_osc_setup() local
[all …]
/kernel/linux/linux-5.10/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.c33 struct regmap *regmap; in of_sama5d2_clk_audio_pll_frac_setup() local
56 struct regmap *regmap; in of_sama5d2_clk_audio_pll_pad_setup() local
79 struct regmap *regmap; in of_sama5d2_clk_audio_pll_pmc_setup() local
123 struct regmap *regmap; in of_sama5d2_clk_generated_setup() local
180 struct regmap *regmap; in of_sama5d4_clk_h32mx_setup() local
242 struct regmap *regmap; in of_at91rm9200_clk_main_osc_setup() local
268 struct regmap *regmap; in of_at91sam9x5_clk_main_rc_osc_setup() local
292 struct regmap *regmap; in of_at91rm9200_clk_main_setup() local
316 struct regmap *regmap; in of_at91sam9x5_clk_main_setup() local
373 struct regmap *regmap; in of_at91_clk_master_setup() local
[all …]
/kernel/linux/linux-4.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
/kernel/linux/linux-5.10/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
266 struct regmap *regmap; in w83773_probe() local
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-4.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 …]
/kernel/linux/linux-5.10/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
229 struct regmap *regmap = h->clkr.regmap; in hfpll_is_enabled() local
/kernel/linux/linux-4.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()
/kernel/linux/linux-5.10/drivers/acpi/pmic/
Dintel_pmic_bytcrc.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()
/kernel/linux/linux-5.10/drivers/reset/hisilicon/
Dhi6220_reset.c41 struct regmap *regmap; member
48 struct regmap *regmap = data->regmap; in hi6220_peripheral_assert() local
60 struct regmap *regmap = data->regmap; in hi6220_peripheral_deassert() local
77 struct regmap *regmap = data->regmap; in hi6220_media_assert() local
86 struct regmap *regmap = data->regmap; in hi6220_media_deassert() local
110 struct regmap *regmap = data->regmap; in hi6220_ao_assert() local
129 struct regmap *regmap = data->regmap; in hi6220_ao_deassert() local
161 struct regmap *regmap; in hi6220_reset_probe() local
/kernel/linux/linux-4.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
/kernel/linux/linux-5.10/sound/soc/codecs/
Dzl38060.c86 struct regmap *regmap; member
91 static int zl38_fw_issue_command(struct regmap *regmap, u16 cmd) in zl38_fw_issue_command()
113 static int zl38_fw_go(struct regmap *regmap) in zl38_fw_go()
124 static int zl38_fw_enter_boot_mode(struct regmap *regmap) in zl38_fw_enter_boot_mode()
139 zl38_fw_send_data(struct regmap *regmap, u32 addr, const void *data, u16 len) in zl38_fw_send_data()
151 static int zl38_fw_send_xaddr(struct regmap *regmap, const void *data) in zl38_fw_send_xaddr()
162 static int zl38_load_firmware(struct device *dev, struct regmap *regmap) in zl38_load_firmware()
210 static int zl38_software_reset(struct regmap *regmap) in zl38_software_reset()
393 struct regmap *regmap = gpiochip_get_data(c); in chip_gpio_set() local
401 struct regmap *regmap = gpiochip_get_data(c); in chip_gpio_get() local
[all …]
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-tps68470.c32 struct regmap *regmap = tps68470_gpio->tps68470_regmap; in tps68470_gpio_get() local
54 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
/kernel/linux/linux-4.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
/kernel/linux/linux-5.10/sound/soc/fsl/
Dfsl_spdif.c110 struct regmap *regmap; member
152 struct regmap *regmap = spdif_priv->regmap; in spdif_irq_dpll_lock() local
168 struct regmap *regmap = spdif_priv->regmap; in spdif_irq_sym_error() local
182 struct regmap *regmap = spdif_priv->regmap; in spdif_irq_uqrx_full() local
237 struct regmap *regmap = spdif_priv->regmap; in spdif_irq_uq_err() local
256 struct regmap *regmap = spdif_priv->regmap; in spdif_intr_status_clear() local
336 struct regmap *regmap = spdif_priv->regmap; in spdif_softreset() local
371 struct regmap *regmap = spdif_priv->regmap; in spdif_write_channel_status() local
392 struct regmap *regmap = spdif_priv->regmap; in spdif_set_rx_clksrc() local
411 struct regmap *regmap = spdif_priv->regmap; in spdif_set_sample_rate() local
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-4.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 …]

12345678910>>...72