Home
last modified time | relevance | path

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

/DragonOS-0.1.3/kernel/src/driver/usb/xhci/
Dinternal.h62 …IS_ACTIVE(cid, pid) ((xhci_hc[cid].ports[pid].flags & XHCI_PROTOCOL_ACTIVE) == XHCI_PROTOCOL_ACTIV…
Dxhci.h493 #define XHCI_PROTOCOL_ACTIVE (1 << 3) // 当前端口是这个配对中,被激活的端口 macro
Dxhci.c506 xhci_hc[id].ports[i].flags |= XHCI_PROTOCOL_ACTIVE; in xhci_hc_pair_ports()
864 xhci_hc[id].ports[port].flags |= XHCI_PROTOCOL_ACTIVE; in xhci_reset_port()
866 … xhci_hc[id].ports[xhci_hc[id].ports[port].paired_port_num].flags &= ~(XHCI_PROTOCOL_ACTIVE); in xhci_reset_port()
872 xhci_hc[id].ports[port].flags &= ~XHCI_PROTOCOL_ACTIVE; in xhci_reset_port()
873 xhci_hc[id].ports[xhci_hc[id].ports[port].paired_port_num].flags |= XHCI_PROTOCOL_ACTIVE; in xhci_reset_port()