Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
driver_pci_host.c File Reference
#include "bcma_private.h"
#include <linux/pci.h>
#include <linux/export.h>
#include <linux/bcma/bcma.h>
#include <asm/paccess.h>

Go to the source code of this file.

Macros

#define mips_busprobe32(val, addr)   get_dbe((val), ((u32 *)(addr)))
 
#define BCMA_PCI_SLOT_MAX   16
 
#define PCI_CONFIG_SPACE_SIZE   256
 

Functions

bool __devinit bcma_core_pci_is_in_hostmode (struct bcma_drv_pci *pc)
 
void __devinit bcma_core_pci_hostmode_init (struct bcma_drv_pci *pc)
 
 DECLARE_PCI_FIXUP_EARLY (PCI_ANY_ID, PCI_ANY_ID, bcma_core_pci_fixup_pcibridge)
 
 DECLARE_PCI_FIXUP_HEADER (PCI_ANY_ID, PCI_ANY_ID, bcma_core_pci_fixup_addresses)
 
int bcma_core_pci_plat_dev_init (struct pci_dev *dev)
 
 EXPORT_SYMBOL (bcma_core_pci_plat_dev_init)
 
int bcma_core_pci_pcibios_map_irq (const struct pci_dev *dev)
 
 EXPORT_SYMBOL (bcma_core_pci_pcibios_map_irq)
 

Macro Definition Documentation

#define BCMA_PCI_SLOT_MAX   16

Definition at line 24 of file driver_pci_host.c.

#define mips_busprobe32 (   val,
  addr 
)    get_dbe((val), ((u32 *)(addr)))

Definition at line 21 of file driver_pci_host.c.

#define PCI_CONFIG_SPACE_SIZE   256

Definition at line 25 of file driver_pci_host.c.

Function Documentation

void __devinit bcma_core_pci_hostmode_init ( struct bcma_drv_pci pc)

Definition at line 389 of file driver_pci_host.c.

bool __devinit bcma_core_pci_is_in_hostmode ( struct bcma_drv_pci pc)

Definition at line 27 of file driver_pci_host.c.

int bcma_core_pci_pcibios_map_irq ( const struct pci_dev dev)

Definition at line 580 of file driver_pci_host.c.

int bcma_core_pci_plat_dev_init ( struct pci_dev dev)

Definition at line 558 of file driver_pci_host.c.

DECLARE_PCI_FIXUP_EARLY ( PCI_ANY_ID  ,
PCI_ANY_ID  ,
bcma_core_pci_fixup_pcibridge   
)
DECLARE_PCI_FIXUP_HEADER ( PCI_ANY_ID  ,
PCI_ANY_ID  ,
bcma_core_pci_fixup_addresses   
)
EXPORT_SYMBOL ( bcma_core_pci_plat_dev_init  )
EXPORT_SYMBOL ( bcma_core_pci_pcibios_map_irq  )