Searched refs:ud_subdevs (Results 1 – 5 of 5) sorted by relevance
1065 dev->ud_subdevs = kmem_alloc(sizeof(dv), KM_SLEEP); in usbd_attach_roothub()1066 dev->ud_subdevs[0] = dv; in usbd_attach_roothub()1163 dev->ud_subdevs = kmem_alloc(sizeof(dv), KM_SLEEP); in usbd_attachwholedevice()1164 dev->ud_subdevs[0] = dv; in usbd_attachwholedevice()1191 if (!dev->ud_subdevs[i]) { in usbd_attachinterfaces()1254 if (!ifaces[j] && !dev->ud_subdevs[j]) { in usbd_attachinterfaces()1257 dev->ud_subdevs[j] = dv; in usbd_attachinterfaces()1298 dev->ud_subdevs = kmem_zalloc(nifaces * sizeof(device_t), in usbd_probe_and_attach()1304 if (dev->ud_subdevs && dev->ud_nifaces_claimed == 0) { in usbd_probe_and_attach()1305 kmem_free(dev->ud_subdevs, in usbd_probe_and_attach()[all …]
1009 if (dev->ud_subdevs[i] == child) { in uhub_childdet()1010 dev->ud_subdevs[i] = NULL; in uhub_childdet()1015 kmem_free(dev->ud_subdevs, in uhub_childdet()1017 dev->ud_subdevs = NULL; in uhub_childdet()
224 device_t *ud_subdevs; /* sub-devices */ member
1397 if (dev->ud_subdevs[i] == child) in usb_childdet()1398 dev->ud_subdevs[i] = NULL; in usb_childdet()
157 if (!dev->ud_subdevs[i]) in usbd_fill_deviceinfo30()160 device_xname(dev->ud_subdevs[i]), USB_MAX_DEVNAMELEN); in usbd_fill_deviceinfo30()