Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
qib_file_ops.c File Reference
#include <linux/pci.h>
#include <linux/poll.h>
#include <linux/cdev.h>
#include <linux/swap.h>
#include <linux/vmalloc.h>
#include <linux/highmem.h>
#include <linux/io.h>
#include <linux/uio.h>
#include <linux/jiffies.h>
#include <asm/pgtable.h>
#include <linux/delay.h>
#include <linux/export.h>
#include "qib.h"
#include "qib_common.h"
#include "qib_user_sdma.h"

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   QIB_DRV_NAME ": " fmt
 

Functions

int qib_set_uevent_bits (struct qib_pportdata *ppd, const int evtbit)
 
int qib_cdev_init (int minor, const char *name, const struct file_operations *fops, struct cdev **cdevp, struct device **devp)
 
void qib_cdev_cleanup (struct cdev **cdevp, struct device **devp)
 
int __init qib_dev_init (void)
 
void qib_dev_cleanup (void)
 
int qib_device_create (struct qib_devdata *dd)
 
void qib_device_remove (struct qib_devdata *dd)
 

Macro Definition Documentation

#define pr_fmt (   fmt)    QIB_DRV_NAME ": " fmt

Definition at line 53 of file qib_file_ops.c.

Function Documentation

void qib_cdev_cleanup ( struct cdev **  cdevp,
struct device **  devp 
)

Definition at line 2227 of file qib_file_ops.c.

int qib_cdev_init ( int  minor,
const char name,
const struct file_operations fops,
struct cdev **  cdevp,
struct device **  devp 
)

Definition at line 2183 of file qib_file_ops.c.

void qib_dev_cleanup ( void  )

Definition at line 2266 of file qib_file_ops.c.

int __init qib_dev_init ( void  )

Definition at line 2245 of file qib_file_ops.c.

int qib_device_create ( struct qib_devdata dd)

Definition at line 2310 of file qib_file_ops.c.

void qib_device_remove ( struct qib_devdata dd)

Definition at line 2325 of file qib_file_ops.c.

int qib_set_uevent_bits ( struct qib_pportdata ppd,
const int  evtbit 
)

Definition at line 1912 of file qib_file_ops.c.