Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/i86pc/io/amd_iommu/
H A Damd_iommu_impl.h271 #define BITPOS_END(b) ((b) & 0xFFFF) macro
290 (((*(rp)) & (START_MASK64(BITPOS_START(b)))) >> BITPOS_END(b))
295 (((*(rp)) & (START_MASK32(BITPOS_START(b)))) >> BITPOS_END(b))
297 (((*(rp)) & (START_MASK16(BITPOS_START(b)))) >> BITPOS_END(b))
299 (((*(rp)) & (START_MASK8(BITPOS_START(b)))) >> BITPOS_END(b))
303 (((uint64_t)(*(rp)) & ~(BIT_MASK64(BITPOS_START(b), BITPOS_END(b)))) \
304 | ((uint64_t)(v) << BITPOS_END(b))))
313 (((uint32_t)(*(rp)) & ~(BIT_MASK32(BITPOS_START(b), BITPOS_END(b)))) \
314 | ((uint32_t)(v) << BITPOS_END(b))))
318 (((uint16_t)(*(rp)) & ~(BIT_MASK16(BITPOS_START(b), BITPOS_END(b)))) \
[all …]