Home
last modified time | relevance | path

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

/xnu-11215/libkern/gen/
H A DOSAtomicOperations.c63 OSCompareAndSwap16(UInt16 oldValue, UInt16 newValue, volatile UInt16 *address) in OSCompareAndSwap16()
248 UInt16
249 OSBitAndAtomic16(UInt32 mask, volatile UInt16 * value) in OSBitAndAtomic16()
251 return os_atomic_and_orig(value, (UInt16)mask, relaxed); in OSBitAndAtomic16()
254 UInt16
255 OSBitOrAtomic16(UInt32 mask, volatile UInt16 * value) in OSBitOrAtomic16()
257 return os_atomic_or_orig(value, (UInt16)mask, relaxed); in OSBitOrAtomic16()
260 UInt16
261 OSBitXorAtomic16(UInt32 mask, volatile UInt16 * value) in OSBitXorAtomic16()
263 return os_atomic_xor_orig(value, (UInt16)mask, relaxed); in OSBitXorAtomic16()
/xnu-11215/libkern/libkern/
H A DOSAtomic.h222 UInt16 oldValue,
223 UInt16 newValue,
224 volatile UInt16 * address);
226 (OSCompareAndSwap16(a, b, __SAFE_CAST_PTR(volatile UInt16*,c)))
458 extern UInt16 OSBitAndAtomic16(
460 volatile UInt16 * address);
514 extern UInt16 OSBitOrAtomic16(
516 volatile UInt16 * address);
570 extern UInt16 OSBitXorAtomic16(
572 volatile UInt16 * address);
H A DOSTypes.h44 typedef unsigned short UInt16; typedef
/xnu-11215/libkern/c++/
H A DOSObject.cpp104 return (int) ((UInt16) retainCount); in getRetainCount()
122 if (((UInt16) origCount | 0x1) == 0xffff) { in taggedTryRetain()
182 if (((UInt16) origCount | 0x1) == 0xffff) { in taggedRelease()
204 if ((UInt16) actualCount < when) { in taggedRelease()
222 if ((UInt16) actualCount < (actualCount >> 16)) { in taggedRelease()
/xnu-11215/iokit/Kernel/
H A DIOMapper.cpp305 UInt16
312 return (UInt16) ml_phys_read_half_64(addr); in IOMappedRead16()
314 return (UInt16) ml_phys_read_half((vm_offset_t) address); in IOMappedRead16()
358 IOMappedWrite16(IOPhysicalAddress address, UInt16 value) in IOMappedWrite16()
H A DIOServicePM.cpp7028 UInt16 serialComponent; in responseValid()
7029 UInt16 ordinalComponent; in responseValid()
/xnu-11215/iokit/IOKit/
H A DIOLib.h491 UInt16 IOMappedRead16(IOPhysicalAddress address);
523 void IOMappedWrite16(IOPhysicalAddress address, UInt16 value);
/xnu-11215/bsd/netinet/
H A Din_pcb.c3021 if ((UInt16) origwant == 0xffff) { /* should stop using */ in in_pcb_checkstate()
3025 if ((UInt16) origwant == 0) { in in_pcb_checkstate()
3039 if ((UInt16) origwant == 0xffff) { in in_pcb_checkstate()
3058 if ((UInt16) origwant == 0x0) { in in_pcb_checkstate()
3063 if ((UInt16) origwant == 0xffff) { in in_pcb_checkstate()