Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
pci_stub.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/rwsem.h>
#include <linux/list.h>
#include <linux/spinlock.h>
#include <linux/kref.h>
#include <linux/pci.h>
#include <linux/wait.h>
#include <linux/sched.h>
#include <linux/atomic.h>
#include <xen/events.h>
#include <asm/xen/pci.h>
#include <asm/xen/hypervisor.h>
#include "pciback.h"
#include "conf_space.h"
#include "conf_space_quirks.h"

Go to the source code of this file.

Data Structures

struct  pcistub_device_id
 
struct  pcistub_device
 

Macros

#define PCI_NODENAME_MAX   40
 

Functions

 module_param_named (hide, pci_devs_to_hide, charp, 0444)
 
struct pci_devpcistub_get_pci_dev_by_slot (struct xen_pcibk_device *pdev, int domain, int bus, int slot, int func)
 
struct pci_devpcistub_get_pci_dev (struct xen_pcibk_device *pdev, struct pci_dev *dev)
 
void pcistub_put_pci_dev (struct pci_dev *dev)
 
 fs_initcall (pcistub_init)
 
 module_init (xen_pcibk_init)
 
 module_exit (xen_pcibk_cleanup)
 
 MODULE_LICENSE ("Dual BSD/GPL")
 
 MODULE_ALIAS ("xen-backend:pci")
 

Variables

wait_queue_head_t xen_pcibk_aer_wait_queue
 

Macro Definition Documentation

#define PCI_NODENAME_MAX   40

Definition at line 550 of file pci_stub.c.

Function Documentation

fs_initcall ( pcistub_init  )
MODULE_ALIAS ( "xen-backend:pci"  )
module_exit ( xen_pcibk_cleanup  )
module_init ( xen_pcibk_init  )
MODULE_LICENSE ( "Dual BSD/GPL"  )
module_param_named ( hide  ,
pci_devs_to_hide  ,
charp  ,
0444   
)
struct pci_dev* pcistub_get_pci_dev ( struct xen_pcibk_device pdev,
struct pci_dev dev 
)
read

Definition at line 204 of file pci_stub.c.

struct pci_dev* pcistub_get_pci_dev_by_slot ( struct xen_pcibk_device pdev,
int  domain,
int  bus,
int  slot,
int  func 
)
read

Definition at line 180 of file pci_stub.c.

void pcistub_put_pci_dev ( struct pci_dev dev)

Definition at line 224 of file pci_stub.c.

Variable Documentation

wait_queue_head_t xen_pcibk_aer_wait_queue

Definition at line 25 of file pci_stub.c.