Lines Matching refs:interrupter
366 static void xhci_update_erdp(xhci_t* xhci, int interrupter) {
367 xhci_event_ring_t* er = &xhci->event_rings[interrupter];
368 xhci_intr_regs_t* intr_regs = &xhci->runtime_regs->intr_regs[interrupter];
375 static void xhci_interrupter_init(xhci_t* xhci, int interrupter) {
376 xhci_intr_regs_t* intr_regs = &xhci->runtime_regs->intr_regs[interrupter];
378 xhci_update_erdp(xhci, interrupter);
383 XHCI_WRITE64(&intr_regs->erstba, xhci->erst_arrays_phys[interrupter]);
608 static void xhci_handle_events(xhci_t* xhci, int interrupter) {
609 xhci_event_ring_t* er = &xhci->event_rings[interrupter];
640 xhci_update_erdp(xhci, interrupter);
643 void xhci_handle_interrupt(xhci_t* xhci, uint32_t interrupter) {
645 xhci_intr_regs_t* intr_regs = &xhci->runtime_regs->intr_regs[interrupter];
648 xhci_handle_events(xhci, interrupter);