Lines Matching refs:num_valid
1877 uint32_t num_valid; in hal_srng_dst_num_valid_locked() local
1881 num_valid = hal_srng_dst_num_valid(hal_soc, hal_ring_hdl, sync_hw_ptr); in hal_srng_dst_num_valid_locked()
1884 return num_valid; in hal_srng_dst_num_valid_locked()
3318 uint32_t num_avail, num_valid = 0; in hal_get_ring_usage() local
3328 num_valid = num_avail; in hal_get_ring_usage()
3330 num_valid = srng->num_entries - num_avail; in hal_get_ring_usage()
3333 num_valid = ((*headp - *tailp) / srng->entry_size); in hal_get_ring_usage()
3335 num_valid = ((srng->ring_size - *tailp + *headp) / in hal_get_ring_usage()
3338 ring_usage = (100 * num_valid) / srng->num_entries; in hal_get_ring_usage()
3414 uint16_t num_valid) in hal_srng_dst_prefetch() argument
3433 if (num_valid < max_prefetch) in hal_srng_dst_prefetch()
3434 max_prefetch = num_valid; in hal_srng_dst_prefetch()
3484 uint16_t num_valid) in hal_srng_dst_prefetch_32_byte_desc() argument