Searched refs:maxchild (Results 1 - 11 of 11) sorted by relevance
/linux-4.1.27/drivers/usb/core/ |
H A D | hub.c | 120 if (!hdev || !hdev->actconfig || !hdev->maxchild) usb_hub_to_struct_hub() 458 for (i = 0; i < hdev->maxchild; i++) { led_work() 507 cursor %= hdev->maxchild; led_work() 846 for (port1 = 1; port1 <= hub->hdev->maxchild; port1++) hub_power_on() 1127 for (port1 = 1; port1 <= hdev->maxchild; ++port1) { hub_activate() 1308 for (i = 0; i < hdev->maxchild; ++i) { hub_quiesce() 1326 for (i = 0; i < hub->hdev->maxchild; ++i) hub_pm_barrier_for_all_ports() 1365 unsigned maxchild; hub_configure() local 1404 maxchild = hub->descriptor->bNbrPorts; hub_configure() 1405 dev_info(hub_dev, "%d port%s detected\n", maxchild, hub_configure() 1406 (maxchild == 1) ? "" : "s"); hub_configure() 1408 hub->ports = kzalloc(maxchild * sizeof(struct usb_port *), GFP_KERNEL); hub_configure() 1429 for (i = 0; i < maxchild; i++) hub_configure() 1433 portstr[maxchild] = 0; hub_configure() 1545 hdev->bus_mA = full_load * maxchild; hub_configure() 1560 if (remaining < maxchild * unit_load) hub_configure() 1617 for (i = 0; i < maxchild; i++) { hub_configure() 1625 hdev->maxchild = i; hub_configure() 1626 for (i = 0; i < hdev->maxchild; i++) { hub_configure() 1691 port1 = hdev->maxchild; hub_disconnect() 1692 hdev->maxchild = 0; hub_disconnect() 1862 info->nports = hdev->maxchild; hub_ioctl() 1892 if (port1 == 0 || port1 > hdev->maxchild) find_port_owner() 1896 * will always have maxchild equal to 0. find_port_owner() 1940 for (n = 0; n < hdev->maxchild; n++) { usb_hub_release_all_ports() 1963 for (i = 0; i < udev->maxchild; ++i) { recursively_mark_NOTATTACHED() 2120 for (i = 0; i < udev->maxchild; i++) { hub_disconnect_children() 3530 for (port1 = 1; port1 <= hub->hdev->maxchild; ++port1) { check_ports_changed() 3553 for (port1 = 1; port1 <= hdev->maxchild; port1++) { hub_suspend() 3579 for (port1 = 1; port1 <= hdev->maxchild; port1++) { hub_suspend() 4585 for (port1 = 1; port1 <= hdev->maxchild; ++port1) { hub_power_remaining() 5015 hdev->state, hdev->maxchild, hub_event() 5058 for (i = 1; i <= hdev->maxchild; i++) { hub_event() 5623 if (port1 < 1 || port1 > hdev->maxchild) usb_hub_find_child() 5640 for (i = 1; i <= hdev->maxchild; i++) { usb_hub_adjust_deviceremovable() 5656 for (i = 1; i <= hdev->maxchild; i++) { usb_hub_adjust_deviceremovable()
|
H A D | port.c | 332 for (port1 = 1; port1 <= peer_hdev->maxchild; port1++) { match_location() 389 if (!peer_hub || port1 > peer_hdev->maxchild) find_and_link_peer() 447 * and the hub has been fully registered (hdev->maxchild set). usb_hub_create_port_device()
|
H A D | sysfs.c | 199 return sprintf(buf, "%d\n", udev->maxchild); maxchild_show() 201 static DEVICE_ATTR_RO(maxchild);
|
H A D | devices.c | 543 speed, usbdev->maxchild); usb_device_dump()
|
H A D | hcd.c | 779 unsigned len = 1 + (urb->dev->maxchild / 8); rh_queue_status()
|
/linux-4.1.27/drivers/usb/usbip/ |
H A D | usbip_common.c | 149 dev_dbg(dev, "maxchild %d\n", udev->maxchild); usbip_dump_usb_device()
|
/linux-4.1.27/include/linux/ |
H A D | usb.h | 514 * @maxchild: number of ports if hub 591 int maxchild; member in struct:usb_device 633 port1 <= hdev->maxchild; \
|
/linux-4.1.27/drivers/usb/host/ |
H A D | ehci-hub.c | 38 return !udev->maxchild && udev->persist_enabled && persist_enabled_on_companion()
|
H A D | ehci-sched.c | 133 tt_index = kzalloc(utt->hub->maxchild * find_tt() 186 for (i = 0; i < utt->hub->maxchild; ++i) drop_tt()
|
H A D | xhci-mem.c | 882 num_ports = hdev->maxchild; xhci_alloc_tt_info()
|
H A D | xhci.c | 4815 slot_ctx->dev_info2 |= cpu_to_le32(XHCI_MAX_PORTS(hdev->maxchild)); xhci_update_hub_device()
|
Completed in 545 milliseconds