Home
last modified time | relevance | path

Searched refs:ud_subdevs (Results 1 – 5 of 5) sorted by relevance

/netbsd-src/sys/dev/usb/
H A Dusb_subr.c1065 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 …]
H A Duhub.c1009 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()
H A Dusbdivar.h224 device_t *ud_subdevs; /* sub-devices */ member
H A Dusb.c1397 if (dev->ud_subdevs[i] == child) in usb_childdet()
1398 dev->ud_subdevs[i] = NULL; in usb_childdet()
/netbsd-src/sys/compat/common/
H A Dusb_subr_30.c157 if (!dev->ud_subdevs[i]) in usbd_fill_deviceinfo30()
160 device_xname(dev->ud_subdevs[i]), USB_MAX_DEVNAMELEN); in usbd_fill_deviceinfo30()