Searched refs:app_pointer (Results 1 – 3 of 3) sorted by relevance
762 u32 app_pointer; in q6apm_compr_copy() local776 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()
1059 u32 app_pointer; in q6asm_compr_copy() local1071 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()
255 u64 app_pointer = div64_u64(runtime->total_bytes_available, in snd_compr_write_data() local257 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()