Lines Matching refs:pxp
23 struct intel_pxp *pxp = m->private; in pxp_info_show() local
26 if (!intel_pxp_is_enabled(pxp)) { in pxp_info_show()
31 drm_printf(&p, "active: %s\n", str_yes_no(intel_pxp_is_active(pxp))); in pxp_info_show()
32 drm_printf(&p, "instance counter: %u\n", pxp->key_instance); in pxp_info_show()
47 struct intel_pxp *pxp = data; in pxp_terminate_set() local
48 struct intel_gt *gt = pxp->ctrl_gt; in pxp_terminate_set()
51 if (!intel_pxp_is_active(pxp)) in pxp_terminate_set()
56 intel_pxp_irq_handler(pxp, GEN12_DISPLAY_PXP_STATE_TERMINATED_INTERRUPT); in pxp_terminate_set()
59 timeout_ms = intel_pxp_get_backend_timeout_ms(pxp); in pxp_terminate_set()
61 if (!wait_for_completion_timeout(&pxp->termination, in pxp_terminate_set()
70 void intel_pxp_debugfs_register(struct intel_pxp *pxp) in intel_pxp_debugfs_register() argument
75 if (!intel_pxp_is_supported(pxp)) in intel_pxp_debugfs_register()
78 minor = pxp->ctrl_gt->i915->drm.primary; in intel_pxp_debugfs_register()
87 pxp, &pxp_info_fops); in intel_pxp_debugfs_register()
90 pxp, &pxp_terminate_fops); in intel_pxp_debugfs_register()