Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/driver/usb/xhci/
Dxhci.c239 if (unlikely((xhci_read_op_reg32(id, XHCI_OPS_USBSTS) & (1 << 0)) == 1)) in xhci_hc_stop()
245 while ((xhci_read_op_reg32(id, XHCI_OPS_USBSTS) & (1 << 0)) == 0) in xhci_hc_stop()
267 if ((xhci_read_op_reg32(id, XHCI_OPS_USBSTS) & (1 << 0)) == 0) in xhci_hc_reset()
674 xhci_write_op_reg32(cid, XHCI_OPS_USBSTS, xhci_read_op_reg32(cid, XHCI_OPS_USBSTS)); in xhci_hc_irq_handler()
1940 xhci_write_op_reg32(id, XHCI_OPS_USBSTS, (1 << 10) | (1 << 4) | (1 << 3) | (1 << 2)); in xhci_hc_init_intr()
Dxhci.h114 #define XHCI_OPS_USBSTS 0x04 // USB status macro