Lines Matching full:wake
19 static const char *str_wake_sleep(bool wake) in str_wake_sleep() argument
21 return wake ? "wake" : "sleep"; in str_wake_sleep()
102 static void __domain_ctl(struct xe_gt *gt, struct xe_force_wake_domain *domain, bool wake) in __domain_ctl() argument
107 xe_mmio_write32(>->mmio, domain->reg_ctl, domain->mask | (wake ? domain->val : 0)); in __domain_ctl()
110 static int __domain_wait(struct xe_gt *gt, struct xe_force_wake_domain *domain, bool wake) in __domain_wait() argument
118 ret = xe_mmio_wait32(>->mmio, domain->reg_ack, domain->val, wake ? domain->val : 0, in __domain_wait()
122 xe_gt_err(gt, "Force wake domain %d failed to ack %s (%pe) reg[%#x] = %#x\n", in __domain_wait()
123 domain->id, str_wake_sleep(wake), ERR_PTR(ret), in __domain_wait()
127 "Force wake domain %d: %s. MMIO unreliable (forcewake register returns 0xFFFFFFFF)!\n", in __domain_wait()
128 domain->id, str_wake_sleep(wake)); in __domain_wait()
222 * @fw: Pointer to the force wake structure