os/linux-2.6-tag--devboard-R2_10-4/arch/cris/arch-v32/drivers/elphel/fpga_sdram.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void fpga_initSDRAM (void)
int fsdram_ioctl (struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg)
ssize_t fsdram_write (struct file *file, const char *buf, size_t count, loff_t *off)
loff_t fsdram_lseek (struct file *file, loff_t offset, int orig)
ssize_t fsdram_read (struct file *file, char *buf, size_t count, loff_t *off)
int fsdram_open (struct inode *inode, struct file *filp)
int fsdram_release (void)


Function Documentation

void fpga_initSDRAM ( void   ) 

Definition at line 93 of file fpga_sdram.c.

References fpga_state, FPGA_STATE_SDRAM_INIT, MD2, port_csp0_addr, printk, udelay, X313_SDRAM_OFF, X313_SDRAM_ON, and X313_WA_SD_MANCMD.

int fsdram_ioctl ( struct inode *  inode,
struct file *  file,
unsigned int  cmd,
unsigned long  arg 
)

Definition at line 133 of file fpga_sdram.c.

loff_t fsdram_lseek ( struct file *  file,
loff_t  offset,
int  orig 
)

Definition at line 273 of file fpga_sdram.c.

References D, fpga_resetSDRAM(), LSEEK_FSDRAM_RESET, printk, SEEK_CUR, SEEK_END, SEEK_SET, and X313_SDRAM_SIZE.

int fsdram_open ( struct inode *  inode,
struct file *  filp 
)

Definition at line 318 of file fpga_sdram.c.

References D, fpga_initSDRAM(), printk, X313_IS_SDRAM_ON, and X313_SDRAM_SIZE.

ssize_t fsdram_read ( struct file *  file,
char *  buf,
size_t  count,
loff_t *  off 
)

Definition at line 137 of file fpga_sdram.c.

References D, port_csp0_addr, port_csp4_addr, printk, sa, sdbuf, sdbytebuf, X313_CHN_EN, X313_INIT_SDCHAN, X313_IS_SDRAM_ON, X313_SDRAM_SIZE, X313_SR, X313_WA_SD_PIOWIN, and X313_WA_SDPIO_NEXT.

int fsdram_release ( void   ) 

Definition at line 330 of file fpga_sdram.c.

References D, and printk.

ssize_t fsdram_write ( struct file *  file,
const char *  buf,
size_t  count,
loff_t *  off 
)

Definition at line 208 of file fpga_sdram.c.

References D, fp, port_csp0_addr, printk, read_page_to_buffer(), sa, sdbuf, sdbytebuf, udelay, X313_CHN_EN, X313_INIT_SDCHAN, X313_IS_SDRAM_ON, X313_SDRAM_SIZE, X313_SR, X313_WA_SD_PIOWIN, and X313_WA_SDPIO_NEXT.


Generated on Fri Nov 28 00:07:50 2008 for elphel by  doxygen 1.5.1