Lines Matching refs:ring_usage
3319 uint32_t ring_usage; in hal_get_ring_usage() local
3338 ring_usage = (100 * num_valid) / srng->num_entries; in hal_get_ring_usage()
3339 return ring_usage; in hal_get_ring_usage()
3354 uint32_t tailp, headp, ring_usage; in hal_update_ring_util() local
3357 ring_usage = hal_get_ring_usage(hal_ring_hdl, ring_type, &headp, in hal_update_ring_util()
3360 if (ring_usage == RING_USAGE_100_PERCENTAGE) { in hal_update_ring_util()
3362 } else if (ring_usage > RING_USAGE_90_PERCENTAGE) { in hal_update_ring_util()
3364 } else if ((ring_usage > RING_USAGE_70_PERCENTAGE) && in hal_update_ring_util()
3365 (ring_usage <= RING_USAGE_90_PERCENTAGE)) { in hal_update_ring_util()
3367 } else if ((ring_usage > RING_USAGE_50_PERCENTAGE) && in hal_update_ring_util()
3368 (ring_usage <= RING_USAGE_70_PERCENTAGE)) { in hal_update_ring_util()