Lines Matching defs:vgpu
68 static void vgpu_pci_cfg_mem_write(struct intel_vgpu *vgpu, unsigned int off, in vgpu_pci_cfg_mem_write()
116 int intel_vgpu_emulate_cfg_read(struct intel_vgpu *vgpu, unsigned int offset, in intel_vgpu_emulate_cfg_read()
132 static int map_aperture(struct intel_vgpu *vgpu, bool map) in map_aperture()
162 static int trap_gttmmio(struct intel_vgpu *vgpu, bool trap) in trap_gttmmio()
188 static int emulate_pci_command_write(struct intel_vgpu *vgpu, in emulate_pci_command_write()
219 static int emulate_pci_rom_bar_write(struct intel_vgpu *vgpu, in emulate_pci_rom_bar_write()
233 static int emulate_pci_bar_write(struct intel_vgpu *vgpu, unsigned int offset, in emulate_pci_bar_write()
310 int intel_vgpu_emulate_cfg_write(struct intel_vgpu *vgpu, unsigned int offset, in intel_vgpu_emulate_cfg_write()
373 void intel_vgpu_init_cfg_space(struct intel_vgpu *vgpu, in intel_vgpu_init_cfg_space()
386 vgpu_cfg_space(vgpu)[PCI_CLASS_DEVICE] = in intel_vgpu_init_cfg_space() local
388 vgpu_cfg_space(vgpu)[PCI_CLASS_PROG] = in intel_vgpu_init_cfg_space() local
399 vgpu_cfg_space(vgpu)[PCI_COMMAND] &= ~(PCI_COMMAND_IO in intel_vgpu_init_cfg_space() local
422 if (vgpu_cfg_space(vgpu)[next + PCI_CAP_LIST_ID] == PCI_CAP_ID_PM) { in intel_vgpu_init_cfg_space() local
437 void intel_vgpu_reset_cfg_space(struct intel_vgpu *vgpu) in intel_vgpu_reset_cfg_space()