Lines Matching refs:ext_cap_offset
1152 int ext_cap_offset; in quirk_usb_handoff_xhci() local
1169 ext_cap_offset = xhci_find_next_ext_cap(base, 0, XHCI_EXT_CAPS_LEGACY); in quirk_usb_handoff_xhci()
1171 if (!ext_cap_offset) in quirk_usb_handoff_xhci()
1174 if ((ext_cap_offset + sizeof(val)) > len) { in quirk_usb_handoff_xhci()
1179 val = readl(base + ext_cap_offset); in quirk_usb_handoff_xhci()
1186 writel(val, base + ext_cap_offset); in quirk_usb_handoff_xhci()
1191 writel(val | XHCI_HC_OS_OWNED, base + ext_cap_offset); in quirk_usb_handoff_xhci()
1194 timeout = handshake(base + ext_cap_offset, XHCI_HC_BIOS_OWNED, in quirk_usb_handoff_xhci()
1202 writel(val & ~XHCI_HC_BIOS_OWNED, base + ext_cap_offset); in quirk_usb_handoff_xhci()
1206 val = readl(base + ext_cap_offset + XHCI_LEGACY_CONTROL_OFFSET); in quirk_usb_handoff_xhci()
1212 writel(val, base + ext_cap_offset + XHCI_LEGACY_CONTROL_OFFSET); in quirk_usb_handoff_xhci()