Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/video/fbdev/i810/
Di810_main.h69 par->mtrr_reg = mtrr_add((u32) par->aperture.physical, in set_mtrr()
70 par->aperture.size, MTRR_TYPE_WRCOMB, 1); in set_mtrr()
80 mtrr_del(par->mtrr_reg, (u32) par->aperture.physical, in unset_mtrr()
81 par->aperture.size); in unset_mtrr()
Di810_main.c1633 par->fb.physical = par->aperture.physical+(par->fb.offset << 12); in i810_fix_pointers()
1634 par->fb.virtual = par->aperture.virtual+(par->fb.offset << 12); in i810_fix_pointers()
1635 par->iring.physical = par->aperture.physical + in i810_fix_pointers()
1637 par->iring.virtual = par->aperture.virtual + in i810_fix_pointers()
1639 par->cursor_heap.virtual = par->aperture.virtual+ in i810_fix_pointers()
1645 if (vram + 1 > par->aperture.size >> 20) in i810_fix_offsets()
1646 vram = (par->aperture.size >> 20) - 1; in i810_fix_offsets()
1647 if (v_offset_default > (par->aperture.size >> 20)) in i810_fix_offsets()
1648 v_offset_default = (par->aperture.size >> 20); in i810_fix_offsets()
1649 if (vram + v_offset_default + 1 > par->aperture.size >> 20) in i810_fix_offsets()
[all …]
Di810.h260 struct heap_data aperture; member
/linux-4.1.27/arch/alpha/kernel/
Dcore_titan.c607 agp->aperture.bus_base = in titan_agp_setup()
609 agp->aperture.size = aper->pg_count * PAGE_SIZE; in titan_agp_setup()
610 agp->aperture.sysdata = aper; in titan_agp_setup()
618 struct titan_agp_aperture *aper = agp->aperture.sysdata; in titan_agp_cleanup()
681 struct titan_agp_aperture *aper = agp->aperture.sysdata; in titan_agp_bind_memory()
689 struct titan_agp_aperture *aper = agp->aperture.sysdata; in titan_agp_unbind_memory()
697 struct titan_agp_aperture *aper = agp->aperture.sysdata; in titan_agp_translate()
701 if (addr < agp->aperture.bus_base || in titan_agp_translate()
702 addr >= agp->aperture.bus_base + agp->aperture.size) { in titan_agp_translate()
775 agp->aperture.bus_base = 0; in titan_agp_info()
[all …]
Dcore_marvel.c921 agp->aperture.bus_base = in marvel_agp_setup()
923 agp->aperture.size = aper->pg_count * PAGE_SIZE; in marvel_agp_setup()
924 agp->aperture.sysdata = aper; in marvel_agp_setup()
932 struct marvel_agp_aperture *aper = agp->aperture.sysdata; in marvel_agp_cleanup()
1017 struct marvel_agp_aperture *aper = agp->aperture.sysdata; in marvel_agp_bind_memory()
1025 struct marvel_agp_aperture *aper = agp->aperture.sysdata; in marvel_agp_unbind_memory()
1033 struct marvel_agp_aperture *aper = agp->aperture.sysdata; in marvel_agp_translate()
1037 if (addr < agp->aperture.bus_base || in marvel_agp_translate()
1038 addr >= agp->aperture.bus_base + agp->aperture.size) { in marvel_agp_translate()
1119 agp->aperture.bus_base = 0; in marvel_agp_info()
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/iommu/
Dnvidia,tegra20-gart.txt6 the memory controller registers and the GART aperture respectively.
13 0x58000000 0x02000000>; /* GART aperture */
/linux-4.1.27/drivers/char/agp/
Duninorth-agp.c35 static char *aperture = NULL; variable
43 if (aperture) { in uninorth_fetch_size()
44 char *save = aperture; in uninorth_fetch_size()
46 size = memparse(aperture, &aperture) >> 20; in uninorth_fetch_size()
47 aperture = save; in uninorth_fetch_size()
57 aperture = NULL; in uninorth_fetch_size()
715 module_param(aperture, charp, 0);
716 MODULE_PARM_DESC(aperture,
Dalpha-agp.c23 + agp->aperture.bus_base; in alpha_core_agp_vm_fault()
56 agp_bridge->gart_bus_addr = agp->aperture.bus_base; in alpha_core_agp_configure()
170 aper_size->size = agp->aperture.size / (1024 * 1024); in alpha_core_agp_setup()
171 aper_size->num_entries = agp->aperture.size / PAGE_SIZE; in alpha_core_agp_setup()
Dnvidia-agp.c31 volatile u32 __iomem *aperture; member
157 nvidia_private.aperture = in nvidia_configure()
160 if (!nvidia_private.aperture) in nvidia_configure()
180 iounmap((void __iomem *) nvidia_private.aperture); in nvidia_cleanup()
286 temp = readl(nvidia_private.aperture+(i * PAGE_SIZE / sizeof(u32))); in nvidia_tlbflush()
288 temp = readl(nvidia_private.aperture+(i * PAGE_SIZE / sizeof(u32))); in nvidia_tlbflush()
/linux-4.1.27/drivers/video/fbdev/intelfb/
Dintelfbdrv.c420 dinfo->mtrr_reg = mtrr_add(dinfo->aperture.physical, in set_mtrr()
421 dinfo->aperture.size, MTRR_TYPE_WRCOMB, 1); in set_mtrr()
431 mtrr_del(dinfo->mtrr_reg, dinfo->aperture.physical, in unset_mtrr()
432 dinfo->aperture.size); in unset_mtrr()
481 if (dinfo->aperture.virtual) in cleanup()
482 iounmap((void __iomem *)dinfo->aperture.virtual); in cleanup()
487 release_mem_region(dinfo->aperture.physical, in cleanup()
488 dinfo->aperture.size); in cleanup()
569 dinfo->aperture.physical = pci_resource_start(pdev, aperture_bar); in intelfb_pci_register()
570 dinfo->aperture.size = pci_resource_len(pdev, aperture_bar); in intelfb_pci_register()
[all …]
Dintelfb.h293 struct intelfb_heap_data aperture; member
/linux-4.1.27/drivers/iommu/
Damd_iommu.c1506 dma_dom->aperture[0]->bitmap); in dma_ops_unity_map()
1586 __set_bit(page, dom->aperture[index]->bitmap); in dma_ops_reserve_addresses()
1609 dma_dom->aperture[index] = kzalloc(sizeof(struct aperture_range), gfp); in alloc_new_range()
1610 if (!dma_dom->aperture[index]) in alloc_new_range()
1613 dma_dom->aperture[index]->bitmap = (void *)get_zeroed_page(gfp); in alloc_new_range()
1614 if (!dma_dom->aperture[index]->bitmap) in alloc_new_range()
1617 dma_dom->aperture[index]->offset = dma_dom->aperture_size; in alloc_new_range()
1630 dma_dom->aperture[index]->pte_pages[i] = pte_page; in alloc_new_range()
1654 iommu->exclusion_start >= dma_dom->aperture[index]->offset in alloc_new_range()
1671 for (i = dma_dom->aperture[index]->offset; in alloc_new_range()
[all …]
Damd_iommu_types.h462 struct aperture_range *aperture[APERTURE_MAX_RANGES]; member
/linux-4.1.27/Documentation/devicetree/bindings/bus/
Dmvebu-mbus.txt34 - pcie-mem-aperture: This optional property contains the aperture for
40 - pcie-io-aperture: Just as explained for the above property, this
41 optional property contains the aperture for the
65 pcie-mem-aperture = <0xe0000000 0x8000000>;
66 pcie-io-aperture = <0xe8000000 0x100000>;
/linux-4.1.27/drivers/misc/
Dpti.c115 u32 __iomem *aperture; in pti_write_to_aperture() local
122 aperture = drv_data->pti_ioaddr + (mc->master << 15) in pti_write_to_aperture()
135 iowrite32(ptiword, aperture); in pti_write_to_aperture()
138 aperture += PTI_LASTDWORD_DTS; /* adding DTS signals that is EOM */ in pti_write_to_aperture()
144 iowrite32(ptiword, aperture); in pti_write_to_aperture()
/linux-4.1.27/arch/alpha/include/asm/
Dagp_backend.h25 } aperture; member
/linux-4.1.27/Documentation/
Dio-mapping.txt3 usage is to support the large graphics aperture on 32-bit processors where
4 ioremap_wc cannot be used to statically map the entire aperture to the CPU
/linux-4.1.27/drivers/media/i2c/m5mols/
Dm5mols_capture.c74 &exif->aperture); in m5mols_capture_info()
Dm5mols.h66 u32 aperture; member
/linux-4.1.27/arch/arm/boot/dts/
Dkirkwood.dtsi40 pcie-mem-aperture = <0xe0000000 0x10000000>; /* 256 MiB memory space */
41 pcie-io-aperture = <0xf2000000 0x100000>; /* 1 MiB I/O space */
Darmada-370-xp.dtsi86 pcie-mem-aperture = <0xf8000000 0x7e00000>;
87 pcie-io-aperture = <0xffe00000 0x100000>;
Darmada-39x.dtsi88 pcie-mem-aperture = <0xe0000000 0x8000000>;
89 pcie-io-aperture = <0xe8000000 0x100000>;
Darmada-375.dtsi110 pcie-mem-aperture = <0xe0000000 0x8000000>;
111 pcie-io-aperture = <0xe8000000 0x100000>;
Ddove.dtsi41 pcie-mem-aperture = <0xe0000000 0x10000000>; /* 256M MEM space */
42 pcie-io-aperture = <0xf2000000 0x00200000>; /* 2M I/O space */
Darmada-38x.dtsi77 pcie-mem-aperture = <0xe0000000 0x8000000>;
78 pcie-io-aperture = <0xe8000000 0x100000>;
Dtegra20.dtsi554 0x58000000 0x02000000>; /* GART aperture */
/linux-4.1.27/Documentation/x86/x86_64/
Dboot-options.txt226 memaper[=<order>] Allocate an own aperture over RAM with size 32MB<<order.
231 noaperture Ask the IOMMU not to touch the aperture for AGP.
234 noagp Don't initialize the AGP driver and use full aperture.
/linux-4.1.27/Documentation/fb/
Dintel810.txt120 offset (16 MB for a 64 MB aperture, 8 MB for a 32 MB aperture) will
/linux-4.1.27/include/linux/
Dfb.h500 struct aperture { struct
511 + max_num * sizeof(struct aperture), GFP_KERNEL); in alloc_apertures()
/linux-4.1.27/drivers/gpu/drm/savage/
Dsavage_drv.h159 drm_local_map_t *aperture; member
Dsavage_bci.c640 &dev_priv->aperture); in savage_driver_firstopen()
/linux-4.1.27/drivers/video/fbdev/core/
Dfbmem.c1543 static bool apertures_overlap(struct aperture *gen, struct aperture *hw) in apertures_overlap()
1562 struct aperture *h = &hwa->ranges[i]; in fb_do_apertures_overlap()
1564 struct aperture *g = &gena->ranges[j]; in fb_do_apertures_overlap()
/linux-4.1.27/drivers/mtd/devices/
DKconfig15 the size of the aperture window pointing into the devices memory.
/linux-4.1.27/arch/x86/
DKconfig.debug166 IOMMU/AGP aperture. Most of the options enabled by this can