/darwin-on-arm/xnu/iokit/IOKit/ |
H A D | IOMemoryCursor.h | 42 specific memory cursors must inherit from, but a memory cursor can be created without a specific format subclass by just providing a segment function to the initializers. This class does the difficult stuff of dividing a memory descriptor into a physical scatter/gather list appropriate for the target hardware. 136 @abstract Generates a physical scatter/gather list given a memory descriptor. 137 @discussion Generates a list of physical segments from the given memory descriptor, relative to the current position of the descriptor. 138 @param descriptor IOMemoryDescriptor that describes the data associated with an I/O request. 139 @param fromPosition Starting location of the I/O within a memory descriptor. 144 @result If the descriptor is exhausted of memory, a zero is returned, otherwise the number of segments that were filled in is returned. 147 IOMemoryDescriptor *descriptor, 209 @abstract Generates a CPU natural physical scatter/gather list given a memory descriptor. 210 @discussion Generates a list of physical segments from the given memory descriptor, relativ 219 getPhysicalSegments(IOMemoryDescriptor *descriptor, IOByteCount fromPosition, PhysicalSegment *segments, UInt32 maxSegments, UInt32 inMaxTransferSize = 0, IOByteCount *transferSize = 0) argument 295 getPhysicalSegments(IOMemoryDescriptor * descriptor, IOByteCount fromPosition, PhysicalSegment * segments, UInt32 maxSegments, UInt32 inMaxTransferSize = 0, IOByteCount * transferSize = 0) argument 369 getPhysicalSegments(IOMemoryDescriptor * descriptor, IOByteCount fromPosition, PhysicalSegment * segments, UInt32 maxSegments, UInt32 inMaxTransferSize = 0, IOByteCount * transferSize = 0) argument [all...] |
H A D | IOInterleavedMemoryDescriptor.h | 59 @param direction An I/O direction to be associated with the descriptor, which may affect the operation of the prepare and complete methods on some architectures. 69 @param direction An I/O direction to be associated with the descriptor, which may affect the operation of the prepare and complete methods on some architectures. 78 @param direction An I/O direction to be associated with the descriptor, which may affect the operation of the prepare and complete methods on some architectures. */ 85 @param descriptor An IOMemoryDescriptor to be added to the IOInterleavedMemoryDescriptor. Its direction must be compatible with that of the IOInterleavedMemoryDescriptor. 90 virtual bool setMemoryDescriptor( IOMemoryDescriptor * descriptor, 95 @abstract Break a memory descriptor into its physically contiguous segments. 108 @param forDirection The direction of the I/O to be performed, or kIODirectionNone for the direction specified by the memory descriptor. 116 @param forDirection The direction of the I/O just completed, or kIODirectionNone for the direction specified by the memory descriptor.
|
/darwin-on-arm/xnu/bsd/netat/ |
H A D | adsp_Control.c | 197 sp->f.descriptor = ADSP_CONTROL_BIT | ADSP_CTL_OREQ; 201 sp->f.descriptor = ADSP_CONTROL_BIT | ADSP_CTL_OACK; 205 sp->f.descriptor = ADSP_CONTROL_BIT | ADSP_CTL_OREQACK; 210 sp->f.descriptor = ADSP_CONTROL_BIT | ADSP_CTL_ODENY; 234 sp->f.descriptor = ADSP_CONTROL_BIT | ADSP_CTL_CLOSE; 237 sp->f.descriptor = 241 sp->f.descriptor = ADSP_CONTROL_BIT | ADSP_CTL_FRESET; 246 sp->f.descriptor = ADSP_CONTROL_BIT | ADSP_CTL_FRESET_ACK; 250 sp->f.descriptor = ADSP_CONTROL_BIT | ADSP_CTL_RETRANSMIT; 268 sp->f.descriptor [all...] |
H A D | adsp_Packet.c | 391 byte descriptor; member in struct:__anon317 575 adspp->descriptor = ADSP_CONTROL_BIT | ADSP_CTL_ODENY; 587 m.descriptor = f->descriptor; 590 m.idx = ((f->descriptor & ADSP_CONTROL_MASK) - 1) * 4; 603 if ((f->descriptor & ADSP_CONTROL_MASK) != (byte)ADSP_CTL_OREQ) 757 if (f->descriptor & ADSP_ATTENTION_BIT) { /* ATTN packet */ 764 else if (f->descriptor & ADSP_CONTROL_BIT) { /* Control packet */ 765 switch (f->descriptor & ADSP_CONTROL_MASK) {
|
H A D | adsp_CLDeny.c | 88 adspp->descriptor = ADSP_CONTROL_BIT | ADSP_CTL_ODENY;
|
H A D | adsp_RxData.c | 124 if (f->descriptor & ADSP_ACK_REQ_BIT) { /* He wants an Ack */ 285 eom = (f->descriptor & ADSP_EOM_BIT) ? 1 : 0;
|
H A D | adsp_RxAttn.c | 147 if ((f->descriptor ==
|
H A D | adsp.h | 614 u_char descriptor; /* Bit-Mapped */ member in struct:__anon314
|
/darwin-on-arm/xnu/iokit/Kernel/ |
H A D | IOInterleavedMemoryDescriptor.cpp | 42 // a single memory descriptor. 65 // a single memory descriptor. 127 IOMemoryDescriptor * descriptor, 134 if ( (offset + length) > descriptor->getLength() ) 137 // if ( descriptor->getDirection() != getDirection() ) 140 descriptor->retain(); 141 _descriptors[_descriptorCount] = descriptor; 126 setMemoryDescriptor( IOMemoryDescriptor * descriptor, IOByteCount offset, IOByteCount length ) argument
|
H A D | IODataQueue.cpp | 234 IOMemoryDescriptor *descriptor = 0; local 237 descriptor = IOMemoryDescriptor::withAddress(dataQueue, dataQueue->queueSize + DATA_QUEUE_MEMORY_HEADER_SIZE, kIODirectionOutIn); 240 return descriptor;
|
H A D | IOSharedDataQueue.cpp | 107 IOMemoryDescriptor *descriptor = 0; local 110 descriptor = IOMemoryDescriptor::withAddress(dataQueue, dataQueue->queueSize + DATA_QUEUE_MEMORY_HEADER_SIZE + DATA_QUEUE_MEMORY_APPENDIX_SIZE, kIODirectionOutIn); 113 return descriptor;
|
/darwin-on-arm/xnu/tools/tests/libMicro/apple/ |
H A D | lb_mmtest.c | 129 mach_msg_ool_descriptor_t descriptor; member in struct:__anon1353 189 (vm_address_t)complex_request->descriptor.address, 190 complex_request->descriptor.size); 264 complexmsg->descriptor.address = ts->ints; 265 complexmsg->descriptor.size = ts->num_ints * sizeof(u_int32_t); 266 complexmsg->descriptor.deallocate = FALSE; 267 complexmsg->descriptor.copy = MACH_MSG_VIRTUAL_COPY; 268 complexmsg->descriptor.type = MACH_MSG_OOL_DESCRIPTOR;
|
/darwin-on-arm/xnu/tools/tests/MPMMTest/ |
H A D | MPMMtest.c | 39 mach_msg_ool_descriptor_t descriptor; member in struct:__anon1333 396 (vm_address_t)((ipc_complex_message *)args.req_msg)->descriptor.address, 397 ((ipc_complex_message *)args.req_msg)->descriptor.size); 560 ((ipc_complex_message *)req)->descriptor.address = ints; 561 ((ipc_complex_message *)req)->descriptor.size = 563 ((ipc_complex_message *)req)->descriptor.deallocate = FALSE; 564 ((ipc_complex_message *)req)->descriptor.copy = MACH_MSG_VIRTUAL_COPY; 565 ((ipc_complex_message *)req)->descriptor.type = MACH_MSG_OOL_DESCRIPTOR;
|
H A D | KQMPMMtest.c | 41 mach_msg_ool_descriptor_t descriptor; member in struct:__anon1328 448 (vm_address_t)((ipc_complex_message *)args.req_msg)->descriptor.address, 449 ((ipc_complex_message *)args.req_msg)->descriptor.size); 613 ((ipc_complex_message *)req)->descriptor.address = ints; 614 ((ipc_complex_message *)req)->descriptor.size = 616 ((ipc_complex_message *)req)->descriptor.deallocate = FALSE; 617 ((ipc_complex_message *)req)->descriptor.copy = MACH_MSG_VIRTUAL_COPY; 618 ((ipc_complex_message *)req)->descriptor.type = MACH_MSG_OOL_DESCRIPTOR;
|