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);
638 xdbc.xhci_base = xdbc_map_pci_mmio(bus, dev, func);
639 if (!xdbc.xhci_base)
643 offset = xhci_find_next_ext_cap(xdbc.xhci_base, 0, XHCI_EXT_CAPS_DEBUG);
646 early_iounmap(xdbc.xhci_base, xdbc.xhci_length);
647 xdbc.xhci_base = NULL;
652 xdbc.xdbc_reg = (struct xdbc_regs __iomem *)(xdbc.xhci_base + offset);
986 early_iounmap(xdbc.xhci_base, xdbc.xhci_length);
987 xdbc.xhci_base = base;
988 offset = xhci_find_next_ext_cap(xdbc.xhci_base, 0, XHCI_EXT_CAPS_DEBUG);
989 xdbc.xdbc_reg = (struct xdbc_regs __iomem *)(xdbc.xhci_base + offset);
1003 early_iounmap(xdbc.xhci_base, xdbc.xhci_length);