Home
last modified time | relevance | path

Searched refs:scodec (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/sound/soc/sunxi/
H A Dsun4i-codec.c250 static void sun4i_codec_start_playback(struct sun4i_codec *scodec) in sun4i_codec_start_playback() argument
253 regmap_update_bits(scodec->regmap, SUN4I_CODEC_DAC_FIFOC, in sun4i_codec_start_playback()
258 regmap_update_bits(scodec->regmap, SUN4I_CODEC_DAC_FIFOC, in sun4i_codec_start_playback()
263 static void sun4i_codec_stop_playback(struct sun4i_codec *scodec) in sun4i_codec_stop_playback() argument
266 regmap_update_bits(scodec->regmap, SUN4I_CODEC_DAC_FIFOC, in sun4i_codec_stop_playback()
271 static void sun4i_codec_start_capture(struct sun4i_codec *scodec) in sun4i_codec_start_capture() argument
274 regmap_field_update_bits(scodec->reg_adc_fifoc, in sun4i_codec_start_capture()
279 static void sun4i_codec_stop_capture(struct sun4i_codec *scodec) in sun4i_codec_stop_capture() argument
282 regmap_field_update_bits(scodec->reg_adc_fifoc, in sun4i_codec_stop_capture()
290 struct sun4i_codec *scodec in sun4i_codec_trigger() local
322 struct sun4i_codec *scodec = snd_soc_card_get_drvdata(rtd->card); sun4i_codec_prepare_capture() local
364 struct sun4i_codec *scodec = snd_soc_card_get_drvdata(rtd->card); sun4i_codec_prepare_playback() local
477 sun4i_codec_hw_params_capture(struct sun4i_codec *scodec, struct snd_pcm_hw_params *params, unsigned int hwrate) sun4i_codec_hw_params_capture() argument
523 sun4i_codec_hw_params_playback(struct sun4i_codec *scodec, struct snd_pcm_hw_params *params, unsigned int hwrate) sun4i_codec_hw_params_playback() argument
577 struct sun4i_codec *scodec = snd_soc_card_get_drvdata(rtd->card); sun4i_codec_hw_params() local
618 struct sun4i_codec *scodec = snd_soc_card_get_drvdata(rtd->card); sun4i_codec_startup() local
638 struct sun4i_codec *scodec = snd_soc_card_get_drvdata(rtd->card); sun4i_codec_shutdown() local
1265 struct sun4i_codec *scodec = snd_soc_card_get_drvdata(card); sun4i_codec_dai_probe() local
1328 struct sun4i_codec *scodec = snd_soc_card_get_drvdata(w->dapm->card); sun4i_codec_spk_event() local
1700 struct sun4i_codec *scodec; sun4i_codec_probe() local
1849 struct sun4i_codec *scodec = snd_soc_card_get_drvdata(card); sun4i_codec_remove() local
[all...]
H A Dsun8i-codec.c111 struct sun8i_codec *scodec = dev_get_drvdata(dev); in sun8i_codec_runtime_resume() local
114 regcache_cache_only(scodec->regmap, false); in sun8i_codec_runtime_resume()
116 ret = regcache_sync(scodec->regmap); in sun8i_codec_runtime_resume()
127 struct sun8i_codec *scodec = dev_get_drvdata(dev); in sun8i_codec_runtime_suspend() local
129 regcache_cache_only(scodec->regmap, true); in sun8i_codec_runtime_suspend()
130 regcache_mark_dirty(scodec->regmap); in sun8i_codec_runtime_suspend()
170 struct sun8i_codec *scodec = snd_soc_dai_get_drvdata(dai); in sun8i_set_fmt() local
184 regmap_update_bits(scodec->regmap, SUN8I_AIF1CLK_CTRL, in sun8i_set_fmt()
199 regmap_update_bits(scodec->regmap, SUN8I_AIF1CLK_CTRL, in sun8i_set_fmt()
213 value ^= scodec in sun8i_set_fmt()
265 sun8i_codec_get_bclk_div(struct sun8i_codec *scodec, unsigned int rate, unsigned int word_size) sun8i_codec_get_bclk_div() argument
302 struct sun8i_codec *scodec = snd_soc_dai_get_drvdata(dai); sun8i_codec_hw_params() local
591 struct sun8i_codec *scodec = snd_soc_component_get_drvdata(component); sun8i_codec_component_probe() local
678 struct sun8i_codec *scodec; sun8i_codec_probe() local
[all...]
/kernel/linux/linux-6.6/sound/soc/sunxi/
H A Dsun4i-codec.c250 static void sun4i_codec_start_playback(struct sun4i_codec *scodec) in sun4i_codec_start_playback() argument
253 regmap_set_bits(scodec->regmap, SUN4I_CODEC_DAC_FIFOC, in sun4i_codec_start_playback()
257 regmap_set_bits(scodec->regmap, SUN4I_CODEC_DAC_FIFOC, in sun4i_codec_start_playback()
261 static void sun4i_codec_stop_playback(struct sun4i_codec *scodec) in sun4i_codec_stop_playback() argument
264 regmap_clear_bits(scodec->regmap, SUN4I_CODEC_DAC_FIFOC, in sun4i_codec_stop_playback()
268 static void sun4i_codec_start_capture(struct sun4i_codec *scodec) in sun4i_codec_start_capture() argument
271 regmap_field_set_bits(scodec->reg_adc_fifoc, in sun4i_codec_start_capture()
275 static void sun4i_codec_stop_capture(struct sun4i_codec *scodec) in sun4i_codec_stop_capture() argument
278 regmap_field_clear_bits(scodec->reg_adc_fifoc, in sun4i_codec_stop_capture()
286 struct sun4i_codec *scodec in sun4i_codec_trigger() local
318 struct sun4i_codec *scodec = snd_soc_card_get_drvdata(rtd->card); sun4i_codec_prepare_capture() local
359 struct sun4i_codec *scodec = snd_soc_card_get_drvdata(rtd->card); sun4i_codec_prepare_playback() local
470 sun4i_codec_hw_params_capture(struct sun4i_codec *scodec, struct snd_pcm_hw_params *params, unsigned int hwrate) sun4i_codec_hw_params_capture() argument
510 sun4i_codec_hw_params_playback(struct sun4i_codec *scodec, struct snd_pcm_hw_params *params, unsigned int hwrate) sun4i_codec_hw_params_playback() argument
560 struct sun4i_codec *scodec = snd_soc_card_get_drvdata(rtd->card); sun4i_codec_hw_params() local
601 struct sun4i_codec *scodec = snd_soc_card_get_drvdata(rtd->card); sun4i_codec_startup() local
620 struct sun4i_codec *scodec = snd_soc_card_get_drvdata(rtd->card); sun4i_codec_shutdown() local
1247 struct sun4i_codec *scodec = snd_soc_card_get_drvdata(card); sun4i_codec_dai_probe() local
1314 struct sun4i_codec *scodec = snd_soc_card_get_drvdata(w->dapm->card); sun4i_codec_spk_event() local
1686 struct sun4i_codec *scodec; sun4i_codec_probe() local
1831 struct sun4i_codec *scodec = snd_soc_card_get_drvdata(card); sun4i_codec_remove() local
[all...]
H A Dsun8i-codec.c197 struct sun8i_codec *scodec = dev_get_drvdata(dev); in sun8i_codec_runtime_resume() local
200 regcache_cache_only(scodec->regmap, false); in sun8i_codec_runtime_resume()
202 ret = regcache_sync(scodec->regmap); in sun8i_codec_runtime_resume()
213 struct sun8i_codec *scodec = dev_get_drvdata(dev); in sun8i_codec_runtime_suspend() local
215 regcache_cache_only(scodec->regmap, true); in sun8i_codec_runtime_suspend()
216 regcache_mark_dirty(scodec->regmap); in sun8i_codec_runtime_suspend()
256 static int sun8i_codec_update_sample_rate(struct sun8i_codec *scodec) in sun8i_codec_update_sample_rate() argument
262 struct sun8i_codec_aif *aif = &scodec->aifs[i]; in sun8i_codec_update_sample_rate()
276 regmap_update_bits(scodec->regmap, SUN8I_SYS_SR_CTRL, in sun8i_codec_update_sample_rate()
285 struct sun8i_codec *scodec in sun8i_codec_set_fmt() local
398 struct sun8i_codec *scodec = snd_soc_dai_get_drvdata(dai); sun8i_codec_set_tdm_slot() local
435 struct sun8i_codec *scodec = snd_soc_dai_get_drvdata(dai); sun8i_codec_startup() local
514 struct sun8i_codec *scodec = snd_soc_dai_get_drvdata(dai); sun8i_codec_hw_params() local
615 struct sun8i_codec *scodec = snd_soc_dai_get_drvdata(dai); sun8i_codec_hw_free() local
757 struct sun8i_codec *scodec = snd_soc_component_get_drvdata(component); sun8i_codec_aif_event() local
1232 struct sun8i_codec *scodec = snd_soc_component_get_drvdata(component); sun8i_codec_component_probe() local
1294 struct sun8i_codec *scodec; sun8i_codec_probe() local
[all...]
/kernel/linux/linux-6.6/sound/pci/hda/
H A DMakefile31 snd-hda-scodec-cs35l41-objs := cs35l41_hda.o cs35l41_hda_property.o
32 snd-hda-scodec-cs35l41-i2c-objs := cs35l41_hda_i2c.o
33 snd-hda-scodec-cs35l41-spi-objs := cs35l41_hda_spi.o
34 snd-hda-scodec-cs35l56-objs := cs35l56_hda.o
35 snd-hda-scodec-cs35l56-i2c-objs := cs35l56_hda_i2c.o
36 snd-hda-scodec-cs35l56-spi-objs := cs35l56_hda_spi.o
38 snd-hda-scodec-tas2781-i2c-objs := tas2781_hda_i2c.o
59 obj-$(CONFIG_SND_HDA_SCODEC_CS35L41) += snd-hda-scodec-cs35l41.o
60 obj-$(CONFIG_SND_HDA_SCODEC_CS35L41_I2C) += snd-hda-scodec-cs35l41-i2c.o
61 obj-$(CONFIG_SND_HDA_SCODEC_CS35L41_SPI) += snd-hda-scodec
[all...]
H A Dpatch_cs8409.c171 * @scodec: the codec instance
176 static int cs8409_i2c_set_page(struct sub_codec *scodec, unsigned int i2c_reg) in cs8409_i2c_set_page() argument
178 struct hda_codec *codec = scodec->codec; in cs8409_i2c_set_page()
180 if (scodec->paged && (scodec->last_page != (i2c_reg >> 8))) { in cs8409_i2c_set_page()
184 scodec->last_page = i2c_reg >> 8; in cs8409_i2c_set_page()
192 * @scodec: the codec instance
197 static int cs8409_i2c_read(struct sub_codec *scodec, unsigned int addr) in cs8409_i2c_read() argument
199 struct hda_codec *codec = scodec->codec; in cs8409_i2c_read()
204 if (scodec in cs8409_i2c_read()
240 cs8409_i2c_bulk_read(struct sub_codec *scodec, struct cs8409_i2c_param *seq, int count) cs8409_i2c_bulk_read() argument
285 cs8409_i2c_write(struct sub_codec *scodec, unsigned int addr, unsigned int value) cs8409_i2c_write() argument
325 cs8409_i2c_bulk_write(struct sub_codec *scodec, const struct cs8409_i2c_param *seq, int count) cs8409_i2c_bulk_write() argument
[all...]

Completed in 6 milliseconds