Searched refs:pri_mask (Results 1 – 4 of 4) sorted by relevance
236 unsigned int tc_mask = 0, pri_mask = 0; in bnxt_hwrm_queue_pfc_cfg() local248 pri_mask |= 1 << pri; in bnxt_hwrm_queue_pfc_cfg()273 req.flags = cpu_to_le32(pri_mask); in bnxt_hwrm_queue_pfc_cfg()285 u8 pri_mask; in bnxt_hwrm_queue_pfc_qcfg() local297 pri_mask = le32_to_cpu(resp->flags); in bnxt_hwrm_queue_pfc_qcfg()298 pfc->pfc_en = pri_mask; in bnxt_hwrm_queue_pfc_qcfg()
855 static int cxgbit_select_priority(int pri_mask) in cxgbit_select_priority() argument857 if (!pri_mask) in cxgbit_select_priority()860 return (ffs(pri_mask) - 1); in cxgbit_select_priority()
178 u32 pri_mask; in bnx2x_dcbx_get_ap_priority() local183 pri_mask = 1 << index; in bnx2x_dcbx_get_ap_priority()184 if (GET_FLAGS(pri_bitmap, pri_mask)) in bnx2x_dcbx_get_ap_priority()
1647 static int select_priority(int pri_mask) in select_priority() argument1649 if (!pri_mask) in select_priority()1651 return (ffs(pri_mask) - 1); in select_priority()