Home
last modified time | relevance | path

Searched refs:pri_mask (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_dcb.c234 unsigned int tc_mask = 0, pri_mask = 0; in bnxt_hwrm_queue_pfc_cfg() local
245 pri_mask |= 1 << pri; in bnxt_hwrm_queue_pfc_cfg()
270 req.flags = cpu_to_le32(pri_mask); in bnxt_hwrm_queue_pfc_cfg()
278 u8 pri_mask; in bnxt_hwrm_queue_pfc_qcfg() local
290 pri_mask = le32_to_cpu(resp->flags); in bnxt_hwrm_queue_pfc_qcfg()
291 pfc->pfc_en = pri_mask; in bnxt_hwrm_queue_pfc_qcfg()
/Linux-v5.10/drivers/target/iscsi/cxgbit/
Dcxgbit_cm.c855 static int cxgbit_select_priority(int pri_mask) in cxgbit_select_priority() argument
857 if (!pri_mask) in cxgbit_select_priority()
860 return (ffs(pri_mask) - 1); in cxgbit_select_priority()
/Linux-v5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_dcb.c178 u32 pri_mask; in bnx2x_dcbx_get_ap_priority() local
183 pri_mask = 1 << index; in bnx2x_dcbx_get_ap_priority()
184 if (GET_FLAGS(pri_bitmap, pri_mask)) in bnx2x_dcbx_get_ap_priority()
/Linux-v5.10/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c1726 static int select_priority(int pri_mask) in select_priority() argument
1728 if (!pri_mask) in select_priority()
1730 return (ffs(pri_mask) - 1); in select_priority()