18 res->
size = 512 * 1024;
21 res->
limit = 0xffffffff;
46 static const struct pci_driver iommu_driver
__pci_driver = {
struct resource * new_resource(struct device *dev, unsigned int index)
See if a resource structure already exists for a given index and if not allocate one.
struct resource * find_resource(const struct device *dev, unsigned int index)
Return an existing resource structure for a given index.
static __always_inline void pci_write_config32(const struct device *dev, u16 reg, u32 val)
static void iommu_set_resources(struct device *dev)
static struct device_operations iommu_ops
static void iommu_read_resources(struct device *dev)
static const struct pci_driver iommu_driver __pci_driver
void pci_dev_enable_resources(struct device *dev)
void pci_dev_read_resources(struct device *dev)
struct pci_operations pci_dev_ops_pci
Default device operation for PCI devices.
void pci_dev_set_resources(struct device *dev)
#define PCI_DID_AMD_15H_MODEL_101F_NB_IOMMU
#define IORESOURCE_STORED
void(* read_resources)(struct device *dev)