Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/driver/usb/xhci/
Dinternal.h25 #define xhci_read_op_reg32(id, offset) (__read4b(xhci_hc[id].vbase_op + (offset))) macro
67 #define xhci_get_port_speed(__id, __port_id) ((xhci_read_op_reg32((__id), XHCI_PORT_REGISTER_OFFSET…
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()
278 uint32_t cmd = xhci_read_op_reg32(id, XHCI_OPS_USBCMD); in xhci_hc_reset()
285 while (xhci_read_op_reg32(id, XHCI_OPS_USBCMD) & (1 << 1)) in xhci_hc_reset()
672 xhci_write_op_reg32(cid, XHCI_OPS_USBSTS, xhci_read_op_reg32(cid, XHCI_OPS_USBSTS)); in xhci_hc_irq_handler()
788 if ((xhci_read_op_reg32(id, port_status_offset + XHCI_PORT_PORTSC) & (1 << 9)) == 0) in xhci_reset_port()
796 if ((xhci_read_op_reg32(id, port_status_offset + XHCI_PORT_PORTSC) & (1 << 9)) == 0) in xhci_reset_port()
821 uint32_t val = xhci_read_op_reg32(id, port_status_offset + XHCI_PORT_PORTSC); in xhci_reset_port()
842 uint32_t val = xhci_read_op_reg32(id, port_status_offset + XHCI_PORT_PORTSC); in xhci_reset_port()
[all …]