Searched refs:pcm_count (Results 1 – 4 of 4) sorted by relevance
| /linux/sound/soc/codecs/ |
| H A 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() 88 int ret, pcm_count = 0; in hda_codec_register_dais() local 93 pcm_count++; in hda_codec_register_dais() 95 ret = hda_codec_create_dais(codec, pcm_count, &drvs); in hda_codec_register_dais()
|
| /linux/sound/soc/qcom/qdsp6/ |
| H A D | q6apm-dai.c | 72 unsigned int pcm_count; 187 if (avail > prtd->pcm_count) { in event_handler_compr() 188 bytes_to_write = prtd->pcm_count; in event_handler_compr() 246 prtd->pcm_count = snd_pcm_lib_period_bytes(substream); in q6apm_dai_prepare() 326 ret = q6apm_write_async(prtd->graph, prtd->pcm_count, 0, 0, NO_TIMESTAMP); in q6apm_dai_trigger() 776 ret = q6apm_write_async(prtd->graph, prtd->pcm_count, 0, 0, NO_TIMESTAMP); in q6apm_dai_compr_set_params() 827 prtd->pcm_count = runtime->fragment_size; in q6apm_dai_compr_mmap() 946 bytes_received = ALIGN(prtd->bytes_received, prtd->pcm_count); in q6apm_dai_probe() 969 prtd->copied_total = ALIGN(prtd->copied_total, prtd->pcm_count); 970 prtd->bytes_sent = ALIGN(prtd->bytes_sent, prtd->pcm_count); 67 unsigned int pcm_count; global() member [all...] |
| H A D | q6asm-dai.c | 60 unsigned int pcm_count; member 224 prtd->pcm_count = snd_pcm_lib_period_bytes(substream); in q6asm_dai_prepare() 322 prtd->pcm_count, 0, 0, 0); in q6asm_dai_ack() 537 prtd->pcm_count, 0, 0, 0); in compress_event_handler() 538 prtd->bytes_sent += prtd->pcm_count; in compress_event_handler() 576 if (avail > prtd->pcm_count) { in compress_event_handler() 577 bytes_to_write = prtd->pcm_count; in compress_event_handler() 902 prtd->pcm_count = runtime->fragment_size; in q6asm_dai_compr_set_params() 1083 bytes_received = ALIGN(prtd->bytes_received, prtd->pcm_count); in q6asm_compr_copy() 1108 prtd->copied_total = ALIGN(prtd->copied_total, prtd->pcm_count); in q6asm_compr_copy() [all …]
|
| /linux/sound/soc/intel/avs/ |
| H A D | pcm.c | 1611 int pcm_count = 0, ret, i; in avs_component_hda_probe() 1622 pcm_count++; in avs_component_hda_probe() 1624 dais = devm_kcalloc(component->dev, pcm_count, sizeof(*dais), in avs_component_hda_probe() 1633 for (i = 0; i < pcm_count; i++, pcm = list_next_entry(pcm, list)) { in avs_component_hda_probe() 1608 int pcm_count = 0, ret, i; avs_component_hda_probe() local
|