Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

arch/sparc/ap1000/dma.c File Reference

#include <asm/ap1000/apservice.h>
#include <asm/ap1000/apreg.h>
#include <linux/mm.h>
#include <linux/malloc.h>
#include <asm/irq.h>
#include <asm/pgtable.h>

Include dependency graph for arch/sparc/ap1000/dma.c:

Go to the source code of this file.

Defines

#define DMA_MAX_TRANS_SIZE2   (0xfffffc)

Functions

int ap_dma_wait (int ch)
int ap_dma_go (unsigned long ch, unsigned int p, int size, unsigned long cmd)


Define Documentation

#define DMA_MAX_TRANS_SIZE2   (0xfffffc)
 

Definition at line 16 of file arch/sparc/ap1000/dma.c.

Referenced by ap_dma_go().


Function Documentation

int ap_dma_go unsigned long  ch,
unsigned int  p,
int  size,
unsigned long  cmd
 

Definition at line 26 of file arch/sparc/ap1000/dma.c.

References ap_dma_wait(), ap_led(), B2W, BIF_IN, BIF_SDCSR, BIF_SDCSR_BG, DMA_DCMD, DMA_DCMD_ST, DMA_DCMD_TD_MD, DMA_DCMD_TYP_AUTO, DMA_DMST, DMA_DMST_RST, DMA_HDRP, DMA_HSKIP, DMA_MADDR, DMA_MAX_TRANS_SIZE, DMA_MAX_TRANS_SIZE2, DMA_OUT, DMA_TRANS_BLOCK_SIZE, DMA_VSKIP, and printk.

Referenced by bif_intr_runqueue(), reply_bread(), and reply_ip().

Here is the call graph for this function:

int ap_dma_wait int  ch  ) 
 

Definition at line 18 of file arch/sparc/ap1000/dma.c.

References DMA_DMST, DMA_DMST_AC, DMA_IN, and i.

Referenced by ap_dma_go(), get_bif(), read_bif(), release_bif(), and write_bif().