Home
last modified time | relevance | path

Searched refs:app_pointer (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/sound/soc/qcom/qdsp6/
Dq6apm-dai.c762 u32 app_pointer; in q6apm_compr_copy() local
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()
778 dstn = prtd->dma_buffer.area + app_pointer; in q6apm_compr_copy()
780 if (count < prtd->pcm_size - app_pointer) { in q6apm_compr_copy()
784 copy = prtd->pcm_size - app_pointer; in q6apm_compr_copy()
Dq6asm-dai.c1059 u32 app_pointer; in q6asm_compr_copy() local
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()
1073 dstn = prtd->dma_buffer.area + app_pointer; in q6asm_compr_copy()
1075 if (count < prtd->pcm_size - app_pointer) { in q6asm_compr_copy()
1079 copy = prtd->pcm_size - app_pointer; in q6asm_compr_copy()
/Linux-v6.6/sound/core/
Dcompress_offload.c255 u64 app_pointer = div64_u64(runtime->total_bytes_available, in snd_compr_write_data() local
257 app_pointer = runtime->total_bytes_available - in snd_compr_write_data()
258 (app_pointer * runtime->buffer_size); in snd_compr_write_data()
260 dstn = runtime->buffer + app_pointer; in snd_compr_write_data()
262 (unsigned long)count, app_pointer); in snd_compr_write_data()
263 if (count < runtime->buffer_size - app_pointer) { in snd_compr_write_data()
267 copy = runtime->buffer_size - app_pointer; in snd_compr_write_data()