Searched refs:prepare (Results 1 - 12 of 12) sorted by relevance

/darwin-on-arm/xnu/iokit/IOKit/
H A DIOInterleavedMemoryDescriptor.h59 @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. */
105 /*! @function prepare
111 virtual IOReturn prepare(IODirection forDirection = kIODirectionNone);
115 @discussion This method should not be called unless a prepare was previously issued; the prepare() and complete() must occur in pairs, before and after an I/O transfer involving pageable memory.
H A DIOMultiMemoryDescriptor.h57 @param withDirection An I/O direction to be associated with the descriptor, which may affect the operation of the prepare and complete methods on some architectures.
72 @param withDirection An I/O direction to be associated with the descriptor, which may affect the operation of the prepare and complete methods on some architectures.
93 /*! @function prepare
99 virtual IOReturn prepare(IODirection forDirection = kIODirectionNone);
103 @discussion This method should not be called unless a prepare was previously issued; the prepare() and complete() must occur in pairs, before and after an I/O transfer involving pageable memory.
H A DIOSubMemoryDescriptor.h56 kIOMemoryDirectionMask (options:direction) This nibble indicates the I/O direction to be associated with the descriptor, which may affect the operation of the prepare and complete methods on some architectures.
84 virtual IOReturn prepare(IODirection forDirection = kIODirectionNone);
96 // support map() on kIOMemoryTypeVirtual without prepare()
H A DIODMACommand.h186 @param mappingOptions is the type of mapping that is required to translate an IOMemoryDescriptor into the desired number of bits. For instance if your hardware only supports 32 bits but must run on machines with > 4G of RAM some mapping will be required. Number of bits will be specified in numAddressBits, see below.This parameter can take 3 values:- kNonCoherent - used for non-coherent hardware transfers, Mapped - Validate that all I/O bus generated addresses are within the number of addressing bits specified, Bypassed indicates that bypassed addressing is required, this is used when the hardware transferes are into coherent memory but no mapping is required. See also prepare() for failure cases.
209 @param mapType is the type of mapping that is required to translate an IOMemoryDescriptor into the desired number of bits. For instance if your hardware only supports 32 bits but must run on machines with > 4G of RAM some mapping will be required. Number of bits will be specified in numAddressBits, see below. This parameter can take 3 values:- kNonCoherent - used for non-coherent hardware transfers, Mapped - Validate that all I/O bus generated addresses are within the number of addressing bits specified, Bypassed indicates that bypassed addressing is required, this is used when the hardware transfers are into coherent memory but no mapping is required. See also prepare() for failure cases.
244 @param mappingOptions is the type of mapping that is required to translate an IOMemoryDescriptor into the desired number of bits. For instance if your hardware only supports 32 bits but must run on machines with > 4G of RAM some mapping will be required. Number of bits will be specified in numAddressBits, see below.This parameter can take 3 values:- kNonCoherent - used for non-coherent hardware transfers, Mapped - Validate that all I/O bus generated addresses are within the number of addressing bits specified, Bypassed indicates that bypassed addressing is required, this is used when the hardware transferes are into coherent memory but no mapping is required. See also prepare() for failure cases.
261 @discussion The DMA command will configure itself based on the information that it finds in the memory descriptor. It looks for things like the direction of the memory descriptor and whether the current memory descriptor is already mapped into some IOMMU. As a programmer convenience it can also prepare the DMA command immediately. See prepare(). Note the IODMACommand is designed to used multiple times with a succession of memory descriptors, making the pooling of commands possible. It is an error though to attempt to reset a currently prepared() DMA command. Warning: This routine may block so never try to autoprepare an IODMACommand while in a gated context, i.e. one of the WorkLoops action call outs.
263 @param autoPrepare An optional boolean variable that will call the prepare() function automatically after the memory descriptor is processed. Defaults to true.
264 @result Returns kIOReturnSuccess, kIOReturnBusy if currently prepared, kIOReturnNoSpace if the length(mem) >= Maximum Transfer Size or the error codes returned by prepare() (qv).
281 /*! @function prepare
284 @param offset defines the starting offset in the memory descriptor the DMA command will operate on. genIOVMSegments will produce its results based on the offset and length passed to the prepare method.
285 @param length defines the ending position in the memory descriptor the DMA command will operate on. genIOVMSegments will produce its results based on the offset and length passed to the prepare metho
[all...]
H A DIOMemoryDescriptor.h306 @param withDirection An I/O direction to be associated with the descriptor, which may affect the operation of the prepare and complete methods on some architectures.
317 task_t withTask) APPLE_KEXT_DEPRECATED; /* use withAddressRange() and prepare() instead */
325 @param withDirection An I/O direction to be associated with the descriptor, which may affect the operation of the prepare and complete methods on some architectures.
347 kIOMemoryDirectionMask (options:direction) This nibble indicates the I/O direction to be associated with the descriptor, which may affect the operation of the prepare and complete methods on some architectures.
363 kIOMemoryDirectionMask (options:direction) This nibble indicates the I/O direction to be associated with the descriptor, which may affect the operation of the prepare and complete methods on some architectures.
388 kIOMemoryDirectionMask (options:direction) This nibble indicates the I/O direction to be associated with the descriptor, which may affect the operation of the prepare and complete methods on some architectures.
519 /*! @function prepare
521 @discussion This involves paging in the memory, if necessary, and wiring it down for the duration of the transfer. The complete() method completes the processing of the memory after the I/O transfer finishes. Note that the prepare call is not thread safe and it is expected that the client will more easily be able to guarantee single threading a particular memory descriptor.
525 virtual IOReturn prepare(IODirection forDirection = kIODirectionNone) = 0;
529 @discussion This method should not be called unless a prepare wa
[all...]
/darwin-on-arm/xnu/iokit/Kernel/
H A DIOSubMemoryDescriptor.cpp143 IOReturn IOSubMemoryDescriptor::prepare( function in class:IOSubMemoryDescriptor
148 err = _parent->prepare( forDirection);
H A DIOInterleavedMemoryDescriptor.cpp176 IOReturn IOInterleavedMemoryDescriptor::prepare(IODirection forDirection) function in class:IOInterleavedMemoryDescriptor
197 status = _descriptors[index]->prepare(forDirection);
220 // This method shouldn't be called unless a prepare() was previously issued;
221 // the prepare() and complete() must occur in pairs, before and after an I/O
H A DIOMultiMemoryDescriptor.cpp150 IOReturn IOMultiMemoryDescriptor::prepare(IODirection forDirection) function in class:IOMultiMemoryDescriptor
171 status = _descriptors[index]->prepare(forDirection);
192 // This method shouldn't be called unless a prepare() was previously issued;
193 // the prepare() and complete() must occur in pairs, before and after an I/O
H A DIODMACommand.cpp282 err = prepare();
677 return prepare(offset, length, flushCache, synchronize);
682 IODMACommand::prepare(UInt64 offset, UInt64 length, bool flushCache, bool synchronize) function in class:IODMACommand
H A DIOMemoryDescriptor.cpp559 // Auto-prepare if this is a kernel memory descriptor as very few
560 // clients bother to prepare() kernel memory.
870 // Auto-prepare memory at creation time.
886 && prepare() != kIOReturnSuccess)
1007 if( prepare() == kIOReturnSuccess) {
2438 * prepare
2447 IOReturn IOGeneralMemoryDescriptor::prepare(IODirection forDirection)
2484 * This method should not be called unless a prepare was previously
2485 * issued; the prepare() and complete() must occur in pairs, before
H A DIOHibernateIO.cpp1688 if (vars->previewBuffer && (kIOReturnSuccess != vars->previewBuffer->prepare()))
H A DIOPMrootDomain.cpp7867 pmTraceMemoryDescriptor->prepare(kIODirectionIn);

Completed in 50 milliseconds