Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
aerdrv_core.c File Reference
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/pm.h>
#include <linux/suspend.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/kfifo.h>
#include "aerdrv.h"

Go to the source code of this file.

Macros

#define PCI_EXP_AER_FLAGS
 
#define PCI_BUS(x)   (((x) >> 8) & 0xff)
 

Functions

 module_param (forceload, bool, 0)
 
 module_param (nosourceid, bool, 0)
 
int pci_enable_pcie_error_reporting (struct pci_dev *dev)
 
 EXPORT_SYMBOL_GPL (pci_enable_pcie_error_reporting)
 
int pci_disable_pcie_error_reporting (struct pci_dev *dev)
 
 EXPORT_SYMBOL_GPL (pci_disable_pcie_error_reporting)
 
int pci_cleanup_aer_uncorrect_error_status (struct pci_dev *dev)
 
 EXPORT_SYMBOL_GPL (pci_cleanup_aer_uncorrect_error_status)
 
void aer_do_secondary_bus_reset (struct pci_dev *dev)
 
void aer_isr (struct work_struct *work)
 
int aer_init (struct pcie_device *dev)
 

Macro Definition Documentation

#define PCI_BUS (   x)    (((x) >> 8) & 0xff)

Definition at line 92 of file aerdrv_core.c.

#define PCI_EXP_AER_FLAGS
Value:

Definition at line 35 of file aerdrv_core.c.

Function Documentation

void aer_do_secondary_bus_reset ( struct pci_dev dev)

aer_do_secondary_bus_reset - perform secondary bus reset : pointer to bridge's pci_dev data structure

Invoked when performing link reset at Root Port or Downstream Port.

Definition at line 363 of file aerdrv_core.c.

int aer_init ( struct pcie_device dev)

aer_init - provide AER initialization : pointer to AER pcie device

Invoked when AER service driver is loaded.

Definition at line 814 of file aerdrv_core.c.

void aer_isr ( struct work_struct work)

aer_isr - consume errors detected by root port : definition of this work item

Invoked, as DPC, when root port records new detected error

Definition at line 794 of file aerdrv_core.c.

EXPORT_SYMBOL_GPL ( pci_enable_pcie_error_reporting  )
EXPORT_SYMBOL_GPL ( pci_disable_pcie_error_reporting  )
EXPORT_SYMBOL_GPL ( pci_cleanup_aer_uncorrect_error_status  )
module_param ( forceload  ,
bool  ,
 
)
module_param ( nosourceid  ,
bool  ,
 
)
int pci_cleanup_aer_uncorrect_error_status ( struct pci_dev dev)

Definition at line 60 of file aerdrv_core.c.

int pci_disable_pcie_error_reporting ( struct pci_dev dev)

Definition at line 50 of file aerdrv_core.c.

int pci_enable_pcie_error_reporting ( struct pci_dev dev)

Definition at line 38 of file aerdrv_core.c.