Home
last modified time | relevance | path

Searched refs:pcm_count (Results 1 – 6 of 6) sorted by relevance

/linux/sound/isa/msnd/
H A Dmsnd.c347 unsigned int pcm_count) in snd_msnd_play_reset_queue() argument
353 chip->playLimit = pcm_count * (pcm_periods - 1); in snd_msnd_play_reset_queue()
358 chip->play_period_bytes = pcm_count; in snd_msnd_play_reset_queue()
361 writew(PCTODSP_BASED((u32)(pcm_count * n)), in snd_msnd_play_reset_queue()
375 unsigned int pcm_count) in snd_msnd_capture_reset_queue() argument
384 chip->captureLimit = pcm_count * (pcm_periods - 1); in snd_msnd_capture_reset_queue()
398 chip->capturePeriodBytes = pcm_count; in snd_msnd_capture_reset_queue()
399 dev_dbg(chip->card->dev, "%s() %i\n", __func__, pcm_count); in snd_msnd_capture_reset_queue()
404 u32 tmp = pcm_count * n; in snd_msnd_capture_reset_queue()
407 writew(pcm_count, pDAQ + DAQDS_wSize); in snd_msnd_capture_reset_queue()
[all …]
/linux/sound/soc/intel/avs/boards/
H A Dhdaudio.c17 static int avs_create_dai_links(struct device *dev, struct hda_codec *codec, int pcm_count, in avs_create_dai_links() argument
26 dl = devm_kcalloc(dev, pcm_count, sizeof(*dl), GFP_KERNEL); in avs_create_dai_links()
34 for (i = 0; i < pcm_count; i++, pcm = list_next_entry(pcm, list)) { in avs_create_dai_links()
133 int ret, pcm_count = 0; in avs_probing_link_init() local
141 pcm_count++; in avs_probing_link_init()
143 ret = avs_create_dai_links(card->dev, codec, pcm_count, mach->mach_params.platform, &links); in avs_probing_link_init()
149 ret = snd_soc_add_pcm_runtimes(card, links, pcm_count); in avs_probing_link_init()
/linux/sound/soc/qcom/qdsp6/
H A Dq6apm-dai.c66 unsigned int pcm_count; member
134 prtd->pos += prtd->pcm_count; in event_handler()
138 q6apm_write_async(prtd->graph, prtd->pcm_count, 0, 0, 0); in event_handler()
143 prtd->pos += prtd->pcm_count; in event_handler()
190 if (avail > prtd->pcm_count) { in event_handler_compr()
191 bytes_to_write = prtd->pcm_count; in event_handler_compr()
250 prtd->pcm_count = snd_pcm_lib_period_bytes(substream); in q6apm_dai_prepare()
310 ret = q6apm_write_async(prtd->graph, prtd->pcm_count, 0, 0, 0); in q6apm_dai_trigger()
598 ret = q6apm_write_async(prtd->graph, prtd->pcm_count, 0, 0, NO_TIMESTAMP); in q6apm_dai_compr_trigger()
651 prtd->pcm_count = runtime->fragment_size; in q6apm_dai_compr_set_params()
[all …]
H A Dq6asm-dai.c59 unsigned int pcm_count; member
186 prtd->pcm_count, 0, 0, 0); in event_handler()
192 prtd->pcm_irq_pos += prtd->pcm_count; in event_handler()
196 prtd->pcm_count, 0, 0, 0); in event_handler()
201 prtd->pcm_irq_pos += prtd->pcm_count; in event_handler()
232 prtd->pcm_count = snd_pcm_lib_period_bytes(substream); in q6asm_dai_prepare()
510 prtd->pcm_count, 0, 0, 0); in compress_event_handler()
511 prtd->bytes_sent += prtd->pcm_count; in compress_event_handler()
557 if (avail > prtd->pcm_count) { in compress_event_handler()
558 bytes_to_write = prtd->pcm_count; in compress_event_handler()
[all …]
/linux/sound/soc/codecs/
H A Dhda.c16 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/intel/avs/
H A Dpcm.c1484 int pcm_count = 0, ret, i; in avs_component_hda_probe() local
1494 pcm_count++; in avs_component_hda_probe()
1496 dais = devm_kcalloc(component->dev, pcm_count, sizeof(*dais), in avs_component_hda_probe()
1505 for (i = 0; i < pcm_count; i++, pcm = list_next_entry(pcm, list)) { in avs_component_hda_probe()