Home
last modified time | relevance | path

Searched refs:num_hubs (Results 1 - 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/core/
H A Dhub.c302 unsigned int num_hubs; in usb_set_lpm_sel() local
308 for (parent = udev->parent, num_hubs = 0; parent->parent; in usb_set_lpm_sel()
310 num_hubs++; in usb_set_lpm_sel()
311 /* t2 = 2.1us + 250ns * (num_hubs - 1) */ in usb_set_lpm_sel()
312 if (num_hubs > 0) in usb_set_lpm_sel()
313 total_sel += 2100 + 250 * (num_hubs - 1); in usb_set_lpm_sel()
315 /* t4 = 250ns * num_hubs */ in usb_set_lpm_sel()
316 total_sel += 250 * num_hubs; in usb_set_lpm_sel()
/kernel/linux/linux-6.6/drivers/usb/core/
H A Dhub.c309 unsigned int num_hubs; in usb_set_lpm_sel() local
315 for (parent = udev->parent, num_hubs = 0; parent->parent; in usb_set_lpm_sel()
317 num_hubs++; in usb_set_lpm_sel()
318 /* t2 = 2.1us + 250ns * (num_hubs - 1) */ in usb_set_lpm_sel()
319 if (num_hubs > 0) in usb_set_lpm_sel()
320 total_sel += 2100 + 250 * (num_hubs - 1); in usb_set_lpm_sel()
322 /* t4 = 250ns * num_hubs */ in usb_set_lpm_sel()
323 total_sel += 250 * num_hubs; in usb_set_lpm_sel()
/kernel/linux/linux-5.10/drivers/usb/host/
H A Dxhci.c4868 unsigned int num_hubs; in xhci_check_intel_tier_policy() local
4874 for (parent = udev->parent, num_hubs = 0; parent->parent; in xhci_check_intel_tier_policy()
4876 num_hubs++; in xhci_check_intel_tier_policy()
4878 if (num_hubs < 2) in xhci_check_intel_tier_policy()

Completed in 21 milliseconds