Home
last modified time | relevance | path

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

/linux-4.4.14/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.4.14/Documentation/devicetree/bindings/iommu/
Dnvidia,tegra20-gart.txt6 the memory controller registers and the GART aperture respectively.
13 0x58000000 0x02000000>; /* GART aperture */
/linux-4.4.14/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()
719 module_param(aperture, charp, 0);
720 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.4.14/arch/arc/plat-axs10x/
Daxs10x.c161 struct aperture { struct
187 static const struct aperture axc001_memmap[16] = {
210 static const struct aperture axc001_axi_tunnel_memmap[16] = {
233 static const struct aperture axs_mb_memmap[16] = {
253 axs101_set_memmap(void __iomem *base, const struct aperture map[16]) in axs101_set_memmap()
/linux-4.4.14/drivers/video/fbdev/i810/
Di810_main.c1634 par->fb.physical = par->aperture.physical+(par->fb.offset << 12); in i810_fix_pointers()
1635 par->fb.virtual = par->aperture.virtual+(par->fb.offset << 12); in i810_fix_pointers()
1636 par->iring.physical = par->aperture.physical + in i810_fix_pointers()
1638 par->iring.virtual = par->aperture.virtual + in i810_fix_pointers()
1640 par->cursor_heap.virtual = par->aperture.virtual+ in i810_fix_pointers()
1646 if (vram + 1 > par->aperture.size >> 20) in i810_fix_offsets()
1647 vram = (par->aperture.size >> 20) - 1; in i810_fix_offsets()
1648 if (v_offset_default > (par->aperture.size >> 20)) in i810_fix_offsets()
1649 v_offset_default = (par->aperture.size >> 20); in i810_fix_offsets()
1650 if (vram + v_offset_default + 1 > par->aperture.size >> 20) in i810_fix_offsets()
[all …]
Di810.h259 struct heap_data aperture; member
/linux-4.4.14/drivers/video/fbdev/intelfb/
Dintelfbdrv.c450 if (dinfo->aperture.virtual) in cleanup()
451 iounmap((void __iomem *)dinfo->aperture.virtual); in cleanup()
456 release_mem_region(dinfo->aperture.physical, in cleanup()
457 dinfo->aperture.size); in cleanup()
538 dinfo->aperture.physical = pci_resource_start(pdev, aperture_bar); in intelfb_pci_register()
539 dinfo->aperture.size = pci_resource_len(pdev, aperture_bar); in intelfb_pci_register()
548 if (!request_mem_region(dinfo->aperture.physical, dinfo->aperture.size, in intelfb_pci_register()
647 dinfo->aperture.virtual = (u8 __iomem *)ioremap_wc in intelfb_pci_register()
648 (dinfo->aperture.physical, ((offset + dinfo->fb.offset) << 12) in intelfb_pci_register()
650 if (!dinfo->aperture.virtual) { in intelfb_pci_register()
[all …]
Dintelfb.h291 struct intelfb_heap_data aperture; member
/linux-4.4.14/drivers/iommu/
Damd_iommu.c292 dma_dom->aperture[0]->bitmap); in alloc_unity_mapping()
1431 __set_bit(page, dom->aperture[index]->bitmap); in dma_ops_reserve_addresses()
1454 dma_dom->aperture[index] = kzalloc(sizeof(struct aperture_range), gfp); in alloc_new_range()
1455 if (!dma_dom->aperture[index]) in alloc_new_range()
1458 dma_dom->aperture[index]->bitmap = (void *)get_zeroed_page(gfp); in alloc_new_range()
1459 if (!dma_dom->aperture[index]->bitmap) in alloc_new_range()
1462 dma_dom->aperture[index]->offset = dma_dom->aperture_size; in alloc_new_range()
1475 dma_dom->aperture[index]->pte_pages[i] = pte_page; in alloc_new_range()
1499 iommu->exclusion_start >= dma_dom->aperture[index]->offset in alloc_new_range()
1516 for (i = dma_dom->aperture[index]->offset; in alloc_new_range()
[all …]
Damd_iommu_types.h461 struct aperture_range *aperture[APERTURE_MAX_RANGES]; member
/linux-4.4.14/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.4.14/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.4.14/arch/alpha/include/asm/
Dagp_backend.h25 } aperture; member
/linux-4.4.14/Documentation/nvdimm/
Dnvdimm.txt147 The NFIT specification defines a standard format for a BLK-aperture, but
162 to a corrupted address through an BLK-aperture causes that block window
176 accessed in its entirety through its BLK-aperture. Accessing a DPA
178 same DPA through a BLK-aperture has undefined results. For this reason,
181 into exclusive system-physical-address and BLK-aperture accessible
231 interleaved system-physical-address range is reclaimed as BLK-aperture
233 reclaimed space we create two BLK-aperture "namespaces" from REGION2 and
240 named "pm1.0", the rest is reclaimed in 4 BLK-aperture namespaces (for
247 Note, that this example shows that BLK-aperture namespaces don't need to
418 A generic REGION device is registered for each PMEM range or BLK-aperture
[all …]
/linux-4.4.14/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.4.14/drivers/acpi/
Dnfit.h127 void __pmem *aperture; member
Dnfit.c1140 memcpy_to_pmem(mmio->addr.aperture + offset, in acpi_nfit_blk_single_io()
1145 mmio->addr.aperture + offset, c); in acpi_nfit_blk_single_io()
1148 mmio->addr.aperture + offset, c); in acpi_nfit_blk_single_io()
1197 memunmap((void __force *)spa_map->addr.aperture); in nfit_spa_mapping_release()
1263 spa_map->addr.aperture = (void __pmem *)memremap(start, n, in __nfit_spa_map()
/linux-4.4.14/drivers/media/i2c/m5mols/
Dm5mols_capture.c74 &exif->aperture); in m5mols_capture_info()
Dm5mols.h66 u32 aperture; member
/linux-4.4.14/arch/arm/boot/dts/
Darmada-370-xp.dtsi86 pcie-mem-aperture = <0xf8000000 0x7e00000>;
87 pcie-io-aperture = <0xffe00000 0x100000>;
Dkirkwood.dtsi40 pcie-mem-aperture = <0xe0000000 0x10000000>; /* 256 MiB memory space */
41 pcie-io-aperture = <0xf2000000 0x100000>; /* 1 MiB I/O space */
Darmada-39x.dtsi88 pcie-mem-aperture = <0xe0000000 0x8000000>;
89 pcie-io-aperture = <0xe8000000 0x100000>;
Ddove.dtsi77 pcie-mem-aperture = <0xe0000000 0x10000000>; /* 256M MEM space */
78 pcie-io-aperture = <0xf2000000 0x00200000>; /* 2M I/O space */
Darmada-38x.dtsi77 pcie-mem-aperture = <0xe0000000 0x8000000>;
78 pcie-io-aperture = <0xe8000000 0x100000>;
Darmada-375.dtsi110 pcie-mem-aperture = <0xe0000000 0x8000000>;
111 pcie-io-aperture = <0xe8000000 0x100000>;
Dtegra20.dtsi557 0x58000000 0x02000000>; /* GART aperture */
/linux-4.4.14/Documentation/x86/x86_64/
Dboot-options.txt229 memaper[=<order>] Allocate an own aperture over RAM with size 32MB<<order.
234 noaperture Ask the IOMMU not to touch the aperture for AGP.
237 noagp Don't initialize the AGP driver and use full aperture.
/linux-4.4.14/drivers/nvdimm/
DKconfig39 tristate "BLK: Block data window (aperture) device support"
/linux-4.4.14/include/linux/
Dfb.h503 struct aperture { struct
514 + max_num * sizeof(struct aperture), GFP_KERNEL); in alloc_apertures()
/linux-4.4.14/Documentation/fb/
Dintel810.txt120 offset (16 MB for a 64 MB aperture, 8 MB for a 32 MB aperture) will
/linux-4.4.14/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.4.14/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.4.14/drivers/mtd/devices/
DKconfig15 the size of the aperture window pointing into the devices memory.
/linux-4.4.14/arch/x86/
DKconfig.debug199 IOMMU/AGP aperture. Most of the options enabled by this can