
PCI CD and PCI CDa
Document Number: 008-00965-06 EDT Public Revision: I December 2004
Template: edt.dot
Page 16
Routine Description
edt_last_buffer_timed Like edt_last_buffer but also returns the time at which the dma was
complete on this buffer.
edt_configure_ring_buffers Configures the ring buffers.
edt_buffer_addresses Returns an array of addresses referencing the ring buffers.
edt_disable_ring_buffers Stops DMA transfer, disables ring buffers and releases resources.
edt_ring_buffer_overrun Detects ring buffer overrun which may have corrupted data.
edt_reset_ring_buffers Stops DMA in progress and resets the ring buffers.
edt_configure_block_buffers Configures ring buffers using a contiguous block of memory.
edt_startdma_action Specifies when to perform the action at the start of a dma transfer
as set by edt_startdma_reg().
edt_enddma_action Specifies when to perform the action at the end of a dma transfer
as set by edt_ednddma_reg().
edt_startdma_reg Specifies the register and value to use at the start of dma, as set by
edt_startdma_action().
edt_abort_dma Cancels the current DMA, resets pointers to the current buffer.
edt_ablort_current_dma Cancels the current DMA, moves pointers to the next buffer.
edt_get_bytecount Returns the number of bytes transferred.
edt_timeouts Returns the cumulative number of timeouts since the device was
opened.
edt_get_timeout_count Returns the number of bytes transferred as of the last timeout.
edt_set_timeout_action Sets the driver behavior on a timeout.
edt_get_timeout_goodbits Returns the number of bits from the remote device since the last
timeout.
edt_do_timeout Causes the driver to perform the same actions as it would on a
timeout (causing partially filled fifos to be flushed and dma to be
aborted).
edt_get_rtimeout Gets the DMA read timeout period.
edt_set_rtimeout Sets how long to wait for a DMA read to complete, before returning.
edt_get_wtimeout Gets the DMA write timeout period.
edt_set_wtimeout Sets how long to wait for a DMA write to complete, before
returning.
edt_get_timestamp Gets the seconds and microseconds timestamp of dma completion
on the buffer specified by bufnum.
edt_get_reftime Gets the seconds and mircroseconds timestamp in the same
format as the buffer_timed function.
edt_ref_tmstamp Used for debugging. Able to see a history with setdebug -g with
an application defined event in the same timeline as driver events.
edt_get_burst_enable Returns a value indicating whether PCI Bus burst transfers are
enabled during DMA.
edt_set_burst_enable Turns on or off PCI Bus burst transfers during DMA.
edt_get_firstflush Returns the value set by edt_set_firstflush(). This is an obsolete
function.
Kommentare zu diesen Handbüchern