Home
last modified time | relevance | path

Searched refs:num_hubs (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/drivers/usb/core/
Dhub.c296 unsigned int num_hubs; in usb_set_lpm_sel() local
302 for (parent = udev->parent, num_hubs = 0; parent->parent; in usb_set_lpm_sel()
304 num_hubs++; in usb_set_lpm_sel()
306 if (num_hubs > 0) in usb_set_lpm_sel()
307 total_sel += 2100 + 250 * (num_hubs - 1); in usb_set_lpm_sel()
310 total_sel += 250 * num_hubs; in usb_set_lpm_sel()
/Linux-v6.1/drivers/usb/host/
Dxhci.c4903 unsigned int num_hubs; in xhci_check_intel_tier_policy() local
4906 for (parent = udev->parent, num_hubs = 0; parent->parent; in xhci_check_intel_tier_policy()
4908 num_hubs++; in xhci_check_intel_tier_policy()
4910 if (num_hubs < 2) in xhci_check_intel_tier_policy()