Home
last modified time | relevance | path

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

12345678910>>...26

/sound/soc/codecs/
A Dmt6358.c83 struct regmap *regmap; member
170 regmap_update_bits(priv->regmap, in mt6358_mtkaif_tx_enable()
174 regmap_update_bits(priv->regmap, in mt6358_mtkaif_tx_enable()
177 regmap_update_bits(priv->regmap, in mt6358_mtkaif_tx_enable()
183 regmap_update_bits(priv->regmap, in mt6358_mtkaif_tx_enable()
187 regmap_update_bits(priv->regmap, in mt6358_mtkaif_tx_enable()
194 regmap_update_bits(priv->regmap, in mt6358_mtkaif_tx_enable()
1585 regmap_write(priv->regmap, in mt6358_amic_enable()
1588 regmap_write(priv->regmap, in mt6358_amic_enable()
2396 priv->regmap = mt6397->regmap; in mt6358_platform_driver_probe()
[all …]
A Des8389.c32 struct regmap *regmap; member
724 regmap_write(es8389->regmap, ES8389_VMID, 0x2A); in es8389_init()
793 regcache_cache_only(es8389->regmap, true); in es8389_suspend()
794 regcache_mark_dirty(es8389->regmap); in es8389_suspend()
804 regcache_cache_only(es8389->regmap, false); in es8389_resume()
805 regcache_cache_bypass(es8389->regmap, true); in es8389_resume()
807 regcache_cache_bypass(es8389->regmap, false); in es8389_resume()
814 regcache_sync(es8389->regmap); in es8389_resume()
855 regmap_write(es8389->regmap, ES8389_HPSW, 0x00); in es8389_remove()
856 regmap_write(es8389->regmap, ES8389_VMID, 0x00); in es8389_remove()
[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()
1112 regcache_cache_only(es8326->regmap, false); in es8326_resume()
1113 regcache_cache_bypass(es8326->regmap, true); in es8326_resume()
1115 regcache_cache_bypass(es8326->regmap, false); in es8326_resume()
1122 regcache_sync(es8326->regmap); in es8326_resume()
1139 regcache_cache_only(es8326->regmap, true); in es8326_suspend()
1146 regcache_mark_dirty(es8326->regmap); in es8326_suspend()
1271 if (IS_ERR(es8326->regmap)) { in es8326_i2c_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 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 Des8375.c27 struct regmap *regmap; member
297 regmap_update_bits(es8375->regmap, 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()
573 regcache_cache_only(es8375->regmap, true); in es8375_suspend()
574 regcache_mark_dirty(es8375->regmap); in es8375_suspend()
583 regcache_cache_only(es8375->regmap, false); in es8375_resume()
584 regcache_cache_bypass(es8375->regmap, true); in es8375_resume()
593 regcache_sync(es8375->regmap); in es8375_resume()
[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 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()
2930 priv->regmap = mt6397->regmap; in mt6359_platform_driver_probe()
[all …]
A Dnau8821.c47 static bool nau8821_is_jack_inserted(struct regmap *regmap);
1043 struct regmap *regmap = nau8821->regmap; in nau8821_eject_jack() local
1101 struct regmap *regmap = nau8821->regmap; in nau8821_jdet_work() local
1147 struct regmap *regmap = nau8821->regmap; in nau8821_setup_inserted_irq() local
1176 struct regmap *regmap = nau8821->regmap; in nau8821_interrupt() local
1331 struct regmap *regmap = nau8821->regmap; in nau8821_fll_apply() local
1433 struct regmap *regmap = nau8821->regmap; in nau8821_configure_sysclk() local
1518 struct regmap *regmap = nau8821->regmap; in nau8821_resume_setup() local
1545 struct regmap *regmap = nau8821->regmap; in nau8821_set_bias_level() local
1749 struct regmap *regmap = nau8821->regmap; in nau8821_init_regs() local
[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()
1178 struct regmap *regmap, struct sdw_slave *slave) in rt711_init() argument
[all …]
A Dnau8540.c582 struct regmap *regmap = nau8540->regmap; in nau8540_dai_trigger() local
605 regmap_write(regmap, NAU8540_REG_RST, 0); in nau8540_dai_trigger()
716 static void nau8540_fll_apply(struct regmap *regmap, in nau8540_fll_apply() argument
736 regmap_update_bits(regmap, in nau8540_fll_apply()
842 static void nau8540_reset_chip(struct regmap *regmap) in nau8540_reset_chip() argument
850 struct regmap *regmap = nau8540->regmap; in nau8540_init_regs() local
890 regcache_mark_dirty(nau8540->regmap); in nau8540_suspend()
900 regcache_sync(nau8540->regmap); in nau8540_resume()
950 if (IS_ERR(nau8540->regmap)) in nau8540_i2c_probe()
951 return PTR_ERR(nau8540->regmap); in nau8540_i2c_probe()
[all …]
A Dcs35l35.c256 regmap_update_bits(cs35l35->regmap, in cs35l35_main_amp_event()
289 regmap_update_bits(cs35l35->regmap, in cs35l35_main_amp_event()
531 regmap_update_bits(cs35l35->regmap, in cs35l35_hw_params()
537 regmap_update_bits(cs35l35->regmap, in cs35l35_hw_params()
763 struct regmap *regmap = cs35l35->regmap; in cs35l35_boost_inductor() local
860 regmap_update_bits(cs35l35->regmap, in cs35l35_component_probe()
867 regmap_update_bits(cs35l35->regmap, in cs35l35_component_probe()
895 regmap_update_bits(cs35l35->regmap, in cs35l35_component_probe()
901 regmap_update_bits(cs35l35->regmap, in cs35l35_component_probe()
1482 if (IS_ERR(cs35l35->regmap)) { in cs35l35_i2c_probe()
[all …]
A Dcs35l36.c49 struct regmap *regmap; member
873 regmap_update_bits(cs35l36->regmap, in cs35l36_pcm_hw_params()
1241 regmap_update_bits(cs35l36->regmap, in cs35l36_component_probe()
1547 regmap_write(cs35l36->regmap, CS35L36_PAC_CTL1, in cs35l36_pac()
1549 regmap_write(cs35l36->regmap, CS35L36_PAC_CTL3, in cs35l36_pac()
1554 regmap_write(cs35l36->regmap, CS35L36_PAC_CTL3, in cs35l36_pac()
1556 regmap_write(cs35l36->regmap, CS35L36_PAC_CTL1, in cs35l36_pac()
1708 if (IS_ERR(cs35l36->regmap)) { in cs35l36_i2c_probe()
1709 ret = PTR_ERR(cs35l36->regmap); in cs35l36_i2c_probe()
1804 ret = regmap_register_patch(cs35l36->regmap, in cs35l36_i2c_probe()
[all …]
A Drt1318.c648 regmap_update_bits(rt1318->regmap, RT1318_CLK2, in rt1318_hw_params()
652 regmap_update_bits(rt1318->regmap, RT1318_CLK3, in rt1318_hw_params()
656 regmap_update_bits(rt1318->regmap, RT1318_CLK4, in rt1318_hw_params()
1013 regmap_update_bits(rt1318->regmap, in rt1318_set_tdm_slot()
1024 regmap_update_bits(rt1318->regmap, in rt1318_set_tdm_slot()
1069 regcache_cache_only(rt1318->regmap, true); in rt1318_suspend()
1070 regcache_mark_dirty(rt1318->regmap); in rt1318_suspend()
1078 regcache_cache_only(rt1318->regmap, false); in rt1318_resume()
1079 regcache_sync(rt1318->regmap); in rt1318_resume()
1312 if (IS_ERR(rt1318->regmap)) { in rt1318_i2c_probe()
[all …]
A Dmt6359-accdet.c76 regmap_update_bits(priv->regmap, in adjust_eint_analog_setting()
82 regmap_update_bits(priv->regmap, in adjust_eint_analog_setting()
88 regmap_update_bits(priv->regmap, in adjust_eint_analog_setting()
96 regmap_update_bits(priv->regmap, in adjust_eint_analog_setting()
109 regmap_update_bits(priv->regmap, in adjust_eint_digital_setting()
114 regmap_update_bits(priv->regmap, in adjust_eint_digital_setting()
181 regmap_update_bits(priv->regmap, in recover_eint_digital_setting()
285 regmap_write(priv->regmap, in accdet_set_debounce()
947 priv->regmap = mt6397->regmap; in mt6359_accdet_probe()
948 if (IS_ERR(priv->regmap)) { in mt6359_accdet_probe()
[all …]
A Drt1305.c72 struct regmap *regmap; member
391 static void rt1305_reset(struct regmap *regmap) in rt1305_reset() argument
393 regmap_write(regmap, RT1305_RESET, 0); in rt1305_reset()
880 rt1305_reset(rt1305->regmap); in rt1305_remove()
889 regcache_mark_dirty(rt1305->regmap); in rt1305_suspend()
899 regcache_sync(rt1305->regmap); in rt1305_resume()
998 rt1305_reset(rt1305->regmap); in rt1305_calibrate()
1131 if (IS_ERR(rt1305->regmap)) { in rt1305_i2c_probe()
1132 ret = PTR_ERR(rt1305->regmap); in rt1305_i2c_probe()
1145 rt1305_reset(rt1305->regmap); in rt1305_i2c_probe()
[all …]
A Dnau8824.c506 struct regmap *regmap = nau8824->regmap; in system_clock_control() local
836 static void nau8824_int_status_clear_all(struct regmap *regmap) in nau8824_int_status_clear_all() argument
855 struct regmap *regmap = nau8824->regmap; in nau8824_eject_jack() local
888 struct regmap *regmap = nau8824->regmap; in nau8824_jdet_work() local
925 struct regmap *regmap = nau8824->regmap; in nau8824_setup_auto_irq() local
969 struct regmap *regmap = nau8824->regmap; in nau8824_interrupt() local
1332 static void nau8824_fll_apply(struct regmap *regmap, in nau8824_fll_apply() argument
1401 struct regmap *regmap = nau8824->regmap; in nau8824_config_sysclk() local
1658 static void nau8824_reset_chip(struct regmap *regmap) in nau8824_reset_chip() argument
1666 struct regmap *regmap = nau8824->regmap; in nau8824_setup_buttons() local
[all …]
A Dmax98927.c208 regmap_update_bits(max98927->regmap, in max98927_dai_set_fmt()
274 regmap_update_bits(max98927->regmap, in max98927_set_clock()
289 regmap_update_bits(max98927->regmap, in max98927_set_clock()
374 regmap_update_bits(max98927->regmap, in max98927_dai_hw_params()
379 regmap_update_bits(max98927->regmap, in max98927_dai_hw_params()
694 regmap_update_bits(max98927->regmap, in max98927_probe()
701 regmap_update_bits(max98927->regmap, in max98927_probe()
749 regcache_sync(max98927->regmap); in max98927_resume()
823 max98927->regmap in max98927_i2c_probe()
825 if (IS_ERR(max98927->regmap)) { in max98927_i2c_probe()
[all …]
A Drt1308-sdw.c115 regmap_write(rt1308->regmap, 0xe0, value); in rt1308_clock_config()
116 regmap_write(rt1308->regmap, 0xf0, value); in rt1308_clock_config()
180 regmap_read(rt1308->regmap, 0xc861, &tmp); in rt1308_apply_calib_params()
182 regmap_read(rt1308->regmap, 0xc860, &tmp); in rt1308_apply_calib_params()
209 regmap_write(rt1308->regmap, reg, data); in rt1308_apply_bq_params()
287 regcache_mark_dirty(rt1308->regmap); in rt1308_io_init()
679 static int rt1308_sdw_init(struct device *dev, struct regmap *regmap, in rt1308_sdw_init() argument
691 rt1308->regmap = regmap; in rt1308_sdw_init()
732 struct regmap *regmap; in rt1308_sdw_probe() local
736 if (IS_ERR(regmap)) in rt1308_sdw_probe()
[all …]
A Drt700.c32 static int rt700_index_write(struct regmap *regmap, in rt700_index_write() argument
46 static int rt700_index_read(struct regmap *regmap, in rt700_index_read() argument
280 regmap_write(rt700->regmap, in rt700_jack_init()
285 regmap_write(rt700->regmap, in rt700_jack_init()
287 regmap_write(rt700->regmap, in rt700_jack_init()
289 regmap_write(rt700->regmap, in rt700_jack_init()
299 regmap_write(rt700->regmap, in rt700_jack_init()
301 regmap_write(rt700->regmap, in rt700_jack_init()
303 regmap_write(rt700->regmap, in rt700_jack_init()
1093 struct regmap *regmap, struct sdw_slave *slave) in rt700_init() argument
[all …]
A Dcs35l41-lib.c782 int cs35l41_test_key_unlock(struct device *dev, struct regmap *regmap) in cs35l41_test_key_unlock() argument
798 int cs35l41_test_key_lock(struct device *dev, struct regmap *regmap) in cs35l41_test_key_lock() argument
815 int cs35l41_otp_unpack(struct device *dev, struct regmap *regmap) in cs35l41_otp_unpack() argument
1140 int cs35l41_init_boost(struct device *dev, struct regmap *regmap, in cs35l41_init_boost() argument
1361 int cs35l41_mdsync_up(struct regmap *regmap) in cs35l41_mdsync_up() argument
1368 int cs35l41_gpio_config(struct regmap *regmap, struct cs35l41_hw_cfg *hw_cfg) in cs35l41_gpio_config() argument
1423 dsp->regmap = reg; in cs35l41_configure_cs_dsp()
1455 int cs35l41_set_cspl_mbox_cmd(struct device *dev, struct regmap *regmap, in cs35l41_set_cspl_mbox_cmd() argument
1497 int cs35l41_write_fs_errata(struct device *dev, struct regmap *regmap) in cs35l41_write_fs_errata() argument
1510 int cs35l41_enter_hibernate(struct device *dev, struct regmap *regmap, in cs35l41_enter_hibernate() argument
[all …]
A Dmt6351.c190 struct regmap *regmap; member
349 regmap_update_bits(cmpnt->regmap, in hp_gain_ramp_set()
585 regmap_update_bits(cmpnt->regmap, in mt_reg_set_clr_event()
591 regmap_update_bits(cmpnt->regmap, in mt_reg_set_clr_event()
600 regmap_update_bits(cmpnt->regmap, in mt_reg_set_clr_event()
606 regmap_update_bits(cmpnt->regmap, in mt_reg_set_clr_event()
741 regmap_update_bits(cmpnt->regmap, in mt_hp_event()
744 regmap_update_bits(cmpnt->regmap, in mt_hp_event()
816 regmap_update_bits(cmpnt->regmap, in mt_hp_event()
821 regmap_update_bits(cmpnt->regmap, in mt_hp_event()
[all …]
A Drt715.c35 static int rt715_index_write(struct regmap *regmap, unsigned int reg, in rt715_index_write() argument
50 static int rt715_index_write_nid(struct regmap *regmap, in rt715_index_write_nid() argument
64 static int rt715_index_read_nid(struct regmap *regmap, in rt715_index_read_nid() argument
79 static int rt715_index_update_bits(struct regmap *regmap, unsigned int nid, in rt715_index_update_bits() argument
95 static void rt715_reset(struct regmap *regmap) in rt715_reset() argument
156 regmap_write(rt715->regmap, in rt715_set_amp_gain_put()
210 regmap_write(rt715->regmap, in rt715_set_amp_gain_put()
326 regmap_write(rt715->regmap, in rt715_set_main_switch_put()
435 regmap_write(rt715->regmap, in rt715_set_main_vol_put()
1018 struct regmap *regmap, struct sdw_slave *slave) in rt715_init() argument
[all …]
A Dcs35l34.c43 struct regmap *regmap; member
872 regmap_update_bits(cs35l34->regmap, in cs35l34_irq_thread()
875 regmap_update_bits(cs35l34->regmap, in cs35l34_irq_thread()
879 regmap_update_bits(cs35l34->regmap, in cs35l34_irq_thread()
896 regmap_update_bits(cs35l34->regmap, in cs35l34_irq_thread()
899 regmap_update_bits(cs35l34->regmap, in cs35l34_irq_thread()
903 regmap_update_bits(cs35l34->regmap, in cs35l34_irq_thread()
916 regmap_update_bits(cs35l34->regmap, in cs35l34_irq_thread()
919 regmap_update_bits(cs35l34->regmap, in cs35l34_irq_thread()
988 if (IS_ERR(cs35l34->regmap)) { in cs35l34_i2c_probe()
[all …]
/sound/soc/fsl/
A Dfsl_spdif.c222 struct regmap *regmap = spdif_priv->regmap; in spdif_irq_dpll_lock() local
244 struct regmap *regmap = spdif_priv->regmap; in spdif_irq_sym_error() local
258 struct regmap *regmap = spdif_priv->regmap; in spdif_irq_uqrx_full() local
313 struct regmap *regmap = spdif_priv->regmap; in spdif_irq_uq_err() local
332 struct regmap *regmap = spdif_priv->regmap; in spdif_intr_status_clear() local
412 struct regmap *regmap = spdif_priv->regmap; in spdif_softreset() local
447 struct regmap *regmap = spdif_priv->regmap; in spdif_write_channel_status() local
485 struct regmap *regmap = spdif_priv->regmap; in spdif_set_rx_clksrc() local
506 struct regmap *regmap = spdif_priv->regmap; in spdif_set_sample_rate() local
609 struct regmap *regmap = spdif_priv->regmap; in fsl_spdif_startup() local
[all …]

Completed in 119 milliseconds

12345678910>>...26