Lines Matching defs:address
336 static u32 iommu_read_l1(struct amd_iommu *iommu, u16 l1, u8 address)
340 pci_write_config_dword(iommu->dev, 0xf8, (address | l1 << 16));
345 static void iommu_write_l1(struct amd_iommu *iommu, u16 l1, u8 address, u32 val)
347 pci_write_config_dword(iommu->dev, 0xf8, (address | l1 << 16 | 1 << 31));
349 pci_write_config_dword(iommu->dev, 0xf8, (address | l1 << 16));
352 static u32 iommu_read_l2(struct amd_iommu *iommu, u8 address)
356 pci_write_config_dword(iommu->dev, 0xf0, address);
361 static void iommu_write_l2(struct amd_iommu *iommu, u8 address, u32 val)
363 pci_write_config_dword(iommu->dev, 0xf0, (address | 1 << 8));
415 * address equal to the limit address.
421 /* Programs the physical address of the device table into the IOMMU hardware */
493 static u8 __iomem * __init iommu_map_mmio_space(u64 address, u64 end)
495 if (!request_mem_region(address, end, "amd_iommu")) {
497 address, end);
502 return (u8 __iomem *)ioremap(address, end);
690 * This function writes the command buffer address to the hardware and
975 * encryption mask to obtain the true physical address in kdump kernel.
980 pr_err("The address of old device table is above 4G, not trustworthy!\n");
1610 * for MSI address lo/hi/data, we need to check both
2032 * MMIO MSI address low/hi and MSI data registers.