Lines Matching refs:aligned_mps
1967 u32 shared_buf, aligned_mps;
1971 aligned_mps = roundup(hdev->mps, HCLGE_BUF_SIZE_UNIT);
1974 shared_buf_min = HCLGE_BUF_MUL_BY * aligned_mps +
1977 shared_buf_min = aligned_mps + HCLGE_NON_DCB_ADDITIONAL_BUF
1980 shared_buf_tc = tc_num * aligned_mps + aligned_mps;
1993 - roundup(aligned_mps / HCLGE_BUF_DIV_BY,
1996 buf_alloc->s_buf.self.high = aligned_mps +
1998 buf_alloc->s_buf.self.low = aligned_mps;
2011 hi_thrd = max_t(u32, hi_thrd, HCLGE_BUF_MUL_BY * aligned_mps);
2013 lo_thrd = hi_thrd - aligned_mps / HCLGE_BUF_DIV_BY;
2015 hi_thrd = aligned_mps + HCLGE_NON_DCB_ADDITIONAL_BUF;
2016 lo_thrd = aligned_mps;
2057 u32 aligned_mps = round_up(hdev->mps, HCLGE_BUF_SIZE_UNIT);
2074 priv->wl.low = max ? aligned_mps : HCLGE_BUF_SIZE_UNIT;
2075 priv->wl.high = roundup(priv->wl.low + aligned_mps,
2079 priv->wl.high = max ? (aligned_mps * HCLGE_BUF_MUL_BY) :
2080 aligned_mps;