Home
last modified time | relevance | path

Searched refs:msi_page (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/iommu/
Ddma-iommu.c174 struct iommu_dma_msi_page *msi_page; in cookie_init_hw_msi_region() local
180 msi_page = kcalloc(num_pages, sizeof(*msi_page), GFP_KERNEL); in cookie_init_hw_msi_region()
181 if (!msi_page) in cookie_init_hw_msi_region()
185 msi_page[i].phys = start; in cookie_init_hw_msi_region()
186 msi_page[i].iova = start; in cookie_init_hw_msi_region()
187 INIT_LIST_HEAD(&msi_page[i].list); in cookie_init_hw_msi_region()
188 list_add(&msi_page[i].list, &cookie->msi_page_list); in cookie_init_hw_msi_region()
1143 struct iommu_dma_msi_page *msi_page; in iommu_dma_get_msi_page() local
1149 list_for_each_entry(msi_page, &cookie->msi_page_list, list) in iommu_dma_get_msi_page()
1150 if (msi_page->phys == msi_addr) in iommu_dma_get_msi_page()
[all …]
/Linux-v5.4/drivers/pci/controller/dwc/
Dpcie-designware-host.c287 if (pp->msi_page) in dw_pcie_free_msi()
288 __free_page(pp->msi_page); in dw_pcie_free_msi()
297 pp->msi_page = alloc_page(GFP_KERNEL); in dw_pcie_msi_init()
298 pp->msi_data = dma_map_page(dev, pp->msi_page, 0, PAGE_SIZE, in dw_pcie_msi_init()
302 __free_page(pp->msi_page); in dw_pcie_msi_init()
303 pp->msi_page = NULL; in dw_pcie_msi_init()
Dpcie-designware.h189 struct page *msi_page; member