Home
last modified time | relevance | path

Searched refs:pcm_size (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.6/sound/soc/qcom/qdsp6/
Dq6apm-dai.c65 unsigned int pcm_size; member
267 (prtd->pcm_size / prtd->periods), prtd->periods); in q6apm_dai_prepare()
437 if (prtd->pos == prtd->pcm_size) in q6apm_dai_pointer()
453 prtd->pcm_size = params_buffer_bytes(params); in q6apm_dai_hw_params()
584 tstamp->byte_offset = prtd->copied_total % prtd->pcm_size; in q6apm_dai_compr_pointer()
655 prtd->pcm_size = runtime->fragments * runtime->fragment_size; in q6apm_dai_compr_set_params()
683 prtd->phys, (prtd->pcm_size / prtd->periods), in q6apm_dai_compr_set_params()
776 app_pointer = bytes_received/prtd->pcm_size; in q6apm_compr_copy()
777 app_pointer = bytes_received - (app_pointer * prtd->pcm_size); in q6apm_compr_copy()
780 if (count < prtd->pcm_size - app_pointer) { in q6apm_compr_copy()
[all …]
Dq6asm-dai.c57 unsigned int pcm_size; member
251 (prtd->pcm_size / prtd->periods), in q6asm_dai_prepare()
472 if (prtd->pcm_irq_pos >= prtd->pcm_size) in q6asm_dai_pointer()
485 prtd->pcm_size = params_buffer_bytes(params); in q6asm_dai_hw_params()
895 prtd->pcm_size = runtime->fragments * runtime->fragment_size; in q6asm_dai_compr_set_params()
928 (prtd->pcm_size / prtd->periods), in q6asm_dai_compr_set_params()
1041 tstamp->byte_offset = prtd->copied_total % prtd->pcm_size; in q6asm_dai_compr_pointer()
1071 app_pointer = bytes_received/prtd->pcm_size; in q6asm_compr_copy()
1072 app_pointer = bytes_received - (app_pointer * prtd->pcm_size); in q6asm_compr_copy()
1075 if (count < prtd->pcm_size - app_pointer) { in q6asm_compr_copy()
[all …]
/Linux-v6.6/sound/pcmcia/pdaudiocf/
Dpdaudiocf_irq.c272 chip->pcm_hwptr %= chip->pcm_size; in pdacf_threaded_irq()
290 off %= chip->pcm_size; in pdacf_threaded_irq()
293 cont = chip->pcm_size - off; in pdacf_threaded_irq()
298 off %= chip->pcm_size; in pdacf_threaded_irq()
305 chip->pcm_hwptr %= chip->pcm_size; in pdacf_threaded_irq()
Dpdaudiocf.h96 unsigned int pcm_size; member
Dpdaudiocf_pcm.c153 chip->pcm_size = runtime->buffer_size; in pdacf_pcm_prepare()
/Linux-v6.6/sound/isa/msnd/
Dmsnd.c520 unsigned int pcm_size = snd_pcm_lib_buffer_bytes(substream); in snd_msnd_playback_prepare() local
522 unsigned int pcm_periods = pcm_size / pcm_count; in snd_msnd_playback_prepare()
601 unsigned int pcm_size = snd_pcm_lib_buffer_bytes(substream); in snd_msnd_capture_prepare() local
603 unsigned int pcm_periods = pcm_size / pcm_count; in snd_msnd_capture_prepare()
/Linux-v6.6/drivers/media/platform/allegro-dvt/
Dallegro-core.c518 unsigned int pcm_size = SZ_256; in estimate_stream_size() local
521 return round_up(offset + num_blocks * pcm_size + partition_table, 32); in estimate_stream_size()