Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
tile-srom.c File Reference
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/fs.h>
#include <linux/errno.h>
#include <linux/types.h>
#include <linux/proc_fs.h>
#include <linux/fcntl.h>
#include <linux/aio.h>
#include <linux/pagemap.h>
#include <linux/hugetlb.h>
#include <linux/uaccess.h>
#include <linux/platform_device.h>
#include <hv/hypervisor.h>
#include <linux/ioctl.h>
#include <linux/cdev.h>
#include <linux/delay.h>
#include <hv/drv_srom_intf.h>

Go to the source code of this file.

Data Structures

struct  srom_dev
 

Macros

#define SROM_CHUNK_SIZE   ((size_t)4096)
 
#define SROM_WAIT_TRY_INTERVAL   20
 
#define SROM_MAX_WAIT_TRY_TIMES   1000
 

Functions

 module_param (srom_major, int, 0)
 
 MODULE_AUTHOR ("Tilera Corporation")
 
 MODULE_LICENSE ("GPL")
 
loff_t srom_llseek (struct file *filp, loff_t offset, int origin)
 
 module_init (srom_init)
 
 module_exit (srom_cleanup)
 

Macro Definition Documentation

#define SROM_CHUNK_SIZE   ((size_t)4096)

Definition at line 49 of file tile-srom.c.

#define SROM_MAX_WAIT_TRY_TIMES   1000

Definition at line 63 of file tile-srom.c.

#define SROM_WAIT_TRY_INTERVAL   20

Definition at line 58 of file tile-srom.c.

Function Documentation

MODULE_AUTHOR ( "Tilera Corporation"  )
module_exit ( srom_cleanup  )
module_init ( srom_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( srom_major  ,
int  ,
 
)
loff_t srom_llseek ( struct file filp,
loff_t  offset,
int  origin 
)

Definition at line 276 of file tile-srom.c.