Home
last modified time | relevance | path

Searched refs:user_interrupt (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.1/drivers/misc/habanalabs/common/
Dirq.c356 struct hl_user_interrupt *user_interrupt = arg; in hl_irq_handler_default() local
357 struct hl_device *hdev = user_interrupt->hdev; in hl_irq_handler_default()
358 u32 interrupt_id = user_interrupt->interrupt_id; in hl_irq_handler_default()
Ddevice.c1803 hdev->user_interrupt = kcalloc(user_interrupt_cnt, sizeof(*hdev->user_interrupt), in hl_device_init()
1805 if (!hdev->user_interrupt) { in hl_device_init()
2043 kfree(hdev->user_interrupt); in hl_device_init()
2187 kfree(hdev->user_interrupt); in hl_device_fini()
Dcommand_submission.c1081 interrupt = &hdev->user_interrupt[i]; in hl_release_pending_user_interrupts()
3419 interrupt = &hdev->user_interrupt[interrupt_id]; in hl_interrupt_wait_ioctl()
3424 interrupt = &hdev->user_interrupt[int_idx]; in hl_interrupt_wait_ioctl()
Dhabanalabs.h3228 struct hl_user_interrupt *user_interrupt; member
/Linux-v6.1/drivers/misc/habanalabs/gaudi2/
Dgaudi2.c2943 HL_USR_INTR_STRUCT_INIT(hdev->user_interrupt[j], hdev, i, true); in gaudi2_user_interrupt_setup()
2946 HL_USR_INTR_STRUCT_INIT(hdev->user_interrupt[j], hdev, i, false); in gaudi2_user_interrupt_setup()
3502 (void *) &hdev->user_interrupt[dec->core_id])); in gaudi2_dec_disable_msix()
3532 (void *) &hdev->user_interrupt[dec->core_id])); in gaudi2_dec_enable_msix()
3594 rc = request_irq(irq, irq_handler, 0, gaudi2_irq_name(i), &hdev->user_interrupt[j]); in gaudi2_enable_msix()
3610 free_irq(irq, &hdev->user_interrupt[j]); in gaudi2_enable_msix()
3676 free_irq(irq, &hdev->user_interrupt[j]); in gaudi2_disable_msix()