Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
rtlx.c File Reference
#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/fs.h>
#include <linux/init.h>
#include <asm/uaccess.h>
#include <linux/list.h>
#include <linux/vmalloc.h>
#include <linux/elf.h>
#include <linux/seq_file.h>
#include <linux/syscalls.h>
#include <linux/moduleloader.h>
#include <linux/interrupt.h>
#include <linux/poll.h>
#include <linux/sched.h>
#include <linux/wait.h>
#include <asm/mipsmtregs.h>
#include <asm/mips_mt.h>
#include <asm/cacheflush.h>
#include <linux/atomic.h>
#include <asm/cpu.h>
#include <asm/processor.h>
#include <asm/vpe.h>
#include <asm/rtlx.h>

Go to the source code of this file.

Data Structures

struct  chan_waitqueues
 

Functions

voidvpe_get_shared (int index)
 
int rtlx_open (int index, int can_sleep)
 
int rtlx_release (int index)
 
unsigned int rtlx_read_poll (int index, int can_sleep)
 
unsigned int rtlx_write_poll (int index)
 
ssize_t rtlx_read (int index, void __user *buff, size_t count)
 
ssize_t rtlx_write (int index, const void __user *buffer, size_t count)
 
 module_init (rtlx_module_init)
 
 module_exit (rtlx_module_exit)
 
 MODULE_DESCRIPTION ("MIPS RTLX")
 
 MODULE_AUTHOR ("Elizabeth Oldham, MIPS Technologies, Inc.")
 
 MODULE_LICENSE ("GPL")
 

Function Documentation

MODULE_AUTHOR ( "Elizabeth  Oldham,
MIPS  Technologies,
Inc."   
)
MODULE_DESCRIPTION ( "MIPS RTLX"  )
module_exit ( rtlx_module_exit  )
module_init ( rtlx_module_init  )
MODULE_LICENSE ( "GPL"  )
int rtlx_open ( int  index,
int  can_sleep 
)

Definition at line 152 of file rtlx.c.

ssize_t rtlx_read ( int  index,
void __user buff,
size_t  count 
)

Definition at line 304 of file rtlx.c.

unsigned int rtlx_read_poll ( int  index,
int  can_sleep 
)

Definition at line 253 of file rtlx.c.

int rtlx_release ( int  index)

Definition at line 243 of file rtlx.c.

ssize_t rtlx_write ( int  index,
const void __user buffer,
size_t  count 
)

Definition at line 346 of file rtlx.c.

unsigned int rtlx_write_poll ( int  index)

Definition at line 296 of file rtlx.c.

void* vpe_get_shared ( int  index)

Definition at line 1269 of file vpe.c.