Home
last modified time | relevance | path

Searched refs:aper (Results 1 - 25 of 35) sorted by relevance

12

/kernel/linux/linux-5.10/arch/alpha/kernel/
H A Dcore_titan.c597 struct titan_agp_aperture *aper; in titan_agp_setup()
602 aper = kmalloc(sizeof(struct titan_agp_aperture), GFP_KERNEL); in titan_agp_setup()
603 if (aper == NULL) in titan_agp_setup()
606 aper->arena = agp->hose->sg_pci; in titan_agp_setup()
607 aper->pg_count = alpha_agpgart_size / PAGE_SIZE; in titan_agp_setup()
608 aper->pg_start = iommu_reserve(aper->arena, aper->pg_count, in titan_agp_setup()
609 aper->pg_count - 1); in titan_agp_setup()
610 if (aper in titan_agp_setup()
592 struct titan_agp_aperture *aper; titan_agp_setup() local
622 struct titan_agp_aperture *aper = agp->aperture.sysdata; titan_agp_cleanup() local
685 struct titan_agp_aperture *aper = agp->aperture.sysdata; titan_agp_bind_memory() local
693 struct titan_agp_aperture *aper = agp->aperture.sysdata; titan_agp_unbind_memory() local
701 struct titan_agp_aperture *aper = agp->aperture.sysdata; titan_agp_translate() local
[all...]
H A Dcore_marvel.c920 struct marvel_agp_aperture *aper; in marvel_agp_setup()
925 aper = kmalloc(sizeof(*aper), GFP_KERNEL); in marvel_agp_setup()
926 if (aper == NULL) return -ENOMEM; in marvel_agp_setup()
928 aper->arena = agp->hose->sg_pci; in marvel_agp_setup()
929 aper->pg_count = alpha_agpgart_size / PAGE_SIZE; in marvel_agp_setup()
930 aper->pg_start = iommu_reserve(aper->arena, aper->pg_count, in marvel_agp_setup()
931 aper in marvel_agp_setup()
909 struct marvel_agp_aperture *aper; marvel_agp_setup() local
939 struct marvel_agp_aperture *aper = agp->aperture.sysdata; marvel_agp_cleanup() local
1024 struct marvel_agp_aperture *aper = agp->aperture.sysdata; marvel_agp_bind_memory() local
1032 struct marvel_agp_aperture *aper = agp->aperture.sysdata; marvel_agp_unbind_memory() local
1040 struct marvel_agp_aperture *aper = agp->aperture.sysdata; marvel_agp_translate() local
[all...]
/kernel/linux/linux-6.6/arch/alpha/kernel/
H A Dcore_titan.c597 struct titan_agp_aperture *aper; in titan_agp_setup()
602 aper = kmalloc(sizeof(struct titan_agp_aperture), GFP_KERNEL); in titan_agp_setup()
603 if (aper == NULL) in titan_agp_setup()
606 aper->arena = agp->hose->sg_pci; in titan_agp_setup()
607 aper->pg_count = alpha_agpgart_size / PAGE_SIZE; in titan_agp_setup()
608 aper->pg_start = iommu_reserve(aper->arena, aper->pg_count, in titan_agp_setup()
609 aper->pg_count - 1); in titan_agp_setup()
610 if (aper in titan_agp_setup()
592 struct titan_agp_aperture *aper; titan_agp_setup() local
622 struct titan_agp_aperture *aper = agp->aperture.sysdata; titan_agp_cleanup() local
685 struct titan_agp_aperture *aper = agp->aperture.sysdata; titan_agp_bind_memory() local
693 struct titan_agp_aperture *aper = agp->aperture.sysdata; titan_agp_unbind_memory() local
701 struct titan_agp_aperture *aper = agp->aperture.sysdata; titan_agp_translate() local
[all...]
H A Dcore_marvel.c871 struct marvel_agp_aperture *aper; in marvel_agp_setup()
876 aper = kmalloc(sizeof(*aper), GFP_KERNEL); in marvel_agp_setup()
877 if (aper == NULL) return -ENOMEM; in marvel_agp_setup()
879 aper->arena = agp->hose->sg_pci; in marvel_agp_setup()
880 aper->pg_count = alpha_agpgart_size / PAGE_SIZE; in marvel_agp_setup()
881 aper->pg_start = iommu_reserve(aper->arena, aper->pg_count, in marvel_agp_setup()
882 aper in marvel_agp_setup()
862 struct marvel_agp_aperture *aper; marvel_agp_setup() local
892 struct marvel_agp_aperture *aper = agp->aperture.sysdata; marvel_agp_cleanup() local
977 struct marvel_agp_aperture *aper = agp->aperture.sysdata; marvel_agp_bind_memory() local
985 struct marvel_agp_aperture *aper = agp->aperture.sysdata; marvel_agp_unbind_memory() local
993 struct marvel_agp_aperture *aper = agp->aperture.sysdata; marvel_agp_translate() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Dvmmgf100.c251 int kindn, aper, ret = -ENOSYS; in gf100_vmm_valid() local
273 aper = vmm->func->aper(target); in gf100_vmm_valid()
274 if (WARN_ON(aper < 0)) in gf100_vmm_valid()
275 return aper; in gf100_vmm_valid()
286 if (aper != 0 || !(page->type & NVKM_VMM_PAGE_COMP)) { in gf100_vmm_valid()
287 VMM_DEBUG(vmm, "comp %d %02x", aper, page->type); in gf100_vmm_valid()
317 map->type |= (u64)aper << 33; in gf100_vmm_valid()
374 .aper = gf100_vmm_aper,
389 .aper
[all...]
H A Dvmmgp100.c411 int kindn, aper, ret = -ENOSYS; in gp100_vmm_valid() local
433 aper = vmm->func->aper(target); in gp100_vmm_valid()
434 if (WARN_ON(aper < 0)) in gp100_vmm_valid()
435 return aper; in gp100_vmm_valid()
445 if (aper != 0 || !(page->type & NVKM_VMM_PAGE_COMP)) { in gp100_vmm_valid()
446 VMM_DEBUG(vmm, "comp %d %02x", aper, page->type); in gp100_vmm_valid()
469 map->type |= (u64)aper << 1; in gp100_vmm_valid()
485 u32 inst, aper; in gp100_vmm_fault_cancel() local
493 aper in gp100_vmm_fault_cancel()
[all...]
H A Dvmmnv50.c238 u8 aper, kind, kind_inv, comp, priv, ro; in nv50_vmm_valid() local
265 aper = 3; in nv50_vmm_valid()
267 aper = 0; in nv50_vmm_valid()
271 aper = 2; in nv50_vmm_valid()
274 aper = 3; in nv50_vmm_valid()
295 if (aper != 0 || !(page->type & NVKM_VMM_PAGE_COMP)) { in nv50_vmm_valid()
296 VMM_DEBUG(vmm, "comp %d %02x", aper, page->type); in nv50_vmm_valid()
318 map->type |= (u64)aper << 4; in nv50_vmm_valid()
H A Dvmmgk20a.c40 .aper = gf100_vmm_aper,
55 .aper = gf100_vmm_aper,
H A Dvmmgm20b.c28 .aper = gk20a_vmm_aper,
44 .aper = gk20a_vmm_aper,
H A Dvmmgk104.c71 .aper = gf100_vmm_aper,
86 .aper = gf100_vmm_aper,
H A Dvmmgm200.c113 .aper = gf100_vmm_aper,
129 .aper = gf100_vmm_aper,
H A Dvmmgp10b.c28 .aper = gk20a_vmm_aper,
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Dvmmgf100.c250 int kindn, aper, ret = -ENOSYS; in gf100_vmm_valid() local
272 aper = vmm->func->aper(target); in gf100_vmm_valid()
273 if (WARN_ON(aper < 0)) in gf100_vmm_valid()
274 return aper; in gf100_vmm_valid()
285 if (aper != 0 || !(page->type & NVKM_VMM_PAGE_COMP)) { in gf100_vmm_valid()
286 VMM_DEBUG(vmm, "comp %d %02x", aper, page->type); in gf100_vmm_valid()
318 map->type |= (u64)aper << 33; in gf100_vmm_valid()
375 .aper = gf100_vmm_aper,
390 .aper
[all...]
H A Dvmmgp100.c417 int kindn, aper, ret = -ENOSYS; in gp100_vmm_valid() local
439 aper = vmm->func->aper(target); in gp100_vmm_valid()
440 if (WARN_ON(aper < 0)) in gp100_vmm_valid()
441 return aper; in gp100_vmm_valid()
451 if (aper != 0 || !(page->type & NVKM_VMM_PAGE_COMP)) { in gp100_vmm_valid()
452 VMM_DEBUG(vmm, "comp %d %02x", aper, page->type); in gp100_vmm_valid()
477 map->type |= (u64)aper << 1; in gp100_vmm_valid()
493 u32 aper; in gp100_vmm_fault_cancel() local
501 aper in gp100_vmm_fault_cancel()
[all...]
H A Dvmmnv50.c237 u8 aper, kind, kind_inv, comp, priv, ro; in nv50_vmm_valid() local
264 aper = 3; in nv50_vmm_valid()
266 aper = 0; in nv50_vmm_valid()
270 aper = 2; in nv50_vmm_valid()
273 aper = 3; in nv50_vmm_valid()
294 if (aper != 0 || !(page->type & NVKM_VMM_PAGE_COMP)) { in nv50_vmm_valid()
295 VMM_DEBUG(vmm, "comp %d %02x", aper, page->type); in nv50_vmm_valid()
320 map->type |= (u64)aper << 4; in nv50_vmm_valid()
H A Dvmmgk20a.c40 .aper = gf100_vmm_aper,
55 .aper = gf100_vmm_aper,
H A Dvmmgm20b.c28 .aper = gk20a_vmm_aper,
44 .aper = gk20a_vmm_aper,
H A Dvmmgk104.c71 .aper = gf100_vmm_aper,
86 .aper = gf100_vmm_aper,
H A Dvmmgm200.c113 .aper = gf100_vmm_aper,
129 .aper = gf100_vmm_aper,
H A Dvmmgp10b.c28 .aper = gk20a_vmm_aper,
/kernel/linux/linux-5.10/arch/x86/kernel/
H A Daperture_64.c162 u64 aper; in read_agp() local
187 aper = (aper_low & ~((1<<22)-1)) | ((u64)aper_hi << 32); in read_agp()
194 bus, slot, func, aper, aper + (32ULL << (old_order + 20)) - 1, in read_agp()
196 if (aper + (32ULL<<(20 + *order)) > 0x100000000ULL) { in read_agp()
203 bus, slot, func, aper, aper + (32ULL << (*order + 20)) - 1, in read_agp()
206 if (!aperture_valid(aper, (32*1024*1024) << *order, 32<<20)) in read_agp()
208 return (u32)aper; in read_agp()
/kernel/linux/linux-6.6/arch/x86/kernel/
H A Daperture_64.c172 u64 aper; in read_agp() local
197 aper = (aper_low & ~((1<<22)-1)) | ((u64)aper_hi << 32); in read_agp()
204 bus, slot, func, aper, aper + (32ULL << (old_order + 20)) - 1, in read_agp()
206 if (aper + (32ULL<<(20 + *order)) > 0x100000000ULL) { in read_agp()
213 bus, slot, func, aper, aper + (32ULL << (*order + 20)) - 1, in read_agp()
216 if (!aperture_valid(aper, (32*1024*1024) << *order, 32<<20)) in read_agp()
218 return (u32)aper; in read_agp()
/kernel/linux/linux-5.10/drivers/char/agp/
H A Damd64-agp.c244 static int agp_aperture_valid(u64 aper, u32 size) in agp_aperture_valid() argument
246 if (!aperture_valid(aper, size, 32*1024*1024)) in agp_aperture_valid()
255 !(aperture_resource = request_mem_region(aper, size, "aperture"))) { in agp_aperture_valid()
273 u64 aper, nb_aper; in fix_northbridge() local
298 aper = pci_bus_address(agp, AGP_APERTURE_BAR); in fix_northbridge()
304 if (order >=0 && aper + (32ULL<<(20 + order)) > 0x100000000ULL) { in fix_northbridge()
316 aper, 32 << order); in fix_northbridge()
317 if (order < 0 || !agp_aperture_valid(aper, (32*1024*1024)<<order)) in fix_northbridge()
321 pci_write_config_dword(nb, AMD64_GARTAPERTUREBASE, aper >> 25); in fix_northbridge()
/kernel/linux/linux-6.6/drivers/char/agp/
H A Damd64-agp.c244 static int agp_aperture_valid(u64 aper, u32 size) in agp_aperture_valid() argument
246 if (!aperture_valid(aper, size, 32*1024*1024)) in agp_aperture_valid()
255 !(aperture_resource = request_mem_region(aper, size, "aperture"))) { in agp_aperture_valid()
273 u64 aper, nb_aper; in fix_northbridge() local
298 aper = pci_bus_address(agp, AGP_APERTURE_BAR); in fix_northbridge()
304 if (order >=0 && aper + (32ULL<<(20 + order)) > 0x100000000ULL) { in fix_northbridge()
316 aper, 32 << order); in fix_northbridge()
317 if (order < 0 || !agp_aperture_valid(aper, (32*1024*1024)<<order)) in fix_northbridge()
321 pci_write_config_dword(nb, AMD64_GARTAPERTUREBASE, aper >> 25); in fix_northbridge()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A Duchan.c394 case NVKM_MEM_TARGET_INST: args->v0.aper = NVIF_CHAN_V0_INST_APER_INST; break; in nvkm_uchan_new()
395 case NVKM_MEM_TARGET_VRAM: args->v0.aper = NVIF_CHAN_V0_INST_APER_VRAM; break; in nvkm_uchan_new()
396 case NVKM_MEM_TARGET_HOST: args->v0.aper = NVIF_CHAN_V0_INST_APER_HOST; break; in nvkm_uchan_new()
397 case NVKM_MEM_TARGET_NCOH: args->v0.aper = NVIF_CHAN_V0_INST_APER_NCOH; break; in nvkm_uchan_new()

Completed in 17 milliseconds

12