Lines Matching refs:pq_flags

1460 	u32 pq_flags = qed_get_pq_flags(p_hwfn);  in qed_init_qm_get_num_mtc_tcs()  local
1462 if (!(PQ_FLAGS_MTC & pq_flags)) in qed_init_qm_get_num_mtc_tcs()
1490 u32 pq_flags = qed_get_pq_flags(p_hwfn); in qed_init_qm_get_num_vports() local
1493 return (!!(PQ_FLAGS_RLS & pq_flags)) * in qed_init_qm_get_num_vports()
1495 (!!(PQ_FLAGS_VFS & pq_flags)) * in qed_init_qm_get_num_vports()
1502 u32 pq_flags = qed_get_pq_flags(p_hwfn); in qed_init_qm_get_num_pqs() local
1504 return (!!(PQ_FLAGS_RLS & pq_flags)) * in qed_init_qm_get_num_pqs()
1506 (!!(PQ_FLAGS_MCOS & pq_flags)) * in qed_init_qm_get_num_pqs()
1508 (!!(PQ_FLAGS_LB & pq_flags)) + (!!(PQ_FLAGS_OOO & pq_flags)) + in qed_init_qm_get_num_pqs()
1509 (!!(PQ_FLAGS_ACK & pq_flags)) + in qed_init_qm_get_num_pqs()
1510 (!!(PQ_FLAGS_OFLD & pq_flags)) * in qed_init_qm_get_num_pqs()
1512 (!!(PQ_FLAGS_LLT & pq_flags)) * in qed_init_qm_get_num_pqs()
1514 (!!(PQ_FLAGS_VFS & pq_flags)) * qed_init_qm_get_num_vfs(p_hwfn); in qed_init_qm_get_num_pqs()
1687 unsigned long pq_flags) in qed_init_qm_get_idx_from_flags() argument
1692 if (bitmap_weight(&pq_flags, in qed_init_qm_get_idx_from_flags()
1693 sizeof(pq_flags) * BITS_PER_BYTE) > 1) { in qed_init_qm_get_idx_from_flags()
1694 DP_ERR(p_hwfn, "requested multiple pq flags 0x%lx\n", pq_flags); in qed_init_qm_get_idx_from_flags()
1698 if (!(qed_get_pq_flags(p_hwfn) & pq_flags)) { in qed_init_qm_get_idx_from_flags()
1699 DP_ERR(p_hwfn, "pq flag 0x%lx is not set\n", pq_flags); in qed_init_qm_get_idx_from_flags()
1703 switch (pq_flags) { in qed_init_qm_get_idx_from_flags()
1730 u32 pq_flags, u16 pq_val) in qed_init_qm_set_idx() argument
1732 u16 *base_pq_idx = qed_init_qm_get_idx_from_flags(p_hwfn, pq_flags); in qed_init_qm_set_idx()
1738 u16 qed_get_cm_pq_idx(struct qed_hwfn *p_hwfn, u32 pq_flags) in qed_get_cm_pq_idx() argument
1740 u16 *base_pq_idx = qed_init_qm_get_idx_from_flags(p_hwfn, pq_flags); in qed_get_cm_pq_idx()