Lines Matching refs:pq_flags

1473 	u32 pq_flags = qed_get_pq_flags(p_hwfn);  in qed_init_qm_get_num_mtc_tcs()  local
1475 if (!(PQ_FLAGS_MTC & pq_flags)) in qed_init_qm_get_num_mtc_tcs()
1503 u32 pq_flags = qed_get_pq_flags(p_hwfn); in qed_init_qm_get_num_vports() local
1506 return (!!(PQ_FLAGS_RLS & pq_flags)) * in qed_init_qm_get_num_vports()
1508 (!!(PQ_FLAGS_VFS & pq_flags)) * in qed_init_qm_get_num_vports()
1515 u32 pq_flags = qed_get_pq_flags(p_hwfn); in qed_init_qm_get_num_pqs() local
1517 return (!!(PQ_FLAGS_RLS & pq_flags)) * in qed_init_qm_get_num_pqs()
1519 (!!(PQ_FLAGS_MCOS & pq_flags)) * in qed_init_qm_get_num_pqs()
1521 (!!(PQ_FLAGS_LB & pq_flags)) + (!!(PQ_FLAGS_OOO & pq_flags)) + in qed_init_qm_get_num_pqs()
1522 (!!(PQ_FLAGS_ACK & pq_flags)) + in qed_init_qm_get_num_pqs()
1523 (!!(PQ_FLAGS_OFLD & pq_flags)) * in qed_init_qm_get_num_pqs()
1525 (!!(PQ_FLAGS_LLT & pq_flags)) * in qed_init_qm_get_num_pqs()
1527 (!!(PQ_FLAGS_VFS & pq_flags)) * qed_init_qm_get_num_vfs(p_hwfn); in qed_init_qm_get_num_pqs()
1700 unsigned long pq_flags) in qed_init_qm_get_idx_from_flags() argument
1705 if (bitmap_weight(&pq_flags, in qed_init_qm_get_idx_from_flags()
1706 sizeof(pq_flags) * BITS_PER_BYTE) > 1) { in qed_init_qm_get_idx_from_flags()
1707 DP_ERR(p_hwfn, "requested multiple pq flags 0x%lx\n", pq_flags); in qed_init_qm_get_idx_from_flags()
1711 if (!(qed_get_pq_flags(p_hwfn) & pq_flags)) { in qed_init_qm_get_idx_from_flags()
1712 DP_ERR(p_hwfn, "pq flag 0x%lx is not set\n", pq_flags); in qed_init_qm_get_idx_from_flags()
1716 switch (pq_flags) { in qed_init_qm_get_idx_from_flags()
1743 u32 pq_flags, u16 pq_val) in qed_init_qm_set_idx() argument
1745 u16 *base_pq_idx = qed_init_qm_get_idx_from_flags(p_hwfn, pq_flags); in qed_init_qm_set_idx()
1751 u16 qed_get_cm_pq_idx(struct qed_hwfn *p_hwfn, u32 pq_flags) in qed_get_cm_pq_idx() argument
1753 u16 *base_pq_idx = qed_init_qm_get_idx_from_flags(p_hwfn, pq_flags); in qed_get_cm_pq_idx()