Searched refs:uintptr (Results 1 – 4 of 4) sorted by relevance
65 typedef unsigned long long int uintptr; typedef209 typedef unsigned int uintptr; typedef331 #define DISCARD_QUAL(ptr, type) ((type *)(uintptr)(ptr))
621 #define ISALIGNED(a, x) (((uintptr)(a) & ((x) - 1)) == 0)622 #define ALIGN_ADDR(addr, boundary) (void *)(((uintptr)(addr) + (boundary) - 1) \639 #define OFFSETOF(type, member) ((uint)(uintptr)&((type *)0)->member)768 (((uintptr)src1 | (uintptr)src2 | (uintptr)dst) & 3) == 0) { in xor_128bit_block()
173 if (((uintptr)pktdata & ~0x7ff) != ((uintptr)(pktdata+len) & ~0x7ff)) in pktsegcnt_war()176 align64 = (uint)((uintptr)pktdata & 0x3f); /* aligned to 64B */ in pktsegcnt_war()1131 ASSERT(ISALIGNED((uintptr)pktdata, sizeof(uint16))); in pktsetprio()
1250 if (!ISALIGNED((uintptr)bufp, sizeof(uint16))) { in dhd_sprom()1285 if (!ISALIGNED((uintptr)bufp, sizeof(uint16))) { in dhd_sprom()1326 if (!ISALIGNED((uintptr)bufp, sizeof(uint16))) { in dhd_sprom()