maxchild          519 drivers/usb/core/devices.c 			speed, usbdev->maxchild);
maxchild          809 drivers/usb/core/hcd.c 	unsigned	len = 1 + (urb->dev->maxchild / 8);
maxchild          134 drivers/usb/core/hub.c 	if (!hdev || !hdev->actconfig || !hdev->maxchild)
maxchild          481 drivers/usb/core/hub.c 	for (i = 0; i < hdev->maxchild; i++) {
maxchild          530 drivers/usb/core/hub.c 		cursor %= hdev->maxchild;
maxchild          914 drivers/usb/core/hub.c 	for (port1 = 1; port1 <= hub->hdev->maxchild; port1++)
maxchild         1112 drivers/usb/core/hub.c 	for (port1 = 1; port1 <= hdev->maxchild; ++port1) {
maxchild         1317 drivers/usb/core/hub.c 		for (i = 0; i < hdev->maxchild; ++i) {
maxchild         1336 drivers/usb/core/hub.c 	for (i = 0; i < hub->hdev->maxchild; ++i)
maxchild         1375 drivers/usb/core/hub.c 	unsigned maxchild;
maxchild         1406 drivers/usb/core/hub.c 	maxchild = USB_MAXCHILDREN;
maxchild         1408 drivers/usb/core/hub.c 		maxchild = min_t(unsigned, maxchild, USB_SS_MAXPORTS);
maxchild         1410 drivers/usb/core/hub.c 	if (hub->descriptor->bNbrPorts > maxchild) {
maxchild         1434 drivers/usb/core/hub.c 	maxchild = hub->descriptor->bNbrPorts;
maxchild         1435 drivers/usb/core/hub.c 	dev_info(hub_dev, "%d port%s detected\n", maxchild,
maxchild         1436 drivers/usb/core/hub.c 			(maxchild == 1) ? "" : "s");
maxchild         1438 drivers/usb/core/hub.c 	hub->ports = kcalloc(maxchild, sizeof(struct usb_port *), GFP_KERNEL);
maxchild         1458 drivers/usb/core/hub.c 		for (i = 0; i < maxchild; i++)
maxchild         1462 drivers/usb/core/hub.c 		portstr[maxchild] = 0;
maxchild         1574 drivers/usb/core/hub.c 			hdev->bus_mA = full_load * maxchild;
maxchild         1589 drivers/usb/core/hub.c 		if (remaining < maxchild * unit_load)
maxchild         1646 drivers/usb/core/hub.c 	for (i = 0; i < maxchild; i++) {
maxchild         1654 drivers/usb/core/hub.c 	hdev->maxchild = i;
maxchild         1655 drivers/usb/core/hub.c 	for (i = 0; i < hdev->maxchild; i++) {
maxchild         1720 drivers/usb/core/hub.c 	port1 = hdev->maxchild;
maxchild         1721 drivers/usb/core/hub.c 	hdev->maxchild = 0;
maxchild         1904 drivers/usb/core/hub.c 			info->nports = hdev->maxchild;
maxchild         1934 drivers/usb/core/hub.c 	if (port1 == 0 || port1 > hdev->maxchild)
maxchild         1982 drivers/usb/core/hub.c 	for (n = 0; n < hdev->maxchild; n++) {
maxchild         2005 drivers/usb/core/hub.c 	for (i = 0; i < udev->maxchild; ++i) {
maxchild         2164 drivers/usb/core/hub.c 	for (i = 0; i < udev->maxchild; i++) {
maxchild         3685 drivers/usb/core/hub.c 	for (port1 = 1; port1 <= hub->hdev->maxchild; ++port1) {
maxchild         3707 drivers/usb/core/hub.c 	for (port1 = 1; port1 <= hdev->maxchild; port1++) {
maxchild         3733 drivers/usb/core/hub.c 		for (port1 = 1; port1 <= hdev->maxchild; port1++) {
maxchild         3774 drivers/usb/core/hub.c 		for (i = 0; i < hdev->maxchild; ++i) {
maxchild         4921 drivers/usb/core/hub.c 	for (port1 = 1; port1 <= hdev->maxchild; ++port1) {
maxchild         5402 drivers/usb/core/hub.c 			hdev->state, hdev->maxchild,
maxchild         5445 drivers/usb/core/hub.c 	for (i = 1; i <= hdev->maxchild; i++) {
maxchild         6010 drivers/usb/core/hub.c 	if (port1 < 1 || port1 > hdev->maxchild)
maxchild         6027 drivers/usb/core/hub.c 		for (i = 1; i <= hdev->maxchild; i++) {
maxchild         6043 drivers/usb/core/hub.c 		for (i = 1; i <= hdev->maxchild; i++) {
maxchild          241 drivers/usb/core/ledtrig-usbport.c 	for (i = 1; i <= usb_dev->maxchild; i++)
maxchild          462 drivers/usb/core/port.c 	for (port1 = 1; port1 <= peer_hdev->maxchild; port1++) {
maxchild          519 drivers/usb/core/port.c 	if (!peer_hub || port1 > peer_hdev->maxchild)
maxchild          247 drivers/usb/core/sysfs.c 	return sprintf(buf, "%d\n", udev->maxchild);
maxchild          249 drivers/usb/core/sysfs.c static DEVICE_ATTR_RO(maxchild);
maxchild         4012 drivers/usb/dwc2/hcd.c 				bitmap_size *= urb->dev->tt->hub->maxchild;
maxchild           27 drivers/usb/host/ehci-hub.c 	return !udev->maxchild && udev->persist_enabled &&
maxchild          120 drivers/usb/host/ehci-sched.c 			tt_index = kcalloc(utt->hub->maxchild,
maxchild          174 drivers/usb/host/ehci-sched.c 		for (i = 0; i < utt->hub->maxchild; ++i)
maxchild          845 drivers/usb/host/xhci-mem.c 		num_ports = hdev->maxchild;
maxchild          103 drivers/usb/host/xhci-mtk-sch.c 			tt_index = kcalloc(utt->hub->maxchild,
maxchild          151 drivers/usb/host/xhci-mtk-sch.c 		for (i = 0; i < utt->hub->maxchild; ++i)
maxchild         5069 drivers/usb/host/xhci.c 		slot_ctx->dev_info2 |= cpu_to_le32(XHCI_MAX_PORTS(hdev->maxchild));
maxchild          133 drivers/usb/usbip/usbip_common.c 	dev_dbg(dev, "maxchild %d\n", udev->maxchild);
maxchild          688 include/linux/usb.h 	int maxchild;
maxchild          732 include/linux/usb.h 			port1 <= hdev->maxchild; \