Contributors: 5
Author |
Tokens |
Token Proportion |
Commits |
Commit Proportion |
Andi Kleen |
69 |
49.64% |
2 |
33.33% |
Muli Ben-Yehuda |
64 |
46.04% |
1 |
16.67% |
H. Peter Anvin |
3 |
2.16% |
1 |
16.67% |
Andrew Morton |
2 |
1.44% |
1 |
16.67% |
Greg Kroah-Hartman |
1 |
0.72% |
1 |
16.67% |
Total |
139 |
|
6 |
|
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_X86_PCI_64_H
#define _ASM_X86_PCI_64_H
#ifdef __KERNEL__
#ifdef CONFIG_CALGARY_IOMMU
static inline void *pci_iommu(struct pci_bus *bus)
{
struct pci_sysdata *sd = bus->sysdata;
return sd->iommu;
}
static inline void set_pci_iommu(struct pci_bus *bus, void *val)
{
struct pci_sysdata *sd = bus->sysdata;
sd->iommu = val;
}
#endif /* CONFIG_CALGARY_IOMMU */
extern int (*pci_config_read)(int seg, int bus, int dev, int fn,
int reg, int len, u32 *value);
extern int (*pci_config_write)(int seg, int bus, int dev, int fn,
int reg, int len, u32 value);
#endif /* __KERNEL__ */
#endif /* _ASM_X86_PCI_64_H */