Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iommu/
H A Ddma-iommu.c405 struct iommu_dma_msi_page *msi_page; in cookie_init_hw_msi_region() local
412 msi_page = kmalloc(sizeof(*msi_page), GFP_KERNEL); in cookie_init_hw_msi_region()
413 if (!msi_page) in cookie_init_hw_msi_region()
416 msi_page->phys = start; in cookie_init_hw_msi_region()
417 msi_page->iova = start; in cookie_init_hw_msi_region()
418 INIT_LIST_HEAD(&msi_page->list); in cookie_init_hw_msi_region()
419 list_add(&msi_page->list, &cookie->msi_page_list); in cookie_init_hw_msi_region()
1670 struct iommu_dma_msi_page *msi_page; in iommu_dma_get_msi_page() local
1676 list_for_each_entry(msi_page, &cookie->msi_page_list, list) in iommu_dma_get_msi_page()
1677 if (msi_page->phys == msi_addr) in iommu_dma_get_msi_page()
[all …]