Searched refs:num_avail (Results 1 – 1 of 1) sorted by relevance
3318 uint32_t num_avail, num_valid = 0; in hal_get_ring_usage() local3323 num_avail = ((*tailp - *headp) / srng->entry_size) - 1; in hal_get_ring_usage()3325 num_avail = ((srng->ring_size - *headp + *tailp) / in hal_get_ring_usage()3328 num_valid = num_avail; in hal_get_ring_usage()3330 num_valid = srng->num_entries - num_avail; in hal_get_ring_usage()