Lines Matching refs:intel_vgpu

144 	int (*init)(struct intel_vgpu *vgpu, intel_engine_mask_t engine_mask);
145 void (*clean)(struct intel_vgpu *vgpu, intel_engine_mask_t engine_mask);
146 void (*reset)(struct intel_vgpu *vgpu, intel_engine_mask_t engine_mask);
175 struct intel_vgpu { struct
344 struct intel_vgpu *idle_vgpu;
452 int intel_vgpu_alloc_resource(struct intel_vgpu *vgpu,
454 void intel_vgpu_reset_resource(struct intel_vgpu *vgpu);
455 void intel_vgpu_free_resource(struct intel_vgpu *vgpu);
456 void intel_vgpu_write_fence(struct intel_vgpu *vgpu,
474 static inline void intel_vgpu_write_pci_bar(struct intel_vgpu *vgpu, in intel_vgpu_write_pci_bar()
497 struct intel_vgpu *intel_gvt_create_idle_vgpu(struct intel_gvt *gvt);
498 void intel_gvt_destroy_idle_vgpu(struct intel_vgpu *vgpu);
499 int intel_gvt_create_vgpu(struct intel_vgpu *vgpu,
501 void intel_gvt_destroy_vgpu(struct intel_vgpu *vgpu);
502 void intel_gvt_release_vgpu(struct intel_vgpu *vgpu);
503 void intel_gvt_reset_vgpu_locked(struct intel_vgpu *vgpu, bool dmlr,
505 void intel_gvt_reset_vgpu(struct intel_vgpu *vgpu);
506 void intel_gvt_activate_vgpu(struct intel_vgpu *vgpu);
507 void intel_gvt_deactivate_vgpu(struct intel_vgpu *vgpu);
509 int intel_gvt_set_opregion(struct intel_vgpu *vgpu);
510 int intel_gvt_set_edid(struct intel_vgpu *vgpu, int port_num);
537 bool intel_gvt_ggtt_validate_range(struct intel_vgpu *vgpu, u64 addr, u32 size);
538 int intel_gvt_ggtt_gmadr_g2h(struct intel_vgpu *vgpu, u64 g_addr, u64 *h_addr);
539 int intel_gvt_ggtt_gmadr_h2g(struct intel_vgpu *vgpu, u64 h_addr, u64 *g_addr);
540 int intel_gvt_ggtt_index_g2h(struct intel_vgpu *vgpu, unsigned long g_index,
542 int intel_gvt_ggtt_h2g_index(struct intel_vgpu *vgpu, unsigned long h_index,
545 void intel_vgpu_init_cfg_space(struct intel_vgpu *vgpu,
547 void intel_vgpu_reset_cfg_space(struct intel_vgpu *vgpu);
549 int intel_vgpu_emulate_cfg_read(struct intel_vgpu *vgpu, unsigned int offset,
552 int intel_vgpu_emulate_cfg_write(struct intel_vgpu *vgpu, unsigned int offset,
555 void intel_vgpu_emulate_hotplug(struct intel_vgpu *vgpu, bool connected);
557 static inline u64 intel_vgpu_get_bar_gpa(struct intel_vgpu *vgpu, int bar) in intel_vgpu_get_bar_gpa()
564 void intel_vgpu_clean_opregion(struct intel_vgpu *vgpu);
565 int intel_vgpu_init_opregion(struct intel_vgpu *vgpu);
566 int intel_vgpu_opregion_base_write_handler(struct intel_vgpu *vgpu, u32 gpa);
568 int intel_vgpu_emulate_opregion_request(struct intel_vgpu *vgpu, u32 swsci);
569 void populate_pvinfo_page(struct intel_vgpu *vgpu);
572 void enter_failsafe_mode(struct intel_vgpu *vgpu, int reason);
573 void intel_vgpu_detach_regions(struct intel_vgpu *vgpu);
687 void intel_gvt_debugfs_add_vgpu(struct intel_vgpu *vgpu);
727 static inline int intel_gvt_read_gpa(struct intel_vgpu *vgpu, unsigned long gpa, in intel_gvt_read_gpa()
745 static inline int intel_gvt_write_gpa(struct intel_vgpu *vgpu, in intel_gvt_write_gpa()
753 void intel_gvt_debugfs_remove_vgpu(struct intel_vgpu *vgpu);
757 int intel_gvt_page_track_add(struct intel_vgpu *info, u64 gfn);
758 int intel_gvt_page_track_remove(struct intel_vgpu *info, u64 gfn);
759 int intel_gvt_dma_pin_guest_page(struct intel_vgpu *vgpu, dma_addr_t dma_addr);
760 int intel_gvt_dma_map_guest_page(struct intel_vgpu *vgpu, unsigned long gfn,
762 void intel_gvt_dma_unmap_guest_page(struct intel_vgpu *vgpu,