/linux-6.1.9/sound/soc/intel/avs/boards/ |
D | hdaudio.c | 16 static int avs_create_dai_links(struct device *dev, struct hda_codec *codec, int pcm_count, in avs_create_dai_links() argument 25 dl = devm_kcalloc(dev, pcm_count, sizeof(*dl), GFP_KERNEL); in avs_create_dai_links() 33 for (i = 0; i < pcm_count; i++, pcm = list_next_entry(pcm, list)) { in avs_create_dai_links() 66 static int avs_create_dapm_routes(struct device *dev, struct hda_codec *codec, int pcm_count, in avs_create_dapm_routes() argument 75 dr = devm_kcalloc(dev, pcm_count * 2, sizeof(*dr), GFP_KERNEL); in avs_create_dapm_routes() 81 for (i = 0; i < pcm_count; i++, pcm = list_next_entry(pcm, list)) { in avs_create_dapm_routes() 180 int ret, n, pcm_count = 0; in avs_probing_link_init() local 188 pcm_count++; in avs_probing_link_init() 190 ret = avs_create_dai_links(card->dev, codec, pcm_count, mach->mach_params.platform, &links); in avs_probing_link_init() 196 for (n = 0; n < pcm_count; n++) { in avs_probing_link_init() [all …]
|
/linux-6.1.9/sound/isa/msnd/ |
D | msnd.c | 357 unsigned int pcm_count) in snd_msnd_play_reset_queue() argument 363 chip->playLimit = pcm_count * (pcm_periods - 1); in snd_msnd_play_reset_queue() 368 chip->play_period_bytes = pcm_count; in snd_msnd_play_reset_queue() 371 writew(PCTODSP_BASED((u32)(pcm_count * n)), in snd_msnd_play_reset_queue() 385 unsigned int pcm_count) in snd_msnd_capture_reset_queue() argument 394 chip->captureLimit = pcm_count * (pcm_periods - 1); in snd_msnd_capture_reset_queue() 408 chip->capturePeriodBytes = pcm_count; in snd_msnd_capture_reset_queue() 409 snd_printdd("snd_msnd_capture_reset_queue() %i\n", pcm_count); in snd_msnd_capture_reset_queue() 414 u32 tmp = pcm_count * n; in snd_msnd_capture_reset_queue() 417 writew(pcm_count, pDAQ + DAQDS_wSize); in snd_msnd_capture_reset_queue() [all …]
|
/linux-6.1.9/sound/soc/qcom/qdsp6/ |
D | q6apm-dai.c | 45 unsigned int pcm_count; member 108 prtd->pos += prtd->pcm_count; in event_handler() 111 q6apm_write_async(prtd->graph, prtd->pcm_count, 0, 0, 0); in event_handler() 115 prtd->pos += prtd->pcm_count; in event_handler() 156 prtd->pcm_count = snd_pcm_lib_period_bytes(substream); in q6apm_dai_prepare() 216 ret = q6apm_write_async(prtd->graph, prtd->pcm_count, 0, 0, 0); in q6apm_dai_trigger()
|
D | q6asm-dai.c | 58 unsigned int pcm_count; member 191 prtd->pcm_count, 0, 0, 0); in event_handler() 197 prtd->pcm_irq_pos += prtd->pcm_count; in event_handler() 201 prtd->pcm_count, 0, 0, 0); in event_handler() 206 prtd->pcm_irq_pos += prtd->pcm_count; in event_handler() 237 prtd->pcm_count = snd_pcm_lib_period_bytes(substream); in q6asm_dai_prepare() 520 prtd->pcm_count, 0, 0, 0); in compress_event_handler() 521 prtd->bytes_sent += prtd->pcm_count; in compress_event_handler() 567 if (avail > prtd->pcm_count) { in compress_event_handler() 568 bytes_to_write = prtd->pcm_count; in compress_event_handler() [all …]
|
/linux-6.1.9/sound/soc/codecs/ |
D | hda.c | 16 static int hda_codec_create_dais(struct hda_codec *codec, int pcm_count, in hda_codec_create_dais() argument 24 drvs = devm_kcalloc(dev, pcm_count, sizeof(*drvs), GFP_KERNEL); in hda_codec_create_dais() 30 for (i = 0; i < pcm_count; i++, pcm = list_next_entry(pcm, list)) { in hda_codec_create_dais() 86 int ret, pcm_count = 0; in hda_codec_register_dais() local 91 pcm_count++; in hda_codec_register_dais() 93 ret = hda_codec_create_dais(codec, pcm_count, &drvs); in hda_codec_register_dais()
|
/linux-6.1.9/sound/soc/intel/boards/ |
D | skl_hda_dsp_generic.c | 86 ret = skl_hda_hdmi_add_pcm(card, ctx->pcm_count); in skl_hda_add_dai_link() 94 ctx->pcm_count++; in skl_hda_add_dai_link() 226 ctx->pcm_count = hda_soc_card.num_links; in skl_hda_audio_probe()
|
D | skl_hda_dsp_common.h | 32 int pcm_count; member
|
/linux-6.1.9/sound/soc/intel/avs/ |
D | pcm.c | 1035 int pcm_count = 0, ret, i; in avs_component_hda_probe() local 1045 pcm_count++; in avs_component_hda_probe() 1047 dais = devm_kcalloc(component->dev, pcm_count, sizeof(*dais), in avs_component_hda_probe() 1056 for (i = 0; i < pcm_count; i++, pcm = list_next_entry(pcm, list)) { in avs_component_hda_probe()
|