Lines Matching refs:intel_guc
33 struct intel_guc { struct
97 void (*reset)(struct intel_guc *guc); argument
98 void (*enable)(struct intel_guc *guc);
99 void (*disable)(struct intel_guc *guc);
330 static inline struct intel_guc *log_to_guc(struct intel_guc_log *log) in log_to_guc() argument
332 return container_of(log, struct intel_guc, log); in log_to_guc()
336 inline int intel_guc_send(struct intel_guc *guc, const u32 *action, u32 len) in intel_guc_send()
342 inline int intel_guc_send_nb(struct intel_guc *guc, const u32 *action, u32 len, in intel_guc_send_nb()
350 intel_guc_send_and_receive(struct intel_guc *guc, const u32 *action, u32 len, in intel_guc_send_and_receive()
357 static inline int intel_guc_send_busy_loop(struct intel_guc *guc, in intel_guc_send_busy_loop()
394 static inline void intel_guc_to_host_event_handler(struct intel_guc *guc) in intel_guc_to_host_event_handler()
416 static inline u32 intel_guc_ggtt_offset(struct intel_guc *guc, in intel_guc_ggtt_offset()
427 void intel_guc_init_early(struct intel_guc *guc);
428 void intel_guc_init_late(struct intel_guc *guc);
429 void intel_guc_init_send_regs(struct intel_guc *guc);
430 void intel_guc_write_params(struct intel_guc *guc);
431 int intel_guc_init(struct intel_guc *guc);
432 void intel_guc_fini(struct intel_guc *guc);
433 void intel_guc_notify(struct intel_guc *guc);
434 int intel_guc_send_mmio(struct intel_guc *guc, const u32 *action, u32 len,
436 int intel_guc_to_host_process_recv_msg(struct intel_guc *guc,
438 int intel_guc_auth_huc(struct intel_guc *guc, u32 rsa_offset);
439 int intel_guc_suspend(struct intel_guc *guc);
440 int intel_guc_resume(struct intel_guc *guc);
441 struct i915_vma *intel_guc_allocate_vma(struct intel_guc *guc, u32 size);
442 int intel_guc_allocate_and_map_vma(struct intel_guc *guc, u32 size,
444 int intel_guc_self_cfg32(struct intel_guc *guc, u16 key, u32 value);
445 int intel_guc_self_cfg64(struct intel_guc *guc, u16 key, u64 value);
447 static inline bool intel_guc_is_supported(struct intel_guc *guc) in intel_guc_is_supported()
452 static inline bool intel_guc_is_wanted(struct intel_guc *guc) in intel_guc_is_wanted()
457 static inline bool intel_guc_is_used(struct intel_guc *guc) in intel_guc_is_used()
463 static inline bool intel_guc_is_fw_running(struct intel_guc *guc) in intel_guc_is_fw_running()
468 static inline bool intel_guc_is_ready(struct intel_guc *guc) in intel_guc_is_ready()
473 static inline void intel_guc_reset_interrupts(struct intel_guc *guc) in intel_guc_reset_interrupts()
478 static inline void intel_guc_enable_interrupts(struct intel_guc *guc) in intel_guc_enable_interrupts()
483 static inline void intel_guc_disable_interrupts(struct intel_guc *guc) in intel_guc_disable_interrupts()
488 static inline int intel_guc_sanitize(struct intel_guc *guc) in intel_guc_sanitize()
498 static inline void intel_guc_enable_msg(struct intel_guc *guc, u32 mask) in intel_guc_enable_msg()
505 static inline void intel_guc_disable_msg(struct intel_guc *guc, u32 mask) in intel_guc_disable_msg()
512 int intel_guc_wait_for_idle(struct intel_guc *guc, long timeout);
514 int intel_guc_deregister_done_process_msg(struct intel_guc *guc,
516 int intel_guc_sched_done_process_msg(struct intel_guc *guc,
518 int intel_guc_context_reset_process_msg(struct intel_guc *guc,
520 int intel_guc_engine_failure_process_msg(struct intel_guc *guc,
522 int intel_guc_error_capture_process_msg(struct intel_guc *guc,
524 int intel_guc_crash_process_msg(struct intel_guc *guc, u32 action);
527 intel_guc_lookup_engine(struct intel_guc *guc, u8 guc_class, u8 instance);
531 int intel_guc_global_policies_update(struct intel_guc *guc);
535 void intel_guc_submission_reset_prepare(struct intel_guc *guc);
536 void intel_guc_submission_reset(struct intel_guc *guc, intel_engine_mask_t stalled);
537 void intel_guc_submission_reset_finish(struct intel_guc *guc);
538 void intel_guc_submission_cancel_requests(struct intel_guc *guc);
540 void intel_guc_load_status(struct intel_guc *guc, struct drm_printer *p);
542 void intel_guc_write_barrier(struct intel_guc *guc);
544 void intel_guc_dump_time_info(struct intel_guc *guc, struct drm_printer *p);
546 int intel_guc_sched_disable_gucid_threshold_max(struct intel_guc *guc);
548 bool intel_guc_tlb_invalidation_is_available(struct intel_guc *guc);
549 int intel_guc_invalidate_tlb_engines(struct intel_guc *guc);
550 int intel_guc_invalidate_tlb_guc(struct intel_guc *guc);
551 int intel_guc_tlb_invalidation_done(struct intel_guc *guc,
553 void wake_up_all_tlb_invalidate(struct intel_guc *guc);