Home
last modified time | relevance | path

Searched refs:aperture (Results 1 - 25 of 93) sorted by relevance

1234

/kernel/linux/linux-5.10/arch/alpha/kernel/
H A Dcore_titan.c616 agp->aperture.bus_base = in titan_agp_setup()
618 agp->aperture.size = aper->pg_count * PAGE_SIZE;
619 agp->aperture.sysdata = aper;
627 struct titan_agp_aperture *aper = agp->aperture.sysdata; in titan_agp_cleanup()
690 struct titan_agp_aperture *aper = agp->aperture.sysdata;
698 struct titan_agp_aperture *aper = agp->aperture.sysdata;
706 struct titan_agp_aperture *aper = agp->aperture.sysdata; in titan_agp_translate()
710 if (addr < agp->aperture.bus_base || in titan_agp_translate()
711 addr >= agp->aperture.bus_base + agp->aperture in titan_agp_translate()
[all...]
H A Dcore_marvel.c939 agp->aperture.bus_base = in marvel_agp_cleanup()
941 agp->aperture.size = aper->pg_count * PAGE_SIZE; in marvel_agp_cleanup()
942 agp->aperture.sysdata = aper; in marvel_agp_cleanup()
950 struct marvel_agp_aperture *aper = agp->aperture.sysdata; in marvel_agp_cleanup()
1035 struct marvel_agp_aperture *aper = agp->aperture.sysdata; in marvel_agp_unbind_memory()
1043 struct marvel_agp_aperture *aper = agp->aperture.sysdata; in marvel_agp_translate()
1051 struct marvel_agp_aperture *aper = agp->aperture.sysdata; in marvel_agp_translate()
1055 if (addr < agp->aperture.bus_base || in marvel_agp_translate()
1056 addr >= agp->aperture.bus_base + agp->aperture in marvel_agp_translate()
[all...]
/kernel/linux/linux-6.6/arch/alpha/kernel/
H A Dcore_titan.c616 agp->aperture.bus_base = in titan_agp_setup()
618 agp->aperture.size = aper->pg_count * PAGE_SIZE;
619 agp->aperture.sysdata = aper;
627 struct titan_agp_aperture *aper = agp->aperture.sysdata; in titan_agp_cleanup()
690 struct titan_agp_aperture *aper = agp->aperture.sysdata;
698 struct titan_agp_aperture *aper = agp->aperture.sysdata;
706 struct titan_agp_aperture *aper = agp->aperture.sysdata; in titan_agp_translate()
710 if (addr < agp->aperture.bus_base || in titan_agp_translate()
711 addr >= agp->aperture.bus_base + agp->aperture in titan_agp_translate()
[all...]
H A Dcore_marvel.c890 agp->aperture.bus_base = in marvel_agp_cleanup()
892 agp->aperture.size = aper->pg_count * PAGE_SIZE; in marvel_agp_cleanup()
893 agp->aperture.sysdata = aper; in marvel_agp_cleanup()
901 struct marvel_agp_aperture *aper = agp->aperture.sysdata; in marvel_agp_cleanup()
986 struct marvel_agp_aperture *aper = agp->aperture.sysdata; in marvel_agp_unbind_memory()
994 struct marvel_agp_aperture *aper = agp->aperture.sysdata; in marvel_agp_translate()
1002 struct marvel_agp_aperture *aper = agp->aperture.sysdata; in marvel_agp_translate()
1006 if (addr < agp->aperture.bus_base || in marvel_agp_translate()
1007 addr >= agp->aperture.bus_base + agp->aperture in marvel_agp_translate()
[all...]
/kernel/linux/linux-5.10/drivers/char/agp/
H A 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()
54 dev_err(&agp_bridge->dev->dev, "invalid aperture size, " in uninorth_fetch_size()
57 aperture = NULL; in uninorth_fetch_size()
119 /* aperture size and gatt addr */ in uninorth_configure()
127 * the AGP aperture is in uninorth_configure()
[all...]
H A Dalpha-agp.c21 dma_addr = vmf->address - vmf->vma->vm_start + agp->aperture.bus_base; in alpha_core_agp_vm_fault()
54 agp_bridge->gart_bus_addr = agp->aperture.bus_base; in alpha_core_agp_configure()
165 * Build the aperture size descriptor in alpha_core_agp_setup()
168 aper_size->size = agp->aperture.size / (1024 * 1024); in alpha_core_agp_setup()
169 aper_size->num_entries = agp->aperture.size / PAGE_SIZE; in alpha_core_agp_setup()
H A Dnvidia-agp.c31 volatile u32 __iomem *aperture; member
115 /* aperture size */ in nvidia_configure()
155 /* map aperture */ in nvidia_configure()
157 nvidia_private.aperture = in nvidia_configure()
160 if (!nvidia_private.aperture) in nvidia_configure()
179 /* unmap aperture */ in nvidia_cleanup()
180 iounmap((void __iomem *) nvidia_private.aperture); in nvidia_cleanup()
182 /* restore previous aperture size */ in nvidia_cleanup()
187 /* restore iorr for previous aperture size */ in nvidia_cleanup()
286 temp = readl(nvidia_private.aperture in nvidia_tlbflush()
[all...]
/kernel/linux/linux-6.6/drivers/char/agp/
H A Duninorth-agp.c36 static char *aperture = NULL; variable
44 if (aperture) { in uninorth_fetch_size()
45 char *save = aperture; in uninorth_fetch_size()
47 size = memparse(aperture, &aperture) >> 20; in uninorth_fetch_size()
48 aperture = save; in uninorth_fetch_size()
55 dev_err(&agp_bridge->dev->dev, "invalid aperture size, " in uninorth_fetch_size()
58 aperture = NULL; in uninorth_fetch_size()
120 /* aperture size and gatt addr */ in uninorth_configure()
128 * the AGP aperture is in uninorth_configure()
[all...]
H A Dalpha-agp.c21 dma_addr = vmf->address - vmf->vma->vm_start + agp->aperture.bus_base; in alpha_core_agp_vm_fault()
54 agp_bridge->gart_bus_addr = agp->aperture.bus_base; in alpha_core_agp_configure()
165 * Build the aperture size descriptor in alpha_core_agp_setup()
168 aper_size->size = agp->aperture.size / (1024 * 1024); in alpha_core_agp_setup()
169 aper_size->num_entries = agp->aperture.size / PAGE_SIZE; in alpha_core_agp_setup()
H A Dnvidia-agp.c31 volatile u32 __iomem *aperture; member
115 /* aperture size */ in nvidia_configure()
155 /* map aperture */ in nvidia_configure()
157 nvidia_private.aperture = in nvidia_configure()
160 if (!nvidia_private.aperture) in nvidia_configure()
179 /* unmap aperture */ in nvidia_cleanup()
180 iounmap((void __iomem *) nvidia_private.aperture); in nvidia_cleanup()
182 /* restore previous aperture size */ in nvidia_cleanup()
187 /* restore iorr for previous aperture size */ in nvidia_cleanup()
287 temp = readl(nvidia_private.aperture in nvidia_tlbflush()
[all...]
/kernel/linux/linux-5.10/arch/arc/plat-axs10x/
H A Daxs10x.c123 * of which maps to a corresponding 256MB aperture in Target slave memory map.
125 * e.g. ARC cpu AXI Master's aperture 8 (0x8000_0000) is mapped to aperture 0
130 * e.g. aperture 14 (0xE000_0000) of ARC cpu is mapped to aperture 14
137 struct aperture { struct
163 static const struct aperture axc001_memmap[16] = {
186 static const struct aperture axc001_axi_tunnel_memmap[16] = {
209 static const struct aperture axs_mb_memmap[16] = {
229 axs101_set_memmap(void __iomem *base, const struct aperture ma
[all...]
/kernel/linux/linux-6.6/arch/arc/plat-axs10x/
H A Daxs10x.c122 * of which maps to a corresponding 256MB aperture in Target slave memory map.
124 * e.g. ARC cpu AXI Master's aperture 8 (0x8000_0000) is mapped to aperture 0
129 * e.g. aperture 14 (0xE000_0000) of ARC cpu is mapped to aperture 14
136 struct aperture { struct
162 static const struct aperture axc001_memmap[16] = {
185 static const struct aperture axc001_axi_tunnel_memmap[16] = {
208 static const struct aperture axs_mb_memmap[16] = {
228 axs101_set_memmap(void __iomem *base, const struct aperture ma
[all...]
/kernel/linux/linux-6.6/drivers/video/fbdev/i810/
H A Di810_main.c31 #include <linux/aperture.h>
56 * voffset - framebuffer offset in MiB from aperture start address. In order for
1635 par->fb.physical = par->aperture.physical+(par->fb.offset << 12); in i810_fix_pointers()
1636 par->fb.virtual = par->aperture.virtual+(par->fb.offset << 12); in i810_fix_pointers()
1637 par->iring.physical = par->aperture.physical + in i810_fix_pointers()
1639 par->iring.virtual = par->aperture.virtual + in i810_fix_pointers()
1641 par->cursor_heap.virtual = par->aperture.virtual+ in i810_fix_pointers()
1647 if (vram + 1 > par->aperture.size >> 20) in i810_fix_offsets()
1648 vram = (par->aperture.size >> 20) - 1; in i810_fix_offsets()
1649 if (v_offset_default > (par->aperture in i810_fix_offsets()
[all...]
/kernel/linux/linux-5.10/drivers/video/fbdev/i810/
H A Di810_main.c55 * voffset - framebuffer offset in MiB from aperture start address. In order for
1634 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 in i810_fix_offsets()
[all...]
/kernel/linux/linux-6.6/drivers/video/fbdev/intelfb/
H A Dintelfbdrv.c110 #include <linux/aperture.h>
454 if (dinfo->aperture.virtual) in cleanup()
455 iounmap((void __iomem *)dinfo->aperture.virtual); in cleanup()
460 release_mem_region(dinfo->aperture.physical, in cleanup()
461 dinfo->aperture.size); in cleanup()
545 dinfo->aperture.physical = pci_resource_start(pdev, aperture_bar); in intelfb_pci_register()
546 dinfo->aperture.size = pci_resource_len(pdev, aperture_bar); in intelfb_pci_register()
548 DBG_MSG("fb aperture: 0x%llx/0x%llx, MMIO region: 0x%llx/0x%llx\n", in intelfb_pci_register()
555 if (!request_mem_region(dinfo->aperture.physical, dinfo->aperture in intelfb_pci_register()
[all...]
/kernel/linux/linux-5.10/drivers/video/fbdev/intelfb/
H A 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()
537 dinfo->aperture.physical = pci_resource_start(pdev, aperture_bar); in intelfb_pci_register()
538 dinfo->aperture.size = pci_resource_len(pdev, aperture_bar); in intelfb_pci_register()
540 DBG_MSG("fb aperture: 0x%llx/0x%llx, MMIO region: 0x%llx/0x%llx\n", in intelfb_pci_register()
547 if (!request_mem_region(dinfo->aperture.physical, dinfo->aperture.size, in intelfb_pci_register()
579 INF_MSG("%02x:%02x.%d: %s, aperture siz in intelfb_pci_register()
[all...]
/kernel/linux/linux-5.10/drivers/misc/
H A Dpti.c67 * an aperture write id.
85 * @mc: The 'aperture'. It's part of a write address that holds
91 * Since each aperture is specified by a unique
93 * to the same aperture at the same time so no lock is required. The
107 u32 __iomem *aperture; in pti_write_to_aperture() local
111 * calculate the aperture offset from the base using the master and in pti_write_to_aperture()
114 aperture = drv_data->pti_ioaddr + (mc->master << 15) in pti_write_to_aperture()
127 iowrite32(ptiword, aperture); in pti_write_to_aperture()
130 aperture += PTI_LASTDWORD_DTS; /* adding DTS signals that is EOM */ in pti_write_to_aperture()
136 iowrite32(ptiword, aperture); in pti_write_to_aperture()
[all...]
/kernel/linux/linux-5.10/drivers/pci/controller/cadence/
H A Dpcie-cadence-host.c216 u32 addr0, addr1, aperture, value; in cdns_pcie_host_bar_ib_config() local
223 aperture = ilog2(size); in cdns_pcie_host_bar_ib_config()
224 addr0 = CDNS_PCIE_AT_IB_RP_BAR_ADDR0_NBITS(aperture) | in cdns_pcie_host_bar_ib_config()
249 value |= LM_RC_BAR_CFG_APERTURE(bar, aperture); in cdns_pcie_host_bar_ib_config()
H A Dpcie-cadence-ep.c59 u32 addr0, addr1, reg, cfg, b, aperture, ctrl; in cdns_pcie_ep_set_bar() local
62 /* BAR size is 2^(aperture + 7) */ in cdns_pcie_ep_set_bar()
69 aperture = ilog2(sz) - 7; /* 128B -> 0, 256B -> 1, 512B -> 2, ... */ in cdns_pcie_ep_set_bar()
111 cfg |= (CDNS_PCIE_LM_EP_FUNC_BAR_CFG_BAR_APERTURE(b, aperture) | in cdns_pcie_ep_set_bar()
/kernel/linux/linux-6.6/drivers/pci/controller/cadence/
H A Dpcie-cadence-host.c224 u32 addr0, addr1, aperture, value; in cdns_pcie_host_bar_ib_config() local
231 aperture = ilog2(size); in cdns_pcie_host_bar_ib_config()
232 addr0 = CDNS_PCIE_AT_IB_RP_BAR_ADDR0_NBITS(aperture) | in cdns_pcie_host_bar_ib_config()
257 value |= LM_RC_BAR_CFG_APERTURE(bar, aperture); in cdns_pcie_host_bar_ib_config()
/kernel/linux/linux-5.10/arch/alpha/include/asm/
H A Dagp_backend.h26 } aperture; member
/kernel/linux/linux-6.6/arch/alpha/include/asm/
H A Dagp_backend.h26 } aperture; member
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_aperture.c3 #include <linux/aperture.h>
18 * first has to remove the generic driver. DRM aperture functions manage
112 * for the registered framebuffer range, the aperture helpers call
158 * @base: the aperture's base address in physical memory
159 * @size: aperture size in bytes
/kernel/linux/linux-5.10/drivers/pci/controller/
H A Dpcie-rockchip-ep.c172 u32 addr0, addr1, reg, cfg, b, aperture, ctrl; in rockchip_pcie_ep_set_bar() local
175 /* BAR size is 2^(aperture + 7) */ in rockchip_pcie_ep_set_bar()
183 aperture = ilog2(sz) - 7; /* 128B -> 0, 256B -> 1, 512B -> 2, ... */ in rockchip_pcie_ep_set_bar()
220 cfg |= (ROCKCHIP_PCIE_CORE_EP_FUNC_BAR_CFG_BAR_APERTURE(b, aperture) | in rockchip_pcie_ep_set_bar()
/kernel/linux/linux-6.6/drivers/pci/controller/
H A Dpcie-rockchip-ep.c139 u32 addr0, addr1, reg, cfg, b, aperture, ctrl; in rockchip_pcie_ep_set_bar() local
142 /* BAR size is 2^(aperture + 7) */ in rockchip_pcie_ep_set_bar()
150 aperture = ilog2(sz) - 7; /* 128B -> 0, 256B -> 1, 512B -> 2, ... */ in rockchip_pcie_ep_set_bar()
187 cfg |= (ROCKCHIP_PCIE_CORE_EP_FUNC_BAR_CFG_BAR_APERTURE(b, aperture) | in rockchip_pcie_ep_set_bar()

Completed in 20 milliseconds

1234