Searched refs:maxchild (Results 1 - 16 of 16) sorted by relevance

/linux-master/drivers/usb/misc/
H A Donboard_usb_hub_pdevs.c80 for (i = 1; i <= parent_hub->maxchild; i++) {
/linux-master/drivers/usb/core/
H A Dhub.c155 if (!hdev || !hdev->actconfig || !hdev->maxchild)
513 for (i = 0; i < hdev->maxchild; i++) {
562 cursor %= hdev->maxchild;
974 for (port1 = 1; port1 <= hub->hdev->maxchild; port1++)
1175 for (port1 = 1; port1 <= hdev->maxchild; ++port1) {
1380 for (i = 0; i < hdev->maxchild; ++i) {
1399 for (i = 0; i < hub->hdev->maxchild; ++i)
1438 unsigned maxchild; local
1469 maxchild = USB_MAXCHILDREN;
1471 maxchild
[all...]
H A Dledtrig-usbport.c241 for (i = 1; i <= usb_dev->maxchild; i++)
H A Ddevices.c439 speed, usbdev->maxchild);
H A Dport.c618 for (port1 = 1; port1 <= peer_hdev->maxchild; port1++) {
676 if (!peer_hub || port1 > peer_hdev->maxchild)
793 * and the hub has been fully registered (hdev->maxchild set).
H A Dsysfs.c248 return sysfs_emit(buf, "%d\n", udev->maxchild);
250 static DEVICE_ATTR_RO(maxchild);
H A Dhcd.c789 unsigned len = 1 + (urb->dev->maxchild / 8);
/linux-master/include/linux/
H A Dusb.h626 * @maxchild: number of ports if hub
710 int maxchild; member in struct:usb_device
762 port1 <= hdev->maxchild; \
/linux-master/drivers/usb/host/
H A Dxhci-pci.c509 if (hdev->maxchild > rhub->num_ports) {
514 for (i = 0; i < hdev->maxchild; i++) {
H A Dxhci-mtk-sch.c182 tt_index = kcalloc(utt->hub->maxchild,
226 for (i = 0; i < utt->hub->maxchild; ++i)
H A Dehci-hub.c26 return !udev->maxchild && udev->persist_enabled &&
H A Dehci-sched.c120 tt_index = kcalloc(utt->hub->maxchild,
174 for (i = 0; i < utt->hub->maxchild; ++i)
H A Dxhci-mem.c818 num_ports = hdev->maxchild;
H A Dxhci.c5092 slot_ctx->dev_info2 |= cpu_to_le32(XHCI_MAX_PORTS(hdev->maxchild));
/linux-master/drivers/usb/usbip/
H A Dusbip_common.c133 dev_dbg(dev, "maxchild %d\n", udev->maxchild);
/linux-master/drivers/usb/dwc2/
H A Dhcd.c4037 bitmap_size *= urb->dev->tt->hub->maxchild;

Completed in 362 milliseconds