Home
last modified time | relevance | path

Searched refs:CTX_SHIFT (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/scsi/bnx2i/
Dbnx2i.h107 #define CTX_SHIFT 7 macro
108 #define GET_CID_NUM(cid_addr) ((cid_addr) >> CTX_SHIFT)
/Linux-v5.10/drivers/iommu/
Dmsm_iommu_hw-8xxx.h8 #define CTX_SHIFT 12 macro
12 (readl((base) + (reg) + ((ctx) << CTX_SHIFT)))
17 writel((val), ((base) + (reg) + ((ctx) << CTX_SHIFT)))
26 GET_FIELD(((b) + (r) + ((c) << CTX_SHIFT)), F##_MASK, F##_SHIFT)
31 SET_FIELD(((b) + (r) + ((c) << CTX_SHIFT)), F##_MASK, F##_SHIFT, (v))
/Linux-v5.10/drivers/net/ethernet/broadcom/
Dbnx2.h6585 #define CTX_SHIFT 7 macro
6586 #define CTX_SIZE (1 << CTX_SHIFT)
6588 #define GET_CID_ADDR(_cid) ((_cid) << CTX_SHIFT)
6589 #define GET_CID(_cid_addr) ((_cid_addr) >> CTX_SHIFT)