Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/iommu/
A Dsun50i-iommu.c524 u32 *page_table; in sun50i_iommu_alloc_page_table() local
527 if (!page_table) in sun50i_iommu_alloc_page_table()
540 return page_table; in sun50i_iommu_alloc_page_table()
544 u32 *page_table) in sun50i_iommu_free_page_table() argument
556 u32 *page_table; in sun50i_dte_get_page_table() local
569 if (IS_ERR(page_table)) in sun50i_dte_get_page_table()
570 return page_table; in sun50i_dte_get_page_table()
588 return page_table; in sun50i_dte_get_page_table()
601 if (IS_ERR(page_table)) { in sun50i_iommu_map()
653 u32 *page_table; in sun50i_iommu_iova_to_phys() local
[all …]
A Drockchip-iommu.c683 u32 *page_table; in rk_iommu_iova_to_phys() local
692 page_table = (u32 *)phys_to_virt(pt_phys); in rk_iommu_iova_to_phys()
693 pte = page_table[rk_iova_pte_index(iova)]; in rk_iommu_iova_to_phys()
745 u32 *page_table, *dte_addr; in rk_dte_get_page_table() local
759 if (!page_table) in rk_dte_get_page_table()
765 free_page((unsigned long)page_table); in rk_dte_get_page_table()
852 u32 *page_table, *pte_addr; in rk_iommu_map() local
866 if (IS_ERR(page_table)) { in rk_iommu_map()
868 return PTR_ERR(page_table); in rk_iommu_map()
873 pte_addr = &page_table[pte_index]; in rk_iommu_map()
[all …]
/linux-6.3-rc2/arch/x86/power/
A Dhibernate_32.c62 pte_t *page_table = (pte_t *)get_safe_page(GFP_ATOMIC); in resume_one_page_table_init() local
63 if (!page_table) in resume_one_page_table_init()
66 set_pmd(pmd, __pmd(__pa(page_table) | _PAGE_TABLE)); in resume_one_page_table_init()
68 BUG_ON(page_table != pte_offset_kernel(pmd, 0)); in resume_one_page_table_init()
70 return page_table; in resume_one_page_table_init()
/linux-6.3-rc2/arch/sparc/mm/
A Diommu.c101 iommu->page_table = (iopte_t *)tmp; in sbus_iommu_init()
104 memset(iommu->page_table, 0, IOMMU_NPTES*sizeof(iopte_t)); in sbus_iommu_init()
108 base = __pa((unsigned long)iommu->page_table) >> 4; in sbus_iommu_init()
128 impl, vers, iommu->page_table, in sbus_iommu_init()
217 iopte0 = &iommu->page_table[ioptex]; in __sbus_iommu_map_page()
291 iopte_val(iommu->page_table[ioptex + i]) = 0; in sbus_iommu_unmap_page()
317 iopte_t *iopte = iommu->page_table; in sbus_iommu_alloc()
398 iopte_t *iopte = iommu->page_table; in sbus_iommu_free()
A Dio-unit.c66 iounit->page_table = xpt; in iounit_iommu_init()
69 xptend = iounit->page_table + (16 * PAGE_SIZE) / sizeof(iopte_t); in iounit_iommu_init()
138 sbus_writel(iopte_val(iopte), &iounit->page_table[scan]); in iounit_get_area()
253 iopte = iounit->page_table + i; in iounit_alloc()
/linux-6.3-rc2/arch/sparc/kernel/
A Diommu.c138 iommu->page_table = (iopte_t *)page_address(page); in iommu_table_init()
141 iopte_make_dummy(iommu, &iommu->page_table[i]); in iommu_table_init()
167 return iommu->page_table + entry; in alloc_npages()
231 ((iopte - iommu->page_table) << IO_PAGE_SHIFT)); in dma_4u_alloc_coherent()
297 ((base - iommu->page_table) << IO_PAGE_SHIFT)); in dma_4u_map_page()
406 base = iommu->page_table + in dma_4u_unmap_page()
501 base = iommu->page_table + entry; in dma_4u_map_sg()
566 base = iommu->page_table + entry; in dma_4u_map_sg()
597 base = iommu->page_table + in fetch_sg_ctx()
637 base = iommu->page_table + entry; in dma_4u_unmap_sg()
[all …]
A Dldc.c108 struct ldc_mtable_entry *page_table; member
1029 base = iommu->page_table + entry; in ldc_demap()
1079 ldc_iommu->page_table = table; in ldc_iommu_init()
1091 ldc_iommu->page_table = NULL; in ldc_iommu_init()
1113 ldc_iommu->page_table = NULL; in ldc_iommu_release()
2027 return iommu->page_table + entry; in alloc_npages()
2076 struct ldc_mtable_entry *page_table; member
2177 state.page_table = iommu->page_table; in ldc_map_sg()
2181 state.pte_idx = (base - iommu->page_table); in ldc_map_sg()
2219 state.page_table = iommu->page_table; in ldc_map_single()
[all …]
A Dpsycho_common.c429 upa_writeq(__pa(iommu->page_table), iommu->iommu_tsbbase); in psycho_iommu_init()
A Dpci_fire.c64 upa_writeq(__pa(iommu->page_table) | 0x7UL, iommu->iommu_tsbbase); in pci_fire_pbm_iommu_init()
A Dsbus.c625 upa_writeq(__pa(iommu->page_table), iommu->iommu_tsbbase); in sbus_iommu_init()
/linux-6.3-rc2/sound/soc/sof/
A Dsof-utils.c27 unsigned char *page_table, size_t size) in snd_sof_create_page_table() argument
48 pg_table = (u8 *)(page_table + idx); in snd_sof_create_page_table()
A Dsof-utils.h17 unsigned char *page_table, size_t size);
A Dcompress.c92 spcm->stream[dir].page_table.area, size); in create_page_table()
220 pcm->params.buffer.phy_addr = spcm->stream[cstream->direction].page_table.addr; in sof_compr_set_params()
A Dtopology.c1728 PAGE_SIZE, &spcm->stream[stream].page_table); in sof_dai_load()
1755 PAGE_SIZE, &spcm->stream[stream].page_table); in sof_dai_load()
1767 snd_dma_free_pages(&spcm->stream[stream].page_table); in sof_dai_load()
1775 snd_dma_free_pages(&spcm->stream[SNDRV_PCM_STREAM_PLAYBACK].page_table); in sof_dai_load()
1789 snd_dma_free_pages(&spcm->stream[SNDRV_PCM_STREAM_PLAYBACK].page_table); in sof_dai_unload()
1792 snd_dma_free_pages(&spcm->stream[SNDRV_PCM_STREAM_CAPTURE].page_table); in sof_dai_unload()
A Dsof-audio.h305 struct snd_dma_buffer page_table; member
A Dipc3-pcm.c68 pcm.params.buffer.phy_addr = spcm->stream[substream->stream].page_table.addr; in sof_ipc3_pcm_hw_params()
/linux-6.3-rc2/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_mob.c128 BUG_ON(otable->page_table != NULL); in vmw_setup_otable_base()
175 otable->page_table = mob; in vmw_setup_otable_base()
203 if (otable->page_table == NULL) in vmw_takedown_otable_base()
206 bo = otable->page_table->pt_bo; in vmw_takedown_otable_base()
231 vmw_mob_destroy(otable->page_table); in vmw_takedown_otable_base()
232 otable->page_table = NULL; in vmw_takedown_otable_base()
/linux-6.3-rc2/arch/sparc/include/asm/
A Dio-unit.h47 iopte_t __iomem *page_table; member
A Diommu_32.h104 iopte_t *page_table; member
A Diommu_64.h60 iopte_t *page_table; member
/linux-6.3-rc2/arch/x86/mm/
A Dinit_32.c100 pte_t *page_table = (pte_t *)alloc_low_page(); in one_page_table_init() local
102 paravirt_alloc_pte(&init_mm, __pa(page_table) >> PAGE_SHIFT); in one_page_table_init()
103 set_pmd(pmd, __pmd(__pa(page_table) | _PAGE_TABLE)); in one_page_table_init()
104 BUG_ON(page_table != pte_offset_kernel(pmd, 0)); in one_page_table_init()
/linux-6.3-rc2/drivers/firewire/
A Dsbp2.c314 struct sbp2_pointer page_table[SG_ALL] __attribute__((aligned(8))); member
1286 sizeof(orb->page_table), DMA_TO_DEVICE); in sbp2_unmap_scatterlist()
1410 orb->page_table[i].high = cpu_to_be32(sg_dma_len(sg) << 16); in sbp2_map_scatterlist()
1411 orb->page_table[i].low = cpu_to_be32(sg_dma_address(sg)); in sbp2_map_scatterlist()
1415 dma_map_single(device->card->device, orb->page_table, in sbp2_map_scatterlist()
1416 sizeof(orb->page_table), DMA_TO_DEVICE); in sbp2_map_scatterlist()
/linux-6.3-rc2/sound/soc/intel/catpt/
A Dpcm.c164 u32 *page_table; in catpt_arrange_page_table() local
169 page_table = (u32 *)(pgtbl->area + offset); in catpt_arrange_page_table()
172 *page_table |= (pfn << 4); in catpt_arrange_page_table()
174 *page_table |= pfn; in catpt_arrange_page_table()
/linux-6.3-rc2/drivers/net/wireless/realtek/rtw88/
A Dmac.c1193 pg_tbl = &chip->page_table[1]; in priority_queue_cfg()
1197 pg_tbl = &chip->page_table[2]; in priority_queue_cfg()
1199 pg_tbl = &chip->page_table[3]; in priority_queue_cfg()
1201 pg_tbl = &chip->page_table[4]; in priority_queue_cfg()
/linux-6.3-rc2/arch/arm64/include/asm/
A Dassembler.h487 .macro break_before_make_ttbr_switch zero_page, page_table, tmp, tmp2
493 load_ttbr1 \page_table, \tmp, \tmp2

Completed in 99 milliseconds

12