Home
last modified time | relevance | path

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

12345678910>>...61

/linux/drivers/clk/at91/
H A 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 …]
H A 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 …]
H A 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/drivers/clk/davinci/
H A 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/drivers/hwmon/
H A 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
H A 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
H A Damc6821.c124 struct regmap *regmap; member
138 static int amc6821_get_auto_point_temps(struct regmap *regmap, int channel, u8 *temps) in amc6821_get_auto_point_temps()
165 static int amc6821_temp_read_values(struct regmap *regmap, u32 attr, int channel, long *val) in amc6821_temp_read_values()
193 static int amc6821_read_alarms(struct regmap *regmap, enum hwmon_sensor_types type, in amc6821_read_alarms()
288 struct regmap *regmap = data->regmap; in amc6821_pwm_read() local
349 struct regmap *regmap = data->regmap; in amc6821_pwm_write() local
389 static int amc6821_fan_read_rpm(struct regmap *regmap, u32 attr, long *val) in amc6821_fan_read_rpm()
425 struct regmap *regmap = data->regmap; in amc6821_fan_read() local
451 struct regmap *regmap = data->regmap; in amc6821_fan_write() local
545 static inline int set_slope_register(struct regmap *regmap, int channel, u8 *temps) in set_slope_register()
[all …]
/linux/drivers/regulator/
H A 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 …]
H A 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/sound/soc/codecs/
H A 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 …]
H A 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 …]
H A 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/drivers/clk/qcom/
H A 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
H A 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/drivers/reset/hisilicon/
H A 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/drivers/acpi/pmic/
H A 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()
H A 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
H A 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/drivers/rtc/
H A Drtc-isl12022.c78 struct regmap *regmap; member
99 struct regmap *regmap = dev_get_drvdata(dev); in isl12022_hwmon_read_temp() local
146 struct regmap *regmap = isl12022->regmap; in isl12022_hwmon_register() local
174 struct regmap *regmap = isl12022->regmap; in isl12022_rtc_read_time() local
210 struct regmap *regmap = isl12022->regmap; in isl12022_rtc_set_time() local
244 struct regmap *regmap = isl12022->regmap; in isl12022_rtc_read_alarm() local
291 struct regmap *regmap = isl12022->regmap; in isl12022_rtc_set_alarm() local
347 struct regmap *regmap = isl12022->regmap; in isl12022_rtc_interrupt() local
395 struct regmap *regmap = isl12022->regmap; in isl12022_setup_irq() local
431 struct regmap *regmap = isl12022->regmap; in isl12022_rtc_ioctl() local
[all …]
/linux/drivers/mfd/
H A Dsyscon.c35 struct regmap *regmap; member
49 struct regmap *regmap; in of_syscon_register() local
202 int of_syscon_register_regmap(struct device_node *np, struct regmap *regmap) in of_syscon_register_regmap()
257 struct regmap *regmap; in syscon_regmap_lookup_by_compatible() local
274 struct regmap *regmap; in syscon_regmap_lookup_by_phandle() local
300 struct regmap *regmap; in syscon_regmap_lookup_by_phandle_args() local
330 struct regmap *regmap; in syscon_regmap_lookup_by_phandle_optional() local
/linux/sound/soc/fsl/
H A Dfsl_spdif.c130 struct regmap *regmap; member
222 struct regmap *regmap = spdif_priv->regmap; in spdif_irq_dpll_lock() local
244 struct regmap *regma in spdif_irq_sym_error() local
258 struct regmap *regmap = spdif_priv->regmap; spdif_irq_uqrx_full() local
313 struct regmap *regmap = spdif_priv->regmap; spdif_irq_uq_err() local
332 struct regmap *regmap = spdif_priv->regmap; spdif_intr_status_clear() local
412 struct regmap *regmap = spdif_priv->regmap; spdif_softreset() local
447 struct regmap *regmap = spdif_priv->regmap; spdif_write_channel_status() local
485 struct regmap *regmap = spdif_priv->regmap; spdif_set_rx_clksrc() local
506 struct regmap *regmap = spdif_priv->regmap; spdif_set_sample_rate() local
609 struct regmap *regmap = spdif_priv->regmap; fsl_spdif_startup() local
650 struct regmap *regmap = spdif_priv->regmap; fsl_spdif_shutdown() local
739 struct regmap *regmap = spdif_priv->regmap; fsl_spdif_trigger() local
823 struct regmap *regmap = spdif_priv->regmap; fsl_spdif_capture_get() local
909 struct regmap *regmap = spdif_priv->regmap; fsl_spdif_rx_vbit_get() local
924 struct regmap *regmap = spdif_priv->regmap; fsl_spdif_tx_vbit_get() local
940 struct regmap *regmap = spdif_priv->regmap; fsl_spdif_tx_vbit_put() local
953 struct regmap *regmap = spdif_priv->regmap; fsl_spdif_rx_rcm_get() local
968 struct regmap *regmap = spdif_priv->regmap; fsl_spdif_rx_rcm_put() local
999 struct regmap *regmap = priv->regmap; fsl_spdif_bypass_put() local
1064 struct regmap *regmap = spdif_priv->regmap; spdif_get_rxclk_rate() local
1121 struct regmap *regmap = spdif_priv->regmap; fsl_spdif_usync_get() local
1140 struct regmap *regmap = spdif_priv->regmap; fsl_spdif_usync_put() local
[all...]
/linux/drivers/media/platform/microchip/
H A 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/drivers/gpio/
H A 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/drivers/phy/mscc/
H A 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/drivers/iio/accel/
H A Dadxl345_core.c22 struct regmap *regmap; member
161 static int adxl345_powerup(void *regmap) in adxl345_powerup()
166 static void adxl345_powerdown(void *regmap) in adxl345_powerdown()
181 int adxl345_core_probe(struct device *dev, struct regmap *regmap, in adxl345_core_probe()

12345678910>>...61