#ifndef EF4_BITFIELD_H
#define EF4_BITFIELD_H
#define EF4_DUMMY_FIELD_LBN …
#define EF4_DUMMY_FIELD_WIDTH …
#define EF4_WORD_0_LBN …
#define EF4_WORD_0_WIDTH …
#define EF4_WORD_1_LBN …
#define EF4_WORD_1_WIDTH …
#define EF4_DWORD_0_LBN …
#define EF4_DWORD_0_WIDTH …
#define EF4_DWORD_1_LBN …
#define EF4_DWORD_1_WIDTH …
#define EF4_DWORD_2_LBN …
#define EF4_DWORD_2_WIDTH …
#define EF4_DWORD_3_LBN …
#define EF4_DWORD_3_WIDTH …
#define EF4_QWORD_0_LBN …
#define EF4_QWORD_0_WIDTH …
#define EF4_VAL(field, attribute) …
#define EF4_LOW_BIT(field) …
#define EF4_WIDTH(field) …
#define EF4_HIGH_BIT(field) …
#define EF4_MASK64(width) …
#define EF4_MASK32(width) …
ef4_dword_t;
ef4_qword_t;
ef4_oword_t;
#define EF4_DWORD_FMT …
#define EF4_QWORD_FMT …
#define EF4_OWORD_FMT …
#define EF4_DWORD_VAL(dword) …
#define EF4_QWORD_VAL(qword) …
#define EF4_OWORD_VAL(oword) …
#define EF4_EXTRACT_NATIVE(native_element, min, max, low, high) …
#define EF4_EXTRACT64(element, min, max, low, high) …
#define EF4_EXTRACT32(element, min, max, low, high) …
#define EF4_EXTRACT_OWORD64(oword, low, high) …
#define EF4_EXTRACT_QWORD64(qword, low, high) …
#define EF4_EXTRACT_OWORD32(oword, low, high) …
#define EF4_EXTRACT_QWORD32(qword, low, high) …
#define EF4_EXTRACT_DWORD(dword, low, high) …
#define EF4_OWORD_FIELD64(oword, field) …
#define EF4_QWORD_FIELD64(qword, field) …
#define EF4_OWORD_FIELD32(oword, field) …
#define EF4_QWORD_FIELD32(qword, field) …
#define EF4_DWORD_FIELD(dword, field) …
#define EF4_OWORD_IS_ZERO64(oword) …
#define EF4_QWORD_IS_ZERO64(qword) …
#define EF4_OWORD_IS_ZERO32(oword) …
#define EF4_QWORD_IS_ZERO32(qword) …
#define EF4_DWORD_IS_ZERO(dword) …
#define EF4_OWORD_IS_ALL_ONES64(oword) …
#define EF4_QWORD_IS_ALL_ONES64(qword) …
#define EF4_OWORD_IS_ALL_ONES32(oword) …
#define EF4_QWORD_IS_ALL_ONES32(qword) …
#define EF4_DWORD_IS_ALL_ONES(dword) …
#if BITS_PER_LONG == 64
#define EF4_OWORD_FIELD …
#define EF4_QWORD_FIELD …
#define EF4_OWORD_IS_ZERO …
#define EF4_QWORD_IS_ZERO …
#define EF4_OWORD_IS_ALL_ONES …
#define EF4_QWORD_IS_ALL_ONES …
#else
#define EF4_OWORD_FIELD …
#define EF4_QWORD_FIELD …
#define EF4_OWORD_IS_ZERO …
#define EF4_QWORD_IS_ZERO …
#define EF4_OWORD_IS_ALL_ONES …
#define EF4_QWORD_IS_ALL_ONES …
#endif
#define EF4_INSERT_NATIVE64(min, max, low, high, value) …
#define EF4_INSERT_NATIVE32(min, max, low, high, value) …
#define EF4_INSERT_NATIVE(min, max, low, high, value) …
#define EF4_INSERT_FIELD_NATIVE(min, max, field, value) …
#define EF4_INSERT_FIELDS_NATIVE(min, max, \
field1, value1, \
field2, value2, \
field3, value3, \
field4, value4, \
field5, value5, \
field6, value6, \
field7, value7, \
field8, value8, \
field9, value9, \
field10, value10) …
#define EF4_INSERT_FIELDS64(...) …
#define EF4_INSERT_FIELDS32(...) …
#define EF4_POPULATE_OWORD64(oword, ...) …
#define EF4_POPULATE_QWORD64(qword, ...) …
#define EF4_POPULATE_OWORD32(oword, ...) …
#define EF4_POPULATE_QWORD32(qword, ...) …
#define EF4_POPULATE_DWORD(dword, ...) …
#if BITS_PER_LONG == 64
#define EF4_POPULATE_OWORD …
#define EF4_POPULATE_QWORD …
#else
#define EF4_POPULATE_OWORD …
#define EF4_POPULATE_QWORD …
#endif
#define EF4_POPULATE_OWORD_10 …
#define EF4_POPULATE_OWORD_9(oword, ...) …
#define EF4_POPULATE_OWORD_8(oword, ...) …
#define EF4_POPULATE_OWORD_7(oword, ...) …
#define EF4_POPULATE_OWORD_6(oword, ...) …
#define EF4_POPULATE_OWORD_5(oword, ...) …
#define EF4_POPULATE_OWORD_4(oword, ...) …
#define EF4_POPULATE_OWORD_3(oword, ...) …
#define EF4_POPULATE_OWORD_2(oword, ...) …
#define EF4_POPULATE_OWORD_1(oword, ...) …
#define EF4_ZERO_OWORD(oword) …
#define EF4_SET_OWORD(oword) …
#define EF4_POPULATE_QWORD_10 …
#define EF4_POPULATE_QWORD_9(qword, ...) …
#define EF4_POPULATE_QWORD_8(qword, ...) …
#define EF4_POPULATE_QWORD_7(qword, ...) …
#define EF4_POPULATE_QWORD_6(qword, ...) …
#define EF4_POPULATE_QWORD_5(qword, ...) …
#define EF4_POPULATE_QWORD_4(qword, ...) …
#define EF4_POPULATE_QWORD_3(qword, ...) …
#define EF4_POPULATE_QWORD_2(qword, ...) …
#define EF4_POPULATE_QWORD_1(qword, ...) …
#define EF4_ZERO_QWORD(qword) …
#define EF4_SET_QWORD(qword) …
#define EF4_POPULATE_DWORD_10 …
#define EF4_POPULATE_DWORD_9(dword, ...) …
#define EF4_POPULATE_DWORD_8(dword, ...) …
#define EF4_POPULATE_DWORD_7(dword, ...) …
#define EF4_POPULATE_DWORD_6(dword, ...) …
#define EF4_POPULATE_DWORD_5(dword, ...) …
#define EF4_POPULATE_DWORD_4(dword, ...) …
#define EF4_POPULATE_DWORD_3(dword, ...) …
#define EF4_POPULATE_DWORD_2(dword, ...) …
#define EF4_POPULATE_DWORD_1(dword, ...) …
#define EF4_ZERO_DWORD(dword) …
#define EF4_SET_DWORD(dword) …
#define EF4_INVERT_OWORD(oword) …
#define EF4_AND_OWORD(oword, from, mask) …
#define EF4_OR_OWORD(oword, from, mask) …
#define EF4_INSERT64(min, max, low, high, value) …
#define EF4_INSERT32(min, max, low, high, value) …
#define EF4_INPLACE_MASK64(min, max, low, high) …
#define EF4_INPLACE_MASK32(min, max, low, high) …
#define EF4_SET_OWORD64(oword, low, high, value) …
#define EF4_SET_QWORD64(qword, low, high, value) …
#define EF4_SET_OWORD32(oword, low, high, value) …
#define EF4_SET_QWORD32(qword, low, high, value) …
#define EF4_SET_DWORD32(dword, low, high, value) …
#define EF4_SET_OWORD_FIELD64(oword, field, value) …
#define EF4_SET_QWORD_FIELD64(qword, field, value) …
#define EF4_SET_OWORD_FIELD32(oword, field, value) …
#define EF4_SET_QWORD_FIELD32(qword, field, value) …
#define EF4_SET_DWORD_FIELD(dword, field, value) …
#if BITS_PER_LONG == 64
#define EF4_SET_OWORD_FIELD …
#define EF4_SET_QWORD_FIELD …
#else
#define EF4_SET_OWORD_FIELD …
#define EF4_SET_QWORD_FIELD …
#endif
#define DMA_ADDR_T_WIDTH …
#define EF4_DMA_TYPE_WIDTH(width) …
#define EF4_OWORD32(a, b, c, d) …
#endif