Home
last modified time | relevance | path

Searched refs:byteOffset (Results 1 – 6 of 6) sorted by relevance

/xnu-11215/libkern/libkern/
H A DOSByteOrder.h169 #define OSReadBigInt16(base, byteOffset) _OSReadInt16(base, byteOffset) argument
170 #define OSReadBigInt32(base, byteOffset) _OSReadInt32(base, byteOffset) argument
171 #define OSReadBigInt64(base, byteOffset) _OSReadInt64(base, byteOffset) argument
181 #define OSReadLittleInt16(base, byteOffset) OSReadSwapInt16(base, byteOffset) argument
182 #define OSReadLittleInt32(base, byteOffset) OSReadSwapInt32(base, byteOffset) argument
243 #define OSReadBigInt16(base, byteOffset) OSReadSwapInt16(base, byteOffset) argument
244 #define OSReadBigInt32(base, byteOffset) OSReadSwapInt32(base, byteOffset) argument
245 #define OSReadBigInt64(base, byteOffset) OSReadSwapInt64(base, byteOffset) argument
255 #define OSReadLittleInt16(base, byteOffset) _OSReadInt16(base, byteOffset) argument
256 #define OSReadLittleInt32(base, byteOffset) _OSReadInt32(base, byteOffset) argument
[all …]
/xnu-11215/libkern/libkern/i386/
H A DOSByteOrder.h44 uintptr_t byteOffset in OSReadSwapInt16() argument
49 result = *(volatile uint16_t *)((uintptr_t)base + byteOffset); in OSReadSwapInt16()
57 uintptr_t byteOffset in OSReadSwapInt32() argument
62 result = *(volatile uint32_t *)((uintptr_t)base + byteOffset); in OSReadSwapInt32()
70 uintptr_t byteOffset in OSReadSwapInt64() argument
75 result = *(volatile uint64_t *)((uintptr_t)base + byteOffset); in OSReadSwapInt64()
85 uintptr_t byteOffset, in OSWriteSwapInt16() argument
89 *(volatile uint16_t *)((uintptr_t)base + byteOffset) = _OSSwapInt16(data); in OSWriteSwapInt16()
96 uintptr_t byteOffset, in OSWriteSwapInt32() argument
100 *(volatile uint32_t *)((uintptr_t)base + byteOffset) = _OSSwapInt32(data); in OSWriteSwapInt32()
[all …]
/xnu-11215/libkern/libkern/machine/
H A DOSByteOrder.h81 uintptr_t byteOffset in OSReadSwapInt16() argument
84 uint16_t data = *(volatile uint16_t *)((uintptr_t)base + byteOffset); in OSReadSwapInt16()
92 uintptr_t byteOffset in OSReadSwapInt32() argument
95 uint32_t data = *(volatile uint32_t *)((uintptr_t)base + byteOffset); in OSReadSwapInt32()
103 uintptr_t byteOffset in OSReadSwapInt64() argument
106 uint64_t data = *(volatile uint64_t *)((uintptr_t)base + byteOffset); in OSReadSwapInt64()
116 uintptr_t byteOffset, in OSWriteSwapInt16() argument
120 *(volatile uint16_t *)((uintptr_t)base + byteOffset) = _OSSwapInt16(data); in OSWriteSwapInt16()
127 uintptr_t byteOffset, in OSWriteSwapInt32() argument
131 *(volatile uint32_t *)((uintptr_t)base + byteOffset) = _OSSwapInt32(data); in OSWriteSwapInt32()
[all …]
/xnu-11215/iokit/Kernel/
H A DIODMAEventSource.cpp104 …and(IODMACommand *dmaCommand, IODirection direction, IOByteCount byteCount, IOByteCount byteOffset) in startDMACommand() argument
120 result = dmaController->startDMACommand(dmaIndex, dmaCommand, direction, byteCount, byteOffset); in startDMACommand()
/xnu-11215/iokit/IOKit/
H A DIODMAController.h53 IOByteCount byteCount = 0, IOByteCount byteOffset = 0) = 0;
H A DIODMAEventSource.h61 …Command *dmaCommand, IODirection direction, IOByteCount byteCount = 0, IOByteCount byteOffset = 0);