Lines Matching refs:cfg_word
1676 u64 cfg_word; in qed_tm_init_pf() local
1686 cfg_word = 0; in qed_tm_init_pf()
1687 SET_FIELD(cfg_word, TM_CFG_NUM_IDS, tm_iids.per_vf_cids); in qed_tm_init_pf()
1688 SET_FIELD(cfg_word, TM_CFG_PRE_SCAN_OFFSET, 0); in qed_tm_init_pf()
1689 SET_FIELD(cfg_word, TM_CFG_PARENT_PF, p_hwfn->rel_pf_id); in qed_tm_init_pf()
1690 SET_FIELD(cfg_word, TM_CFG_CID_PRE_SCAN_ROWS, 0); in qed_tm_init_pf()
1692 (sizeof(cfg_word) / sizeof(u32)) * in qed_tm_init_pf()
1694 STORE_RT_REG_AGG(p_hwfn, rt_reg, cfg_word); in qed_tm_init_pf()
1697 cfg_word = 0; in qed_tm_init_pf()
1698 SET_FIELD(cfg_word, TM_CFG_NUM_IDS, tm_iids.pf_cids); in qed_tm_init_pf()
1699 SET_FIELD(cfg_word, TM_CFG_PRE_SCAN_OFFSET, 0); in qed_tm_init_pf()
1700 SET_FIELD(cfg_word, TM_CFG_PARENT_PF, 0); /* n/a for PF */ in qed_tm_init_pf()
1701 SET_FIELD(cfg_word, TM_CFG_CID_PRE_SCAN_ROWS, 0); /* scan all */ in qed_tm_init_pf()
1704 (sizeof(cfg_word) / sizeof(u32)) * in qed_tm_init_pf()
1706 STORE_RT_REG_AGG(p_hwfn, rt_reg, cfg_word); in qed_tm_init_pf()
1718 cfg_word = 0; in qed_tm_init_pf()
1719 SET_FIELD(cfg_word, TM_CFG_NUM_IDS, tm_iids.per_vf_tids); in qed_tm_init_pf()
1720 SET_FIELD(cfg_word, TM_CFG_PRE_SCAN_OFFSET, 0); in qed_tm_init_pf()
1721 SET_FIELD(cfg_word, TM_CFG_PARENT_PF, p_hwfn->rel_pf_id); in qed_tm_init_pf()
1722 SET_FIELD(cfg_word, TM_CFG_TID_OFFSET, tm_offset); in qed_tm_init_pf()
1723 SET_FIELD(cfg_word, TM_CFG_TID_PRE_SCAN_ROWS, (u64) 0); in qed_tm_init_pf()
1726 (sizeof(cfg_word) / sizeof(u32)) * in qed_tm_init_pf()
1729 STORE_RT_REG_AGG(p_hwfn, rt_reg, cfg_word); in qed_tm_init_pf()
1734 cfg_word = 0; in qed_tm_init_pf()
1735 SET_FIELD(cfg_word, TM_CFG_NUM_IDS, tm_iids.pf_tids[i]); in qed_tm_init_pf()
1736 SET_FIELD(cfg_word, TM_CFG_PRE_SCAN_OFFSET, 0); in qed_tm_init_pf()
1737 SET_FIELD(cfg_word, TM_CFG_PARENT_PF, 0); in qed_tm_init_pf()
1738 SET_FIELD(cfg_word, TM_CFG_TID_OFFSET, tm_offset); in qed_tm_init_pf()
1739 SET_FIELD(cfg_word, TM_CFG_TID_PRE_SCAN_ROWS, (u64) 0); in qed_tm_init_pf()
1742 (sizeof(cfg_word) / sizeof(u32)) * in qed_tm_init_pf()
1746 STORE_RT_REG_AGG(p_hwfn, rt_reg, cfg_word); in qed_tm_init_pf()