Lines Matching refs:heci_gsc
93 struct xe_heci_gsc *heci_gsc = &xe->heci_gsc; in xe_heci_gsc_fini() local
98 if (heci_gsc->adev) { in xe_heci_gsc_fini()
99 struct auxiliary_device *aux_dev = &heci_gsc->adev->aux_dev; in xe_heci_gsc_fini()
103 heci_gsc->adev = NULL; in xe_heci_gsc_fini()
106 if (heci_gsc->irq >= 0) in xe_heci_gsc_fini()
107 irq_free_desc(heci_gsc->irq); in xe_heci_gsc_fini()
108 heci_gsc->irq = -1; in xe_heci_gsc_fini()
113 struct xe_heci_gsc *heci_gsc = &xe->heci_gsc; in heci_gsc_irq_setup() local
116 heci_gsc->irq = irq_alloc_desc(0); in heci_gsc_irq_setup()
117 if (heci_gsc->irq < 0) { in heci_gsc_irq_setup()
118 drm_err(&xe->drm, "gsc irq error %d\n", heci_gsc->irq); in heci_gsc_irq_setup()
119 return heci_gsc->irq; in heci_gsc_irq_setup()
122 ret = heci_gsc_irq_init(heci_gsc->irq); in heci_gsc_irq_setup()
131 struct xe_heci_gsc *heci_gsc = &xe->heci_gsc; in heci_gsc_add_device() local
140 adev->irq = heci_gsc->irq; in heci_gsc_add_device()
162 heci_gsc->adev = adev; /* needed by the notifier */ in heci_gsc_add_device()
166 heci_gsc->adev = NULL; in heci_gsc_add_device()
176 struct xe_heci_gsc *heci_gsc = &xe->heci_gsc; in xe_heci_gsc_init() local
183 heci_gsc->irq = -1; in xe_heci_gsc_init()
230 if (xe->heci_gsc.irq < 0) in xe_heci_gsc_irq_handler()
233 ret = generic_handle_irq(xe->heci_gsc.irq); in xe_heci_gsc_irq_handler()
250 if (xe->heci_gsc.irq < 0) in xe_heci_csc_irq_handler()
253 ret = generic_handle_irq(xe->heci_gsc.irq); in xe_heci_csc_irq_handler()