Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/iommu/
Ddma-iommu.c200 struct iommu_dma_msi_page *msi_page; in cookie_init_hw_msi_region() local
207 msi_page = kmalloc(sizeof(*msi_page), GFP_KERNEL); in cookie_init_hw_msi_region()
208 if (!msi_page) in cookie_init_hw_msi_region()
211 msi_page->phys = start; in cookie_init_hw_msi_region()
212 msi_page->iova = start; in cookie_init_hw_msi_region()
213 INIT_LIST_HEAD(&msi_page->list); in cookie_init_hw_msi_region()
214 list_add(&msi_page->list, &cookie->msi_page_list); in cookie_init_hw_msi_region()
1367 struct iommu_dma_msi_page *msi_page; in iommu_dma_get_msi_page() local
1373 list_for_each_entry(msi_page, &cookie->msi_page_list, list) in iommu_dma_get_msi_page()
1374 if (msi_page->phys == msi_addr) in iommu_dma_get_msi_page()
[all …]