Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
hpioctl.c File Reference
#include "hpi_internal.h"
#include "hpi_version.h"
#include "hpimsginit.h"
#include "hpidebug.h"
#include "hpimsgx.h"
#include "hpioctl.h"
#include "hpicmn.h"
#include <linux/fs.h>
#include <linux/slab.h>
#include <linux/moduleparam.h>
#include <asm/uaccess.h>
#include <linux/pci.h>
#include <linux/stringify.h>
#include <linux/module.h>

Go to the source code of this file.

Macros

#define SOURCEFILE_NAME   "hpioctl.c"
 

Functions

 module_param (prealloc_stream_buf, int, S_IRUGO)
 
 MODULE_PARM_DESC (prealloc_stream_buf,"Preallocate size for per-adapter stream buffer")
 
 module_param (hpi_debug_level, int, S_IRUGO|S_IWUSR)
 
 MODULE_PARM_DESC (hpi_debug_level,"debug verbosity 0..5")
 
void hpi_send_recv (struct hpi_message *phm, struct hpi_response *phr)
 
 EXPORT_SYMBOL (hpi_send_recv)
 
int asihpi_hpi_release (struct file *file)
 
long asihpi_hpi_ioctl (struct file *file, unsigned int cmd, unsigned long arg)
 
int __devinit asihpi_adapter_probe (struct pci_dev *pci_dev, const struct pci_device_id *pci_id)
 
void __devexit asihpi_adapter_remove (struct pci_dev *pci_dev)
 
void __init asihpi_init (void)
 
void asihpi_exit (void)
 

Macro Definition Documentation

#define SOURCEFILE_NAME   "hpioctl.c"

Definition at line 21 of file hpioctl.c.

Function Documentation

int __devinit asihpi_adapter_probe ( struct pci_dev pci_dev,
const struct pci_device_id pci_id 
)

Definition at line 310 of file hpioctl.c.

void __devexit asihpi_adapter_remove ( struct pci_dev pci_dev)

Definition at line 424 of file hpioctl.c.

void asihpi_exit ( void  )

Definition at line 474 of file hpioctl.c.

long asihpi_hpi_ioctl ( struct file file,
unsigned int  cmd,
unsigned long  arg 
)

Definition at line 101 of file hpioctl.c.

int asihpi_hpi_release ( struct file file)

Definition at line 88 of file hpioctl.c.

void __init asihpi_init ( void  )

Definition at line 460 of file hpioctl.c.

EXPORT_SYMBOL ( hpi_send_recv  )
void hpi_send_recv ( struct hpi_message phm,
struct hpi_response phr 
)

Definition at line 80 of file hpioctl.c.

module_param ( prealloc_stream_buf  ,
int  ,
S_IRUGO   
)
module_param ( hpi_debug_level  ,
int  ,
S_IRUGO S_IWUSR 
)
MODULE_PARM_DESC ( prealloc_stream_buf  ,
"Preallocate size for per-adapter stream buffer  
)
MODULE_PARM_DESC ( hpi_debug_level  ,
"debug verbosity 0..5"   
)