Home
last modified time | relevance | path

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

/drivers/iommu/
Ddma-iommu.c408 struct iommu_dma_msi_page *msi_page; in cookie_init_hw_msi_region() local
415 msi_page = kmalloc(sizeof(*msi_page), GFP_KERNEL); in cookie_init_hw_msi_region()
416 if (!msi_page) in cookie_init_hw_msi_region()
419 msi_page->phys = start; in cookie_init_hw_msi_region()
420 msi_page->iova = start; in cookie_init_hw_msi_region()
421 INIT_LIST_HEAD(&msi_page->list); in cookie_init_hw_msi_region()
422 list_add(&msi_page->list, &cookie->msi_page_list); in cookie_init_hw_msi_region()
1624 struct iommu_dma_msi_page *msi_page; in iommu_dma_get_msi_page() local
1630 list_for_each_entry(msi_page, &cookie->msi_page_list, list) in iommu_dma_get_msi_page()
1631 if (msi_page->phys == msi_addr) in iommu_dma_get_msi_page()
[all …]