Home
last modified time | relevance | path

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

/drivers/usb/core/
Dhub.c303 unsigned int num_hubs; in usb_set_lpm_sel() local
309 for (parent = udev->parent, num_hubs = 0; parent->parent; in usb_set_lpm_sel()
311 num_hubs++; in usb_set_lpm_sel()
313 if (num_hubs > 0) in usb_set_lpm_sel()
314 total_sel += 2100 + 250 * (num_hubs - 1); in usb_set_lpm_sel()
317 total_sel += 250 * num_hubs; in usb_set_lpm_sel()
/drivers/usb/host/
Dxhci.c4921 unsigned int num_hubs; in xhci_check_intel_tier_policy() local
4927 for (parent = udev->parent, num_hubs = 0; parent->parent; in xhci_check_intel_tier_policy()
4929 num_hubs++; in xhci_check_intel_tier_policy()
4931 if (num_hubs < 2) in xhci_check_intel_tier_policy()