Home
last modified time | relevance | path

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

12345678910>>...93

/linux/sound/soc/codecs/
A Dmt6358.c83 struct regmap *regmap; member
210 regmap_update_bits(priv->regmap, in mt6358_mtkaif_tx_enable()
214 regmap_update_bits(priv->regmap, in mt6358_mtkaif_tx_enable()
217 regmap_update_bits(priv->regmap, in mt6358_mtkaif_tx_enable()
223 regmap_update_bits(priv->regmap, in mt6358_mtkaif_tx_enable()
227 regmap_update_bits(priv->regmap, in mt6358_mtkaif_tx_enable()
234 regmap_update_bits(priv->regmap, in mt6358_mtkaif_tx_enable()
1650 regmap_write(priv->regmap, in mt6358_amic_enable()
1653 regmap_write(priv->regmap, in mt6358_amic_enable()
2463 priv->regmap = mt6397->regmap; in mt6358_platform_driver_probe()
[all …]
A Dnau8821.c877 struct regmap *regmap = nau8821->regmap; in nau8821_eject_jack() local
921 struct regmap *regmap = nau8821->regmap; in nau8821_jdet_work() local
955 struct regmap *regmap = nau8821->regmap; in nau8821_setup_inserted_irq() local
984 struct regmap *regmap = nau8821->regmap; in nau8821_interrupt() local
1132 struct regmap *regmap = nau8821->regmap; in nau8821_fll_apply() local
1234 struct regmap *regmap = nau8821->regmap; in nau8821_configure_sysclk() local
1319 struct regmap *regmap = nau8821->regmap; in nau8821_resume_setup() local
1346 struct regmap *regmap = nau8821->regmap; in nau8821_set_bias_level() local
1470 static void nau8821_reset_chip(struct regmap *regmap) in nau8821_reset_chip() argument
1535 struct regmap *regmap = nau8821->regmap; in nau8821_init_regs() local
[all …]
A Dnau8825.c50 static bool nau8825_is_jack_inserted(struct regmap *regmap);
990 struct regmap *regmap = nau8825->regmap; in system_clock_control() local
1464 struct regmap *regmap = nau8825->regmap; in nau8825_enable_jack_detect() local
1532 struct regmap *regmap = nau8825->regmap; in nau8825_eject_jack() local
1575 struct regmap *regmap = nau8825->regmap; in nau8825_setup_auto_irq() local
1634 struct regmap *regmap = nau8825->regmap; in nau8825_jack_insert() local
1712 struct regmap *regmap = nau8825->regmap; in nau8825_interrupt() local
1840 struct regmap *regmap = nau8825->regmap; in nau8825_setup_buttons() local
1879 struct regmap *regmap = nau8825->regmap; in nau8825_init_regs() local
2194 struct regmap *regmap = nau8825->regmap; in nau8825_configure_sysclk() local
[all …]
A Dmt6359.c115 regmap_update_bits(priv->regmap, in mt6359_mtkaif_tx_enable()
1117 regmap_write(priv->regmap, in mt_lo_event()
1260 regmap_write(priv->regmap, in mt_mic_bias_0_event()
1297 regmap_write(priv->regmap, in mt_mic_bias_1_event()
1300 regmap_write(priv->regmap, in mt_mic_bias_1_event()
1412 regmap_write(priv->regmap, in mt_ul_src_dmic_event()
1434 regmap_write(priv->regmap, in mt_ul_src_34_dmic_event()
1440 regmap_write(priv->regmap, in mt_ul_src_34_dmic_event()
2700 cmpnt->regmap = NULL; in mt6359_codec_remove()
2806 priv->regmap = mt6397->regmap; in mt6359_platform_driver_probe()
[all …]
A Drt711.c31 static int rt711_index_write(struct regmap *regmap, in rt711_index_write() argument
45 static int rt711_index_read(struct regmap *regmap, in rt711_index_read() argument
60 static int rt711_index_update_bits(struct regmap *regmap, unsigned int nid, in rt711_index_update_bits() argument
76 static void rt711_reset(struct regmap *regmap) in rt711_reset() argument
88 struct regmap *regmap = rt711->regmap; in rt711_calibration() local
92 regmap_write(rt711->regmap, in rt711_calibration()
128 regmap_write(rt711->regmap, in rt711_calibration()
361 regmap_write(rt711->regmap, in rt711_jack_init()
366 regmap_write(rt711->regmap, in rt711_jack_init()
1185 struct regmap *regmap, struct sdw_slave *slave) in rt711_init() argument
[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
393 struct regmap *regmap = gpiochip_get_data(c); in chip_gpio_set() local
401 struct regmap *regmap = gpiochip_get_data(c); in chip_gpio_get() local
415 struct regmap *regmap = gpiochip_get_data(c); in chip_direction_input() local
[all …]
A Dcs35l35.c259 regmap_update_bits(cs35l35->regmap, in cs35l35_main_amp_event()
292 regmap_update_bits(cs35l35->regmap, in cs35l35_main_amp_event()
534 regmap_update_bits(cs35l35->regmap, in cs35l35_hw_params()
540 regmap_update_bits(cs35l35->regmap, in cs35l35_hw_params()
766 struct regmap *regmap = cs35l35->regmap; in cs35l35_boost_inductor() local
863 regmap_update_bits(cs35l35->regmap, in cs35l35_component_probe()
870 regmap_update_bits(cs35l35->regmap, in cs35l35_component_probe()
898 regmap_update_bits(cs35l35->regmap, in cs35l35_component_probe()
904 regmap_update_bits(cs35l35->regmap, in cs35l35_component_probe()
1487 if (IS_ERR(cs35l35->regmap)) { in cs35l35_i2c_probe()
[all …]
A Dcs35l36.c51 struct regmap *regmap; member
874 regmap_update_bits(cs35l36->regmap, in cs35l36_pcm_hw_params()
1252 regmap_update_bits(cs35l36->regmap, in cs35l36_component_probe()
1559 regmap_write(cs35l36->regmap, CS35L36_PAC_CTL1, in cs35l36_pac()
1561 regmap_write(cs35l36->regmap, CS35L36_PAC_CTL3, in cs35l36_pac()
1566 regmap_write(cs35l36->regmap, CS35L36_PAC_CTL3, in cs35l36_pac()
1568 regmap_write(cs35l36->regmap, CS35L36_PAC_CTL1, in cs35l36_pac()
1721 if (IS_ERR(cs35l36->regmap)) { in cs35l36_i2c_probe()
1722 ret = PTR_ERR(cs35l36->regmap); in cs35l36_i2c_probe()
1817 ret = regmap_register_patch(cs35l36->regmap, in cs35l36_i2c_probe()
[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
206 struct regmap *regmap = osc->regmap; in clk_main_rc_osc_prepare() local
225 struct regmap *regmap = osc->regmap; in clk_main_rc_osc_unprepare() local
240 struct regmap *regmap = osc->regmap; in clk_main_rc_osc_is_prepared() local
[all …]
A Dpmc.h144 at91_clk_register_generated(struct regmap *regmap, spinlock_t *lock,
151 at91_clk_register_h32mx(struct regmap *regmap, const char *name,
155 at91_clk_i2s_mux_register(struct regmap *regmap, const char *name,
163 at91_clk_register_main_osc(struct regmap *regmap, const char *name,
166 at91_clk_register_rm9200_main(struct regmap *regmap,
188 at91_clk_sama7g5_register_master(struct regmap *regmap,
205 at91_clk_register_pll(struct regmap *regmap, const char *name,
210 at91_clk_register_plldiv(struct regmap *regmap, const char *name,
234 at91_clk_register_sam9260_slow(struct regmap *regmap,
244 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
58 struct regmap *regmap; in of_sama5d2_clk_audio_pll_pad_setup() local
81 struct regmap *regmap; in of_sama5d2_clk_audio_pll_pmc_setup() local
125 struct regmap *regmap; in of_sama5d2_clk_generated_setup() local
182 struct regmap *regmap; in of_sama5d4_clk_h32mx_setup() local
244 struct regmap *regmap; in of_at91rm9200_clk_main_osc_setup() local
270 struct regmap *regmap; in of_at91sam9x5_clk_main_rc_osc_setup() local
294 struct regmap *regmap; in of_at91rm9200_clk_main_setup() local
318 struct regmap *regmap; in of_at91sam9x5_clk_main_setup() local
375 struct regmap *regmap; in of_at91_clk_master_setup() local
[all …]
A Dclk-sam9x60-pll.c32 struct regmap *regmap; member
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
503 struct regmap *regmap = core->regmap; in sam9x60_div_pll_set_rate_chg() local
551 struct regmap *regmap = core.regmap; in sam9x60_div_pll_notifier_fn() 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/reset/hisilicon/
A Dhi6220_reset.c41 struct regmap *regmap; member
48 struct regmap *regmap = data->regmap; in hi6220_peripheral_assert() local
60 struct regmap *regmap = data->regmap; in hi6220_peripheral_deassert() local
77 struct regmap *regmap = data->regmap; in hi6220_media_assert() local
86 struct regmap *regmap = data->regmap; in hi6220_media_deassert() local
110 struct regmap *regmap = data->regmap; in hi6220_ao_assert() local
129 struct regmap *regmap = data->regmap; in hi6220_ao_deassert() local
161 struct regmap *regmap; in hi6220_reset_probe() local
170 if (IS_ERR(regmap)) { in hi6220_reset_probe()
172 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
257 mux->regmap = regmap; in da8xx_cfgchip_mux_clk_register()
323 struct regmap *regmap) in of_da8xx_cfgchip_init_mux_clock() argument
349 struct regmap *regmap; member
529 usb0->regmap = regmap; in da8xx_cfgchip_register_usb0_clk48()
542 struct regmap *regmap; member
[all …]
/linux/drivers/base/regmap/
A Dinternal.h19 struct regmap;
35 void (*format_write)(struct regmap *map,
45 struct regmap *map;
49 struct regmap { struct
176 int (*init)(struct regmap *map); argument
177 int (*exit)(struct regmap *map);
201 struct regmap *map;
215 struct regmap *regmap; member
245 int regcache_read(struct regmap *map,
247 int regcache_write(struct regmap *map,
[all …]
A D.built-in.a.cmd1regmap/built-in.a := echo >/dev/null; rm -f drivers/base/regmap/built-in.a; /usr/bin/ccache /home/…
/linux/drivers/gpu/drm/bridge/
A Dchrontel-ch7033.c200 struct regmap *regmap; member
336 regmap_write(priv->regmap, 0x03, 0x04); in ch7033_bridge_disable()
344 regmap_write(priv->regmap, 0x03, 0x04); in ch7033_bridge_enable()
361 regmap_write(priv->regmap, 0x03, 0x04); in ch7033_bridge_mode_set()
364 regmap_write(priv->regmap, 0x52, 0x00); in ch7033_bridge_mode_set()
371 regmap_write(priv->regmap, 0x03, 0x00); in ch7033_bridge_mode_set()
452 regmap_write(priv->regmap, 0x03, 0x01); in ch7033_bridge_mode_set()
496 regmap_write(priv->regmap, 0x03, 0x03); in ch7033_bridge_mode_set()
507 regmap_write(priv->regmap, 0x03, 0x04); in ch7033_bridge_mode_set()
550 if (IS_ERR(priv->regmap)) { in ch7033_probe()
[all …]
/linux/drivers/clk/qcom/
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()
57 struct regmap *regmap = h->clkr.regmap; in __clk_hfpll_enable() local
93 struct regmap *regmap = h->clkr.regmap; in clk_hfpll_enable() local
108 struct regmap *regmap = h->clkr.regmap; in __clk_hfpll_disable() local
153 struct regmap *regmap = h->clkr.regmap; in clk_hfpll_set_rate() local
176 regmap_write(regmap, hd->l_reg, l_val); in clk_hfpll_set_rate()
191 struct regmap *regmap = h->clkr.regmap; in clk_hfpll_recalc_rate() local
203 struct regmap *regmap = h->clkr.regmap; in clk_hfpll_init() local
[all …]
A Dclk-alpha-pll.c247 static void clk_alpha_pll_write_config(struct regmap *regmap, unsigned int reg, in clk_alpha_pll_write_config() argument
254 void clk_alpha_pll_configure(struct clk_alpha_pll *pll, struct regmap *regmap, in clk_alpha_pll_configure() argument
805 struct regmap *regmap) in trion_pll_is_enabled() argument
828 struct regmap *regmap = pll->clkr.regmap; in clk_trion_pll_enable() local
865 struct regmap *regmap = pll->clkr.regmap; in clk_trion_pll_disable() local
1084 struct regmap *regmap = pll->clkr.regmap; in alpha_pll_fabia_enable() local
1141 struct regmap *regmap = pll->clkr.regmap; in alpha_pll_fabia_disable() local
1320 struct regmap *regmap = pll->clkr.regmap; in clk_trion_pll_postdiv_recalc_rate() local
1353 struct regmap *regmap = pll->clkr.regmap; in clk_trion_pll_postdiv_set_rate() local
1842 struct regmap *regmap = pll->clkr.regmap; in clk_zonda_pll_enable() local
[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 …]
/linux/include/linux/
A Dregmap.h34 struct regmap;
1117 void regmap_exit(struct regmap *map);
1118 int regmap_reinit_cache(struct regmap *map,
1183 int regmap_get_val_bytes(struct regmap *map);
1191 int regcache_sync(struct regmap *map);
1264 struct regmap_field *regmap_field_alloc(struct regmap *regmap,
1269 struct regmap *regmap, struct reg_field reg_field);
1272 int regmap_field_bulk_alloc(struct regmap *regmap,
1277 int devm_regmap_field_bulk_alloc(struct device *dev, struct regmap *regmap,
1532 struct regmap *map, int irq,
[all …]
/linux/drivers/media/tuners/
A Dm88rs6000t.c14 struct regmap *regmap; member
36 ret = regmap_read(dev->regmap, 0x15, &utmp); in m88rs6000t_set_demod_mclk()
98 ret = regmap_read(dev->regmap, 0x1D, &utmp); in m88rs6000t_set_demod_mclk()
108 ret = regmap_write(dev->regmap, 0x05, 0x40); in m88rs6000t_set_demod_mclk()
111 ret = regmap_write(dev->regmap, 0x11, 0x08); in m88rs6000t_set_demod_mclk()
129 ret = regmap_write(dev->regmap, 0x17, 0xc1); in m88rs6000t_set_demod_mclk()
132 ret = regmap_write(dev->regmap, 0x17, 0x81); in m88rs6000t_set_demod_mclk()
136 ret = regmap_write(dev->regmap, 0x05, 0x00); in m88rs6000t_set_demod_mclk()
626 if (IS_ERR(dev->regmap)) { in m88rs6000t_probe()
627 ret = PTR_ERR(dev->regmap); in m88rs6000t_probe()
[all …]
/linux/drivers/mfd/
A Dsyscon.c33 struct regmap *regmap; member
47 struct regmap *regmap; in of_syscon_register() local
132 syscon->regmap = regmap; in of_syscon_register()
195 struct regmap *regmap; in syscon_regmap_lookup_by_compatible() local
204 return regmap; in syscon_regmap_lookup_by_compatible()
212 struct regmap *regmap; in syscon_regmap_lookup_by_phandle() local
225 return regmap; in syscon_regmap_lookup_by_phandle()
236 struct regmap *regmap; in syscon_regmap_lookup_by_phandle_args() local
254 return regmap; in syscon_regmap_lookup_by_phandle_args()
266 struct regmap *regmap; in syscon_regmap_lookup_by_phandle_optional() local
[all …]
/linux/drivers/phy/cadence/
A Dphy-cadence-torrent.c334 struct regmap *regmap; member
662 struct regmap *regmap = cdns_phy->regmap_common_cdb; in cdns_torrent_dp_enable_ssc_19_2mhz() local
678 struct regmap *regmap = cdns_phy->regmap_common_cdb; in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz() local
782 struct regmap *regmap = cdns_phy->regmap_common_cdb; in cdns_torrent_dp_enable_ssc_25mhz() local
1877 struct regmap *regmap; in cdns_torrent_refclk_driver_register() local
1959 struct regmap *regmap; in cdns_torrent_dp_regfield_init() local
1976 struct regmap *regmap; in cdns_torrent_regfield_init() local
2044 struct regmap *regmap; in cdns_torrent_dp_regmap_init() local
2068 struct regmap *regmap; in cdns_torrent_regmap_init() local
2155 struct regmap *regmap; in cdns_torrent_phy_init() local
[all …]

Completed in 2494 milliseconds

12345678910>>...93