Lines Matching refs:tm_iids
580 struct qed_tm_iids tm_iids; in qed_cxt_cfg_ilt_compute() local
586 memset(&tm_iids, 0, sizeof(tm_iids)); in qed_cxt_cfg_ilt_compute()
792 qed_cxt_tm_iids(p_hwfn, p_mngr, &tm_iids); in qed_cxt_cfg_ilt_compute()
793 total = tm_iids.pf_cids + tm_iids.pf_tids_total; in qed_cxt_cfg_ilt_compute()
805 total = tm_iids.per_vf_cids + tm_iids.per_vf_tids; in qed_cxt_cfg_ilt_compute()
1764 struct qed_tm_iids tm_iids; in qed_tm_init_pf() local
1768 memset(&tm_iids, 0, sizeof(tm_iids)); in qed_tm_init_pf()
1769 qed_cxt_tm_iids(p_hwfn, p_mngr, &tm_iids); in qed_tm_init_pf()
1776 SET_FIELD(cfg_word, TM_CFG_NUM_IDS, tm_iids.per_vf_cids); in qed_tm_init_pf()
1787 SET_FIELD(cfg_word, TM_CFG_NUM_IDS, tm_iids.pf_cids); in qed_tm_init_pf()
1799 tm_iids.pf_cids ? 0x1 : 0x0); in qed_tm_init_pf()
1803 tm_offset = tm_iids.per_vf_cids; in qed_tm_init_pf()
1808 SET_FIELD(cfg_word, TM_CFG_NUM_IDS, tm_iids.per_vf_tids); in qed_tm_init_pf()
1821 tm_offset = tm_iids.pf_cids; in qed_tm_init_pf()
1824 SET_FIELD(cfg_word, TM_CFG_NUM_IDS, tm_iids.pf_tids[i]); in qed_tm_init_pf()
1836 active_seg_mask |= (tm_iids.pf_tids[i] ? BIT(i) : 0); in qed_tm_init_pf()
1838 tm_offset += tm_iids.pf_tids[i]; in qed_tm_init_pf()