Home
last modified time | relevance | path

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

/Linux-v5.10/sound/core/
Dcompress_offload.c257 u64 app_pointer = div64_u64(runtime->total_bytes_available, in snd_compr_write_data() local
259 app_pointer = runtime->total_bytes_available - in snd_compr_write_data()
260 (app_pointer * runtime->buffer_size); in snd_compr_write_data()
262 dstn = runtime->buffer + app_pointer; in snd_compr_write_data()
264 (unsigned long)count, app_pointer); in snd_compr_write_data()
265 if (count < runtime->buffer_size - app_pointer) { in snd_compr_write_data()
269 copy = runtime->buffer_size - app_pointer; in snd_compr_write_data()
/Linux-v5.10/sound/soc/qcom/qdsp6/
Dq6asm-dai.c1066 u32 app_pointer; in q6asm_compr_copy() local
1078 app_pointer = bytes_received/prtd->pcm_size; in q6asm_compr_copy()
1079 app_pointer = bytes_received - (app_pointer * prtd->pcm_size); in q6asm_compr_copy()
1080 dstn = prtd->dma_buffer.area + app_pointer; in q6asm_compr_copy()
1082 if (count < prtd->pcm_size - app_pointer) { in q6asm_compr_copy()
1086 copy = prtd->pcm_size - app_pointer; in q6asm_compr_copy()