DMA Functions

qcaspi_dma_read_burst

uint32_t qcaspi_dma_read_burst(qca,  
 buffer,  
 length); 
struct qcaspi * qca;
uint8_t * buffer;
uint32_t length;
 

Performs QCA7000 DMA burst read.

qcaspi_dma_read_legacy

uint32_t qcaspi_dma_read_legacy(qca,  
 buffer,  
 length); 
struct qcaspi * qca;
uint8_t * buffer;
uint32_t length;
 

Performs QCA7000 DMA legacy read.

qcaspi_dma_write_burst

uint32_t qcaspi_dma_write_burst(qca,  
 buffer,  
 length); 
struct qcaspi * qca;
uint8_t * buffer;
uint32_t length;
 

Called by qcaspi_tx_frame to peform a DMA burst write instead of a legacy write.

qcaspi_dma_write_legacy

uint32_t qcaspi_dma_write_legacy(qca,  
 buffer,  
 length); 
struct qcaspi * qca;
uint8_t * buffer;
uint32_t length;
 

Called by qcaspi_tx_frame to peform a DMA legacy write instead of a burst write.