Home
last modified time | relevance | path

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

12345678910>>...62

/linux-6.6.21/drivers/base/regmap/
Dinternal.h50 struct regmap { struct
62 regmap_lock lock; argument
63 regmap_unlock unlock; argument
70 struct regmap_format format; /* Buffer format */ argument
71 const struct regmap_bus *bus; argument
72 void *bus_context;
73 const char *name;
75 bool async;
76 spinlock_t async_lock;
77 wait_queue_head_t async_waitq;
[all …]
/linux-6.6.21/drivers/clk/at91/
Dclk-main.c30 struct regmap *regmap; member
38 struct regmap *regmap; member
48 struct regmap *regmap; member
55 struct regmap *regmap; member
62 static inline bool clk_main_osc_ready(struct regmap *regmap) in clk_main_osc_ready()
74 struct regmap *regmap = osc->regmap; in clk_main_osc_prepare() local
97 struct regmap *regmap = osc->regmap; in clk_main_osc_unprepare() local
114 struct regmap *regmap = osc->regmap; in clk_main_osc_is_prepared() local
152 at91_clk_register_main_osc(struct regmap *regmap, in at91_clk_register_main_osc()
198 static bool clk_main_rc_osc_ready(struct regmap *regmap) in clk_main_rc_osc_ready()
[all …]
Ddt-compat.c35 struct regmap *regmap; in of_sama5d2_clk_audio_pll_frac_setup() local
61 struct regmap *regmap; in of_sama5d2_clk_audio_pll_pad_setup() local
87 struct regmap *regmap; in of_sama5d2_clk_audio_pll_pmc_setup() local
134 struct regmap *regmap; in of_sama5d2_clk_generated_setup() local
193 struct regmap *regmap; in of_sama5d4_clk_h32mx_setup() local
258 struct regmap *regmap; in of_at91rm9200_clk_main_osc_setup() local
287 struct regmap *regmap; in of_at91sam9x5_clk_main_rc_osc_setup() local
314 struct regmap *regmap; in of_at91rm9200_clk_main_setup() local
341 struct regmap *regmap; in of_at91sam9x5_clk_main_setup() local
401 struct regmap *regmap; in of_at91_clk_master_setup() local
[all …]
Dclk-sam9x60-pll.c32 struct regmap *regmap; member
60 static inline bool sam9x60_pll_ready(struct regmap *regmap, int id) in sam9x60_pll_ready()
69 static bool sam9x60_frac_pll_ready(struct regmap *regmap, u8 id) in sam9x60_frac_pll_ready()
87 struct regmap *regmap = core->regmap; in sam9x60_frac_pll_set() local
159 struct regmap *regmap = core->regmap; in sam9x60_frac_pll_unprepare() local
249 struct regmap *regmap = core->regmap; in sam9x60_frac_pll_set_rate_chg() local
340 struct regmap *regmap = core->regmap; in sam9x60_div_pll_set_div() local
359 struct regmap *regmap = core->regmap; in sam9x60_div_pll_set() local
391 struct regmap *regmap = core->regmap; in sam9x60_div_pll_unprepare() local
412 struct regmap *regmap = core->regmap; in sam9x60_div_pll_is_prepared() local
[all …]
/linux-6.6.21/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
240 struct regmap *regmap) in da8xx_cfgchip_mux_clk_register()
278 struct regmap *regmap) in da8xx_cfgchip_register_async1()
[all …]
/linux-6.6.21/sound/soc/codecs/
Dcs35l41-lib.c779 int cs35l41_test_key_unlock(struct device *dev, struct regmap *regmap) in cs35l41_test_key_unlock()
795 int cs35l41_test_key_lock(struct device *dev, struct regmap *regmap) in cs35l41_test_key_lock()
812 int cs35l41_otp_unpack(struct device *dev, struct regmap *regmap) in cs35l41_otp_unpack()
985 static int cs35l41_boost_config(struct device *dev, struct regmap *regmap, int boost_ind, in cs35l41_boost_config()
1137 int cs35l41_init_boost(struct device *dev, struct regmap *regmap, in cs35l41_init_boost()
1178 bool cs35l41_safe_reset(struct regmap *regmap, enum cs35l41_boost_type b_type) in cs35l41_safe_reset()
1215 int cs35l41_global_enable(struct device *dev, struct regmap *regmap, enum cs35l41_boost_type b_type, in cs35l41_global_enable()
1358 int cs35l41_mdsync_up(struct regmap *regmap) in cs35l41_mdsync_up()
1365 int cs35l41_gpio_config(struct regmap *regmap, struct cs35l41_hw_cfg *hw_cfg) in cs35l41_gpio_config()
1452 int cs35l41_set_cspl_mbox_cmd(struct device *dev, struct regmap *regmap, in cs35l41_set_cspl_mbox_cmd()
[all …]
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()
392 struct regmap *regmap = gpiochip_get_data(c); in chip_gpio_set() local
400 struct regmap *regmap = gpiochip_get_data(c); in chip_gpio_get() local
[all …]
/linux-6.6.21/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
/linux-6.6.21/drivers/regulator/
Drt6190-regulator.c70 struct regmap *regmap; member
78 struct regmap *regmap = rdev_get_regmap(rdev); in rt6190_out_set_voltage_sel() local
87 struct regmap *regmap = rdev_get_regmap(rdev); in rt6190_out_get_voltage_sel() local
99 struct regmap *regmap = rdev_get_regmap(rdev); in rt6190_out_enable() local
130 struct regmap *regmap = rdev_get_regmap(rdev); in rt6190_out_disable() local
152 struct regmap *regmap = rdev_get_regmap(rdev); in rt6190_out_set_current_limit() local
174 struct regmap *regmap = rdev_get_regmap(rdev); in rt6190_out_get_current_limit() local
191 struct regmap *regmap = rdev_get_regmap(rdev); in rt6190_out_set_mode() local
211 struct regmap *regmap = rdev_get_regmap(rdev); in rt6190_out_get_mode() local
348 static int rt6190_init_registers(struct regmap *regmap) in rt6190_init_registers()
[all …]
Drt5739.c54 struct regmap *regmap = rdev_get_regmap(rdev); in rt5739_set_mode() local
79 struct regmap *regmap = rdev_get_regmap(rdev); in rt5739_get_mode() local
101 struct regmap *regmap = rdev_get_regmap(rdev); in rt5739_set_suspend_voltage() local
122 struct regmap *regmap = rdev_get_regmap(rdev); in rt5739_set_suspend_enable() local
136 struct regmap *regmap = rdev_get_regmap(rdev); in rt5739_set_suspend_disable() local
151 struct regmap *regmap = rdev_get_regmap(rdev); in rt5739_set_suspend_mode() local
250 struct regmap *regmap; in rt5739_probe() local
Drt4803.c40 struct regmap *regmap = rdev_get_regmap(rdev); in rt4803_set_mode() local
61 struct regmap *regmap = rdev_get_regmap(rdev); in rt4803_get_mode() local
83 struct regmap *regmap = rdev_get_regmap(rdev); in rt4803_get_error_flags() local
110 struct regmap *regmap = rdev_get_regmap(rdev); in rt4803_set_suspend_voltage() local
155 struct regmap *regmap; in rt4803_probe() local
/linux-6.6.21/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
96 struct regmap *regmap = h->clkr.regmap; in clk_hfpll_enable() local
111 struct regmap *regmap = h->clkr.regmap; in __clk_hfpll_disable() local
156 struct regmap *regmap = h->clkr.regmap; in clk_hfpll_set_rate() local
194 struct regmap *regmap = h->clkr.regmap; in clk_hfpll_recalc_rate() local
206 struct regmap *regmap = h->clkr.regmap; in clk_hfpll_init() local
232 struct regmap *regmap = h->clkr.regmap; in hfpll_is_enabled() local
Dclk-branch.h51 static inline void qcom_branch_set_force_mem_core(struct regmap *regmap, in qcom_branch_set_force_mem_core()
58 static inline void qcom_branch_set_force_periph_on(struct regmap *regmap, in qcom_branch_set_force_periph_on()
65 static inline void qcom_branch_set_force_periph_off(struct regmap *regmap, in qcom_branch_set_force_periph_off()
72 static inline void qcom_branch_set_wakeup(struct regmap *regmap, struct clk_branch clk, u32 val) in qcom_branch_set_wakeup()
78 static inline void qcom_branch_set_sleep(struct regmap *regmap, struct clk_branch clk, u32 val) in qcom_branch_set_sleep()
/linux-6.6.21/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()
/linux-6.6.21/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
109 struct regmap *regmap = data->regmap; in hi6220_ao_assert() local
128 struct regmap *regmap = data->regmap; in hi6220_ao_deassert() local
160 struct regmap *regmap; in hi6220_reset_probe() local
/linux-6.6.21/drivers/rtc/
Drtc-isl12022.c73 struct regmap *regmap = dev_get_drvdata(dev); in isl12022_hwmon_read_temp() local
119 struct regmap *regmap = dev_get_drvdata(dev); in isl12022_hwmon_register() local
146 struct regmap *regmap = dev_get_drvdata(dev); in isl12022_rtc_read_time() local
181 struct regmap *regmap = dev_get_drvdata(dev); in isl12022_rtc_set_time() local
213 struct regmap *regmap = dev_get_drvdata(dev); in isl12022_rtc_ioctl() local
251 struct regmap *regmap = dev_get_drvdata(dev); in isl12022_register_clock() local
291 struct regmap *regmap = dev_get_drvdata(dev); in isl12022_set_trip_levels() local
329 struct regmap *regmap; in isl12022_probe() local
/linux-6.6.21/drivers/media/platform/microchip/
Dmicrochip-sama7g5-isc.c232 struct regmap *regmap = isc->regmap; in isc_sama7g5_config_csc() local
251 struct regmap *regmap = isc->regmap; in isc_sama7g5_config_cbc() local
263 struct regmap *regmap = isc->regmap; in isc_sama7g5_config_cc() local
288 struct regmap *regmap = isc->regmap; in isc_sama7g5_config_dpc() local
298 struct regmap *regmap = isc->regmap; in isc_sama7g5_config_gam() local
306 struct regmap *regmap = isc->regmap; in isc_sama7g5_config_rlp() local
/linux-6.6.21/drivers/mfd/
Dsyscon.c34 struct regmap *regmap; member
49 struct regmap *regmap; in of_syscon_register() local
213 struct regmap *regmap; in syscon_regmap_lookup_by_compatible() local
230 struct regmap *regmap; in syscon_regmap_lookup_by_phandle() local
254 struct regmap *regmap; in syscon_regmap_lookup_by_phandle_args() local
284 struct regmap *regmap; in syscon_regmap_lookup_by_phandle_optional() local
/linux-6.6.21/drivers/staging/media/deprecated/atmel/
Datmel-sama7g5-isc.c212 struct regmap *regmap = isc->regmap; in isc_sama7g5_config_csc() local
231 struct regmap *regmap = isc->regmap; in isc_sama7g5_config_cbc() local
243 struct regmap *regmap = isc->regmap; in isc_sama7g5_config_cc() local
268 struct regmap *regmap = isc->regmap; in isc_sama7g5_config_dpc() local
278 struct regmap *regmap = isc->regmap; in isc_sama7g5_config_gam() local
286 struct regmap *regmap = isc->regmap; in isc_sama7g5_config_rlp() local
/linux-6.6.21/sound/soc/fsl/
Dfsl_spdif.c132 struct regmap *regmap; member
224 struct regmap *regmap = spdif_priv->regmap; in spdif_irq_dpll_lock() local
246 struct regmap *regmap = spdif_priv->regmap; in spdif_irq_sym_error() local
260 struct regmap *regmap = spdif_priv->regmap; in spdif_irq_uqrx_full() local
315 struct regmap *regmap = spdif_priv->regmap; in spdif_irq_uq_err() local
334 struct regmap *regmap = spdif_priv->regmap; in spdif_intr_status_clear() local
414 struct regmap *regmap = spdif_priv->regmap; in spdif_softreset() local
449 struct regmap *regmap = spdif_priv->regmap; in spdif_write_channel_status() local
487 struct regmap *regmap = spdif_priv->regmap; in spdif_set_rx_clksrc() local
508 struct regmap *regmap = spdif_priv->regmap; in spdif_set_sample_rate() local
[all …]
/linux-6.6.21/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
/linux-6.6.21/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-6.6.21/drivers/pinctrl/
Dpinctrl-da9062.c48 struct regmap *regmap = pctl->da9062->regmap; in da9062_pctl_get_pin_mode() local
64 struct regmap *regmap = pctl->da9062->regmap; in da9062_pctl_set_pin_mode() local
84 struct regmap *regmap = pctl->da9062->regmap; in da9062_gpio_get() local
114 struct regmap *regmap = pctl->da9062->regmap; in da9062_gpio_set() local
146 struct regmap *regmap = pctl->da9062->regmap; in da9062_gpio_direction_input() local
189 struct regmap *regmap = pctl->da9062->regmap; in da9062_gpio_set_config() local

12345678910>>...62