Home
last modified time | relevance | path

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

/drivers/net/fsl-mc/dpio/
A Dqbman_private.h59 static inline uint32_t e32_##t(uint32_t lsoffset, uint32_t width, t val) \
62 return ((uint32_t)val & MAKE_MASK32(width)) << lsoffset; \
64 static inline t d32_##t(uint32_t lsoffset, uint32_t width, uint32_t val) \
67 return (t)((val >> lsoffset) & MAKE_MASK32(width)); \
69 static inline uint32_t i32_##t(uint32_t lsoffset, uint32_t width, \
73 return e32_##t(lsoffset, width, d32_##t(lsoffset, width, val)); \
75 static inline uint32_t r32_##t(uint32_t lsoffset, uint32_t width, \
79 return ~(MAKE_MASK32(width) << lsoffset) & val; \
A Dqbman_portal.h118 unsigned int lsoffset; /* encoding offset from ls-bit */ member
129 return d32_uint32_t(code->lsoffset, code->width, cacheline[code->word]); in qb_attr_code_decode()
137 r32_uint32_t(code->lsoffset, code->width, cacheline[code->word]) in qb_attr_code_encode()
138 | e32_uint32_t(code->lsoffset, code->width, val); in qb_attr_code_encode()

Completed in 5 milliseconds