Home
last modified time | relevance | path

Searched refs:BIT_LOW (Results 1 – 1 of 1) sorted by relevance

/system/ulib/hwreg/include/hwreg/
A Dbitfields.h250 #define DEF_FIELD(BIT_HIGH, BIT_LOW, NAME) \ argument
251 static_assert((BIT_HIGH) >= (BIT_LOW), "Upper bit goes before lower bit"); \
253 hwreg::internal::Field<SelfType> Field ## BIT_HIGH ## _ ## BIT_LOW = \
254 hwreg::internal::Field<SelfType>(this, #NAME, (BIT_HIGH), (BIT_LOW)); \
256 return hwreg::BitfieldRef<const ValueType>(reg_value_ptr(), (BIT_HIGH), (BIT_LOW)).get(); \
259 hwreg::BitfieldRef<ValueType>(reg_value_ptr(), (BIT_HIGH), (BIT_LOW)).set(val); \
270 #define DEF_RSVDZ_FIELD(BIT_HIGH, BIT_LOW) \ argument
271 static_assert((BIT_HIGH) >= (BIT_LOW), "Upper bit goes before lower bit"); \
273 hwreg::internal::Field<SelfType> Field ## BIT_HIGH ## _ ## BIT_LOW = \
274 hwreg::internal::Field<SelfType>(this, "RsvdZ", (BIT_HIGH), (BIT_LOW)); \
[all …]

Completed in 3 milliseconds