Searched refs:current_offset (Results 1 – 1 of 1) sorted by relevance
304 uint64_t current_offset = xhci_hc[id].ext_caps_off; in xhci_hc_stop_legacy() local309 if ((xhci_read_cap_reg32(id, current_offset) & 0xff) == XHCI_XECP_ID_LEGACY) in xhci_hc_stop_legacy()313 xhci_write_cap_reg32(id, current_offset, in xhci_hc_stop_legacy()314 … xhci_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()337 current_offset = next_off ? (current_offset + next_off) : 0; in xhci_hc_stop_legacy()338 } while (current_offset); in xhci_hc_stop_legacy()