Home
last modified time | relevance | path

Searched refs:maxchild (Results 1 – 22 of 22) sorted by relevance

/openbmc/u-boot/cmd/
H A Dusb.c366 for (i = 0; i < dev->maxchild; i++) {
379 for (i = 0; i < dev->parent->maxchild; i++) {
385 while (i++ < dev->parent->maxchild) {
437 if (dev->maxchild > 0) {
438 for (i = 0; i < dev->maxchild; i++) {
504 if (port > dev->maxchild) {
/openbmc/linux/drivers/usb/core/
H A Dhub.c154 if (!hdev || !hdev->actconfig || !hdev->maxchild) in usb_hub_to_struct_hub()
512 for (i = 0; i < hdev->maxchild; i++) { in led_work()
561 cursor %= hdev->maxchild; in led_work()
945 for (port1 = 1; port1 <= hub->hdev->maxchild; port1++) in hub_power_on()
1146 for (port1 = 1; port1 <= hdev->maxchild; ++port1) { in hub_activate()
1351 for (i = 0; i < hdev->maxchild; ++i) { in hub_quiesce()
1370 for (i = 0; i < hub->hdev->maxchild; ++i) in hub_pm_barrier_for_all_ports()
1409 unsigned maxchild; in hub_configure() local
1440 maxchild = USB_MAXCHILDREN; in hub_configure()
1442 maxchild in hub_configure()
[all...]
H A Dport.c622 for (port1 = 1; port1 <= peer_hdev->maxchild; port1++) { in match_location()
680 if (!peer_hub || port1 > peer_hdev->maxchild) in find_and_link_peer()
H A Dledtrig-usbport.c241 for (i = 1; i <= usb_dev->maxchild; i++) in usbport_trig_add_usb_dev_ports()
H A Ddevices.c439 speed, usbdev->maxchild); in usb_device_dump()
H A Dsysfs.c248 return sysfs_emit(buf, "%d\n", udev->maxchild); in maxchild_show()
250 static DEVICE_ATTR_RO(maxchild);
H A Dhcd.c791 unsigned len = 1 + (urb->dev->maxchild / 8); in rh_queue_status()
/openbmc/u-boot/common/
H A Dusb_hub.c169 for (i = 0; i < dev->maxchild; i++) { in usb_hub_power_on()
671 dev->maxchild = descriptor->bNbrPorts; in usb_hub_configure()
672 debug("%d ports detected\n", dev->maxchild); in usb_hub_configure()
761 for (i = 0; i < dev->maxchild; i++) in usb_hub_configure()
850 for (i = 0; i < dev->maxchild; i++) in usb_hub_configure()
860 for (i = 0; i < dev->maxchild; i++) { in usb_hub_configure()
H A Dusb.c157 for (i = 0; i < usb_dev[j].maxchild; i++) { in usb_detect_change()
875 usb_dev[dev_index].maxchild = 0; in usb_alloc_new_device()
/openbmc/linux/drivers/usb/misc/
H A Donboard_usb_hub_pdevs.c80 for (i = 1; i <= parent_hub->maxchild; i++) { in onboard_hub_create_pdevs()
/openbmc/linux/drivers/usb/host/
H A Dxhci-mtk-sch.c174 tt_index = kcalloc(utt->hub->maxchild, in find_tt()
218 for (i = 0; i < utt->hub->maxchild; ++i) in drop_tt()
H A Dxhci-pci.c580 if (hdev->maxchild > rhub->num_ports) { in xhci_find_lpm_incapable_ports()
585 for (i = 0; i < hdev->maxchild; i++) { in xhci_find_lpm_incapable_ports()
H A Dehci-sched.c120 tt_index = kcalloc(utt->hub->maxchild, in find_tt()
174 for (i = 0; i < utt->hub->maxchild; ++i) in drop_tt()
H A Dehci-hub.c26 return !udev->maxchild && udev->persist_enabled && in persist_enabled_on_companion()
H A Dxhci-mem.c815 num_ports = hdev->maxchild; in xhci_alloc_tt_info()
H A Dxhci.c5086 slot_ctx->dev_info2 |= cpu_to_le32(XHCI_MAX_PORTS(hdev->maxchild)); in xhci_update_hub_device()
/openbmc/linux/include/linux/
H A Dusb.h711 int maxchild; member
763 port1 <= hdev->maxchild; \
/openbmc/u-boot/include/
H A Dusb.h141 int maxchild; /* Number of ports if hub */ member
/openbmc/linux/drivers/usb/usbip/
H A Dusbip_common.c133 dev_dbg(dev, "maxchild %d\n", udev->maxchild); in usbip_dump_usb_device()
/openbmc/u-boot/drivers/usb/host/
H A Dxhci.c1447 slot_ctx->dev_info2 |= cpu_to_le32(XHCI_MAX_PORTS(udev->maxchild)); in xhci_update_hub_device()
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-bus-usb470 What: /sys/bus/usb/devices/usbX/maxchild
/openbmc/linux/drivers/usb/dwc2/
H A Dhcd.c4033 bitmap_size *= urb->dev->tt->hub->maxchild; in dwc2_host_get_tt_info()