Searched refs:bitsize (Results 1 – 7 of 7) sorted by relevance
97 #define NFP_PCIE_P2C_FIXED_SIZE(bar) (1 << (bar)->bitsize)98 #define NFP_PCIE_P2C_BULK_SIZE(bar) (1 << (bar)->bitsize)99 #define NFP_PCIE_P2C_GENERAL_TARGET_OFFSET(bar, x) ((x) << ((bar)->bitsize - 2))100 #define NFP_PCIE_P2C_GENERAL_TOKEN_OFFSET(bar, x) ((x) << ((bar)->bitsize - 4))101 #define NFP_PCIE_P2C_GENERAL_SIZE(bar) (1 << ((bar)->bitsize - 4))135 u32 bitsize; /* Bit size of the bar */ member170 int bitsize; member200 int bitsize; in compute_bar() local237 bitsize = 40 - 16; in compute_bar()252 bitsize = 40 - 21; in compute_bar()[all …]
172 size_t bitsize = sizeof(fault->opcodes) * BITS_PER_BYTE; in fault_opcodes_read() local180 bit = find_first_bit(fault->opcodes, bitsize); in fault_opcodes_read()181 while (bit < bitsize) { in fault_opcodes_read()182 zero = find_next_zero_bit(fault->opcodes, bitsize, bit); in fault_opcodes_read()191 bit = find_next_bit(fault->opcodes, bitsize, zero); in fault_opcodes_read()
159 static inline u32 amap_mask(u32 bitsize) in amap_mask() argument161 return (bitsize == 32 ? 0xFFFFFFFF : (1 << bitsize) - 1); in amap_mask()
830 static inline u32 amap_mask(u32 bitsize) in amap_mask() argument832 return (bitsize == 32 ? 0xFFFFFFFF : (1 << bitsize) - 1); in amap_mask()
52 u16 bitsize; /* key bit size */ member
72 if (keybitsize > 0 && t->bitsize != keybitsize) { in cca_check_secaeskeytoken()75 __func__, (int) t->bitsize, keybitsize); in cca_check_secaeskeytoken()
281 *pkeysize = t->bitsize; in pkey_verifykey()680 *ksize = (enum pkey_key_size) t->bitsize; in pkey_verifykey2()