Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_dcb.c253 unsigned int tc_mask = 0, pri_mask = 0; in bnxt_hwrm_queue_pfc_cfg() local
265 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() local
315 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()
/linux-6.6.21/drivers/target/iscsi/cxgbit/
Dcxgbit_cm.c857 static int cxgbit_select_priority(int pri_mask) in cxgbit_select_priority() argument
859 if (!pri_mask) in cxgbit_select_priority()
862 return (ffs(pri_mask) - 1); in cxgbit_select_priority()
/linux-6.6.21/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-6.6.21/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c1728 static int select_priority(int pri_mask) in select_priority() argument
1730 if (!pri_mask) in select_priority()
1732 return (ffs(pri_mask) - 1); in select_priority()