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

/netbsd-current/sys/dev/usb/
H A Dusb_subr.c1065 dev->ud_subdevs = kmem_alloc(sizeof(dv), KM_SLEEP);
1066 dev->ud_subdevs[0] = dv;
1163 dev->ud_subdevs = kmem_alloc(sizeof(dv), KM_SLEEP);
1164 dev->ud_subdevs[0] = dv;
1191 if (!dev->ud_subdevs[i]) {
1254 if (!ifaces[j] && !dev->ud_subdevs[j]) {
1257 dev->ud_subdevs[j] = dv;
1298 dev->ud_subdevs = kmem_zalloc(nifaces * sizeof(device_t),
1304 if (dev->ud_subdevs && dev->ud_nifaces_claimed == 0) {
1305 kmem_free(dev->ud_subdevs,
[all...]
H A Dusbdivar.h224 device_t *ud_subdevs; /* sub-devices */ member in struct:usbd_device
H A Duhub.c1009 if (dev->ud_subdevs[i] == child) {
1010 dev->ud_subdevs[i] = NULL;
1015 kmem_free(dev->ud_subdevs,
1017 dev->ud_subdevs = NULL;
H A Dusb.c1397 if (dev->ud_subdevs[i] == child)
1398 dev->ud_subdevs[i] = NULL;
/netbsd-current/sys/compat/common/
H A Dusb_subr_30.c157 if (!dev->ud_subdevs[i])
160 device_xname(dev->ud_subdevs[i]), USB_MAX_DEVNAMELEN);

Completed in 267 milliseconds