Home
last modified time | relevance | path

Searched refs:interrupt_info (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/dev/isci/
H A Disci_interrupt.c47 struct ISCI_INTERRUPT_INFO *interrupt_info = &isci->interrupt_info[0]; in isci_interrupt_setup_legacy() local
54 interrupt_info->handlers = &isci->handlers[0]; in isci_interrupt_setup_legacy()
55 interrupt_info->rid = 0; in isci_interrupt_setup_legacy()
56 interrupt_info->interrupt_target_handle = (void *)isci; in isci_interrupt_setup_legacy()
58 interrupt_info->res = bus_alloc_resource_any(isci->device, SYS_RES_IRQ, in isci_interrupt_setup_legacy()
59 &interrupt_info->rid, RF_SHAREABLE|RF_ACTIVE); in isci_interrupt_setup_legacy()
61 if (interrupt_info->res == NULL) { in isci_interrupt_setup_legacy()
66 interrupt_info->tag = NULL; in isci_interrupt_setup_legacy()
67 if (bus_setup_intr(isci->device, interrupt_info->res, in isci_interrupt_setup_legacy()
69 interrupt_info, &interrupt_info->tag)) { in isci_interrupt_setup_legacy()
[all …]
H A Disci.c259 struct ISCI_INTERRUPT_INFO *interrupt_info; in isci_detach() local
261 interrupt_info = &isci->interrupt_info[i]; in isci_detach()
263 if(interrupt_info->tag != NULL) in isci_detach()
264 bus_teardown_intr(device, interrupt_info->res, in isci_detach()
265 interrupt_info->tag); in isci_detach()
267 if(interrupt_info->res != NULL) in isci_detach()
269 rman_get_rid(interrupt_info->res), in isci_detach()
270 interrupt_info->res); in isci_detach()
H A Disci.h244 struct ISCI_INTERRUPT_INFO interrupt_info[4]; member