Lines Matching refs:fw_ref
101 unsigned int fw_ref; in xe_gt_enable_host_l2_vram() local
107 fw_ref = xe_force_wake_get(gt_to_fw(gt), XE_FW_GT); in xe_gt_enable_host_l2_vram()
108 if (!fw_ref) in xe_gt_enable_host_l2_vram()
118 xe_force_wake_put(gt_to_fw(gt), fw_ref); in xe_gt_enable_host_l2_vram()
123 unsigned int fw_ref; in xe_gt_disable_host_l2_vram() local
132 fw_ref = xe_force_wake_get(gt_to_fw(gt), XE_FW_GT); in xe_gt_disable_host_l2_vram()
133 if (!fw_ref) in xe_gt_disable_host_l2_vram()
140 xe_force_wake_put(gt_to_fw(gt), fw_ref); in xe_gt_disable_host_l2_vram()
408 unsigned int fw_ref; in gt_fw_domain_init() local
411 fw_ref = xe_force_wake_get(gt_to_fw(gt), XE_FW_GT); in gt_fw_domain_init()
412 if (!fw_ref) { in gt_fw_domain_init()
450 xe_force_wake_put(gt_to_fw(gt), fw_ref); in gt_fw_domain_init()
455 xe_force_wake_put(gt_to_fw(gt), fw_ref); in gt_fw_domain_init()
465 unsigned int fw_ref; in all_fw_domain_init() local
468 fw_ref = xe_force_wake_get(gt_to_fw(gt), XE_FORCEWAKE_ALL); in all_fw_domain_init()
469 if (!xe_force_wake_ref_has_domain(fw_ref, XE_FORCEWAKE_ALL)) { in all_fw_domain_init()
540 xe_force_wake_put(gt_to_fw(gt), fw_ref); in all_fw_domain_init()
545 xe_force_wake_put(gt_to_fw(gt), fw_ref); in all_fw_domain_init()
558 unsigned int fw_ref; in xe_gt_init_hwconfig() local
561 fw_ref = xe_force_wake_get(gt_to_fw(gt), XE_FW_GT); in xe_gt_init_hwconfig()
562 if (!fw_ref) in xe_gt_init_hwconfig()
581 xe_force_wake_put(gt_to_fw(gt), fw_ref); in xe_gt_init_hwconfig()
770 unsigned int fw_ref; in gt_reset() local
791 fw_ref = xe_force_wake_get(gt_to_fw(gt), XE_FORCEWAKE_ALL); in gt_reset()
792 if (!xe_force_wake_ref_has_domain(fw_ref, XE_FORCEWAKE_ALL)) { in gt_reset()
813 xe_force_wake_put(gt_to_fw(gt), fw_ref); in gt_reset()
821 xe_force_wake_put(gt_to_fw(gt), fw_ref); in gt_reset()
853 unsigned int fw_ref; in xe_gt_suspend_prepare() local
855 fw_ref = xe_force_wake_get(gt_to_fw(gt), XE_FORCEWAKE_ALL); in xe_gt_suspend_prepare()
859 xe_force_wake_put(gt_to_fw(gt), fw_ref); in xe_gt_suspend_prepare()
864 unsigned int fw_ref; in xe_gt_suspend() local
870 fw_ref = xe_force_wake_get(gt_to_fw(gt), XE_FORCEWAKE_ALL); in xe_gt_suspend()
871 if (!xe_force_wake_ref_has_domain(fw_ref, XE_FORCEWAKE_ALL)) in xe_gt_suspend()
882 xe_force_wake_put(gt_to_fw(gt), fw_ref); in xe_gt_suspend()
890 xe_force_wake_put(gt_to_fw(gt), fw_ref); in xe_gt_suspend()
898 unsigned int fw_ref; in xe_gt_shutdown() local
900 fw_ref = xe_force_wake_get(gt_to_fw(gt), XE_FORCEWAKE_ALL); in xe_gt_shutdown()
902 xe_force_wake_put(gt_to_fw(gt), fw_ref); in xe_gt_shutdown()
927 unsigned int fw_ref; in xe_gt_resume() local
931 fw_ref = xe_force_wake_get(gt_to_fw(gt), XE_FORCEWAKE_ALL); in xe_gt_resume()
932 if (!xe_force_wake_ref_has_domain(fw_ref, XE_FORCEWAKE_ALL)) in xe_gt_resume()
941 xe_force_wake_put(gt_to_fw(gt), fw_ref); in xe_gt_resume()
949 xe_force_wake_put(gt_to_fw(gt), fw_ref); in xe_gt_resume()