Searched refs:avail_bytes (Results 1 – 6 of 6) sorted by relevance
/sof-3.4.0/src/audio/ |
D | host-legacy.c | 449 uint32_t avail_bytes = 0; in host_get_copy_bytes_normal() local 455 ret = dma_get_data_size_legacy(hd->chan, &avail_bytes, &free_bytes); in host_get_copy_bytes_normal() 471 copy_bytes = MIN(hd->period_bytes, MIN(avail_bytes, free_bytes)); in host_get_copy_bytes_normal() 474 free_bytes, avail_bytes); in host_get_copy_bytes_normal() 476 avail_bytes = audio_stream_get_avail_bytes(&buffer_c->stream); in host_get_copy_bytes_normal() 477 copy_bytes = MIN(avail_bytes, free_bytes); in host_get_copy_bytes_normal() 480 avail_bytes, free_bytes); in host_get_copy_bytes_normal()
|
D | dai-legacy.c | 925 uint32_t avail_bytes = 0; in dai_copy() local 936 ret = dma_get_data_size_legacy(dd->chan, &avail_bytes, &free_bytes); in dai_copy() 957 src_samples = avail_bytes / sampling; in dai_copy() 977 copy_bytes + avail_bytes < dd->period_bytes) in dai_copy() 979 copy_bytes, avail_bytes, dd->period_bytes); in dai_copy()
|
D | host-zephyr.c | 395 uint32_t avail_bytes; in host_get_copy_bytes_normal() local 408 avail_bytes = stat.pending_length; in host_get_copy_bytes_normal() 417 avail_bytes = audio_stream_get_avail_bytes(&buffer_c->stream); in host_get_copy_bytes_normal() 419 copy_bytes = MIN(avail_bytes, free_bytes); in host_get_copy_bytes_normal() 430 avail_bytes, free_bytes); in host_get_copy_bytes_normal()
|
D | dai-zephyr.c | 1217 uint32_t avail_bytes = 0; in dai_copy() local 1245 avail_bytes = stat.pending_length; in dai_copy() 1263 src_samples = avail_bytes / sampling; in dai_copy() 1285 copy_bytes + avail_bytes < dd->period_bytes) in dai_copy() 1287 copy_bytes, avail_bytes, dd->period_bytes); in dai_copy()
|
D | kpb.c | 1114 uint32_t avail_bytes; in kpb_copy() local 1262 avail_bytes = audio_stream_get_avail_bytes(&source_c->stream); in kpb_copy() 1263 copy_bytes = MIN(avail_bytes, kpb->hd.free); in kpb_copy()
|
/sof-3.4.0/src/library_manager/ |
D | lib_manager.c | 488 uint32_t avail_bytes = 0; in lib_manager_load_data_from_host() local 516 while (avail_bytes < size) { in lib_manager_load_data_from_host() 523 avail_bytes = stat.pending_length; in lib_manager_load_data_from_host()
|