Lines Matching refs:xhci_base
156 offset = xhci_find_next_ext_cap(xdbc.xhci_base, 0, XHCI_EXT_CAPS_LEGACY);
157 val = readl(xdbc.xhci_base + offset);
160 writel(val | XHCI_HC_OS_OWNED, xdbc.xhci_base + offset);
161 timeout = handshake(xdbc.xhci_base + offset, XHCI_HC_BIOS_OWNED, 0, 5000, 10);
165 writel(val & ~XHCI_HC_BIOS_OWNED, xdbc.xhci_base + offset);
170 val = readl(xdbc.xhci_base + offset + XHCI_LEGACY_CONTROL_OFFSET);
173 writel(val, xdbc.xhci_base + offset + XHCI_LEGACY_CONTROL_OFFSET);
355 cap_length = readl(xdbc.xhci_base) & 0xff;
356 ops_reg = xdbc.xhci_base + cap_length;
373 offset = xhci_find_next_ext_cap(xdbc.xhci_base, offset, XHCI_EXT_CAPS_PROTOCOL);
377 val = readl(xdbc.xhci_base + offset);
381 val = readl(xdbc.xhci_base + offset + 8);
636 xdbc.xhci_base = xdbc_map_pci_mmio(bus, dev, func);
637 if (!xdbc.xhci_base)
641 offset = xhci_find_next_ext_cap(xdbc.xhci_base, 0, XHCI_EXT_CAPS_DEBUG);
644 early_iounmap(xdbc.xhci_base, xdbc.xhci_length);
645 xdbc.xhci_base = NULL;
650 xdbc.xdbc_reg = (struct xdbc_regs __iomem *)(xdbc.xhci_base + offset);
983 early_iounmap(xdbc.xhci_base, xdbc.xhci_length);
984 xdbc.xhci_base = base;
985 offset = xhci_find_next_ext_cap(xdbc.xhci_base, 0, XHCI_EXT_CAPS_DEBUG);
986 xdbc.xdbc_reg = (struct xdbc_regs __iomem *)(xdbc.xhci_base + offset);
1000 early_iounmap(xdbc.xhci_base, xdbc.xhci_length);