Lines Matching refs:cfg_word
1765 u64 cfg_word; in qed_tm_init_pf() local
1775 cfg_word = 0; in qed_tm_init_pf()
1776 SET_FIELD(cfg_word, TM_CFG_NUM_IDS, tm_iids.per_vf_cids); in qed_tm_init_pf()
1777 SET_FIELD(cfg_word, TM_CFG_PRE_SCAN_OFFSET, 0); in qed_tm_init_pf()
1778 SET_FIELD(cfg_word, TM_CFG_PARENT_PF, p_hwfn->rel_pf_id); in qed_tm_init_pf()
1779 SET_FIELD(cfg_word, TM_CFG_CID_PRE_SCAN_ROWS, 0); in qed_tm_init_pf()
1781 (sizeof(cfg_word) / sizeof(u32)) * in qed_tm_init_pf()
1783 STORE_RT_REG_AGG(p_hwfn, rt_reg, cfg_word); in qed_tm_init_pf()
1786 cfg_word = 0; in qed_tm_init_pf()
1787 SET_FIELD(cfg_word, TM_CFG_NUM_IDS, tm_iids.pf_cids); in qed_tm_init_pf()
1788 SET_FIELD(cfg_word, TM_CFG_PRE_SCAN_OFFSET, 0); in qed_tm_init_pf()
1789 SET_FIELD(cfg_word, TM_CFG_PARENT_PF, 0); /* n/a for PF */ in qed_tm_init_pf()
1790 SET_FIELD(cfg_word, TM_CFG_CID_PRE_SCAN_ROWS, 0); /* scan all */ in qed_tm_init_pf()
1793 (sizeof(cfg_word) / sizeof(u32)) * in qed_tm_init_pf()
1795 STORE_RT_REG_AGG(p_hwfn, rt_reg, cfg_word); in qed_tm_init_pf()
1807 cfg_word = 0; in qed_tm_init_pf()
1808 SET_FIELD(cfg_word, TM_CFG_NUM_IDS, tm_iids.per_vf_tids); in qed_tm_init_pf()
1809 SET_FIELD(cfg_word, TM_CFG_PRE_SCAN_OFFSET, 0); in qed_tm_init_pf()
1810 SET_FIELD(cfg_word, TM_CFG_PARENT_PF, p_hwfn->rel_pf_id); in qed_tm_init_pf()
1811 SET_FIELD(cfg_word, TM_CFG_TID_OFFSET, tm_offset); in qed_tm_init_pf()
1812 SET_FIELD(cfg_word, TM_CFG_TID_PRE_SCAN_ROWS, (u64) 0); in qed_tm_init_pf()
1815 (sizeof(cfg_word) / sizeof(u32)) * in qed_tm_init_pf()
1818 STORE_RT_REG_AGG(p_hwfn, rt_reg, cfg_word); in qed_tm_init_pf()
1823 cfg_word = 0; in qed_tm_init_pf()
1824 SET_FIELD(cfg_word, TM_CFG_NUM_IDS, tm_iids.pf_tids[i]); in qed_tm_init_pf()
1825 SET_FIELD(cfg_word, TM_CFG_PRE_SCAN_OFFSET, 0); in qed_tm_init_pf()
1826 SET_FIELD(cfg_word, TM_CFG_PARENT_PF, 0); in qed_tm_init_pf()
1827 SET_FIELD(cfg_word, TM_CFG_TID_OFFSET, tm_offset); in qed_tm_init_pf()
1828 SET_FIELD(cfg_word, TM_CFG_TID_PRE_SCAN_ROWS, (u64) 0); in qed_tm_init_pf()
1831 (sizeof(cfg_word) / sizeof(u32)) * in qed_tm_init_pf()
1835 STORE_RT_REG_AGG(p_hwfn, rt_reg, cfg_word); in qed_tm_init_pf()