Lines Matching refs:p_data
107 void *p_data, unsigned int bytes) in intel_vgpu_emulate_cfg_read() argument
115 memcpy(p_data, vgpu_cfg_space(vgpu) + offset, bytes); in intel_vgpu_emulate_cfg_read()
176 unsigned int offset, void *p_data, unsigned int bytes) in emulate_pci_command_write() argument
179 u8 new = *(u8 *)p_data; in emulate_pci_command_write()
183 vgpu_pci_cfg_mem_write(vgpu, offset, p_data, bytes); in emulate_pci_command_write()
207 unsigned int offset, void *p_data, unsigned int bytes) in emulate_pci_rom_bar_write() argument
210 u32 new = *(u32 *)(p_data); in emulate_pci_rom_bar_write()
216 vgpu_pci_cfg_mem_write(vgpu, offset, p_data, bytes); in emulate_pci_rom_bar_write()
221 void *p_data, unsigned int bytes) in emulate_pci_bar_write() argument
223 u32 new = *(u32 *)(p_data); in emulate_pci_bar_write()
298 void *p_data, unsigned int bytes) in intel_vgpu_emulate_cfg_write() argument
312 return emulate_pci_command_write(vgpu, offset, p_data, bytes); in intel_vgpu_emulate_cfg_write()
319 return emulate_pci_rom_bar_write(vgpu, offset, p_data, bytes); in intel_vgpu_emulate_cfg_write()
324 return emulate_pci_bar_write(vgpu, offset, p_data, bytes); in intel_vgpu_emulate_cfg_write()
329 ret = intel_vgpu_emulate_opregion_request(vgpu, *(u32 *)p_data); in intel_vgpu_emulate_cfg_write()
338 *(u32 *)p_data); in intel_vgpu_emulate_cfg_write()
342 vgpu_pci_cfg_mem_write(vgpu, offset, p_data, bytes); in intel_vgpu_emulate_cfg_write()
345 vgpu_pci_cfg_mem_write(vgpu, offset, p_data, bytes); in intel_vgpu_emulate_cfg_write()