Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
qib_diag.c File Reference
#include <linux/io.h>
#include <linux/pci.h>
#include <linux/poll.h>
#include <linux/vmalloc.h>
#include <linux/export.h>
#include <linux/fs.h>
#include <linux/uaccess.h>
#include "qib.h"
#include "qib_common.h"

Go to the source code of this file.

Data Structures

struct  qib_diag_client
 
struct  diag_observer_list_elt
 

Macros

#define pr_fmt(fmt)   QIB_DRV_NAME ": " fmt
 

Enumerations

enum  diag_state { UNUSED = 0, OPENED, INIT, READY }
 

Functions

int qib_diag_add (struct qib_devdata *dd)
 
void qib_diag_remove (struct qib_devdata *dd)
 
int qib_register_observer (struct qib_devdata *dd, const struct diag_observer *op)
 

Macro Definition Documentation

#define pr_fmt (   fmt)    QIB_DRV_NAME ": " fmt

Definition at line 57 of file qib_diag.c.

Enumeration Type Documentation

enum diag_state
Enumerator:
UNUSED 
OPENED 
INIT 
READY 

Definition at line 64 of file qib_diag.c.

Function Documentation

int qib_diag_add ( struct qib_devdata dd)

Definition at line 160 of file qib_diag.c.

void qib_diag_remove ( struct qib_devdata dd)

Definition at line 183 of file qib_diag.c.

int qib_register_observer ( struct qib_devdata dd,
const struct diag_observer op 
)

Definition at line 688 of file qib_diag.c.