NAME

vme_dma_read - Reads values from the VMEbus using DMA transfers.

SYNOPSIS

vme_dma_read [-a addr_mod] [-A vme_addr] [-d dwidth] [-e num_elem] [-f flags] [-p phys_addr]

OPTIONS

-a addr_mod

VMEbus address modifer. Possible values are:

- VME_A16S - Short supervisory access.
- VME_A16U - Short nonprivileged access
- VME_A24SB - Standard supervisory block transfer
- VME_A24SD - Standard supervisory data access
- VME_A24SMB - Standard supervisory multiplex block transfer
- VME_A24SP - Standard supervisory program access
- VME_A24UB - Standard nonprivileged block transfer
- VME_A24UD - Standard nonprivileged data access
- VME_A24UMB - Standard nonprivileged multiplex block transfer
- VME_A24UP - Standard nonprivileged program access
- VME_A32SB - Extended supervisory block transfer
- VME_A32SD - Extended supervisory data access
- VME_A32SMB - Extended supervisory multiplex block transfer
- VME_A32SP - Extended supervisory program access
- VME_A32UB - Extended nonprivileged block transfer
- VME_A32UD - Extended nonprivileged data access
- VME_A32UMB - Extended nonprivileged multiplex block transfer
- VME_A32UP - Extended nonprivileged program access
-A vme_addr

VMEbus address at which to begin transfer.

-d dwidth

Transfer data width. Possible values are:

- VME_D8
- VME_D16
- VME_D32
- VME_D64
-e num_elem

Number of data width sized elements to transfer.

-f flags

Flags used to indicate special transfer features. The value specified will be an "OR" of the following possible values for the Tundra Universe II device.

- VME_DMA_64_BIT - Enable 64-bit PCI bus transfers

One of the following data widths can be used. If a data width is not specified, a default value is chosen based on the address modifier.

- VME_DMA_DW_8
- VME_DMA_DW_16
- VME_DMA_DW_32
- VME_DMA_DW_64

One of the following settings of the VON counter can be used, to indicates how many bytes of data to transfer before the bus is released. If a flag is not specified, the bus is held until the transfer completes.

- VME_DMA_VON_256
- VME_DMA_VON_512
- VME_DMA_VON_1024
- VME_DMA_VON_2048
- VME_DMA_VON_4096
- VME_DMA_VON_8192
- VME_DMA_VON_16384

One of the following settings of the VOFF counter can be used, to indicates how many microseconds to wait before reaquiring the bus. If a flag is not specified, the bus is immediately re-requested.

- VME_DMA_VOFF_16
- VME_DMA_VOFF_32
- VME_DMA_VOFF_64
- VME_DMA_VOFF_128
- VME_DMA_VOFF_256
- VME_DMA_VOFF_512
- VME_DMA_VOFF_1024
- VME_DMA_VOFF_2000
- VME_DMA_VOFF_4000
- VME_DMA_VOFF_8000
-p phys_addr

Physical address of the DMA buffer.

DESCRIPTION

Reads values from the VMEbus using DMA transfers.

SEE ALSO

vme_dma_write(1)