Home
last modified time | relevance | path

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

/linux/sound/soc/qcom/qdsp6/
H A Dq6apm-dai.c848 u32 app_pointer; in q6apm_compr_copy()
866 app_pointer = do_div(temp_bytes_received, prtd->pcm_size); in q6apm_compr_copy()
867 dstn = prtd->dma_buffer.area + app_pointer; in q6apm_compr_copy()
869 if (count < prtd->pcm_size - app_pointer) { in q6apm_compr_copy()
873 copy = prtd->pcm_size - app_pointer; in q6apm_compr_copy()
843 u32 app_pointer; q6apm_compr_copy() local
H A Dq6asm-dai.c1071 u32 app_pointer; in q6asm_compr_copy() local
1087 app_pointer = do_div(temp_bytes_received, prtd->pcm_size); in q6asm_compr_copy()
1088 dstn = prtd->dma_buffer.area + app_pointer; in q6asm_compr_copy()
1090 if (count < prtd->pcm_size - app_pointer) { in q6asm_compr_copy()
1094 copy = prtd->pcm_size - app_pointer; in q6asm_compr_copy()
/linux/sound/core/
H A Dcompress_offload.c301 u64 app_pointer = div64_u64(runtime->total_bytes_available, in snd_compr_write_data()
303 app_pointer = runtime->total_bytes_available - in snd_compr_write_data()
304 (app_pointer * runtime->buffer_size); in snd_compr_write_data()
306 dstn = runtime->buffer + app_pointer; in snd_compr_write_data()
307 pr_debug("copying %lu at %llu\n", (unsigned long)count, app_pointer); in snd_compr_write_data()
308 if (count < runtime->buffer_size - app_pointer) { in snd_compr_write_data()
312 copy = runtime->buffer_size - app_pointer; in snd_compr_write_data()
296 u64 app_pointer = div64_u64(runtime->total_bytes_available, snd_compr_write_data() local