Home
last modified time | relevance | path

Searched refs:regmap (Results 1 – 25 of 1979) sorted by relevance

12345678910>>...80

/linux/drivers/phy/qualcomm/
H A Dphy-qcom-sgmii-eth.c13 #include <linux/regmap.h>
39 struct regmap *regmap; member
44 static void qcom_dwmac_sgmii_phy_init_1g(struct regmap *regmap) in qcom_dwmac_sgmii_phy_init_1g() argument
46 regmap_write(regmap, QSERDES_PCS + QPHY_PCS_SW_RESET, 0x01); in qcom_dwmac_sgmii_phy_init_1g()
47 regmap_write(regmap, QSERDES_PCS + QPHY_PCS_POWER_DOWN_CONTROL, 0x01); in qcom_dwmac_sgmii_phy_init_1g()
49 regmap_write(regmap, QSERDES_QMP_PLL + QSERDES_V5_COM_PLL_IVCO, 0x0F); in qcom_dwmac_sgmii_phy_init_1g()
50 regmap_write(regmap, QSERDES_QMP_PLL + QSERDES_V5_COM_CP_CTRL_MODE0, 0x06); in qcom_dwmac_sgmii_phy_init_1g()
51 regmap_write(regmap, QSERDES_QMP_PL in qcom_dwmac_sgmii_phy_init_1g()
132 qcom_dwmac_sgmii_phy_init_2p5g(struct regmap * regmap) qcom_dwmac_sgmii_phy_init_2p5g() argument
221 qcom_dwmac_sgmii_phy_poll_status(struct regmap * regmap,unsigned int reg,unsigned int bit) qcom_dwmac_sgmii_phy_poll_status() argument
[all...]
/linux/sound/soc/codecs/
H A Dmt6358.c82 struct regmap *regmap; member
114 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE2_CLR, in playback_gpio_set()
116 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE2_SET, in playback_gpio_set()
118 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE2, in playback_gpio_set()
129 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE2_CLR, in playback_gpio_reset()
131 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE2, in playback_gpio_reset()
133 regmap_update_bits(priv->regmap, MT6358_GPIO_DIR0, in playback_gpio_reset()
140 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE3_CLR, in capture_gpio_set()
142 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE3_SE in capture_gpio_set()
[all...]
H A Des8389.c19 #include <linux/regmap.h>
33 struct regmap *regmap; member
162 regmap_update_bits(es8389->regmap, ES8389_ADC_HPF1, 0x0f, es8389->hpfl); in es8389_hpf_set()
163 regmap_update_bits(es8389->regmap, ES8389_ADC_HPF2, 0x0f, es8389->hpfr); in es8389_hpf_set()
187 regmap_update_bits_check(es8389->regmap, ES8389_DMIC_EN, 0xC0, 0xC0, &changed1); in es8389_dmic_set()
188 regmap_update_bits_check(es8389->regmap, ES8389_ADC_MODE, 0x03, 0x03, &changed2); in es8389_dmic_set()
190 regmap_update_bits_check(es8389->regmap, ES8389_DMIC_EN, 0xC0, 0x00, &changed1); in es8389_dmic_set()
191 regmap_update_bits_check(es8389->regmap, ES8389_ADC_MODE, 0x03, 0x00, &changed2); in es8389_dmic_set()
647 regmap_update_bits(es8389->regmap, ES8389_PTDM_SLO in es8389_set_tdm_slot()
[all...]
H A Des8326.c25 struct regmap *regmap; member
105 regmap_read(es8326->regmap, ES8326_DAC_RAMPRATE, &crosstalk_h);
106 regmap_read(es8326->regmap, ES8326_DAC_CROSSTALK, &crosstalk_l); in es8326_crosstalk2_set()
124 regmap_read(es8326->regmap, ES8326_DAC_CROSSTALK, &crosstalk_l); in es8326_crosstalk2_set()
128 regmap_update_bits(es8326->regmap, ES8326_DAC_RAMPRATE, in es8326_hplvol_get()
130 regmap_write(es8326->regmap, ES8326_DAC_CROSSTALK, crosstalk_l); in es8326_hplvol_get()
143 regmap_read(es8326->regmap, ES8326_DAC_RAMPRATE, &crosstalk_h); in es8326_hplvol_set()
144 regmap_read(es8326->regmap, ES8326_DAC_CROSSTALK, &crosstalk_l); in es8326_hplvol_set()
162 regmap_read(es8326->regmap, ES8326_DAC_CROSSTAL in es8326_hprvol_get()
[all...]
H A Dmt6357.c19 regmap_write(priv->regmap, MT6357_GPIO_MODE2_CLR, MT6357_GPIO_MODE2_CLEAR_ALL); in set_playback_gpio()
22 regmap_write(priv->regmap, MT6357_GPIO_MODE2_SET, in set_playback_gpio()
32 regmap_update_bits(priv->regmap, MT6357_GPIO_DIR0, in set_playback_gpio()
46 regmap_write(priv->regmap, MT6357_GPIO_MODE3_CLR, MT6357_GPIO_MODE3_CLEAR_ALL); in set_capture_gpio()
49 regmap_write(priv->regmap, MT6357_GPIO_MODE3_SET, in set_capture_gpio()
61 regmap_update_bits(priv->regmap, MT6357_GPIO_DIR0, in set_capture_gpio()
80 regmap_update_bits(priv->regmap, MT6357_AUDDEC_ANA_CON1, in hp_main_output_ramp()
83 regmap_update_bits(priv->regmap, MT6357_AUDDEC_ANA_CON1, in hp_main_output_ramp()
97 regmap_update_bits(priv->regmap, MT6357_AUDDEC_ANA_CON6, in hp_aux_feedback_loop_gain_ramp()
107 regmap_update_bits(priv->regmap, MT6357_AUDDEC_ANA_CON in hp_pull_down()
[all...]
H A Des8375.c16 #include <linux/regmap.h>
27 struct regmap *regmap; member
297 regmap_update_bits(es8375->regmap, in es8375_hw_params()
303 regmap_read(es8375->regmap, ES8375_ADC1, &regv); in es8375_hw_params()
324 regmap_write(es8375->regmap, ES8375_CLK_MGR4, in es8375_hw_params()
326 regmap_write(es8375->regmap, ES8375_CLK_MGR5, in es8375_hw_params()
328 regmap_write(es8375->regmap, ES8375_CLK_MGR6, in es8375_hw_params()
330 regmap_write(es8375->regmap, ES8375_CLK_MGR7, in es8375_hw_params()
332 regmap_write(es8375->regmap, ES8375_CLK_MGR in es8375_hw_params()
[all...]
H A Dnau8821.c18 #include <linux/regmap.h>
49 static bool nau8821_is_jack_inserted(struct regmap *regmap);
289 if (!component->regmap) in nau8821_biq_coeff_get()
292 return regmap_raw_read(component->regmap, NAU8821_R21_BIQ0_COF1, in nau8821_biq_coeff_get()
304 if (!component->regmap) in nau8821_biq_coeff_put()
312 ret = regmap_raw_write(component->regmap, NAU8821_R21_BIQ0_COF1, in nau8821_biq_coeff_put()
480 regmap_read(nau8821->regmap, NAU8821_R03_CLK_DIVIDER, in dmic_clock_control()
499 regmap_update_bits(nau8821->regmap, NAU8821_R13_DMIC_CTRL, in dmic_clock_control()
558 regmap_update_bits(nau8821->regmap, NAU8821_R80_CHARGE_PUM in nau8821_pump_event()
1010 nau8821_is_jack_inserted(struct regmap * regmap) nau8821_is_jack_inserted() argument
1025 nau8821_irq_status_clear(struct regmap * regmap,int active_irq) nau8821_irq_status_clear() argument
1049 struct regmap *regmap = nau8821->regmap; nau8821_eject_jack() local
1108 struct regmap *regmap = nau8821->regmap; nau8821_jdet_work() local
1151 struct regmap *regmap = nau8821->regmap; nau8821_setup_inserted_irq() local
1191 struct regmap *regmap = nau8821->regmap; nau8821_interrupt() local
1337 struct regmap *regmap = nau8821->regmap; nau8821_fll_apply() local
1425 nau8821_configure_mclk_as_sysclk(struct regmap * regmap) nau8821_configure_mclk_as_sysclk() argument
1439 struct regmap *regmap = nau8821->regmap; nau8821_configure_sysclk() local
1524 struct regmap *regmap = nau8821->regmap; nau8821_resume_setup() local
1551 struct regmap *regmap = nau8821->regmap; nau8821_set_bias_level() local
1674 nau8821_reset_chip(struct regmap * regmap) nau8821_reset_chip() argument
1755 struct regmap *regmap = nau8821->regmap; nau8821_init_regs() local
1821 struct regmap *regmap = nau8821->regmap; nau8821_setup_irq() local
[all...]
H A Dzl38060.c21 #include <linux/regmap.h>
86 struct regmap *regmap; member
91 static int zl38_fw_issue_command(struct regmap *regmap, u16 cmd) in zl38_fw_issue_command() argument
96 err = regmap_read_poll_timeout(regmap, REG_SEMA_FLAGS, val, in zl38_fw_issue_command()
101 err = regmap_write(regmap, REG_CMD, cmd); in zl38_fw_issue_command()
104 err = regmap_update_bits(regmap, REG_SEMA_FLAGS, SEMA_FLAGS_BOOT_CMD, in zl38_fw_issue_command()
109 return regmap_read_poll_timeout(regmap, REG_CMD, val, !val, 10000, in zl38_fw_issue_command()
113 static int zl38_fw_go(struct regmap *regma argument
124 zl38_fw_enter_boot_mode(struct regmap * regmap) zl38_fw_enter_boot_mode() argument
139 zl38_fw_send_data(struct regmap * regmap,u32 addr,const void * data,u16 len) zl38_fw_send_data() argument
151 zl38_fw_send_xaddr(struct regmap * regmap,const void * data) zl38_fw_send_xaddr() argument
162 zl38_load_firmware(struct device * dev,struct regmap * regmap) zl38_load_firmware() argument
210 zl38_software_reset(struct regmap * regmap) zl38_software_reset() argument
392 struct regmap *regmap = gpiochip_get_data(c); chip_gpio_set() local
400 struct regmap *regmap = gpiochip_get_data(c); chip_gpio_get() local
414 struct regmap *regmap = gpiochip_get_data(c); chip_direction_input() local
423 struct regmap *regmap = gpiochip_get_data(c); chip_direction_output() local
448 zl38_check_revision(struct device * dev,struct regmap * regmap) zl38_check_revision() argument
[all...]
H A Drt711.c18 #include <linux/regmap.h>
33 static int rt711_index_write(struct regmap *regmap, in rt711_index_write()
39 ret = regmap_write(regmap, addr, value); in rt711_index_write()
47 static int rt711_index_read(struct regmap *regmap, in rt711_index_read()
54 ret = regmap_read(regmap, addr, value); in rt711_index_read()
62 static int rt711_index_update_bits(struct regmap *regmap, unsigned int nid, in rt711_index_update_bits()
68 ret = rt711_index_read(regmap, ni in rt711_index_update_bits()
32 rt711_index_write(struct regmap * regmap,unsigned int nid,unsigned int reg,unsigned int value) rt711_index_write() argument
46 rt711_index_read(struct regmap * regmap,unsigned int nid,unsigned int reg,unsigned int * value) rt711_index_read() argument
61 rt711_index_update_bits(struct regmap * regmap,unsigned int nid,unsigned int reg,unsigned int mask,unsigned int val) rt711_index_update_bits() argument
77 rt711_reset(struct regmap * regmap) rt711_reset() argument
89 struct regmap *regmap = rt711->regmap; rt711_calibration() local
1178 rt711_init(struct device * dev,struct regmap * sdw_regmap,struct regmap * regmap,struct sdw_slave * slave) rt711_init() argument
[all...]
H A Dcs35l35.c21 #include <linux/regmap.h>
196 regmap_update_bits(cs35l35->regmap, CS35L35_CLK_CTL1, in cs35l35_sdin_event()
199 regmap_update_bits(cs35l35->regmap, CS35L35_PWRCTL1, in cs35l35_sdin_event()
202 regmap_update_bits(cs35l35->regmap, CS35L35_PWRCTL1, in cs35l35_sdin_event()
206 regmap_update_bits(cs35l35->regmap, CS35L35_PWRCTL1, in cs35l35_sdin_event()
209 regmap_update_bits(cs35l35->regmap, CS35L35_PWRCTL1, in cs35l35_sdin_event()
213 regmap_update_bits(cs35l35->regmap, CS35L35_AMP_DIG_VOL_CTL, in cs35l35_sdin_event()
218 regmap_update_bits(cs35l35->regmap, CS35L35_CLK_CTL1, in cs35l35_sdin_event()
222 regmap_update_bits(cs35l35->regmap, CS35L35_AMP_DIG_VOL_CTL, in cs35l35_sdin_event()
244 regmap_update_bits(cs35l35->regmap, CS35L35_PWRCTL in cs35l35_main_amp_event()
763 struct regmap *regmap = cs35l35->regmap; cs35l35_boost_inductor() local
[all...]
H A Dcs35l36.c22 #include <linux/regmap.h>
49 struct regmap *regmap; member
478 regmap_update_bits(cs35l36->regmap, CS35L36_NG_CFG, in cs35l36_ldm_sel_put()
511 regmap_update_bits(cs35l36->regmap, CS35L36_PWR_CTRL1, in cs35l36_main_amp_event()
517 regmap_read(cs35l36->regmap, CS35L36_INT4_RAW_STATUS, &reg); in cs35l36_main_amp_event()
522 regmap_update_bits(cs35l36->regmap, CS35L36_ASP_RX1_SEL, in cs35l36_main_amp_event()
525 regmap_update_bits(cs35l36->regmap, CS35L36_AMP_OUT_MUTE, in cs35l36_main_amp_event()
530 regmap_update_bits(cs35l36->regmap, CS35L36_ASP_RX1_SEL, in cs35l36_main_amp_event()
533 regmap_update_bits(cs35l36->regmap, CS35L36_AMP_OUT_MUT in cs35l36_main_amp_event()
[all...]
/linux/drivers/gpu/drm/sprd/
H A Dmegacores_pll.c81 static void dphy_set_pll_reg(struct dphy_pll *pll, struct regmap *regmap) in dphy_set_pll_reg() argument
102 regmap_write(regmap, reg_addr[i], reg_val[i]); in dphy_set_pll_reg()
110 struct regmap *regmap = ctx->regmap; in dphy_pll_config() local
122 dphy_set_pll_reg(pll, regmap); in dphy_pll_config()
127 static void dphy_set_timing_reg(struct regmap *regmap, int type, u8 val[]) in dphy_set_timing_reg() argument
131 regmap_write(regmap, 0x31, val[CLK]); in dphy_set_timing_reg()
132 regmap_write(regmap, 0x41, val[DATA]); in dphy_set_timing_reg()
133 regmap_write(regmap, 0x51, val[DATA]); in dphy_set_timing_reg()
134 regmap_write(regmap, 0x61, val[DATA]); in dphy_set_timing_reg()
135 regmap_write(regmap, 0x71, val[DATA]); in dphy_set_timing_reg()
[all …]
/linux/drivers/clk/at91/
H A Dclk-main.c11 #include <linux/regmap.h>
30 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 *regma argument
74 struct regmap *regmap = osc->regmap; clk_main_osc_prepare() local
97 struct regmap *regmap = osc->regmap; clk_main_osc_unprepare() local
114 struct regmap *regmap = osc->regmap; clk_main_osc_is_prepared() local
152 at91_clk_register_main_osc(struct regmap * regmap,const char * name,const char * parent_name,struct clk_parent_data * parent_data,bool bypass) at91_clk_register_main_osc() argument
198 clk_main_rc_osc_ready(struct regmap * regmap) clk_main_rc_osc_ready() argument
210 struct regmap *regmap = osc->regmap; clk_main_rc_osc_prepare() local
229 struct regmap *regmap = osc->regmap; clk_main_rc_osc_unprepare() local
244 struct regmap *regmap = osc->regmap; clk_main_rc_osc_is_prepared() local
297 at91_clk_register_main_rc_osc(struct regmap * regmap,const char * name,u32 frequency,u32 accuracy) at91_clk_register_main_rc_osc() argument
334 clk_main_probe_frequency(struct regmap * regmap) clk_main_probe_frequency() argument
354 clk_main_recalc_rate(struct regmap * regmap,unsigned long parent_rate) clk_main_recalc_rate() argument
402 at91_clk_register_rm9200_main(struct regmap * regmap,const char * name,const char * parent_name,struct clk_hw * parent_hw) at91_clk_register_rm9200_main() argument
444 clk_sam9x5_main_ready(struct regmap * regmap) clk_sam9x5_main_ready() argument
456 struct regmap *regmap = clkmain->regmap; clk_sam9x5_main_prepare() local
482 struct regmap *regmap = clkmain->regmap; clk_sam9x5_main_set_parent() local
552 at91_clk_register_sam9x5_main(struct regmap * regmap,const char * name,const char ** parent_names,struct clk_hw ** parent_hws,int num_parents) at91_clk_register_sam9x5_main() argument
[all...]
H A Dpmc.h148 at91_clk_register_audio_pll_frac(struct regmap *regmap, const char *name,
152 at91_clk_register_audio_pll_pad(struct regmap *regmap, const char *name,
156 at91_clk_register_audio_pll_pmc(struct regmap *regmap, const char *name,
160 at91_clk_register_generated(struct regmap *regmap, spinlock_t *lock,
168 at91_clk_register_h32mx(struct regmap *regmap, const char *name,
172 at91_clk_i2s_mux_register(struct regmap *regmap, const char *name,
177 at91_clk_register_main_rc_osc(struct regmap *regmap, const char *name,
180 at91_clk_register_main_osc(struct regmap *regmap, const char *name,
184 at91_clk_register_rm9200_main(struct regmap *regmap,
189 at91_clk_register_sam9x5_main(struct regmap *regmap, const char *name,
[all …]
H A Ddt-compat.c7 #include <linux/regmap.h>
36 struct regmap *regmap; in of_sama5d2_clk_audio_pll_frac_setup() local
40 regmap = syscon_node_to_regmap(parent_np); in of_sama5d2_clk_audio_pll_frac_setup()
42 if (IS_ERR(regmap)) in of_sama5d2_clk_audio_pll_frac_setup()
47 hw = at91_clk_register_audio_pll_frac(regmap, name, parent_name); in of_sama5d2_clk_audio_pll_frac_setup()
62 struct regmap *regmap; in of_sama5d2_clk_audio_pll_pad_setup() local
66 regmap = syscon_node_to_regmap(parent_np); in of_sama5d2_clk_audio_pll_pad_setup()
68 if (IS_ERR(regmap)) in of_sama5d2_clk_audio_pll_pad_setup()
88 struct regmap *regmap; of_sama5d2_clk_audio_pll_pmc_setup() local
135 struct regmap *regmap; of_sama5d2_clk_generated_setup() local
194 struct regmap *regmap; of_sama5d4_clk_h32mx_setup() local
259 struct regmap *regmap; of_at91rm9200_clk_main_osc_setup() local
288 struct regmap *regmap; of_at91sam9x5_clk_main_rc_osc_setup() local
315 struct regmap *regmap; of_at91rm9200_clk_main_setup() local
342 struct regmap *regmap; of_at91sam9x5_clk_main_setup() local
402 struct regmap *regmap; of_at91_clk_master_setup() local
465 struct regmap *regmap; of_at91_clk_periph_setup() local
646 struct regmap *regmap; of_at91_clk_pll_setup() local
715 struct regmap *regmap; of_at91sam9x5_clk_plldiv_setup() local
749 struct regmap *regmap; of_at91_clk_prog_setup() local
811 struct regmap *regmap; of_at91sam9260_clk_slow_setup() local
846 struct regmap *regmap; of_at91sam9x5_clk_smd_setup() local
882 struct regmap *regmap; of_at91rm9200_clk_sys_setup() local
933 struct regmap *regmap; of_at91sam9x5_clk_usb_setup() local
965 struct regmap *regmap; of_at91sam9n12_clk_usb_setup() local
995 struct regmap *regmap; of_at91rm9200_clk_usb_setup() local
[all...]
/linux/drivers/clk/davinci/
H A Dda8xx-cfgchip.c18 #include <linux/regmap.h>
34 struct regmap *regmap; member
46 return regmap_write_bits(clk->regmap, clk->reg, clk->mask, clk->mask); in da8xx_cfgchip_gate_clk_enable()
53 regmap_write_bits(clk->regmap, clk->reg, clk->mask, 0); in da8xx_cfgchip_gate_clk_disable()
61 regmap_read(clk->regmap, clk->reg, &val); in da8xx_cfgchip_gate_clk_is_enabled()
89 struct regmap *regmap) in da8xx_cfgchip_gate_clk_register() argument
117 gate->regmap = regmap; in da8xx_cfgchip_gate_clk_register()
135 da8xx_cfgchip_register_tbclk(struct device * dev,struct regmap * regmap) da8xx_cfgchip_register_tbclk() argument
158 da8xx_cfgchip_register_div4p5(struct device * dev,struct regmap * regmap) da8xx_cfgchip_register_div4p5() argument
170 of_da8xx_cfgchip_gate_clk_init(struct device * dev,const struct da8xx_cfgchip_gate_clk_info * info,struct regmap * regmap) of_da8xx_cfgchip_gate_clk_init() argument
182 of_da8xx_tbclksync_init(struct device * dev,struct regmap * regmap) of_da8xx_tbclksync_init() argument
188 of_da8xx_div4p5ena_init(struct device * dev,struct regmap * regmap) of_da8xx_div4p5ena_init() argument
205 struct regmap *regmap; global() member
240 da8xx_cfgchip_mux_clk_register(struct device * dev,const struct da8xx_cfgchip_mux_clk_info * info,struct regmap * regmap) da8xx_cfgchip_mux_clk_register() argument
278 da8xx_cfgchip_register_async1(struct device * dev,struct regmap * regmap) da8xx_cfgchip_register_async1() argument
300 da850_cfgchip_register_async3(struct device * dev,struct regmap * regmap) da850_cfgchip_register_async3() argument
324 of_da8xx_cfgchip_init_mux_clock(struct device * dev,const struct da8xx_cfgchip_mux_clk_info * info,struct regmap * regmap) of_da8xx_cfgchip_init_mux_clock() argument
335 of_da850_async1_init(struct device * dev,struct regmap * regmap) of_da850_async1_init() argument
340 of_da850_async3_init(struct device * dev,struct regmap * regmap) of_da850_async3_init() argument
350 struct regmap *regmap; global() member
506 da8xx_cfgchip_register_usb0_clk48(struct device * dev,struct regmap * regmap) da8xx_cfgchip_register_usb0_clk48() argument
543 struct regmap *regmap; global() member
581 da8xx_cfgchip_register_usb1_clk48(struct device * dev,struct regmap * regmap) da8xx_cfgchip_register_usb1_clk48() argument
608 da8xx_cfgchip_register_usb_phy_clk(struct device * dev,struct regmap * regmap) da8xx_cfgchip_register_usb_phy_clk() argument
648 of_da8xx_usb_phy_clk_init(struct device * dev,struct regmap * regmap) of_da8xx_usb_phy_clk_init() argument
747 struct regmap *regmap = NULL; da8xx_cfgchip_probe() local
[all...]
/linux/drivers/reset/hisilicon/
H A Dhi6220_reset.c16 #include <linux/regmap.h>
40 struct regmap *regmap; member
47 struct regmap *regmap = data->regmap; in hi6220_peripheral_assert() local
52 return regmap_write(regmap, reg, BIT(offset)); in hi6220_peripheral_assert()
59 struct regmap *regmap = data->regmap; in hi6220_peripheral_deassert() local
76 struct regmap *regmap = data->regmap; hi6220_media_assert() local
85 struct regmap *regmap = data->regmap; hi6220_media_deassert() local
109 struct regmap *regmap = data->regmap; hi6220_ao_assert() local
128 struct regmap *regmap = data->regmap; hi6220_ao_deassert() local
160 struct regmap *regmap; hi6220_reset_probe() local
[all...]
/linux/drivers/regulator/
H A Drt6190-regulator.c17 #include <linux/regmap.h>
69 struct regmap *regmap; member
77 struct regmap *regmap = rdev_get_regmap(rdev); in rt6190_out_set_voltage_sel() local
80 return regmap_raw_write(regmap, RT6190_REG_OUTV, &le_sel, in rt6190_out_set_voltage_sel()
86 struct regmap *regmap = rdev_get_regmap(rdev); in rt6190_out_get_voltage_sel() local
90 ret = regmap_raw_read(regmap, RT6190_REG_OUTV, &le_sel, sizeof(le_sel)); in rt6190_out_get_voltage_sel()
98 struct regmap *regma in rt6190_out_enable() local
129 struct regmap *regmap = rdev_get_regmap(rdev); rt6190_out_disable() local
151 struct regmap *regmap = rdev_get_regmap(rdev); rt6190_out_set_current_limit() local
173 struct regmap *regmap = rdev_get_regmap(rdev); rt6190_out_get_current_limit() local
190 struct regmap *regmap = rdev_get_regmap(rdev); rt6190_out_set_mode() local
210 struct regmap *regmap = rdev_get_regmap(rdev); rt6190_out_get_mode() local
347 rt6190_init_registers(struct regmap * regmap) rt6190_init_registers() argument
378 struct regmap *regmap; rt6190_probe() local
444 struct regmap *regmap = data->regmap; rt6190_runtime_suspend() local
460 struct regmap *regmap = data->regmap; rt6190_runtime_resume() local
[all...]
H A Dbcm590xx-regulator.c35 enum bcm590xx_regmap_type regmap; member
267 .regmap = BCM590XX_REGMAP_PRI,
275 .regmap = BCM590XX_REGMAP_PRI,
283 .regmap = BCM590XX_REGMAP_PRI,
291 .regmap = BCM590XX_REGMAP_PRI,
299 .regmap = BCM590XX_REGMAP_PRI,
307 .regmap = BCM590XX_REGMAP_PRI,
315 .regmap = BCM590XX_REGMAP_PRI,
323 .regmap = BCM590XX_REGMAP_PRI,
331 .regmap
[all...]
/linux/drivers/clk/qcom/
H A Dclk-hfpll.c24 struct regmap *regmap = h->clkr.regmap; in __clk_hfpll_init_once() local
31 regmap_write(regmap, hd->config_reg, hd->config_val); in __clk_hfpll_init_once()
32 regmap_write(regmap, hd->m_reg, 0); in __clk_hfpll_init_once()
33 regmap_write(regmap, hd->n_reg, 1); in __clk_hfpll_init_once()
44 regmap_write(regmap, hd->user_reg, regval); in __clk_hfpll_init_once()
49 regmap_write(regmap, hd->l_reg, hd->l_val); in __clk_hfpll_init_once()
52 regmap_write(regmap, hd->droop_reg, hd->droop_val); in __clk_hfpll_init_once()
61 struct regmap *regmap = h->clkr.regmap; in __clk_hfpll_enable() local
67 regmap_update_bits(regmap, hd->mode_reg, PLL_BYPASSNL, PLL_BYPASSNL); in __clk_hfpll_enable()
76 regmap_update_bits(regmap, hd->mode_reg, PLL_RESET_N, PLL_RESET_N); in __clk_hfpll_enable()
[all …]
H A Dclk-alpha-pll.h226 void clk_alpha_pll_configure(struct clk_alpha_pll *pll, struct regmap *regmap,
228 void clk_huayra_2290_pll_configure(struct clk_alpha_pll *pll, struct regmap *regmap,
230 void clk_fabia_pll_configure(struct clk_alpha_pll *pll, struct regmap *regmap,
232 void clk_trion_pll_configure(struct clk_alpha_pll *pll, struct regmap *regmap,
234 void clk_agera_pll_configure(struct clk_alpha_pll *pll, struct regmap *regmap,
236 #define clk_lucid_pll_configure(pll, regmap, config) \ argument
237 clk_trion_pll_configure(pll, regmap, config)
239 void clk_zonda_pll_configure(struct clk_alpha_pll *pll, struct regmap *regmap,
241 void clk_lucid_5lpe_pll_configure(struct clk_alpha_pll *pll, struct regmap *regmap,
243 void clk_lucid_evo_pll_configure(struct clk_alpha_pll *pll, struct regmap *regmap,
[all …]
/linux/drivers/mfd/
H A Dsyscon.c29 struct regmap *regmap; member
43 struct regmap *regmap; in of_syscon_register() local
117 regmap = regmap_init_mmio(NULL, base, &syscon_config); in of_syscon_register()
119 if (IS_ERR(regmap)) { in of_syscon_register()
121 ret = PTR_ERR(regmap); in of_syscon_register()
133 ret = regmap_mmio_attach_clk(regmap, clk); in of_syscon_register()
149 syscon->regmap = regmap; in of_syscon_register()
162 regmap_exit(regmap); in of_syscon_register()
168 static struct regmap *device_node_get_regmap(struct device_node *np, in device_node_get_regmap()
193 return syscon->regmap; in device_node_get_regmap()
[all …]
/linux/drivers/phy/mscc/
H A Dphy-ocelot-serdes.c17 #include <linux/regmap.h>
22 struct regmap *regs;
36 static int __serdes_write_mcb_s6g(struct regmap *regmap, u8 macro, u32 op) in __serdes_write_mcb_s6g() argument
40 regmap_write(regmap, HSIO_MCB_S6G_ADDR_CFG, op | in __serdes_write_mcb_s6g()
43 return regmap_read_poll_timeout(regmap, HSIO_MCB_S6G_ADDR_CFG, regval, in __serdes_write_mcb_s6g()
48 static int serdes_commit_mcb_s6g(struct regmap *regmap, u8 macro) in serdes_commit_mcb_s6g() argument
50 return __serdes_write_mcb_s6g(regmap, macro, in serdes_commit_mcb_s6g()
54 static int serdes_update_mcb_s6g(struct regmap *regma argument
60 serdes_init_s6g(struct regmap * regmap,u8 serdes,int mode) serdes_init_s6g() argument
268 __serdes_write_mcb_s1g(struct regmap * regmap,u8 macro,u32 op) __serdes_write_mcb_s1g() argument
280 serdes_commit_mcb_s1g(struct regmap * regmap,u8 macro) serdes_commit_mcb_s1g() argument
286 serdes_update_mcb_s1g(struct regmap * regmap,u8 macro) serdes_update_mcb_s1g() argument
292 serdes_init_s1g(struct regmap * regmap,u8 serdes) serdes_init_s1g() argument
[all...]
/linux/drivers/base/regmap/
H A DMakefile5 obj-$(CONFIG_REGMAP) += regmap.o regcache.o
7 obj-$(CONFIG_DEBUG_FS) += regmap-debugfs.o
8 obj-$(CONFIG_REGMAP_KUNIT) += regmap-kunit.o
9 obj-$(CONFIG_REGMAP_AC97) += regmap-ac97.o
10 obj-$(CONFIG_REGMAP_I2C) += regmap-i2c.o
11 obj-$(CONFIG_REGMAP_RAM) += regmap-ram.o regmap-raw-ram.o
12 obj-$(CONFIG_REGMAP_SLIMBUS) += regmap-slimbus.o
13 obj-$(CONFIG_REGMAP_SPI) += regmap-spi.o
14 obj-$(CONFIG_REGMAP_SPMI) += regmap-spmi.o
15 obj-$(CONFIG_REGMAP_MMIO) += regmap-mmio.o
[all …]
/linux/drivers/rtc/
H A Drtc-isl12022.c18 #include <linux/regmap.h>
78 struct regmap *regmap; member
99 struct regmap *regmap = dev_get_drvdata(dev); in isl12022_hwmon_read_temp() local
103 ret = regmap_bulk_read(regmap, ISL12022_REG_TEMP_L, &buf, sizeof(buf)); in isl12022_hwmon_read_temp()
146 struct regmap *regmap = isl12022->regmap; in isl12022_hwmon_register() local
153 ret = regmap_update_bits(regmap, ISL12022_REG_BET in isl12022_hwmon_register()
174 struct regmap *regmap = isl12022->regmap; isl12022_rtc_read_time() local
210 struct regmap *regmap = isl12022->regmap; isl12022_rtc_set_time() local
244 struct regmap *regmap = isl12022->regmap; isl12022_rtc_read_alarm() local
291 struct regmap *regmap = isl12022->regmap; isl12022_rtc_set_alarm() local
347 struct regmap *regmap = isl12022->regmap; isl12022_rtc_interrupt() local
395 struct regmap *regmap = isl12022->regmap; isl12022_setup_irq() local
432 struct regmap *regmap = isl12022->regmap; isl12022_rtc_ioctl() local
474 struct regmap *regmap = isl12022->regmap; isl12022_register_clock() local
515 struct regmap *regmap = isl12022->regmap; isl12022_set_trip_levels() local
554 struct regmap *regmap; isl12022_probe() local
[all...]

12345678910>>...80