/linux-6.3-rc2/sound/soc/codecs/ |
A D | mt6358.c | 83 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() 1653 regmap_write(priv->regmap, in mt6358_amic_enable() 1656 regmap_write(priv->regmap, in mt6358_amic_enable() 2464 priv->regmap = mt6397->regmap; in mt6358_platform_driver_probe() [all …]
|
A D | nau8825.c | 990 struct regmap *regmap = nau8825->regmap; in system_clock_control() local 1568 struct regmap *regmap = nau8825->regmap; in nau8825_enable_jack_detect() local 1636 struct regmap *regmap = nau8825->regmap; in nau8825_eject_jack() local 1679 struct regmap *regmap = nau8825->regmap; in nau8825_setup_auto_irq() local 1741 struct regmap *regmap = nau8825->regmap; in nau8825_high_imped_detection() local 1856 struct regmap *regmap = nau8825->regmap; in nau8825_jack_insert() local 1945 struct regmap *regmap = nau8825->regmap; in nau8825_interrupt() local 2073 struct regmap *regmap = nau8825->regmap; in nau8825_setup_buttons() local 2112 struct regmap *regmap = nau8825->regmap; in nau8825_init_regs() local 2431 struct regmap *regmap = nau8825->regmap; in nau8825_configure_sysclk() local [all …]
|
A D | nau8821.c | 39 static bool nau8821_is_jack_inserted(struct regmap *regmap); 916 struct regmap *regmap = nau8821->regmap; in nau8821_eject_jack() local 974 struct regmap *regmap = nau8821->regmap; in nau8821_jdet_work() local 1017 struct regmap *regmap = nau8821->regmap; in nau8821_setup_inserted_irq() local 1046 struct regmap *regmap = nau8821->regmap; in nau8821_interrupt() local 1201 struct regmap *regmap = nau8821->regmap; in nau8821_fll_apply() local 1303 struct regmap *regmap = nau8821->regmap; in nau8821_configure_sysclk() local 1388 struct regmap *regmap = nau8821->regmap; in nau8821_resume_setup() local 1415 struct regmap *regmap = nau8821->regmap; in nau8821_set_bias_level() local 1606 struct regmap *regmap = nau8821->regmap; in nau8821_init_regs() local [all …]
|
A D | mt6359.c | 115 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() 2697 cmpnt->regmap = NULL; in mt6359_codec_remove() 2805 priv->regmap = mt6397->regmap; in mt6359_platform_driver_probe() [all …]
|
A D | zl38060.c | 86 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 D | rt711.c | 32 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() 1188 struct regmap *regmap, struct sdw_slave *slave) in rt711_init() argument [all …]
|
A D | cs35l35.c | 259 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() 1485 if (IS_ERR(cs35l35->regmap)) { in cs35l35_i2c_probe() [all …]
|
A D | cs35l36.c | 51 struct regmap *regmap; member 875 regmap_update_bits(cs35l36->regmap, in cs35l36_pcm_hw_params() 1253 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() 1720 if (IS_ERR(cs35l36->regmap)) { in cs35l36_i2c_probe() 1721 ret = PTR_ERR(cs35l36->regmap); in cs35l36_i2c_probe() 1816 ret = regmap_register_patch(cs35l36->regmap, in cs35l36_i2c_probe() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/sprd/ |
A D | megacores_pll.c | 81 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-6.3-rc2/drivers/clk/at91/ |
A D | clk-main.c | 30 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 D | pmc.h | 144 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 D | dt-compat.c | 35 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 …]
|
A D | clk-sam9x60-pll.c | 32 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-6.3-rc2/drivers/hwmon/ |
A D | w83773g.c | 61 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-6.3-rc2/drivers/reset/hisilicon/ |
A D | hi6220_reset.c | 41 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-6.3-rc2/drivers/clk/davinci/ |
A D | da8xx-cfgchip.c | 34 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 528 usb0->regmap = regmap; in da8xx_cfgchip_register_usb0_clk48() 541 struct regmap *regmap; member [all …]
|
/linux-6.3-rc2/drivers/base/regmap/ |
A D | internal.h | 19 struct regmap; 36 void (*format_write)(struct regmap *map, 46 struct regmap *map; 50 struct regmap { struct 182 int (*init)(struct regmap *map); argument 183 int (*exit)(struct regmap *map); 207 struct regmap *map; 221 struct regmap *regmap; member 251 int regcache_read(struct regmap *map, 253 int regcache_write(struct regmap *map, [all …]
|
/linux-6.3-rc2/drivers/clk/qcom/ |
A D | clk-hfpll.c | 24 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 96 struct regmap *regmap = h->clkr.regmap; in clk_hfpll_enable() local 111 struct regmap *regmap = h->clkr.regmap; in __clk_hfpll_disable() local 156 struct regmap *regmap = h->clkr.regmap; in clk_hfpll_set_rate() local 179 regmap_write(regmap, hd->l_reg, l_val); in clk_hfpll_set_rate() 194 struct regmap *regmap = h->clkr.regmap; in clk_hfpll_recalc_rate() local 206 struct regmap *regmap = h->clkr.regmap; in clk_hfpll_init() local [all …]
|
A D | clk-alpha-pll.c | 904 struct regmap *regmap = pll->clkr.regmap; in clk_trion_pll_enable() local 941 struct regmap *regmap = pll->clkr.regmap; in clk_trion_pll_disable() local 1164 struct regmap *regmap = pll->clkr.regmap; in alpha_pll_fabia_enable() local 1221 struct regmap *regmap = pll->clkr.regmap; in alpha_pll_fabia_disable() local 1400 struct regmap *regmap = pll->clkr.regmap; in clk_trion_pll_postdiv_recalc_rate() local 1433 struct regmap *regmap = pll->clkr.regmap; in clk_trion_pll_postdiv_set_rate() local 1838 struct regmap *regmap = pll->clkr.regmap; in __clk_lucid_pll_postdiv_set_rate() local 1936 struct regmap *regmap = pll->clkr.regmap; in clk_zonda_pll_enable() local 1986 struct regmap *regmap = pll->clkr.regmap; in clk_zonda_pll_disable() local 2087 struct regmap *regmap = pll->clkr.regmap; in alpha_pll_lucid_evo_enable() local [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/bridge/ |
A D | chrontel-ch7033.c | 201 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-6.3-rc2/drivers/regulator/ |
A D | rt6190-regulator.c | 70 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-6.3-rc2/drivers/phy/mscc/ |
A D | phy-ocelot-serdes.c | 22 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-6.3-rc2/drivers/mfd/ |
A D | syscon.c | 34 struct regmap *regmap; member 49 struct regmap *regmap; in of_syscon_register() local 144 syscon->regmap = regmap; in of_syscon_register() 209 struct regmap *regmap; in syscon_regmap_lookup_by_compatible() local 218 return regmap; in syscon_regmap_lookup_by_compatible() 226 struct regmap *regmap; in syscon_regmap_lookup_by_phandle() local 239 return regmap; in syscon_regmap_lookup_by_phandle() 250 struct regmap *regmap; in syscon_regmap_lookup_by_phandle_args() local 268 return regmap; in syscon_regmap_lookup_by_phandle_args() 280 struct regmap *regmap; in syscon_regmap_lookup_by_phandle_optional() local [all …]
|
/linux-6.3-rc2/drivers/media/tuners/ |
A D | m88rs6000t.c | 14 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() 625 if (IS_ERR(dev->regmap)) { in m88rs6000t_probe() 626 ret = PTR_ERR(dev->regmap); in m88rs6000t_probe() [all …]
|
/linux-6.3-rc2/include/linux/ |
A D | regmap.h | 35 struct regmap; 1198 void regmap_exit(struct regmap *map); 1199 int regmap_reinit_cache(struct regmap *map, 1267 bool regmap_might_sleep(struct regmap *map); 1273 int regcache_sync(struct regmap *map); 1346 struct regmap_field *regmap_field_alloc(struct regmap *regmap, 1351 struct regmap *regmap, struct reg_field reg_field); 1354 int regmap_field_bulk_alloc(struct regmap *regmap, 1359 int devm_regmap_field_bulk_alloc(struct device *dev, struct regmap *regmap, 1668 struct regmap *map, int irq, [all …]
|