Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/driver/usb/xhci/
Dxhci.c397 uint32_t dw2 = xhci_read_cap_reg32(id, list_off + 8); in xhci_hc_get_protocol_offset() local
400 *offset = (uint32_t)(dw2 & 0xff) - 1; // 使其转换为zero based in xhci_hc_get_protocol_offset()
402 *count = (uint32_t)((dw2 & 0xff00) >> 8); in xhci_hc_get_protocol_offset()
404 *protocol_flag = (uint16_t)((dw2 >> 16) & 0x0fff); in xhci_hc_get_protocol_offset()