Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
conf_space.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
#include "pciback.h"
#include "conf_space.h"
#include "conf_space_quirks.h"

Go to the source code of this file.

Macros

#define DEFINE_PCI_CONFIG(op, size, type)
 

Functions

 module_param (permissive, bool, 0644)
 
int xen_pcibk_config_read (struct pci_dev *dev, int offset, int size, u32 *ret_val)
 
int xen_pcibk_config_write (struct pci_dev *dev, int offset, int size, u32 value)
 
void xen_pcibk_config_free_dyn_fields (struct pci_dev *dev)
 
void xen_pcibk_config_reset_dev (struct pci_dev *dev)
 
void xen_pcibk_config_free_dev (struct pci_dev *dev)
 
int xen_pcibk_config_add_field_offset (struct pci_dev *dev, const struct config_field *field, unsigned int base_offset)
 
int xen_pcibk_config_init_dev (struct pci_dev *dev)
 
int xen_pcibk_config_init (void)
 

Macro Definition Documentation

#define DEFINE_PCI_CONFIG (   op,
  size,
  type 
)
Value:
int xen_pcibk_##op##_config_##size \
(struct pci_dev *dev, int offset, type value, void *data) \
{ \
return pci_##op##_config_##size(dev, offset, value); \
}

Definition at line 24 of file conf_space.c.

Function Documentation

module_param ( permissive  ,
bool  ,
0644   
)
int xen_pcibk_config_add_field_offset ( struct pci_dev dev,
const struct config_field field,
unsigned int  base_offset 
)

Definition at line 362 of file conf_space.c.

void xen_pcibk_config_free_dev ( struct pci_dev dev)

Definition at line 340 of file conf_space.c.

void xen_pcibk_config_free_dyn_fields ( struct pci_dev dev)

Definition at line 296 of file conf_space.c.

int xen_pcibk_config_init ( void  )

Definition at line 435 of file conf_space.c.

int xen_pcibk_config_init_dev ( struct pci_dev dev)

Definition at line 412 of file conf_space.c.

int xen_pcibk_config_read ( struct pci_dev dev,
int  offset,
int  size,
u32 ret_val 
)

Definition at line 144 of file conf_space.c.

void xen_pcibk_config_reset_dev ( struct pci_dev dev)

Definition at line 322 of file conf_space.c.

int xen_pcibk_config_write ( struct pci_dev dev,
int  offset,
int  size,
u32  value 
)

Definition at line 208 of file conf_space.c.