Searched refs:pri_mask (Results 1 – 4 of 4) sorted by relevance
245 unsigned int tc_mask = 0, pri_mask = 0; in bnxt_hwrm_queue_pfc_cfg() local257 pri_mask |= 1 << pri; in bnxt_hwrm_queue_pfc_cfg()285 req->flags = cpu_to_le32(pri_mask); in bnxt_hwrm_queue_pfc_cfg()293 u8 pri_mask; in bnxt_hwrm_queue_pfc_qcfg() local307 pri_mask = le32_to_cpu(resp->flags); in bnxt_hwrm_queue_pfc_qcfg()308 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()