Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/driver/usb/xhci/
Dinternal.h13 #define xhci_read_cap_reg32(id, offset) (__read4b(xhci_hc[id].vbase + (offset))) macro
Dxhci.c309 if ((xhci_read_cap_reg32(id, current_offset) & 0xff) == XHCI_XECP_ID_LEGACY) in xhci_hc_stop_legacy()
314xhci_read_cap_reg32(id, current_offset) | XHCI_XECP_LEGACY_OS_OWNED); in xhci_hc_stop_legacy()
318 while ((xhci_read_cap_reg32(id, current_offset) & XHCI_XECP_LEGACY_OWNING_MASK) != in xhci_hc_stop_legacy()
334 int next_off = ((xhci_read_cap_reg32(id, current_offset) & 0xff00) >> 8) << 2; in xhci_hc_stop_legacy()
390 uint32_t dw0 = xhci_read_cap_reg32(id, list_off); in xhci_hc_get_protocol_offset()
397 uint32_t dw2 = xhci_read_cap_reg32(id, list_off + 8); in xhci_hc_get_protocol_offset()
2007 uint32_t x = xhci_read_cap_reg32(id, xhci_hc[id].rts_offset + 0x20); in xhci_send_command()
2121 …xhci_hc[cid].vbase_op = xhci_hc[cid].vbase + (xhci_read_cap_reg32(cid, XHCI_CAPS_CAPLENGTH) & 0xff… in xhci_init()
2140 …xhci_hc[cid].db_offset = xhci_read_cap_reg32(cid, XHCI_CAPS_DBOFF) & (~0x3); // bits [1:0] reserved in xhci_init()
2142 …xhci_hc[cid].rts_offset = xhci_read_cap_reg32(cid, XHCI_CAPS_RTSOFF) & (~0x1f); // bits [4:0] rese… in xhci_init()