Lines Matching refs:cnt
436 uint32_t offset, cnt; in xhci_hc_pair_ports() local
443 next_off = xhci_hc_get_protocol_offset(id, next_off, 2, &offset, &cnt, &protocol_flags); in xhci_hc_pair_ports()
446 if (cnt) in xhci_hc_pair_ports()
448 for (int i = 0; i < cnt; ++i) in xhci_hc_pair_ports()
466 next_off = xhci_hc_get_protocol_offset(id, next_off, 3, &offset, &cnt, &protocol_flags); in xhci_hc_pair_ports()
469 if (cnt) in xhci_hc_pair_ports()
471 for (int i = 0; i < cnt; ++i) in xhci_hc_pair_ports()
1630 int cnt = 0; in xhci_hc_start_ports() local
1651 ++cnt; in xhci_hc_start_ports()
1657 kdebug("Active usb3 ports:%d", cnt); in xhci_hc_start_ports()
1677 ++cnt; in xhci_hc_start_ports()
1683 kinfo("xHCI controller %d: Started %d ports.", id, cnt); in xhci_hc_start_ports()