#ifndef EFX_BITFIELD_H
#define EFX_BITFIELD_H
#define EFX_DUMMY_FIELD_LBN …
#define EFX_DUMMY_FIELD_WIDTH …
#define EFX_WORD_0_LBN …
#define EFX_WORD_0_WIDTH …
#define EFX_WORD_1_LBN …
#define EFX_WORD_1_WIDTH …
#define EFX_DWORD_0_LBN …
#define EFX_DWORD_0_WIDTH …
#define EFX_DWORD_1_LBN …
#define EFX_DWORD_1_WIDTH …
#define EFX_DWORD_2_LBN …
#define EFX_DWORD_2_WIDTH …
#define EFX_DWORD_3_LBN …
#define EFX_DWORD_3_WIDTH …
#define EFX_QWORD_0_LBN …
#define EFX_QWORD_0_WIDTH …
#define EFX_VAL(field, attribute) …
#define EFX_LOW_BIT(field) …
#define EFX_WIDTH(field) …
#define EFX_HIGH_BIT(field) …
#define EFX_MASK64(width) …
#define EFX_MASK32(width) …
efx_dword_t;
efx_qword_t;
efx_oword_t;
#define EFX_DWORD_FMT …
#define EFX_QWORD_FMT …
#define EFX_OWORD_FMT …
#define EFX_DWORD_VAL(dword) …
#define EFX_QWORD_VAL(qword) …
#define EFX_OWORD_VAL(oword) …
#define EFX_EXTRACT_NATIVE(native_element, min, max, low, high) …
#define EFX_EXTRACT64(element, min, max, low, high) …
#define EFX_EXTRACT32(element, min, max, low, high) …
#define EFX_EXTRACT_OWORD64(oword, low, high) …
#define EFX_EXTRACT_QWORD64(qword, low, high) …
#define EFX_EXTRACT_OWORD32(oword, low, high) …
#define EFX_EXTRACT_QWORD32(qword, low, high) …
#define EFX_EXTRACT_DWORD(dword, low, high) …
#define EFX_OWORD_FIELD64(oword, field) …
#define EFX_QWORD_FIELD64(qword, field) …
#define EFX_OWORD_FIELD32(oword, field) …
#define EFX_QWORD_FIELD32(qword, field) …
#define EFX_DWORD_FIELD(dword, field) …
#define EFX_OWORD_IS_ZERO64(oword) …
#define EFX_QWORD_IS_ZERO64(qword) …
#define EFX_OWORD_IS_ZERO32(oword) …
#define EFX_QWORD_IS_ZERO32(qword) …
#define EFX_DWORD_IS_ZERO(dword) …
#define EFX_OWORD_IS_ALL_ONES64(oword) …
#define EFX_QWORD_IS_ALL_ONES64(qword) …
#define EFX_OWORD_IS_ALL_ONES32(oword) …
#define EFX_QWORD_IS_ALL_ONES32(qword) …
#define EFX_DWORD_IS_ALL_ONES(dword) …
#if BITS_PER_LONG == 64
#define EFX_OWORD_FIELD …
#define EFX_QWORD_FIELD …
#define EFX_OWORD_IS_ZERO …
#define EFX_QWORD_IS_ZERO …
#define EFX_OWORD_IS_ALL_ONES …
#define EFX_QWORD_IS_ALL_ONES …
#else
#define EFX_OWORD_FIELD …
#define EFX_QWORD_FIELD …
#define EFX_OWORD_IS_ZERO …
#define EFX_QWORD_IS_ZERO …
#define EFX_OWORD_IS_ALL_ONES …
#define EFX_QWORD_IS_ALL_ONES …
#endif
#define EFX_INSERT_NATIVE64(min, max, low, high, value) …
#define EFX_INSERT_NATIVE32(min, max, low, high, value) …
#define EFX_INSERT_NATIVE(min, max, low, high, value) …
#define EFX_INSERT_FIELD_NATIVE(min, max, field, value) …
#define EFX_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, \
field11, value11, \
field12, value12, \
field13, value13, \
field14, value14, \
field15, value15, \
field16, value16, \
field17, value17, \
field18, value18, \
field19, value19) …
#define EFX_INSERT_FIELDS64(...) …
#define EFX_INSERT_FIELDS32(...) …
#define EFX_POPULATE_OWORD64(oword, ...) …
#define EFX_POPULATE_QWORD64(qword, ...) …
#define EFX_POPULATE_OWORD32(oword, ...) …
#define EFX_POPULATE_QWORD32(qword, ...) …
#define EFX_POPULATE_DWORD(dword, ...) …
#if BITS_PER_LONG == 64
#define EFX_POPULATE_OWORD …
#define EFX_POPULATE_QWORD …
#else
#define EFX_POPULATE_OWORD …
#define EFX_POPULATE_QWORD …
#endif
#define EFX_POPULATE_OWORD_19 …
#define EFX_POPULATE_OWORD_18(oword, ...) …
#define EFX_POPULATE_OWORD_17(oword, ...) …
#define EFX_POPULATE_OWORD_16(oword, ...) …
#define EFX_POPULATE_OWORD_15(oword, ...) …
#define EFX_POPULATE_OWORD_14(oword, ...) …
#define EFX_POPULATE_OWORD_13(oword, ...) …
#define EFX_POPULATE_OWORD_12(oword, ...) …
#define EFX_POPULATE_OWORD_11(oword, ...) …
#define EFX_POPULATE_OWORD_10(oword, ...) …
#define EFX_POPULATE_OWORD_9(oword, ...) …
#define EFX_POPULATE_OWORD_8(oword, ...) …
#define EFX_POPULATE_OWORD_7(oword, ...) …
#define EFX_POPULATE_OWORD_6(oword, ...) …
#define EFX_POPULATE_OWORD_5(oword, ...) …
#define EFX_POPULATE_OWORD_4(oword, ...) …
#define EFX_POPULATE_OWORD_3(oword, ...) …
#define EFX_POPULATE_OWORD_2(oword, ...) …
#define EFX_POPULATE_OWORD_1(oword, ...) …
#define EFX_ZERO_OWORD(oword) …
#define EFX_SET_OWORD(oword) …
#define EFX_POPULATE_QWORD_19 …
#define EFX_POPULATE_QWORD_18(qword, ...) …
#define EFX_POPULATE_QWORD_17(qword, ...) …
#define EFX_POPULATE_QWORD_16(qword, ...) …
#define EFX_POPULATE_QWORD_15(qword, ...) …
#define EFX_POPULATE_QWORD_14(qword, ...) …
#define EFX_POPULATE_QWORD_13(qword, ...) …
#define EFX_POPULATE_QWORD_12(qword, ...) …
#define EFX_POPULATE_QWORD_11(qword, ...) …
#define EFX_POPULATE_QWORD_10(qword, ...) …
#define EFX_POPULATE_QWORD_9(qword, ...) …
#define EFX_POPULATE_QWORD_8(qword, ...) …
#define EFX_POPULATE_QWORD_7(qword, ...) …
#define EFX_POPULATE_QWORD_6(qword, ...) …
#define EFX_POPULATE_QWORD_5(qword, ...) …
#define EFX_POPULATE_QWORD_4(qword, ...) …
#define EFX_POPULATE_QWORD_3(qword, ...) …
#define EFX_POPULATE_QWORD_2(qword, ...) …
#define EFX_POPULATE_QWORD_1(qword, ...) …
#define EFX_ZERO_QWORD(qword) …
#define EFX_SET_QWORD(qword) …
#define EFX_POPULATE_DWORD_19 …
#define EFX_POPULATE_DWORD_18(dword, ...) …
#define EFX_POPULATE_DWORD_17(dword, ...) …
#define EFX_POPULATE_DWORD_16(dword, ...) …
#define EFX_POPULATE_DWORD_15(dword, ...) …
#define EFX_POPULATE_DWORD_14(dword, ...) …
#define EFX_POPULATE_DWORD_13(dword, ...) …
#define EFX_POPULATE_DWORD_12(dword, ...) …
#define EFX_POPULATE_DWORD_11(dword, ...) …
#define EFX_POPULATE_DWORD_10(dword, ...) …
#define EFX_POPULATE_DWORD_9(dword, ...) …
#define EFX_POPULATE_DWORD_8(dword, ...) …
#define EFX_POPULATE_DWORD_7(dword, ...) …
#define EFX_POPULATE_DWORD_6(dword, ...) …
#define EFX_POPULATE_DWORD_5(dword, ...) …
#define EFX_POPULATE_DWORD_4(dword, ...) …
#define EFX_POPULATE_DWORD_3(dword, ...) …
#define EFX_POPULATE_DWORD_2(dword, ...) …
#define EFX_POPULATE_DWORD_1(dword, ...) …
#define EFX_ZERO_DWORD(dword) …
#define EFX_SET_DWORD(dword) …
#define EFX_INVERT_OWORD(oword) …
#define EFX_AND_OWORD(oword, from, mask) …
#define EFX_AND_QWORD(qword, from, mask) …
#define EFX_OR_OWORD(oword, from, mask) …
#define EFX_INSERT64(min, max, low, high, value) …
#define EFX_INSERT32(min, max, low, high, value) …
#define EFX_INPLACE_MASK64(min, max, low, high) …
#define EFX_INPLACE_MASK32(min, max, low, high) …
#define EFX_SET_OWORD64(oword, low, high, value) …
#define EFX_SET_QWORD64(qword, low, high, value) …
#define EFX_SET_OWORD32(oword, low, high, value) …
#define EFX_SET_QWORD32(qword, low, high, value) …
#define EFX_SET_DWORD32(dword, low, high, value) …
#define EFX_SET_OWORD_FIELD64(oword, field, value) …
#define EFX_SET_QWORD_FIELD64(qword, field, value) …
#define EFX_SET_OWORD_FIELD32(oword, field, value) …
#define EFX_SET_QWORD_FIELD32(qword, field, value) …
#define EFX_SET_DWORD_FIELD(dword, field, value) …
#if BITS_PER_LONG == 64
#define EFX_SET_OWORD_FIELD …
#define EFX_SET_QWORD_FIELD …
#else
#define EFX_SET_OWORD_FIELD …
#define EFX_SET_QWORD_FIELD …
#endif
#define DMA_ADDR_T_WIDTH …
#define EFX_DMA_TYPE_WIDTH(width) …
#define EFX_OWORD32(a, b, c, d) …
#endif