Searched refs:num_valid (Results 1 – 2 of 2) sorted by relevance
950 uint32_t num_valid; in dp_srng_get_near_full_level() local952 num_valid = hal_srng_dst_num_valid_nolock(soc->hal_soc, in dp_srng_get_near_full_level()956 if (num_valid > dp_srng->crit_thresh) in dp_srng_get_near_full_level()958 else if (num_valid < dp_srng->safe_thresh) in dp_srng_get_near_full_level()
1877 uint32_t num_valid; in hal_srng_dst_num_valid_locked() local1881 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() local3328 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[all …]