Lines Matching refs:cap
368 static u32 __init find_cap(u32 num, u32 slot, u32 func, int cap)
385 if (id == cap)
412 unsigned cap;
414 cap = __find_dbgp(bus, slot, func);
416 if (!cap)
423 return cap;
723 u32 cap;
729 cap = read_pci_config(ehci_dev.bus, ehci_dev.slot,
731 dbgp_printk("dbgp: ehci BIOS state %08x\n", cap);
733 if ((cap & 0xff) == 1 && (cap & EHCI_USBLEGSUP_BIOS)) {
741 while ((cap & EHCI_USBLEGSUP_BIOS) && (msec > 0)) {
744 cap = read_pci_config(ehci_dev.bus, ehci_dev.slot,
748 if (cap & EHCI_USBLEGSUP_BIOS) {
751 dbgp_printk("dbgp: BIOS handoff failed: %08x\n", cap);
838 u32 bus, slot, func, cap;
854 cap = find_dbgp(dbgp_num, &bus, &slot, &func);
855 if (!cap)
861 debug_port = read_pci_config(bus, slot, func, cap);