Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
portdrv_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/string.h>
#include <linux/slab.h>
#include <linux/pcieport_if.h>
#include <linux/aer.h>
#include "../pci.h"
#include "portdrv.h"

Go to the source code of this file.

Functions

 __setup ("pcie_hp=", pciehp_setup)
 
int pcie_port_device_register (struct pci_dev *dev)
 
void pcie_port_device_remove (struct pci_dev *dev)
 
int pcie_port_service_register (struct pcie_port_service_driver *new)
 
 EXPORT_SYMBOL (pcie_port_service_register)
 
void pcie_port_service_unregister (struct pcie_port_service_driver *drv)
 
 EXPORT_SYMBOL (pcie_port_service_unregister)
 

Variables

bool pciehp_msi_disabled
 

Function Documentation

__setup ( )
EXPORT_SYMBOL ( pcie_port_service_register  )
EXPORT_SYMBOL ( pcie_port_service_unregister  )
int pcie_port_device_register ( struct pci_dev dev)

pcie_port_device_register - register PCI Express port : PCI Express port to register

Allocate the port extension structure and register services associated with the port.

Definition at line 361 of file portdrv_core.c.

void pcie_port_device_remove ( struct pci_dev dev)

pcie_port_device_remove - unregister PCI Express port service devices : PCI Express port the service devices to unregister are associated with

Remove PCI Express port service devices associated with given port and disable MSI-X or MSI for the port.

Definition at line 471 of file portdrv_core.c.

int pcie_port_service_register ( struct pcie_port_service_driver new)

pcie_port_service_register - register PCI Express port service driver : PCI Express port service driver to register

Definition at line 552 of file portdrv_core.c.

void pcie_port_service_unregister ( struct pcie_port_service_driver drv)

pcie_port_service_unregister - unregister PCI Express port service driver : PCI Express port service driver to unregister

Definition at line 571 of file portdrv_core.c.

Variable Documentation

bool pciehp_msi_disabled

Definition at line 22 of file portdrv_core.c.