Searched refs:_word (Results 1 – 3 of 3) sorted by relevance
149 #define HAL_DESC_64_SET_FIELD(_desc, _word, _fld, _value) do { \ argument150 ((uint64_t *)(_desc))[(_word ## _ ## _fld ## _OFFSET) >> 3] &= \151 ~(_word ## _ ## _fld ## _MASK); \152 ((uint64_t *)(_desc))[(_word ## _ ## _fld ## _OFFSET) >> 3] |= \153 (((uint64_t)(_value)) << _word ## _ ## _fld ## _LSB); \
135 #define HAL_DESC_SET_FIELD(_desc, _word, _fld, _value) do { \ argument136 ((uint32_t *)(_desc))[(_word ## _ ## _fld ## _OFFSET) >> 2] &= \137 ~(_word ## _ ## _fld ## _MASK); \138 ((uint32_t *)(_desc))[(_word ## _ ## _fld ## _OFFSET) >> 2] |= \139 ((_value) << _word ## _ ## _fld ## _LSB); \
86 #define _HAL_MS(_word, _mask, _shift) \ argument87 (((_word) & (_mask)) >> (_shift))