Home
last modified time | relevance | path

Searched refs:cfg_space (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/
Dcfg_space.c96 if (off == vgpu->cfg_space.pmcsr_off && vgpu->cfg_space.pmcsr_off) { in vgpu_pci_cfg_mem_write()
140 if (map == vgpu->cfg_space.bar[INTEL_GVT_PCI_BAR_APERTURE].tracked) in map_aperture()
158 vgpu->cfg_space.bar[INTEL_GVT_PCI_BAR_APERTURE].tracked = map; in map_aperture()
168 if (trap == vgpu->cfg_space.bar[INTEL_GVT_PCI_BAR_GTTMMIO].tracked) in trap_gttmmio()
178 end = start + vgpu->cfg_space.bar[INTEL_GVT_PCI_BAR_GTTMMIO].size - 1; in trap_gttmmio()
184 vgpu->cfg_space.bar[INTEL_GVT_PCI_BAR_GTTMMIO].tracked = trap; in trap_gttmmio()
242 struct intel_vgpu_pci_bar *bars = vgpu->cfg_space.bar; in emulate_pci_bar_write()
381 memcpy(vgpu_cfg_space(vgpu), gvt->firmware.cfg_space, in intel_vgpu_init_cfg_space()
409 vgpu->cfg_space.bar[INTEL_GVT_PCI_BAR_GTTMMIO].size = in intel_vgpu_init_cfg_space()
411 vgpu->cfg_space.bar[INTEL_GVT_PCI_BAR_APERTURE].size = in intel_vgpu_init_cfg_space()
[all …]
Dfirmware.c105 memcpy(gvt->firmware.cfg_space, p, info->cfg_space_size); in expose_firmware_sysfs()
146 kfree(gvt->firmware.cfg_space); in intel_gvt_free_firmware()
226 firmware->cfg_space = mem; in intel_gvt_load_firmware()
231 kfree(firmware->cfg_space); in intel_gvt_load_firmware()
259 memcpy(firmware->cfg_space, fw->data + h->cfg_space_offset, in intel_gvt_load_firmware()
Dgvt.h112 #define vgpu_cfg_space(vgpu) ((vgpu)->cfg_space.virtual_cfg_space)
193 struct intel_vgpu_cfg_space cfg_space; member
273 void *cfg_space; member
530 return (*(u64 *)(vgpu->cfg_space.virtual_cfg_space + bar)) & in intel_vgpu_get_bar_gpa()
DMakefile4 interrupt.o gtt.o cfg_space.o opregion.o mmio.o display.o edid.o \
Dkvmgt.c931 start_lo = (*(u32 *)(vgpu->cfg_space.virtual_cfg_space + bar)) & in intel_vgpu_get_bar_addr()
933 mem_type = (*(u32 *)(vgpu->cfg_space.virtual_cfg_space + bar)) & in intel_vgpu_get_bar_addr()
938 start_hi = (*(u32 *)(vgpu->cfg_space.virtual_cfg_space in intel_vgpu_get_bar_addr()
1400 info.size = vgpu->cfg_space.bar[info.index].size; in intel_vgpu_ioctl()
/kernel/linux/linux-5.10/arch/mips/pci/
Dpci-bcm1480.c43 static void *cfg_space; variable
57 return *(u32 *)(cfg_space + (addr&~3)); in READCFG32()
62 *(u32 *)(cfg_space + (addr & ~3)) = data; in WRITECFG32()
205 cfg_space = ioremap(A_BCM1480_PHYS_PCI_CFG_MATCH_BITS, 16*1024*1024); in bcm1480_pcibios_init()
219 iounmap(cfg_space); in bcm1480_pcibios_init()
Dpci-sb1250.c43 static void *cfg_space; variable
67 return *(u32 *) (cfg_space + (addr & ~3)); in READCFG32()
72 *(u32 *) (cfg_space + (addr & ~3)) = data; in WRITECFG32()
213 cfg_space = in sb1250_pcibios_init()
230 iounmap(cfg_space); in sb1250_pcibios_init()
/kernel/linux/linux-5.10/arch/powerpc/platforms/4xx/
Dpci.c645 struct resource cfg_space; member
1241 mbase = ioremap(port->cfg_space.start + 0x10000000, 0x1000); in ppc460sx_pciex_check_link()
1374 void __iomem *mbase = ioremap(port->cfg_space.start + 0x10000000, in ppc_476fpe_pciex_check_link()
1465 RES_TO_U32_HIGH(port->cfg_space.start)); in ppc4xx_pciex_port_init_mapping()
1467 RES_TO_U32_LOW(port->cfg_space.start)); in ppc4xx_pciex_port_init_mapping()
1958 cfg_data = ioremap(port->cfg_space.start + in ppc4xx_pciex_port_setup_hose()
1972 mbase = ioremap(port->cfg_space.start + 0x10000000, 0x1000); in ppc4xx_pciex_port_setup_hose()
2137 if (of_address_to_resource(np, 0, &port->cfg_space)) { in ppc4xx_probe_pciex_bridge()