Lines Matching refs:p_data
118 void *p_data, unsigned int bytes) in intel_vgpu_emulate_cfg_read() argument
129 memcpy(p_data, vgpu_cfg_space(vgpu) + offset, bytes); in intel_vgpu_emulate_cfg_read()
146 unsigned int offset, void *p_data, unsigned int bytes) in emulate_pci_command_write() argument
149 u8 new = *(u8 *)p_data; in emulate_pci_command_write()
152 vgpu_pci_cfg_mem_write(vgpu, offset, p_data, bytes); in emulate_pci_command_write()
168 unsigned int offset, void *p_data, unsigned int bytes) in emulate_pci_rom_bar_write() argument
171 u32 new = *(u32 *)(p_data); in emulate_pci_rom_bar_write()
177 vgpu_pci_cfg_mem_write(vgpu, offset, p_data, bytes); in emulate_pci_rom_bar_write()
182 void *p_data, unsigned int bytes) in emulate_pci_bar_write() argument
184 u32 new = *(u32 *)(p_data); in emulate_pci_bar_write()
257 void *p_data, unsigned int bytes) in intel_vgpu_emulate_cfg_write() argument
273 return emulate_pci_command_write(vgpu, offset, p_data, bytes); in intel_vgpu_emulate_cfg_write()
280 return emulate_pci_rom_bar_write(vgpu, offset, p_data, bytes); in intel_vgpu_emulate_cfg_write()
285 emulate_pci_bar_write(vgpu, offset, p_data, bytes); in intel_vgpu_emulate_cfg_write()
290 ret = intel_vgpu_emulate_opregion_request(vgpu, *(u32 *)p_data); in intel_vgpu_emulate_cfg_write()
299 *(u32 *)p_data); in intel_vgpu_emulate_cfg_write()
303 vgpu_pci_cfg_mem_write(vgpu, offset, p_data, bytes); in intel_vgpu_emulate_cfg_write()
306 vgpu_pci_cfg_mem_write(vgpu, offset, p_data, bytes); in intel_vgpu_emulate_cfg_write()