Lines Matching defs:bits
35 * The register have write-mask bits, it is mean, if you want to set the bits,
36 * you needs set the write-mask bits at the same time,
37 * The write-mask bits is in high 16-bits.
38 * The fllowing macro definition helps access write-mask bits reg efficient!
52 #define BITS_SHIFT(bits, shift) (bits << (shift))
56 #define BITS_WITH_WMASK(bits, msk, shift)\
57 (BITS_SHIFT(bits, shift) | BITS_SHIFT(msk, (shift + REG_MSK_SHIFT)))
149 * The bits of macro value is not more than 12 bits for cmp instruction!