Searched refs:EXTRACT_PPC_BITS (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.6/drivers/misc/cxl/ |
D | pci.c | 92 #define EXTRACT_PPC_BITS(val, bs, be) ((val & PPC_BITMASK(bs, be)) >> PPC_BITLSHIFT(be)) macro 95 #define AFUD_NUM_INTS_PER_PROC(val) EXTRACT_PPC_BITS(val, 0, 15) 96 #define AFUD_NUM_PROCS(val) EXTRACT_PPC_BITS(val, 16, 31) 97 #define AFUD_NUM_CRS(val) EXTRACT_PPC_BITS(val, 32, 47) 104 #define AFUD_CR_LEN(val) EXTRACT_PPC_BITS(val, 8, 63) 109 #define AFUD_PPPSA_LEN(val) EXTRACT_PPC_BITS(val, 8, 63) 112 #define AFUD_EB_LEN(val) EXTRACT_PPC_BITS(val, 8, 63) 866 if (EXTRACT_PPC_BITS(afu->eb_offset, 0, 11) != 0) { in cxl_read_afu_descriptor()
|