Searched refs:XHCI_OPS_USBCMD (Results 1 – 2 of 2) sorted by relevance
/DragonOS-0.1.3/kernel/src/driver/usb/xhci/ |
D | xhci.c | 242 xhci_write_op_reg32(id, XHCI_OPS_USBCMD, 0x00000000); in xhci_hc_stop() 278 uint32_t cmd = xhci_read_op_reg32(id, XHCI_OPS_USBCMD); in xhci_hc_reset() 282 xhci_write_op_reg32(id, XHCI_OPS_USBCMD, cmd); in xhci_hc_reset() 285 while (xhci_read_op_reg32(id, XHCI_OPS_USBCMD) & (1 << 1)) in xhci_hc_reset() 353 xhci_write_op_reg32(id, XHCI_OPS_USBCMD, (1 << 0) | (1 << 2) | (1 << 3)); in xhci_hc_start_sched() 367 xhci_write_op_reg32(id, XHCI_OPS_USBCMD, 0x00); in xhci_hc_stop_sched()
|
D | xhci.h | 113 #define XHCI_OPS_USBCMD 0x00 // USB Command macro
|