Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/scsi/bnx2i/
Dbnx2i.h107 #define CTX_SHIFT 7 macro
108 #define GET_CID_NUM(cid_addr) ((cid_addr) >> CTX_SHIFT)
/Linux-v4.19/drivers/iommu/
Dmsm_iommu_hw-8xxx.h21 #define CTX_SHIFT 12 macro
25 (readl((base) + (reg) + ((ctx) << CTX_SHIFT)))
30 writel((val), ((base) + (reg) + ((ctx) << CTX_SHIFT)))
39 GET_FIELD(((b) + (r) + ((c) << CTX_SHIFT)), F##_MASK, F##_SHIFT)
44 SET_FIELD(((b) + (r) + ((c) << CTX_SHIFT)), F##_MASK, F##_SHIFT, (v))
/Linux-v4.19/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)