Lines Matching refs:p_data
117 void *p_data, unsigned int bytes) in intel_vgpu_emulate_cfg_read() argument
128 memcpy(p_data, vgpu_cfg_space(vgpu) + offset, bytes); in intel_vgpu_emulate_cfg_read()
189 unsigned int offset, void *p_data, unsigned int bytes) in emulate_pci_command_write() argument
192 u8 new = *(u8 *)p_data; in emulate_pci_command_write()
196 vgpu_pci_cfg_mem_write(vgpu, offset, p_data, bytes); in emulate_pci_command_write()
220 unsigned int offset, void *p_data, unsigned int bytes) in emulate_pci_rom_bar_write() argument
223 u32 new = *(u32 *)(p_data); in emulate_pci_rom_bar_write()
229 vgpu_pci_cfg_mem_write(vgpu, offset, p_data, bytes); in emulate_pci_rom_bar_write()
234 void *p_data, unsigned int bytes) in emulate_pci_bar_write() argument
236 u32 new = *(u32 *)(p_data); in emulate_pci_bar_write()
311 void *p_data, unsigned int bytes) in intel_vgpu_emulate_cfg_write() argument
327 return emulate_pci_command_write(vgpu, offset, p_data, bytes); in intel_vgpu_emulate_cfg_write()
334 return emulate_pci_rom_bar_write(vgpu, offset, p_data, bytes); in intel_vgpu_emulate_cfg_write()
339 return emulate_pci_bar_write(vgpu, offset, p_data, bytes); in intel_vgpu_emulate_cfg_write()
344 ret = intel_vgpu_emulate_opregion_request(vgpu, *(u32 *)p_data); in intel_vgpu_emulate_cfg_write()
353 *(u32 *)p_data); in intel_vgpu_emulate_cfg_write()
357 vgpu_pci_cfg_mem_write(vgpu, offset, p_data, bytes); in intel_vgpu_emulate_cfg_write()
360 vgpu_pci_cfg_mem_write(vgpu, offset, p_data, bytes); in intel_vgpu_emulate_cfg_write()