Searched refs:num_pg (Results 1 – 5 of 5) sorted by relevance
301 static inline s32 tcm_1d_limit(struct tcm_area *a, u32 num_pg) in tcm_1d_limit() argument303 if (__tcm_sizeof(a) < num_pg) in tcm_1d_limit()305 if (!num_pg) in tcm_1d_limit()308 a->p1.x = (a->p0.x + num_pg - 1) % a->tcm->width; in tcm_1d_limit()309 a->p1.y = a->p0.y + ((a->p0.x + num_pg - 1) / a->tcm->width); in tcm_1d_limit()
792 for (i = 0; i < hdev->tm_info.num_pg; i++) { in hclge_tm_pg_info_init()872 for (i = 0; i < hdev->tm_info.num_pg; i++) { in hclge_tm_pg_to_pri_map()896 for (i = 0; i < hdev->tm_info.num_pg; i++) { in hclge_tm_pg_shaper_cfg()939 for (i = 0; i < hdev->tm_info.num_pg; i++) { in hclge_tm_pg_dwrr_cfg()1368 for (i = 0; i < hdev->tm_info.num_pg; i++) { in hclge_tm_lvl2_schd_mode_cfg()1697 hdev->tm_info.num_pg != 1) in hclge_tm_schd_init()
367 u8 num_pg; /* It must be 1 if vNET-Base schd */ member
479 for (pg_id = 0; pg_id < hdev->tm_info.num_pg; pg_id++) { in hclge_dbg_dump_dcb_pg()755 for (pg_id = 0; pg_id < hdev->tm_info.num_pg; pg_id++) { in __hclge_dbg_dump_tm_pg()
1506 hdev->tm_info.num_pg = 1; in hclge_configure()