Home
last modified time | relevance | path

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

12345678910>>...68

/linux-6.12.1/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.12.1/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.c29 struct regmap *regmap; member
57 static inline bool sam9x60_pll_ready(struct regmap *regmap, int id) in sam9x60_pll_ready()
66 static bool sam9x60_frac_pll_ready(struct regmap *regmap, u8 id) in sam9x60_frac_pll_ready()
90 struct regmap *regmap = core->regmap; in sam9x60_frac_pll_set() local
162 struct regmap *regmap = core->regmap; in sam9x60_frac_pll_unprepare() local
254 struct regmap *regmap = core->regmap; in sam9x60_frac_pll_set_rate_chg() local
345 struct regmap *regmap = core->regmap; in sam9x60_div_pll_set_div() local
364 struct regmap *regmap = core->regmap; in sam9x60_div_pll_set() local
396 struct regmap *regmap = core->regmap; in sam9x60_div_pll_unprepare() local
417 struct regmap *regmap = core->regmap; in sam9x60_div_pll_is_prepared() local
[all …]
/linux-6.12.1/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.12.1/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
Dspd5118.c76 struct regmap *regmap; member
95 static int spd5118_read_temp(struct regmap *regmap, u32 attr, long *val) in spd5118_read_temp()
131 static int spd5118_read_alarm(struct regmap *regmap, u32 attr, long *val) in spd5118_read_alarm()
162 static int spd5118_read_enable(struct regmap *regmap, long *val) in spd5118_read_enable()
177 struct regmap *regmap = dev_get_drvdata(dev); in spd5118_read() local
201 static int spd5118_write_temp(struct regmap *regmap, u32 attr, long val) in spd5118_write_temp()
231 static int spd5118_write_enable(struct regmap *regmap, long val) in spd5118_write_enable()
241 static int spd5118_temp_write(struct regmap *regmap, u32 attr, long val) in spd5118_temp_write()
259 struct regmap *regmap = dev_get_drvdata(dev); in spd5118_write() local
385 static ssize_t spd5118_nvmem_read_page(struct regmap *regmap, char *buf, in spd5118_nvmem_read_page()
[all …]
Dmax1619.c38 static int get_alarms(struct regmap *regmap) in get_alarms()
55 static int max1619_temp_read(struct regmap *regmap, u32 attr, int channel, long *val) in max1619_temp_read()
108 static int max1619_chip_read(struct regmap *regmap, u32 attr, long *val) in max1619_chip_read()
135 struct regmap *regmap = dev_get_drvdata(dev); in max1619_read() local
147 static int max1619_chip_write(struct regmap *regmap, u32 attr, long val) in max1619_chip_write()
158 static int max1619_temp_write(struct regmap *regmap, in max1619_temp_write()
186 struct regmap *regmap = dev_get_drvdata(dev); in max1619_write() local
290 static int max1619_init_chip(struct regmap *regmap) in max1619_init_chip()
351 struct regmap *regmap; in max1619_probe() local
Damc6821.c123 struct regmap *regmap; member
137 static int amc6821_get_auto_point_temps(struct regmap *regmap, int channel, u8 *temps) in amc6821_get_auto_point_temps()
164 static int amc6821_temp_read_values(struct regmap *regmap, u32 attr, int channel, long *val) in amc6821_temp_read_values()
192 static int amc6821_read_alarms(struct regmap *regmap, enum hwmon_sensor_types type, in amc6821_read_alarms()
287 struct regmap *regmap = data->regmap; in amc6821_pwm_read() local
348 struct regmap *regmap = data->regmap; in amc6821_pwm_write() local
388 static int amc6821_fan_read_rpm(struct regmap *regmap, u32 attr, long *val) in amc6821_fan_read_rpm()
424 struct regmap *regmap = data->regmap; in amc6821_fan_read() local
450 struct regmap *regmap = data->regmap; in amc6821_fan_write() local
544 static inline int set_slope_register(struct regmap *regmap, int channel, u8 *temps) in set_slope_register()
[all …]
/linux-6.12.1/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
/linux-6.12.1/sound/soc/codecs/
Dcs35l41-lib.c782 int cs35l41_test_key_unlock(struct device *dev, struct regmap *regmap) in cs35l41_test_key_unlock()
798 int cs35l41_test_key_lock(struct device *dev, struct regmap *regmap) in cs35l41_test_key_lock()
815 int cs35l41_otp_unpack(struct device *dev, struct regmap *regmap) in cs35l41_otp_unpack()
988 static int cs35l41_boost_config(struct device *dev, struct regmap *regmap, int boost_ind, in cs35l41_boost_config()
1140 int cs35l41_init_boost(struct device *dev, struct regmap *regmap, in cs35l41_init_boost()
1181 bool cs35l41_safe_reset(struct regmap *regmap, enum cs35l41_boost_type b_type) in cs35l41_safe_reset()
1218 int cs35l41_global_enable(struct device *dev, struct regmap *regmap, enum cs35l41_boost_type b_type, in cs35l41_global_enable()
1361 int cs35l41_mdsync_up(struct regmap *regmap) in cs35l41_mdsync_up()
1368 int cs35l41_gpio_config(struct regmap *regmap, struct cs35l41_hw_cfg *hw_cfg) in cs35l41_gpio_config()
1455 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 …]
Dcs530x.c112 struct regmap *regmap = cs530x->regmap; in cs530x_put_volsw_vu() local
231 struct regmap *regmap = cs530x->regmap; in cs530x_adc_event() local
421 struct regmap *regmap = cs530x->regmap; in cs530x_set_bclk() local
456 struct regmap *regmap = priv->regmap; in cs530x_set_pll_refclk() local
491 struct regmap *regmap = cs530x->regmap; in cs530x_hw_params() local
556 struct regmap *regmap = priv->regmap; in cs530x_set_fmt() local
621 struct regmap *regmap = cs530x->regmap; in cs530x_set_tdm_slot() local
693 struct regmap *regmap = cs530x->regmap; in cs530x_set_pll() local
781 struct regmap *regmap = cs530x->regmap; in cs530x_set_sysclk() local
862 struct regmap *regmap = cs530x->regmap; in cs530x_parse_device_properties() local
/linux-6.12.1/drivers/clk/qcom/
Dclk-hfpll.c24 struct regmap *regmap = h->clkr.regmap; in __clk_hfpll_init_once() local
61 struct regmap *regmap = h->clkr.regmap; in __clk_hfpll_enable() local
100 struct regmap *regmap = h->clkr.regmap; in clk_hfpll_enable() local
115 struct regmap *regmap = h->clkr.regmap; in __clk_hfpll_disable() local
160 struct regmap *regmap = h->clkr.regmap; in clk_hfpll_set_rate() local
198 struct regmap *regmap = h->clkr.regmap; in clk_hfpll_recalc_rate() local
210 struct regmap *regmap = h->clkr.regmap; in clk_hfpll_init() local
236 struct regmap *regmap = h->clkr.regmap; in hfpll_is_enabled() local
Dclk-branch.h69 static inline void qcom_branch_set_force_mem_core(struct regmap *regmap, in qcom_branch_set_force_mem_core()
76 static inline void qcom_branch_set_force_periph_on(struct regmap *regmap, in qcom_branch_set_force_periph_on()
83 static inline void qcom_branch_set_force_periph_off(struct regmap *regmap, in qcom_branch_set_force_periph_off()
90 static inline void qcom_branch_set_wakeup(struct regmap *regmap, struct clk_branch clk, u32 val) in qcom_branch_set_wakeup()
96 static inline void qcom_branch_set_sleep(struct regmap *regmap, struct clk_branch clk, u32 val) in qcom_branch_set_sleep()
102 static inline void qcom_branch_set_clk_en(struct regmap *regmap, u32 cbcr) in qcom_branch_set_clk_en()
/linux-6.12.1/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
/linux-6.12.1/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.12.1/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.12.1/drivers/mfd/
Dsyscon.c35 struct regmap *regmap; member
49 struct regmap *regmap; in of_syscon_register() local
200 int of_syscon_register_regmap(struct device_node *np, struct regmap *regmap) in of_syscon_register_regmap()
255 struct regmap *regmap; in syscon_regmap_lookup_by_compatible() local
272 struct regmap *regmap; in syscon_regmap_lookup_by_phandle() local
298 struct regmap *regmap; in syscon_regmap_lookup_by_phandle_args() local
328 struct regmap *regmap; in syscon_regmap_lookup_by_phandle_optional() local
/linux-6.12.1/sound/soc/fsl/
Dfsl_spdif.c130 struct regmap *regmap; member
222 struct regmap *regmap = spdif_priv->regmap; in spdif_irq_dpll_lock() local
244 struct regmap *regmap = spdif_priv->regmap; in spdif_irq_sym_error() local
258 struct regmap *regmap = spdif_priv->regmap; in spdif_irq_uqrx_full() local
313 struct regmap *regmap = spdif_priv->regmap; in spdif_irq_uq_err() local
332 struct regmap *regmap = spdif_priv->regmap; in spdif_intr_status_clear() local
412 struct regmap *regmap = spdif_priv->regmap; in spdif_softreset() local
447 struct regmap *regmap = spdif_priv->regmap; in spdif_write_channel_status() local
485 struct regmap *regmap = spdif_priv->regmap; in spdif_set_rx_clksrc() local
506 struct regmap *regmap = spdif_priv->regmap; in spdif_set_sample_rate() local
[all …]
/linux-6.12.1/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.12.1/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.12.1/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

12345678910>>...68