Lines Matching refs:hi_thrd
2001 u32 shared_buf_min, shared_buf_tc, shared_std, hi_thrd, lo_thrd;
2038 hi_thrd = shared_buf - hdev->dv_buf_size;
2041 hi_thrd = hi_thrd * BUF_RESERVE_PERCENT
2045 hi_thrd = hi_thrd / tc_num;
2047 hi_thrd = max_t(u32, hi_thrd, HCLGE_BUF_MUL_BY * aligned_mps);
2048 hi_thrd = rounddown(hi_thrd, HCLGE_BUF_SIZE_UNIT);
2049 lo_thrd = hi_thrd - aligned_mps / HCLGE_BUF_DIV_BY;
2051 hi_thrd = aligned_mps + HCLGE_NON_DCB_ADDITIONAL_BUF;
2057 buf_alloc->s_buf.tc_thrd[i].high = hi_thrd;