Lines Matching refs:byte_offset
118 #define IBA_FIELD_BLOC(field_struct, byte_offset, bit_offset, num_bits) \ argument
119 field_struct, byte_offset, \
122 #define IBA_FIELD8_LOC(field_struct, byte_offset, num_bits) \ argument
123 IBA_FIELD_BLOC(field_struct, byte_offset, 0, num_bits)
125 #define IBA_FIELD16_LOC(field_struct, byte_offset, num_bits) \ argument
126 field_struct, (byte_offset)&0xFFFE, \
127 GENMASK(15 - (((byte_offset) % 2) * 8), \
128 15 - (((byte_offset) % 2) * 8) - (num_bits - 1)), \
131 #define IBA_FIELD32_LOC(field_struct, byte_offset, num_bits) \ argument
132 field_struct, (byte_offset)&0xFFFC, \
133 GENMASK(31 - (((byte_offset) % 4) * 8), \
134 31 - (((byte_offset) % 4) * 8) - (num_bits - 1)), \
137 #define IBA_FIELD64_LOC(field_struct, byte_offset) \ argument
138 field_struct, byte_offset, GENMASK_ULL(63, 0), 64
143 #define IBA_FIELD_MLOC(field_struct, byte_offset, num_bits, type) \ argument
144 field_struct, byte_offset, type, num_bits