Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
qib_pcie.c File Reference
#include <linux/pci.h>
#include <linux/io.h>
#include <linux/delay.h>
#include <linux/vmalloc.h>
#include <linux/aer.h>
#include <linux/module.h>
#include "qib.h"

Go to the source code of this file.

Functions

int qib_pcie_init (struct pci_dev *pdev, const struct pci_device_id *ent)
 
int qib_pcie_ddinit (struct qib_devdata *dd, struct pci_dev *pdev, const struct pci_device_id *ent)
 
void qib_pcie_ddcleanup (struct qib_devdata *dd)
 
int qib_pcie_params (struct qib_devdata *dd, u32 minw, u32 *nent, struct qib_msix_entry *entry)
 
int qib_reinit_intr (struct qib_devdata *dd)
 
void qib_nomsi (struct qib_devdata *dd)
 
void qib_nomsix (struct qib_devdata *dd)
 
void qib_enable_intx (struct pci_dev *pdev)
 
void qib_pcie_getcmd (struct qib_devdata *dd, u16 *cmd, u8 *iline, u8 *cline)
 
void qib_pcie_reenable (struct qib_devdata *dd, u16 cmd, u8 iline, u8 cline)
 
 module_param_named (pcie_coalesce, qib_pcie_coalesce, int, S_IRUGO)
 
 MODULE_PARM_DESC (pcie_coalesce,"tune PCIe colescing on some Intel chipsets")
 
 module_param_named (pcie_caps, qib_pcie_caps, int, S_IRUGO)
 
 MODULE_PARM_DESC (pcie_caps,"Max PCIe tuning: Payload (0..3), ReadReq (4..7)")
 

Variables

struct pci_error_handlers qib_pci_err_handler
 

Function Documentation

module_param_named ( pcie_coalesce  ,
qib_pcie_coalesce  ,
int  ,
S_IRUGO   
)
module_param_named ( pcie_caps  ,
qib_pcie_caps  ,
int  ,
S_IRUGO   
)
MODULE_PARM_DESC ( pcie_coalesce  ,
"tune PCIe colescing on some Intel chipsets"   
)
MODULE_PARM_DESC ( pcie_caps  ,
"Max PCIe tuning: Payload   0..3,
ReadReq(4..7)"   
)
void qib_enable_intx ( struct pci_dev pdev)

Definition at line 418 of file qib_pcie.c.

void qib_nomsi ( struct qib_devdata dd)

Definition at line 400 of file qib_pcie.c.

void qib_nomsix ( struct qib_devdata dd)

Definition at line 409 of file qib_pcie.c.

void qib_pcie_ddcleanup ( struct qib_devdata dd)

Definition at line 177 of file qib_pcie.c.

int qib_pcie_ddinit ( struct qib_devdata dd,
struct pci_dev pdev,
const struct pci_device_id ent 
)

Definition at line 135 of file qib_pcie.c.

void qib_pcie_getcmd ( struct qib_devdata dd,
u16 cmd,
u8 iline,
u8 cline 
)

Definition at line 451 of file qib_pcie.c.

int qib_pcie_init ( struct pci_dev pdev,
const struct pci_device_id ent 
)

Definition at line 63 of file qib_pcie.c.

int qib_pcie_params ( struct qib_devdata dd,
u32  minw,
u32 nent,
struct qib_msix_entry entry 
)

Definition at line 272 of file qib_pcie.c.

void qib_pcie_reenable ( struct qib_devdata dd,
u16  cmd,
u8  iline,
u8  cline 
)

Definition at line 458 of file qib_pcie.c.

int qib_reinit_intr ( struct qib_devdata dd)

Definition at line 350 of file qib_pcie.c.

Variable Documentation

struct pci_error_handlers qib_pci_err_handler
Initial value:
= {
.error_detected = qib_pci_error_detected,
.mmio_enabled = qib_pci_mmio_enabled,
.link_reset = qib_pci_link_reset,
.slot_reset = qib_pci_slot_reset,
.resume = qib_pci_resume,
}

Definition at line 748 of file qib_pcie.c.