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 69 of file fpga_sdram.c.

References D, port_csp0_addr, printk, udelay, X313_IS_SDRAM_ON, 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 115 of file fpga_sdram.c.

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

Definition at line 255 of file fpga_sdram.c.

References D, and printk.

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

Definition at line 292 of file fpga_sdram.c.

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

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

Definition at line 119 of file fpga_sdram.c.

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

int fsdram_release ( void   ) 

Definition at line 304 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 188 of file fpga_sdram.c.

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


Generated on Thu Aug 7 16:20:22 2008 for elphel by  doxygen 1.5.1