Searched refs:pri_mask (Results 1 – 4 of 4) sorted by relevance
253 unsigned int tc_mask = 0, pri_mask = 0; in bnxt_hwrm_queue_pfc_cfg() local265 pri_mask |= 1 << pri; in bnxt_hwrm_queue_pfc_cfg()293 req->flags = cpu_to_le32(pri_mask); in bnxt_hwrm_queue_pfc_cfg()301 u8 pri_mask; in bnxt_hwrm_queue_pfc_qcfg() local315 pri_mask = le32_to_cpu(resp->flags); in bnxt_hwrm_queue_pfc_qcfg()316 pfc->pfc_en = pri_mask; in bnxt_hwrm_queue_pfc_qcfg()
857 static int cxgbit_select_priority(int pri_mask) in cxgbit_select_priority() argument859 if (!pri_mask) in cxgbit_select_priority()862 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()
1728 static int select_priority(int pri_mask) in select_priority() argument1730 if (!pri_mask) in select_priority()1732 return (ffs(pri_mask) - 1); in select_priority()