Lines Matching defs:descriptor
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, relative to the current position of the descriptor. Wraps IOMemoryCursor::genPhysicalSegments.
211 @param descriptor IOMemoryDescriptor that describes the data associated with an I/O request.
212 @param fromPosition Starting location of the I/O within a memory descriptor.
217 @result If the descriptor is exhausted of memory, a zero is returned, otherwise the number of segments that were filled in is returned.
219 virtual UInt32 getPhysicalSegments(IOMemoryDescriptor *descriptor,
226 return genPhysicalSegments(descriptor, fromPosition, segments,
285 @abstract Generates a big endian physical scatter/gather list given a memory descriptor.
286 @discussion Generates a list of physical segments from the given memory descriptor, relative to the current position of the descriptor. Wraps IOMemoryCursor::genPhysicalSegments.
287 @param descriptor IOMemoryDescriptor that describes the data associated with an I/O request.
288 @param fromPosition Starting location of the I/O within a memory descriptor.
293 @result If the descriptor is exhausted of memory, a zero is returned, otherwise the number of segments that were filled in is returned.
295 virtual UInt32 getPhysicalSegments(IOMemoryDescriptor * descriptor,
302 return genPhysicalSegments(descriptor, fromPosition, segments,
359 @abstract Generates a little endian physical scatter/gather list given a memory descriptor.
360 @discussion Generates a list of physical segments from the given memory descriptor, relative to the current position of the descriptor. Wraps IOMemoryCursor::genPhysicalSegments.
361 @param descriptor IOMemoryDescriptor that describes the data associated with an I/O request.
362 @param fromPosition Starting location of the I/O within a memory descriptor.
367 @result If the descriptor is exhausted of memory, a zero is returned, otherwise the number of segments that were filled in is returned.
369 virtual UInt32 getPhysicalSegments(IOMemoryDescriptor * descriptor,
376 return genPhysicalSegments(descriptor, fromPosition, segments,
398 @abstract Outpust the given segment into the output segments array in address and length fields of an DBDMA descriptor.
437 @abstract Generates a DBDMA physical scatter/gather list given a memory descriptor.
438 @discussion Generates a list of DBDMA descriptors where the address and length fields are filled in appropriately. But the client is expected to fill in the rest of the DBDMA descriptor as is appropriate for their particular hardware. Wraps IOMemoryCursor::genPhysicalSegments.
439 @param descriptor IOMemoryDescriptor that describes the data associated with an I/O request.
440 @param fromPosition Starting location of the I/O within a memory descriptor.
442 @param maxSegments Maximum number of segments that can be written to the DBDMA descriptor table.
445 @result If the descriptor is exhausted of memory, a zero is returned, otherwise the number of segments that were filled in is returned.
447 virtual UInt32 getPhysicalSegments(IOMemoryDescriptor * descriptor,
454 return genPhysicalSegments(descriptor, fromPosition, segments,