Linux Kernel
3.7.1
|
Go to the source code of this file.
Macros | |
#define | PSYCHO_CONFIG_BASE(PBM) ((PBM)->config_space | (1UL << 24)) |
#define | PSYCHO_CONFIG_ENCODE(BUS, DEVFN, REG) |
Enumerations | |
enum | psycho_error_type { UE_ERR, CE_ERR, PCI_ERR } |
Functions | |
void | psycho_check_iommu_error (struct pci_pbm_info *pbm, unsigned long afsr, unsigned long afar, enum psycho_error_type type) |
irqreturn_t | psycho_pcierr_intr (int irq, void *dev_id) |
int | psycho_iommu_init (struct pci_pbm_info *pbm, int tsbsize, u32 dvma_offset, u32 dma_mask, unsigned long write_complete_offset) |
void | psycho_pbm_init_common (struct pci_pbm_info *pbm, struct platform_device *op, const char *chip_name, int chip_type) |
#define PSYCHO_CONFIG_BASE | ( | PBM | ) | ((PBM)->config_space | (1UL << 24)) |
Definition at line 12 of file psycho_common.h.
#define PSYCHO_CONFIG_ENCODE | ( | BUS, | |
DEVFN, | |||
REG | |||
) |
Definition at line 14 of file psycho_common.h.
enum psycho_error_type |
Definition at line 29 of file psycho_common.h.
void psycho_check_iommu_error | ( | struct pci_pbm_info * | pbm, |
unsigned long | afsr, | ||
unsigned long | afar, | ||
enum psycho_error_type | type | ||
) |
Definition at line 200 of file psycho_common.c.
int psycho_iommu_init | ( | struct pci_pbm_info * | pbm, |
int | tsbsize, | ||
u32 | dvma_offset, | ||
u32 | dma_mask, | ||
unsigned long | write_complete_offset | ||
) |
Definition at line 398 of file psycho_common.c.
void psycho_pbm_init_common | ( | struct pci_pbm_info * | pbm, |
struct platform_device * | op, | ||
const char * | chip_name, | ||
int | chip_type | ||
) |
Definition at line 450 of file psycho_common.c.
irqreturn_t psycho_pcierr_intr | ( | int | irq, |
void * | dev_id | ||
) |
Definition at line 303 of file psycho_common.c.