Home
last modified time | relevance | path

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

/drivers/usb/core/
Dhub.c301 unsigned int num_hubs; in usb_set_lpm_sel() local
307 for (parent = udev->parent, num_hubs = 0; parent->parent; in usb_set_lpm_sel()
309 num_hubs++; in usb_set_lpm_sel()
311 if (num_hubs > 0) in usb_set_lpm_sel()
312 total_sel += 2100 + 250 * (num_hubs - 1); in usb_set_lpm_sel()
315 total_sel += 250 * num_hubs; in usb_set_lpm_sel()
/drivers/usb/host/
Dxhci.c4862 unsigned int num_hubs; in xhci_check_intel_tier_policy() local
4868 for (parent = udev->parent, num_hubs = 0; parent->parent; in xhci_check_intel_tier_policy()
4870 num_hubs++; in xhci_check_intel_tier_policy()
4872 if (num_hubs < 2) in xhci_check_intel_tier_policy()