Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/cmd/
H A Dusb.c367 for (i = 0; i < dev->maxchild; i++) {
380 for (i = 0; i < dev->parent->maxchild; i++) {
386 while (i++ < dev->parent->maxchild) {
438 if (dev->maxchild > 0) {
439 for (i = 0; i < dev->maxchild; i++) {
505 if (port > dev->maxchild) {
/OK3568_Linux_fs/kernel/drivers/usb/core/
H A Dhub.c138 if (!hdev || !hdev->actconfig || !hdev->maxchild) in usb_hub_to_struct_hub()
488 for (i = 0; i < hdev->maxchild; i++) { in led_work()
537 cursor %= hdev->maxchild; in led_work()
921 for (port1 = 1; port1 <= hub->hdev->maxchild; port1++) in hub_power_on()
1122 for (port1 = 1; port1 <= hdev->maxchild; ++port1) { in hub_activate()
1327 for (i = 0; i < hdev->maxchild; ++i) { in hub_quiesce()
1346 for (i = 0; i < hub->hdev->maxchild; ++i) in hub_pm_barrier_for_all_ports()
1385 unsigned maxchild; in hub_configure() local
1416 maxchild = USB_MAXCHILDREN; in hub_configure()
1418 maxchild = min_t(unsigned, maxchild, USB_SS_MAXPORTS); in hub_configure()
[all …]
H A Dport.c462 for (port1 = 1; port1 <= peer_hdev->maxchild; port1++) { in match_location()
519 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.c487 speed, usbdev->maxchild); in usb_device_dump()
H A Dsysfs.c247 return sprintf(buf, "%d\n", udev->maxchild); in maxchild_show()
249 static DEVICE_ATTR_RO(maxchild);
H A Dhcd.c817 unsigned len = 1 + (urb->dev->maxchild / 8); in rh_queue_status()
/OK3568_Linux_fs/u-boot/common/
H A Dusb_hub.c172 for (i = 0; i < dev->maxchild; i++) { in usb_hub_power_on()
674 dev->maxchild = descriptor->bNbrPorts; in usb_hub_configure()
675 debug("%d ports detected\n", dev->maxchild); in usb_hub_configure()
764 for (i = 0; i < dev->maxchild; i++) in usb_hub_configure()
853 for (i = 0; i < dev->maxchild; i++) in usb_hub_configure()
863 for (i = 0; i < dev->maxchild; i++) { in usb_hub_configure()
H A Dusb.c158 for (i = 0; i < usb_dev[j].maxchild; i++) { in usb_detect_change()
895 usb_dev[dev_index].maxchild = 0; in usb_alloc_new_device()
/OK3568_Linux_fs/kernel/drivers/usb/host/
H A Dxhci-mtk-sch.c175 tt_index = kcalloc(utt->hub->maxchild, in find_tt()
219 for (i = 0; i < utt->hub->maxchild; ++i) in drop_tt()
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.c914 num_ports = hdev->maxchild; in xhci_alloc_tt_info()
H A Dxhci.c5143 slot_ctx->dev_info2 |= cpu_to_le32(XHCI_MAX_PORTS(hdev->maxchild)); in xhci_update_hub_device()
/OK3568_Linux_fs/kernel/include/linux/
H A Dusb.h704 int maxchild; member
754 port1 <= hdev->maxchild; \
/OK3568_Linux_fs/u-boot/include/
H A Dusb.h142 int maxchild; /* Number of ports if hub */ member
/OK3568_Linux_fs/kernel/drivers/usb/usbip/
H A Dusbip_common.c133 dev_dbg(dev, "maxchild %d\n", udev->maxchild); in usbip_dump_usb_device()
/OK3568_Linux_fs/u-boot/drivers/usb/host/
H A Dxhci.c1453 slot_ctx->dev_info2 |= cpu_to_le32(XHCI_MAX_PORTS(udev->maxchild)); in xhci_update_hub_device()
/OK3568_Linux_fs/kernel/drivers/usb/dwc2/
H A Dhcd.c4035 bitmap_size *= urb->dev->tt->hub->maxchild; in dwc2_host_get_tt_info()