Home
last modified time | relevance | path

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

/drivers/iommu/
Drockchip-iommu.c517 u32 *page_table; in rk_iommu_iova_to_phys() local
526 page_table = (u32 *)phys_to_virt(pt_phys); in rk_iommu_iova_to_phys()
527 pte = page_table[rk_iova_pte_index(iova)]; in rk_iommu_iova_to_phys()
566 u32 *page_table, *dte_addr; in rk_dte_get_page_table() local
577 page_table = (u32 *)get_zeroed_page(GFP_ATOMIC | GFP_DMA32); in rk_dte_get_page_table()
578 if (!page_table) in rk_dte_get_page_table()
581 dte = rk_mk_dte(page_table); in rk_dte_get_page_table()
584 rk_table_flush(page_table, NUM_PT_ENTRIES); in rk_dte_get_page_table()
663 u32 *page_table, *pte_addr; in rk_iommu_map() local
675 page_table = rk_dte_get_page_table(rk_domain, iova); in rk_iommu_map()
[all …]
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_mob.c122 BUG_ON(otable->page_table != NULL); in vmw_setup_otable_base()
173 otable->page_table = mob; in vmw_setup_otable_base()
201 if (otable->page_table == NULL) in vmw_takedown_otable_base()
204 bo = otable->page_table->pt_bo; in vmw_takedown_otable_base()
232 vmw_mob_destroy(otable->page_table); in vmw_takedown_otable_base()
233 otable->page_table = NULL; in vmw_takedown_otable_base()
Dvmwgfx_drv.h344 struct vmw_mob *page_table; member
/drivers/gpu/drm/i915/
Di915_gem_gtt.h258 struct i915_page_table *page_table[I915_PDES]; /* PDEs */ member
401 (pt = (pd)->page_table[iter]), 1 : 0; \
409 pt = ppgtt->pd.page_table[iter], iter < I915_PDES; \
467 (pt = (pd)->page_table[iter]), 1 : 0; \
Di915_gem_gtt.c728 if (WARN_ON(!pd->page_table[pde])) in gen8_ppgtt_clear_pte_range()
731 pt = pd->page_table[pde]; in gen8_ppgtt_clear_pte_range()
803 struct i915_page_table *pt = pd->page_table[pde]; in gen8_ppgtt_insert_pte_entries()
862 if (WARN_ON(!pd->page_table[i])) in gen8_free_page_tables()
865 free_pt(dev, pd->page_table[i]); in gen8_free_page_tables()
866 pd->page_table[i] = NULL; in gen8_free_page_tables()
1043 pd->page_table[pde] = pt; in gen8_ppgtt_alloc_pagetabs()
1052 free_pt(dev, pd->page_table[pde]); in gen8_ppgtt_alloc_pagetabs()
1320 free_pt(dev, pdp->page_directory[pdpe]->page_table[temp]); in gen8_alloc_va_range_3lvl()
1587 const dma_addr_t pt_addr = px_dma(ppgtt->pd.page_table[pde]); in gen6_dump_ppgtt()
[all …]
/drivers/firewire/
Dsbp2.c327 struct sbp2_pointer page_table[SG_ALL] __attribute__((aligned(8))); member
1302 sizeof(orb->page_table), DMA_TO_DEVICE); in sbp2_unmap_scatterlist()
1426 orb->page_table[i].high = cpu_to_be32(sg_dma_len(sg) << 16); in sbp2_map_scatterlist()
1427 orb->page_table[i].low = cpu_to_be32(sg_dma_address(sg)); in sbp2_map_scatterlist()
1431 dma_map_single(device->card->device, orb->page_table, in sbp2_map_scatterlist()
1432 sizeof(orb->page_table), DMA_TO_DEVICE); in sbp2_map_scatterlist()
/drivers/net/ethernet/broadcom/
Dcnic.c759 __le32 *page_table = (__le32 *) dma->pgtbl; in cnic_setup_page_tbl() local
763 *page_table = cpu_to_le32((u64) dma->pg_map_arr[i] >> 32); in cnic_setup_page_tbl()
764 page_table++; in cnic_setup_page_tbl()
765 *page_table = cpu_to_le32(dma->pg_map_arr[i] & 0xffffffff); in cnic_setup_page_tbl()
766 page_table++; in cnic_setup_page_tbl()
773 __le32 *page_table = (__le32 *) dma->pgtbl; in cnic_setup_page_tbl_le() local
777 *page_table = cpu_to_le32(dma->pg_map_arr[i] & 0xffffffff); in cnic_setup_page_tbl_le()
778 page_table++; in cnic_setup_page_tbl_le()
779 *page_table = cpu_to_le32((u64) dma->pg_map_arr[i] >> 32); in cnic_setup_page_tbl_le()
780 page_table++; in cnic_setup_page_tbl_le()