Home
last modified time | relevance | path

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

12345678910>>...105

/linux/drivers/phy/qualcomm/
A Dphy-qcom-sgmii-eth.c29 struct regmap *regmap; member
34 static void qcom_dwmac_sgmii_phy_init_1g(struct regmap *regmap) in qcom_dwmac_sgmii_phy_init_1g() argument
122 static void qcom_dwmac_sgmii_phy_init_2p5g(struct regmap *regmap) in qcom_dwmac_sgmii_phy_init_2p5g() argument
211 qcom_dwmac_sgmii_phy_poll_status(struct regmap *regmap, unsigned int reg, in qcom_dwmac_sgmii_phy_poll_status() argument
216 return regmap_read_poll_timeout(regmap, reg, val, in qcom_dwmac_sgmii_phy_poll_status()
229 qcom_dwmac_sgmii_phy_init_1g(data->regmap); in qcom_dwmac_sgmii_phy_calibrate()
232 qcom_dwmac_sgmii_phy_init_2p5g(data->regmap); in qcom_dwmac_sgmii_phy_calibrate()
236 if (qcom_dwmac_sgmii_phy_poll_status(data->regmap, in qcom_dwmac_sgmii_phy_calibrate()
333 data->regmap = devm_regmap_init_mmio(dev, base, in qcom_dwmac_sgmii_phy_probe()
335 if (IS_ERR(data->regmap)) in qcom_dwmac_sgmii_phy_probe()
[all …]
/linux/sound/soc/codecs/
A Dmt6358.c83 struct regmap *regmap; member
211 regmap_update_bits(priv->regmap, in mt6358_mtkaif_tx_enable()
215 regmap_update_bits(priv->regmap, in mt6358_mtkaif_tx_enable()
218 regmap_update_bits(priv->regmap, in mt6358_mtkaif_tx_enable()
224 regmap_update_bits(priv->regmap, in mt6358_mtkaif_tx_enable()
228 regmap_update_bits(priv->regmap, in mt6358_mtkaif_tx_enable()
235 regmap_update_bits(priv->regmap, in mt6358_mtkaif_tx_enable()
1689 regmap_write(priv->regmap, in mt6358_amic_enable()
1692 regmap_write(priv->regmap, in mt6358_amic_enable()
2500 priv->regmap = mt6397->regmap; in mt6358_platform_driver_probe()
[all …]
A Dmt6357.c22 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()
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()
148 regmap_update_bits(priv->regmap, reg_addr, in volume_ramp()
157 regmap_update_bits(priv->regmap, reg_addr, in volume_ramp()
927 regmap_write(priv->regmap, MT6357_AFUNC_AUD_CON2, in mt_audio_in_event()
933 regmap_write(priv->regmap, MT6357_AFUNC_AUD_CON0, in mt_audio_in_event()
1818 priv->regmap = mt6397->regmap; in mt6357_platform_driver_probe()
1819 if (IS_ERR(priv->regmap)) in mt6357_platform_driver_probe()
[all …]
A Des8326.c24 struct regmap *regmap; member
582 regmap_write(es8326->regmap, ES8326_CLK_DLL, in es8326_pcm_hw_params()
584 regmap_write(es8326->regmap, ES8326_CLK_MUX, in es8326_pcm_hw_params()
1086 regcache_cache_only(es8326->regmap, false); in es8326_resume()
1087 regcache_cache_bypass(es8326->regmap, true); in es8326_resume()
1089 regcache_cache_bypass(es8326->regmap, false); in es8326_resume()
1096 regcache_sync(es8326->regmap); in es8326_resume()
1113 regcache_cache_only(es8326->regmap, true); in es8326_suspend()
1120 regcache_mark_dirty(es8326->regmap); in es8326_suspend()
1245 if (IS_ERR(es8326->regmap)) { in es8326_i2c_probe()
[all …]
A Dnau8825.c975 struct regmap *regmap = nau8825->regmap; in system_clock_control() local
1554 struct regmap *regmap = nau8825->regmap; in nau8825_enable_jack_detect() local
1622 struct regmap *regmap = nau8825->regmap; in nau8825_eject_jack() local
1665 struct regmap *regmap = nau8825->regmap; in nau8825_setup_auto_irq() local
1731 struct regmap *regmap = nau8825->regmap; in nau8825_high_imped_detection() local
1846 struct regmap *regmap = nau8825->regmap; in nau8825_jack_insert() local
1938 struct regmap *regmap = nau8825->regmap; in nau8825_interrupt() local
2066 struct regmap *regmap = nau8825->regmap; in nau8825_setup_buttons() local
2105 struct regmap *regmap = nau8825->regmap; in nau8825_init_regs() local
2441 struct regmap *regmap = nau8825->regmap; in nau8825_configure_sysclk() local
[all …]
A Dzl38060.c86 struct regmap *regmap; member
91 static int zl38_fw_issue_command(struct regmap *regmap, u16 cmd) in zl38_fw_issue_command() argument
113 static int zl38_fw_go(struct regmap *regmap) in zl38_fw_go() argument
124 static int zl38_fw_enter_boot_mode(struct regmap *regmap) in zl38_fw_enter_boot_mode() argument
151 static int zl38_fw_send_xaddr(struct regmap *regmap, const void *data) in zl38_fw_send_xaddr() argument
162 static int zl38_load_firmware(struct device *dev, struct regmap *regmap) in zl38_load_firmware() argument
210 static int zl38_software_reset(struct regmap *regmap) in zl38_software_reset() argument
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
414 struct regmap *regmap = gpiochip_get_data(c); in chip_direction_input() local
[all …]
A Dnau8821.c47 static bool nau8821_is_jack_inserted(struct regmap *regmap);
1044 struct regmap *regmap = nau8821->regmap; in nau8821_eject_jack() local
1102 struct regmap *regmap = nau8821->regmap; in nau8821_jdet_work() local
1148 struct regmap *regmap = nau8821->regmap; in nau8821_setup_inserted_irq() local
1177 struct regmap *regmap = nau8821->regmap; in nau8821_interrupt() local
1332 struct regmap *regmap = nau8821->regmap; in nau8821_fll_apply() local
1434 struct regmap *regmap = nau8821->regmap; in nau8821_configure_sysclk() local
1519 struct regmap *regmap = nau8821->regmap; in nau8821_resume_setup() local
1546 struct regmap *regmap = nau8821->regmap; in nau8821_set_bias_level() local
1750 struct regmap *regmap = nau8821->regmap; in nau8821_init_regs() local
[all …]
A Dmt6359.c129 regmap_update_bits(priv->regmap, in mt6359_mtkaif_tx_enable()
133 regmap_update_bits(priv->regmap, in mt6359_mtkaif_tx_enable()
1374 regmap_write(priv->regmap, in mt_mic_bias_0_event()
1411 regmap_write(priv->regmap, in mt_mic_bias_1_event()
1414 regmap_write(priv->regmap, in mt_mic_bias_1_event()
1526 regmap_write(priv->regmap, in mt_ul_src_dmic_event()
1548 regmap_write(priv->regmap, in mt_ul_src_34_dmic_event()
1554 regmap_write(priv->regmap, in mt_ul_src_34_dmic_event()
2818 cmpnt->regmap = NULL; in mt6359_codec_remove()
2927 priv->regmap = mt6397->regmap; in mt6359_platform_driver_probe()
[all …]
A Drt711.c32 static int rt711_index_write(struct regmap *regmap, in rt711_index_write() argument
46 static int rt711_index_read(struct regmap *regmap, in rt711_index_read() argument
61 static int rt711_index_update_bits(struct regmap *regmap, unsigned int nid, in rt711_index_update_bits() argument
77 static void rt711_reset(struct regmap *regmap) in rt711_reset() argument
89 struct regmap *regmap = rt711->regmap; in rt711_calibration() local
93 regmap_write(rt711->regmap, in rt711_calibration()
129 regmap_write(rt711->regmap, in rt711_calibration()
369 regmap_write(rt711->regmap, in rt711_jack_init()
374 regmap_write(rt711->regmap, in rt711_jack_init()
1179 struct regmap *regmap, struct sdw_slave *slave) in rt711_init() argument
[all …]
/linux/drivers/gpu/drm/sprd/
A Dmegacores_pll.c81 static void dphy_set_pll_reg(struct dphy_pll *pll, struct regmap *regmap) in dphy_set_pll_reg() argument
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()
137 regmap_write(regmap, 0x90, val[CLK]); in dphy_set_timing_reg()
144 regmap_write(regmap, 0x32, val[CLK]); in dphy_set_timing_reg()
150 regmap_write(regmap, 0x91, val[CLK]); in dphy_set_timing_reg()
157 regmap_write(regmap, 0x33, val[CLK]); in dphy_set_timing_reg()
163 regmap_write(regmap, 0x92, val[CLK]); in dphy_set_timing_reg()
[all …]
/linux/drivers/clk/at91/
A Dclk-main.c30 struct regmap *regmap; member
38 struct regmap *regmap; member
48 struct regmap *regmap; member
55 struct regmap *regmap; member
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
210 struct regmap *regmap = osc->regmap; in clk_main_rc_osc_prepare() local
229 struct regmap *regmap = osc->regmap; in clk_main_rc_osc_unprepare() local
244 struct regmap *regmap = osc->regmap; in clk_main_rc_osc_is_prepared() local
[all …]
A Dpmc.h162 at91_clk_register_generated(struct regmap *regmap, spinlock_t *lock,
170 at91_clk_register_h32mx(struct regmap *regmap, const char *name,
174 at91_clk_i2s_mux_register(struct regmap *regmap, const char *name,
182 at91_clk_register_main_osc(struct regmap *regmap, const char *name,
186 at91_clk_register_rm9200_main(struct regmap *regmap,
211 at91_clk_sama7g5_register_master(struct regmap *regmap,
231 at91_clk_register_pll(struct regmap *regmap, const char *name,
236 at91_clk_register_plldiv(struct regmap *regmap, const char *name,
262 at91_clk_register_sam9260_slow(struct regmap *regmap,
272 at91_clk_register_system(struct regmap *regmap, const char *name,
[all …]
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 …]
/linux/drivers/hwmon/
A Dw83773g.c61 static int get_local_temp(struct regmap *regmap, long *val) in get_local_temp() argument
74 static int get_remote_temp(struct regmap *regmap, int index, long *val) in get_remote_temp() argument
92 static int get_fault(struct regmap *regmap, int index, long *val) in get_fault() argument
105 static int get_offset(struct regmap *regmap, int index, long *val) in get_offset() argument
123 static int set_offset(struct regmap *regmap, int index, long val) in set_offset() argument
142 static int get_update_interval(struct regmap *regmap, long *val) in get_update_interval() argument
155 static int set_update_interval(struct regmap *regmap, long val) in set_update_interval() argument
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
[all …]
/linux/drivers/clk/qcom/
A Dclk-alpha-pll.c1015 struct regmap *regmap = pll->clkr.regmap; in clk_trion_pll_enable() local
1052 struct regmap *regmap = pll->clkr.regmap; in clk_trion_pll_disable() local
1275 struct regmap *regmap = pll->clkr.regmap; in alpha_pll_fabia_enable() local
1332 struct regmap *regmap = pll->clkr.regmap; in alpha_pll_fabia_disable() local
1511 struct regmap *regmap = pll->clkr.regmap; in clk_trion_pll_postdiv_recalc_rate() local
1544 struct regmap *regmap = pll->clkr.regmap; in clk_trion_pll_postdiv_set_rate() local
2001 struct regmap *regmap = pll->clkr.regmap; in __clk_lucid_pll_postdiv_set_rate() local
2099 struct regmap *regmap = pll->clkr.regmap; in clk_zonda_pll_enable() local
2149 struct regmap *regmap = pll->clkr.regmap; in clk_zonda_pll_disable() local
2304 struct regmap *regmap = pll->clkr.regmap; in alpha_pll_lucid_evo_enable() local
[all …]
A Dclk-hfpll.c24 struct regmap *regmap = h->clkr.regmap; in __clk_hfpll_init_once() local
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()
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
183 regmap_write(regmap, hd->l_reg, l_val); in clk_hfpll_set_rate()
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
[all …]
/linux/drivers/reset/hisilicon/
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
169 if (IS_ERR(regmap)) { in hi6220_reset_probe()
171 return PTR_ERR(regmap); in hi6220_reset_probe()
[all …]
/linux/drivers/clk/davinci/
A Dda8xx-cfgchip.c34 struct regmap *regmap; member
89 struct regmap *regmap) in da8xx_cfgchip_gate_clk_register() argument
117 gate->regmap = regmap; in da8xx_cfgchip_gate_clk_register()
158 struct regmap *regmap) in da8xx_cfgchip_register_div4p5() argument
205 struct regmap *regmap; member
258 mux->regmap = regmap; in da8xx_cfgchip_mux_clk_register()
324 struct regmap *regmap) in of_da8xx_cfgchip_init_mux_clock() argument
350 struct regmap *regmap; member
530 usb0->regmap = regmap; in da8xx_cfgchip_register_usb0_clk48()
543 struct regmap *regmap; member
[all …]
/linux/drivers/base/regmap/
A Dinternal.h19 struct regmap;
36 void (*format_write)(struct regmap *map,
46 struct regmap *map;
50 struct regmap { struct
186 int (*init)(struct regmap *map); argument
187 int (*exit)(struct regmap *map);
211 struct regmap *map;
225 struct regmap *regmap; member
255 int regcache_read(struct regmap *map,
257 int regcache_write(struct regmap *map,
[all …]
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
13 obj-$(CONFIG_REGMAP_SPI) += regmap-spi.o
16 obj-$(CONFIG_REGMAP_IRQ) += regmap-irq.o
17 obj-$(CONFIG_REGMAP_W1) += regmap-w1.o
21 obj-$(CONFIG_REGMAP_I3C) += regmap-i3c.o
[all …]
/linux/drivers/gpu/drm/bridge/
A Dchrontel-ch7033.c201 struct regmap *regmap; member
337 regmap_write(priv->regmap, 0x03, 0x04); in ch7033_bridge_disable()
345 regmap_write(priv->regmap, 0x03, 0x04); in ch7033_bridge_enable()
362 regmap_write(priv->regmap, 0x03, 0x04); in ch7033_bridge_mode_set()
365 regmap_write(priv->regmap, 0x52, 0x00); in ch7033_bridge_mode_set()
372 regmap_write(priv->regmap, 0x03, 0x00); in ch7033_bridge_mode_set()
453 regmap_write(priv->regmap, 0x03, 0x01); in ch7033_bridge_mode_set()
497 regmap_write(priv->regmap, 0x03, 0x03); in ch7033_bridge_mode_set()
508 regmap_write(priv->regmap, 0x03, 0x04); in ch7033_bridge_mode_set()
550 if (IS_ERR(priv->regmap)) { in ch7033_probe()
[all …]
/linux/drivers/regulator/
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
379 struct regmap *regmap; in rt6190_probe() local
401 data->regmap = regmap; in rt6190_probe()
445 struct regmap *regmap = data->regmap; in rt6190_runtime_suspend() local
[all …]
/linux/drivers/mfd/
A Dsyscon.c35 struct regmap *regmap; member
49 struct regmap *regmap; in of_syscon_register() local
144 syscon->regmap = regmap; in of_syscon_register()
221 syscon->regmap = regmap; in of_syscon_register_regmap()
255 struct regmap *regmap; in syscon_regmap_lookup_by_compatible() local
264 return regmap; in syscon_regmap_lookup_by_compatible()
272 struct regmap *regmap; in syscon_regmap_lookup_by_phandle() local
287 return regmap; in syscon_regmap_lookup_by_phandle()
298 struct regmap *regmap; in syscon_regmap_lookup_by_phandle_args() local
328 struct regmap *regmap; in syscon_regmap_lookup_by_phandle_optional() local
[all …]
/linux/include/linux/
A Dregmap.h35 struct regmap;
1212 void regmap_exit(struct regmap *map);
1213 int regmap_reinit_cache(struct regmap *map,
1284 bool regmap_might_sleep(struct regmap *map);
1290 int regcache_sync(struct regmap *map);
1364 struct regmap_field *regmap_field_alloc(struct regmap *regmap,
1369 struct regmap *regmap, struct reg_field reg_field);
1372 int regmap_field_bulk_alloc(struct regmap *regmap,
1377 int devm_regmap_field_bulk_alloc(struct device *dev, struct regmap *regmap,
1668 struct regmap *map, int irq,
[all …]
/linux/drivers/phy/mscc/
A Dphy-ocelot-serdes.c22 struct regmap *regs;
36 static int __serdes_write_mcb_s6g(struct regmap *regmap, u8 macro, u32 op) in __serdes_write_mcb_s6g() argument
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 *regmap, u8 macro) in serdes_update_mcb_s6g() argument
56 return __serdes_write_mcb_s6g(regmap, macro, in serdes_update_mcb_s6g()
60 static int serdes_init_s6g(struct regmap *regmap, u8 serdes, int mode) in serdes_init_s6g() argument
268 static int __serdes_write_mcb_s1g(struct regmap *regmap, u8 macro, u32 op) in __serdes_write_mcb_s1g() argument
280 static int serdes_commit_mcb_s1g(struct regmap *regmap, u8 macro) in serdes_commit_mcb_s1g() argument
286 static int serdes_update_mcb_s1g(struct regmap *regmap, u8 macro) in serdes_update_mcb_s1g() argument
[all …]

Completed in 773 milliseconds

12345678910>>...105