Searched refs:__seg (Results 1 – 1 of 1) sorted by relevance
161 static inline uint16_t OFFS_WRT(const volatile void *__p, uint16_t __seg) in OFFS_WRT() argument163 return (uint16_t) ((uintptr_t) __p - ((uintptr_t) __seg << 4)); in OFFS_WRT()169 uint16_t __seg) in _OFFS_VALID() argument171 uintptr_t __segstart = (uintptr_t)__seg << 4; in _OFFS_VALID()177 static inline void *MK_PTR(uint16_t __seg, uint16_t __offs) in MK_PTR() argument179 return (void *)(unsigned long)((__seg << 4) + __offs); in MK_PTR()