Home
last modified time | relevance | path

Searched refs:cid (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.7/kernel/src/driver/usb/xhci/
Dinternal.h57 #define XHCI_PORT_IS_USB2(cid, pid) ((xhci_hc[cid].ports[pid].flags & XHCI_PROTOCOL_INFO) == XHCI_P… argument
58 #define XHCI_PORT_IS_USB3(cid, pid) ((xhci_hc[cid].ports[pid].flags & XHCI_PROTOCOL_INFO) == XHCI_P… argument
60 #define XHCI_PORT_IS_USB2_HSO(cid, pid) ((xhci_hc[cid].ports[pid].flags & XHCI_PROTOCOL_HSO) == XHC… argument
61 #define XHCI_PORT_HAS_PAIR(cid, pid) ((xhci_hc[cid].ports[pid].flags & XHCI_PROTOCOL_HAS_PAIR) == X… argument
62 #define XHCI_PORT_IS_ACTIVE(cid, pid) ((xhci_hc[cid].ports[pid].flags & XHCI_PROTOCOL_ACTIVE) == XH… argument
Dxhci.c39 void xhci_hc_irq_handler(uint64_t irq_num, uint64_t cid, struct pt_regs *regs);
589 int cid = xhci_find_hcid_by_irq_num(irq_num); in xhci_hc_irq_enable() local
591 if (WARN_ON(cid == -1)) in xhci_hc_irq_enable()
595 pci_start_msi(xhci_hc[cid].pci_dev_hdr); in xhci_hc_irq_enable()
598 xhci_hc_start_sched(cid); in xhci_hc_irq_enable()
600 xhci_hc_start_ports(cid); in xhci_hc_irq_enable()
605 int cid = xhci_find_hcid_by_irq_num(irq_num); in xhci_hc_irq_disable() local
607 if (WARN_ON(cid == -1)) in xhci_hc_irq_disable()
610 xhci_hc_stop_sched(cid); in xhci_hc_irq_disable()
612 pci_disable_msi(xhci_hc[cid].pci_dev_hdr); in xhci_hc_irq_disable()
[all …]