Home
last modified time | relevance | path

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

123456789

/sound/soc/codecs/
Dnau8825.c423 regmap_update_bits(nau8825->regmap, NAU8825_REG_I2S_PCM_CTRL1, in nau8825_hw_params()
476 regmap_update_bits(nau8825->regmap, NAU8825_REG_I2S_PCM_CTRL1, in nau8825_set_dai_fmt()
480 regmap_update_bits(nau8825->regmap, NAU8825_REG_I2S_PCM_CTRL2, in nau8825_set_dai_fmt()
528 struct regmap *regmap = nau8825->regmap; in nau8825_enable_jack_detect() local
535 regmap_update_bits(regmap, NAU8825_REG_HSD_CTRL, in nau8825_enable_jack_detect()
539 regmap_update_bits(regmap, NAU8825_REG_INTERRUPT_MASK, in nau8825_enable_jack_detect()
547 static bool nau8825_is_jack_inserted(struct regmap *regmap) in nau8825_is_jack_inserted() argument
551 regmap_read(regmap, NAU8825_REG_I2C_DEVICE_ID, &status); in nau8825_is_jack_inserted()
555 static void nau8825_restart_jack_detection(struct regmap *regmap) in nau8825_restart_jack_detection() argument
561 regmap_update_bits(regmap, NAU8825_REG_JACK_DET_CTRL, in nau8825_restart_jack_detection()
[all …]
Dmax98925.c107 regmap_update_bits(max98925->regmap, in max98925_dac_event()
115 regmap_update_bits(max98925->regmap, in max98925_dac_event()
280 regmap_update_bits(max98925->regmap, in max98925_set_sense_data()
283 regmap_update_bits(max98925->regmap, in max98925_set_sense_data()
288 regmap_update_bits(max98925->regmap, in max98925_set_sense_data()
291 regmap_update_bits(max98925->regmap, in max98925_set_sense_data()
308 regmap_update_bits(max98925->regmap, in max98925_dai_set_fmt()
318 regmap_update_bits(max98925->regmap, in max98925_dai_set_fmt()
346 regmap_update_bits(max98925->regmap, MAX98925_FORMAT, in max98925_dai_set_fmt()
362 regmap_update_bits(max98925->regmap, in max98925_set_clock()
[all …]
Dsirf-audio-codec.c30 struct regmap *regmap; member
107 static void enable_and_reset_codec(struct regmap *regmap, in enable_and_reset_codec() argument
110 regmap_update_bits(regmap, AUDIO_IC_CODEC_CTRL1, in enable_and_reset_codec()
114 regmap_update_bits(regmap, AUDIO_IC_CODEC_CTRL1, in enable_and_reset_codec()
127 enable_and_reset_codec(sirf_audio_codec->regmap, in atlas6_codec_enable_and_reset_event()
131 regmap_update_bits(sirf_audio_codec->regmap, in atlas6_codec_enable_and_reset_event()
150 enable_and_reset_codec(sirf_audio_codec->regmap, in prima2_codec_enable_and_reset_event()
154 regmap_update_bits(sirf_audio_codec->regmap, in prima2_codec_enable_and_reset_event()
284 regmap_update_bits(sirf_audio_codec->regmap, AUDIO_PORT_IC_TXFIFO_OP, in sirf_audio_codec_tx_enable()
286 regmap_update_bits(sirf_audio_codec->regmap, AUDIO_PORT_IC_TXFIFO_OP, in sirf_audio_codec_tx_enable()
[all …]
Dad193x.c25 struct regmap *regmap; member
136 regmap_update_bits(ad193x->regmap, AD193X_DAC_CTRL2, in ad193x_mute()
140 regmap_update_bits(ad193x->regmap, AD193X_DAC_CTRL2, in ad193x_mute()
169 regmap_update_bits(ad193x->regmap, AD193X_DAC_CTRL1, in ad193x_set_tdm_slot()
172 regmap_update_bits(ad193x->regmap, AD193X_ADC_CTRL2, in ad193x_set_tdm_slot()
246 regmap_update_bits(ad193x->regmap, AD193X_ADC_CTRL1, in ad193x_set_dai_fmt()
248 regmap_update_bits(ad193x->regmap, AD193X_ADC_CTRL2, in ad193x_set_dai_fmt()
251 regmap_update_bits(ad193x->regmap, AD193X_DAC_CTRL1, in ad193x_set_dai_fmt()
310 regmap_update_bits(ad193x->regmap, AD193X_PLL_CLK_CTRL0, in ad193x_hw_params()
313 regmap_update_bits(ad193x->regmap, AD193X_DAC_CTRL2, in ad193x_hw_params()
[all …]
Djz4740.c78 struct regmap *regmap; member
197 regmap_update_bits(jz4740_codec->regmap, JZ4740_REG_CODEC_2, in jz4740_codec_hw_params()
227 static void jz4740_codec_wakeup(struct regmap *regmap) in jz4740_codec_wakeup() argument
229 regmap_update_bits(regmap, JZ4740_REG_CODEC_1, in jz4740_codec_wakeup()
233 regmap_update_bits(regmap, JZ4740_REG_CODEC_1, in jz4740_codec_wakeup()
236 regcache_sync(regmap); in jz4740_codec_wakeup()
243 struct regmap *regmap = jz4740_codec->regmap; in jz4740_codec_set_bias_level() local
256 regmap_update_bits(regmap, JZ4740_REG_CODEC_1, mask, value); in jz4740_codec_set_bias_level()
261 jz4740_codec_wakeup(regmap); in jz4740_codec_set_bias_level()
270 regmap_update_bits(regmap, JZ4740_REG_CODEC_1, mask, value); in jz4740_codec_set_bias_level()
[all …]
Dadau1977.c112 struct regmap *regmap; member
235 regcache_cache_bypass(adau1977->regmap, true); in adau1977_reset()
236 ret = regmap_write(adau1977->regmap, ADAU1977_REG_POWER, in adau1977_reset()
238 regcache_cache_bypass(adau1977->regmap, false); in adau1977_reset()
359 ret = regmap_update_bits(adau1977->regmap, in adau1977_hw_params()
368 ret = regmap_update_bits(adau1977->regmap, ADAU1977_REG_SAI_CTRL0, in adau1977_hw_params()
373 return regmap_update_bits(adau1977->regmap, ADAU1977_REG_PLL, in adau1977_hw_params()
384 ret = regmap_update_bits(adau1977->regmap, ADAU1977_REG_POWER, in adau1977_power_disable()
389 regcache_mark_dirty(adau1977->regmap); in adau1977_power_disable()
394 regcache_cache_only(adau1977->regmap, true); in adau1977_power_disable()
[all …]
Dsta350.c170 struct regmap *regmap; member
322 regmap_read(sta350->regmap, STA350_CFUD, &cfud); in sta350_coefficient_get()
328 regmap_write(sta350->regmap, STA350_CFUD, cfud); in sta350_coefficient_get()
330 regmap_write(sta350->regmap, STA350_CFADDR2, index); in sta350_coefficient_get()
332 regmap_write(sta350->regmap, STA350_CFUD, cfud | 0x04); in sta350_coefficient_get()
334 regmap_write(sta350->regmap, STA350_CFUD, cfud | 0x08); in sta350_coefficient_get()
341 regmap_read(sta350->regmap, STA350_B1CF1 + i, &val); in sta350_coefficient_get()
362 regmap_read(sta350->regmap, STA350_CFUD, &cfud); in sta350_coefficient_put()
368 regmap_write(sta350->regmap, STA350_CFUD, cfud); in sta350_coefficient_put()
370 regmap_write(sta350->regmap, STA350_CFADDR2, index); in sta350_coefficient_put()
[all …]
Dsta32x.c144 struct regmap *regmap; member
283 regmap_read(sta32x->regmap, STA32X_CFUD, &cfud); in sta32x_coefficient_get()
289 regmap_write(sta32x->regmap, STA32X_CFUD, cfud); in sta32x_coefficient_get()
291 regmap_write(sta32x->regmap, STA32X_CFADDR2, index); in sta32x_coefficient_get()
293 regmap_write(sta32x->regmap, STA32X_CFUD, cfud | 0x04); in sta32x_coefficient_get()
295 regmap_write(sta32x->regmap, STA32X_CFUD, cfud | 0x08); in sta32x_coefficient_get()
302 regmap_read(sta32x->regmap, STA32X_B1CF1 + i, &val); in sta32x_coefficient_get()
323 regmap_read(sta32x->regmap, STA32X_CFUD, &cfud); in sta32x_coefficient_put()
329 regmap_write(sta32x->regmap, STA32X_CFUD, cfud); in sta32x_coefficient_put()
331 regmap_write(sta32x->regmap, STA32X_CFADDR2, index); in sta32x_coefficient_put()
[all …]
Drt286.c42 struct regmap *regmap; member
232 regmap_read(rt286->regmap, RT286_GET_HP_SENSE, &buf); in rt286_jack_detect()
236 regmap_update_bits(rt286->regmap, in rt286_jack_detect()
245 regmap_write(rt286->regmap, RT286_SET_MIC1, 0x24); in rt286_jack_detect()
248 regmap_update_bits(rt286->regmap, in rt286_jack_detect()
251 regmap_read(rt286->regmap, RT286_CBJ_CTRL2, &val); in rt286_jack_detect()
256 regmap_update_bits(rt286->regmap, in rt286_jack_detect()
259 regmap_read(rt286->regmap, in rt286_jack_detect()
266 regmap_update_bits(rt286->regmap, in rt286_jack_detect()
271 regmap_write(rt286->regmap, RT286_SET_MIC1, 0x20); in rt286_jack_detect()
[all …]
Dssm2602.c45 struct regmap *regmap; member
291 regmap_write(ssm2602->regmap, SSM2602_SRATE, srate); in ssm2602_hw_params()
310 regmap_update_bits(ssm2602->regmap, SSM2602_IFACE, in ssm2602_hw_params()
335 regmap_update_bits(ssm2602->regmap, SSM2602_APDIGI, in ssm2602_mute()
339 regmap_update_bits(ssm2602->regmap, SSM2602_APDIGI, in ssm2602_mute()
389 regmap_update_bits(ssm2602->regmap, SSM2602_PWR, in ssm2602_set_dai_sysclk()
451 regmap_write(ssm2602->regmap, SSM2602_IFACE, iface); in ssm2602_set_dai_fmt()
463 regmap_update_bits(ssm2602->regmap, SSM2602_PWR, in ssm2602_set_bias_level()
471 regmap_update_bits(ssm2602->regmap, SSM2602_PWR, in ssm2602_set_bias_level()
477 regmap_update_bits(ssm2602->regmap, SSM2602_PWR, in ssm2602_set_bias_level()
[all …]
Dadau17x1.c74 regmap_update_bits(adau->regmap, ADAU17X1_CLOCK_CONTROL, in adau17x1_pll_event()
79 ret = regmap_raw_write(adau->regmap, ADAU17X1_PLL_CONTROL, in adau17x1_pll_event()
84 regmap_update_bits(adau->regmap, ADAU17X1_CLOCK_CONTROL, in adau17x1_pll_event()
105 regmap_update_bits(adau->regmap, ADAU17X1_CONVERTER0, in adau17x1_adc_fixup()
107 regmap_update_bits(adau->regmap, ADAU17X1_CONVERTER0, in adau17x1_adc_fixup()
236 ret = regmap_read(adau->regmap, reg, &val); in adau17x1_dsp_mux_enum_get()
377 regmap_update_bits(adau->regmap, ADAU17X1_CONVERTER0, in adau17x1_hw_params()
380 regmap_write(adau->regmap, ADAU17X1_SERIAL_SAMPLING_RATE, div); in adau17x1_hw_params()
381 regmap_write(adau->regmap, ADAU17X1_DSP_SAMPLING_RATE, dsp_div); in adau17x1_hw_params()
407 return regmap_update_bits(adau->regmap, ADAU17X1_SERIAL_PORT1, in adau17x1_hw_params()
[all …]
Dad1836.c35 struct regmap *regmap; member
186 regmap_update_bits(ad1836->regmap, AD1836_DAC_CTRL1, in ad1836_hw_params()
190 regmap_update_bits(ad1836->regmap, AD1836_ADC_CTRL2, in ad1836_hw_params()
235 return regmap_update_bits(ad1836->regmap, AD1836_ADC_CTRL2, in ad1836_suspend()
243 return regmap_update_bits(ad1836->regmap, AD1836_ADC_CTRL2, in ad1836_resume()
264 regmap_write(ad1836->regmap, AD1836_DAC_CTRL1, 0x300); in ad1836_probe()
266 regmap_write(ad1836->regmap, AD1836_DAC_CTRL2, 0x0); in ad1836_probe()
268 regmap_write(ad1836->regmap, AD1836_ADC_CTRL1, 0x100); in ad1836_probe()
270 regmap_write(ad1836->regmap, AD1836_ADC_CTRL2, 0x180); in ad1836_probe()
273 regmap_write(ad1836->regmap, AD1836_DAC_L_VOL(i), 0x3FF); in ad1836_probe()
[all …]
Dpcm512x.c44 struct regmap *regmap; member
73 regcache_mark_dirty(pcm512x->regmap); \
74 regcache_cache_only(pcm512x->regmap, true); \
573 struct regmap *regmap = pcm512x->regmap; in pcm512x_dai_startup_slave() local
580 regmap_update_bits(regmap, PCM512x_ERROR_DETECT, in pcm512x_dai_startup_slave()
584 regmap_update_bits(regmap, PCM512x_PLL_REF, in pcm512x_dai_startup_slave()
624 ret = regmap_update_bits(pcm512x->regmap, PCM512x_POWER, in pcm512x_set_bias_level()
634 ret = regmap_update_bits(pcm512x->regmap, PCM512x_POWER, in pcm512x_set_bias_level()
892 ret = regmap_write(pcm512x->regmap, in pcm512x_set_dividers()
899 ret = regmap_write(pcm512x->regmap, in pcm512x_set_dividers()
[all …]
Drt298.c40 struct regmap *regmap; member
235 regmap_read(rt298->regmap, RT298_GET_HP_SENSE, &buf); in rt298_jack_detect()
242 regmap_update_bits(rt298->regmap, in rt298_jack_detect()
251 regmap_write(rt298->regmap, RT298_SET_MIC1, 0x24); in rt298_jack_detect()
254 regmap_update_bits(rt298->regmap, in rt298_jack_detect()
257 regmap_read(rt298->regmap, RT298_CBJ_CTRL2, &val); in rt298_jack_detect()
262 regmap_update_bits(rt298->regmap, in rt298_jack_detect()
265 regmap_read(rt298->regmap, in rt298_jack_detect()
272 regmap_update_bits(rt298->regmap, in rt298_jack_detect()
277 regmap_write(rt298->regmap, RT298_SET_MIC1, 0x20); in rt298_jack_detect()
[all …]
Dcs35l32.c45 struct regmap *regmap; member
358 cs35l32->regmap = devm_regmap_init_i2c(i2c_client, &cs35l32_regmap); in cs35l32_i2c_probe()
359 if (IS_ERR(cs35l32->regmap)) { in cs35l32_i2c_probe()
360 ret = PTR_ERR(cs35l32->regmap); in cs35l32_i2c_probe()
412 ret = regmap_read(cs35l32->regmap, CS35L32_DEVID_AB, &reg); in cs35l32_i2c_probe()
415 ret = regmap_read(cs35l32->regmap, CS35L32_DEVID_CD, &reg); in cs35l32_i2c_probe()
418 ret = regmap_read(cs35l32->regmap, CS35L32_DEVID_E, &reg); in cs35l32_i2c_probe()
429 ret = regmap_read(cs35l32->regmap, CS35L32_REV_ID, &reg); in cs35l32_i2c_probe()
435 ret = regmap_register_patch(cs35l32->regmap, cs35l32_monitor_patch, in cs35l32_i2c_probe()
447 regmap_update_bits(cs35l32->regmap, CS35L32_AUDIO_LED_MNGR, in cs35l32_i2c_probe()
[all …]
Dssm2518.c112 struct regmap *regmap; member
378 ret = regmap_update_bits(ssm2518->regmap, SSM2518_REG_CLOCK, in ssm2518_hw_params()
383 ret = regmap_update_bits(ssm2518->regmap, SSM2518_REG_SAI_CTRL1, in ssm2518_hw_params()
388 return regmap_update_bits(ssm2518->regmap, SSM2518_REG_POWER1, in ssm2518_hw_params()
402 return regmap_update_bits(ssm2518->regmap, SSM2518_REG_MUTE_CTRL, in ssm2518_mute()
470 ret = regmap_write(ssm2518->regmap, SSM2518_REG_SAI_CTRL1, ctrl1); in ssm2518_set_dai_fmt()
474 return regmap_write(ssm2518->regmap, SSM2518_REG_SAI_CTRL2, ctrl2); in ssm2518_set_dai_fmt()
482 ret = regmap_update_bits(ssm2518->regmap, SSM2518_REG_POWER1, in ssm2518_set_power()
484 regcache_mark_dirty(ssm2518->regmap); in ssm2518_set_power()
490 regcache_cache_only(ssm2518->regmap, !enable); in ssm2518_set_power()
[all …]
Dcs4271.c164 struct regmap *regmap; member
234 ret = regmap_update_bits(cs4271->regmap, CS4271_ADCCTL, in cs4271_set_dai_fmt()
241 ret = regmap_update_bits(cs4271->regmap, CS4271_ADCCTL, in cs4271_set_dai_fmt()
251 ret = regmap_update_bits(cs4271->regmap, CS4271_MODE1, in cs4271_set_dai_fmt()
276 ret = regmap_update_bits(cs4271->regmap, CS4271_DACCTL, in cs4271_set_deemph()
365 ret = regmap_update_bits(cs4271->regmap, CS4271_MODE2, in cs4271_hw_params()
371 ret = regmap_update_bits(cs4271->regmap, CS4271_MODE2, in cs4271_hw_params()
402 ret = regmap_update_bits(cs4271->regmap, CS4271_MODE1, in cs4271_hw_params()
426 ret = regmap_update_bits(cs4271->regmap, CS4271_VOLA, in cs4271_mute_stream()
431 ret = regmap_update_bits(cs4271->regmap, CS4271_VOLB, in cs4271_mute_stream()
[all …]
/sound/soc/sirf/
Dsirf-usp.c20 struct regmap *regmap; member
31 regmap_update_bits(usp->regmap, USP_TX_FIFO_OP, in sirf_usp_tx_enable()
33 regmap_write(usp->regmap, USP_TX_FIFO_OP, 0); in sirf_usp_tx_enable()
35 regmap_update_bits(usp->regmap, USP_TX_FIFO_OP, in sirf_usp_tx_enable()
38 regmap_update_bits(usp->regmap, USP_TX_RX_ENABLE, in sirf_usp_tx_enable()
44 regmap_update_bits(usp->regmap, USP_TX_RX_ENABLE, in sirf_usp_tx_disable()
47 regmap_write(usp->regmap, USP_TX_FIFO_OP, 0); in sirf_usp_tx_disable()
52 regmap_update_bits(usp->regmap, USP_RX_FIFO_OP, in sirf_usp_rx_enable()
54 regmap_write(usp->regmap, USP_RX_FIFO_OP, 0); in sirf_usp_rx_enable()
56 regmap_update_bits(usp->regmap, USP_RX_FIFO_OP, in sirf_usp_rx_enable()
[all …]
/sound/soc/fsl/
Dfsl_spdif.c98 struct regmap *regmap; member
118 struct regmap *regmap = spdif_priv->regmap; in spdif_irq_dpll_lock() local
122 regmap_read(regmap, REG_SPDIF_SRPC, &locked); in spdif_irq_dpll_lock()
134 struct regmap *regmap = spdif_priv->regmap; in spdif_irq_sym_error() local
141 regmap_update_bits(regmap, REG_SPDIF_SIE, INT_SYM_ERR, 0); in spdif_irq_sym_error()
148 struct regmap *regmap = spdif_priv->regmap; in spdif_irq_uqrx_full() local
177 regmap_read(regmap, reg, &val); in spdif_irq_uqrx_full()
203 struct regmap *regmap = spdif_priv->regmap; in spdif_irq_uq_err() local
210 regmap_read(regmap, REG_SPDIF_SRU, &val); in spdif_irq_uq_err()
211 regmap_read(regmap, REG_SPDIF_SRQ, &val); in spdif_irq_uq_err()
[all …]
Dfsl_sai.c56 regmap_read(sai->regmap, FSL_SAI_TCSR, &xcsr); in fsl_sai_isr()
86 regmap_write(sai->regmap, FSL_SAI_TCSR, flags | xcsr); in fsl_sai_isr()
90 regmap_read(sai->regmap, FSL_SAI_RCSR, &xcsr); in fsl_sai_isr()
120 regmap_write(sai->regmap, FSL_SAI_RCSR, flags | xcsr); in fsl_sai_isr()
153 regmap_update_bits(sai->regmap, FSL_SAI_xCR2(tx), in fsl_sai_set_dai_sysclk_tr()
280 regmap_update_bits(sai->regmap, FSL_SAI_xCR2(tx), in fsl_sai_set_dai_fmt_tr()
282 regmap_update_bits(sai->regmap, FSL_SAI_xCR4(tx), in fsl_sai_set_dai_fmt_tr()
360 regmap_update_bits(sai->regmap, FSL_SAI_RCR2, in fsl_sai_set_bclk()
363 regmap_update_bits(sai->regmap, FSL_SAI_RCR2, in fsl_sai_set_bclk()
366 regmap_update_bits(sai->regmap, FSL_SAI_TCR2, in fsl_sai_set_bclk()
[all …]
Dfsl_esai.c53 struct regmap *regmap; member
77 regmap_read(esai_priv->regmap, REG_ESAI_ESR, &esr); in esai_isr()
193 regmap_update_bits(esai_priv->regmap, REG_ESAI_xCCR(tx), in fsl_esai_divisor_cal()
202 regmap_update_bits(esai_priv->regmap, REG_ESAI_xCCR(tx), in fsl_esai_divisor_cal()
238 regmap_update_bits(esai_priv->regmap, REG_ESAI_xCCR(tx), in fsl_esai_set_dai_sysclk()
302 regmap_update_bits(esai_priv->regmap, REG_ESAI_ECR, in fsl_esai_set_dai_sysclk()
359 regmap_update_bits(esai_priv->regmap, REG_ESAI_TCCR, in fsl_esai_set_dai_tdm_slot()
362 regmap_update_bits(esai_priv->regmap, REG_ESAI_RCCR, in fsl_esai_set_dai_tdm_slot()
450 regmap_update_bits(esai_priv->regmap, REG_ESAI_TCR, mask, xcr); in fsl_esai_set_dai_fmt()
451 regmap_update_bits(esai_priv->regmap, REG_ESAI_RCR, mask, xcr); in fsl_esai_set_dai_fmt()
[all …]
Dfsl_asrc.c143 regmap_update_bits(asrc_priv->regmap, REG_ASRCTR, in fsl_asrc_release_pair()
163 regmap_update_bits(asrc_priv->regmap, REG_ASRMCR(index), in fsl_asrc_set_watermarks()
225 regmap_write(asrc_priv->regmap, REG_ASRIDRL(index), ratio); in fsl_asrc_set_ideal_ratio()
226 regmap_write(asrc_priv->regmap, REG_ASRIDRH(index), ratio >> 24); in fsl_asrc_set_ideal_ratio()
324 regmap_update_bits(asrc_priv->regmap, REG_ASRCNCR, in fsl_asrc_config_pair()
329 regmap_update_bits(asrc_priv->regmap, REG_ASRCTR, in fsl_asrc_config_pair()
331 regmap_update_bits(asrc_priv->regmap, REG_ASRCTR, in fsl_asrc_config_pair()
335 regmap_update_bits(asrc_priv->regmap, REG_ASRCSR, in fsl_asrc_config_pair()
345 regmap_update_bits(asrc_priv->regmap, REG_ASRCDR(index), in fsl_asrc_config_pair()
351 regmap_update_bits(asrc_priv->regmap, REG_ASRMCR1(index), in fsl_asrc_config_pair()
[all …]
/sound/soc/rockchip/
Drockchip_i2s.c35 struct regmap *regmap; member
80 regmap_update_bits(i2s->regmap, I2S_DMACR, in rockchip_snd_txctrl()
83 regmap_update_bits(i2s->regmap, I2S_XFER, in rockchip_snd_txctrl()
91 regmap_update_bits(i2s->regmap, I2S_DMACR, in rockchip_snd_txctrl()
95 regmap_update_bits(i2s->regmap, I2S_XFER, in rockchip_snd_txctrl()
101 regmap_update_bits(i2s->regmap, I2S_CLR, in rockchip_snd_txctrl()
105 regmap_read(i2s->regmap, I2S_CLR, &val); in rockchip_snd_txctrl()
109 regmap_read(i2s->regmap, I2S_CLR, &val); in rockchip_snd_txctrl()
126 regmap_update_bits(i2s->regmap, I2S_DMACR, in rockchip_snd_rxctrl()
129 regmap_update_bits(i2s->regmap, I2S_XFER, in rockchip_snd_rxctrl()
[all …]
/sound/soc/xtensa/
Dxtfpga-i2s.c63 struct regmap *regmap; member
184 regmap_read(i2s->regmap, XTFPGA_I2S_INT_STATUS, in xtfpga_pcm_refill_fifo()
190 regmap_write(i2s->regmap, XTFPGA_I2S_INT_STATUS, in xtfpga_pcm_refill_fifo()
193 regmap_read(i2s->regmap, XTFPGA_I2S_INT_STATUS, in xtfpga_pcm_refill_fifo()
208 regmap_write(i2s->regmap, XTFPGA_I2S_INT_MASK, in xtfpga_pcm_refill_fifo()
211 regmap_write(i2s->regmap, XTFPGA_I2S_INT_MASK, in xtfpga_pcm_refill_fifo()
215 regmap_update_bits(i2s->regmap, XTFPGA_I2S_CONFIG, in xtfpga_pcm_refill_fifo()
221 regmap_update_bits(i2s->regmap, XTFPGA_I2S_CONFIG, in xtfpga_pcm_refill_fifo()
232 regmap_read(i2s->regmap, XTFPGA_I2S_CONFIG, &config); in xtfpga_i2s_threaded_irq_handler()
233 regmap_read(i2s->regmap, XTFPGA_I2S_INT_MASK, &int_mask); in xtfpga_i2s_threaded_irq_handler()
[all …]
/sound/soc/mediatek/
Dmtk-afe-pcm.c154 struct regmap *regmap; member
251 regmap_update_bits(afe->regmap, AFE_ADDA2_TOP_CON0, 0x1, 0x1); in mtk_afe_set_i2s()
258 regmap_update_bits(afe->regmap, AFE_I2S_CON2, ~AFE_I2S_CON2_EN, val); in mtk_afe_set_i2s()
265 regmap_update_bits(afe->regmap, AFE_I2S_CON1, ~AFE_I2S_CON1_EN, val); in mtk_afe_set_i2s()
273 regmap_read(afe->regmap, AFE_I2S_CON2, &val); in mtk_afe_set_i2s_enable()
278 regmap_update_bits(afe->regmap, AUDIO_TOP_CON1, 0x4, 0x4); in mtk_afe_set_i2s_enable()
281 regmap_update_bits(afe->regmap, AFE_I2S_CON2, 0x1, enable); in mtk_afe_set_i2s_enable()
284 regmap_update_bits(afe->regmap, AFE_I2S_CON1, 0x1, enable); in mtk_afe_set_i2s_enable()
288 regmap_update_bits(afe->regmap, AUDIO_TOP_CON1, 0x4, 0); in mtk_afe_set_i2s_enable()
302 regmap_update_bits(afe->regmap, AUDIO_TOP_CON0, in mtk_afe_dais_enable_clks()
[all …]

123456789