Searched refs:EXTRACT_PPC_BITS (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/misc/cxl/
H A Dpci.c96 #define EXTRACT_PPC_BITS(val, bs, be) ((val & PPC_BITMASK(bs, be)) >> PPC_BITLSHIFT(be)) macro
99 #define AFUD_NUM_INTS_PER_PROC(val) EXTRACT_PPC_BITS(val, 0, 15)
100 #define AFUD_NUM_PROCS(val) EXTRACT_PPC_BITS(val, 16, 31)
101 #define AFUD_NUM_CRS(val) EXTRACT_PPC_BITS(val, 32, 47)
108 #define AFUD_CR_LEN(val) EXTRACT_PPC_BITS(val, 8, 63)
113 #define AFUD_PPPSA_LEN(val) EXTRACT_PPC_BITS(val, 8, 63)
116 #define AFUD_EB_LEN(val) EXTRACT_PPC_BITS(val, 8, 63)
673 if (EXTRACT_PPC_BITS(afu->eb_offset, 0, 11) != 0) { cxl_read_afu_descriptor()

Completed in 55 milliseconds