Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/iommu/
Ddma-iommu.c487 struct iommu_dma_msi_page *msi_page; in cookie_init_hw_msi_region() local
494 msi_page = kmalloc(sizeof(*msi_page), GFP_KERNEL); in cookie_init_hw_msi_region()
495 if (!msi_page) in cookie_init_hw_msi_region()
498 msi_page->phys = start; in cookie_init_hw_msi_region()
499 msi_page->iova = start; in cookie_init_hw_msi_region()
500 INIT_LIST_HEAD(&msi_page->list); in cookie_init_hw_msi_region()
501 list_add(&msi_page->list, &cookie->msi_page_list); in cookie_init_hw_msi_region()
1769 struct iommu_dma_msi_page *msi_page; in iommu_dma_get_msi_page() local
1775 list_for_each_entry(msi_page, &cookie->msi_page_list, list) in iommu_dma_get_msi_page()
1776 if (msi_page->phys == msi_addr) in iommu_dma_get_msi_page()
[all …]