Home
last modified time | relevance | path

Searched refs:USB_MAXSTRINGLEN (Results 1 – 8 of 8) sorted by relevance

/titanic_44/usr/src/cmd/mdb/common/modules/usba/
H A Dusb.c539 string_descr = (char *)mdb_alloc(USB_MAXSTRINGLEN, UM_GC); in usba_device()
544 if (mdb_readstr(string_descr, USB_MAXSTRINGLEN, in usba_device()
556 if (mdb_readstr(string_descr, USB_MAXSTRINGLEN, in usba_device()
569 if (mdb_readstr(string_descr, USB_MAXSTRINGLEN, in usba_device()
629 USB_MAXSTRINGLEN, in usba_device()
/titanic_44/usr/src/uts/common/io/usb/usba/
H A Dusbai_register.c436 tmpbuf = (char *)kmem_zalloc(USB_MAXSTRINGLEN, KM_SLEEP); in usb_get_dev_data()
511 kmem_free(tmpbuf, USB_MAXSTRINGLEN); in usb_get_dev_data()
980 string = kmem_zalloc(USB_MAXSTRINGLEN, KM_SLEEP); in usba_process_if_descr()
984 string, USB_MAXSTRINGLEN); in usba_process_if_descr()
993 kmem_free(string, USB_MAXSTRINGLEN); in usba_process_if_descr()
1599 string = kmem_zalloc(USB_MAXSTRINGLEN, KM_SLEEP); in usba_dump_descr_tree()
1610 (void) snprintf(string, USB_MAXSTRINGLEN, in usba_dump_descr_tree()
1697 kmem_free(string, USB_MAXSTRINGLEN); in usba_dump_descr_tree()
1854 USB_MAXSTRINGLEN); in usba_dump_cv()
H A Dusbai_util.c1204 buf = kmem_alloc(USB_MAXSTRINGLEN, KM_SLEEP); in usb_check_same_device()
1207 USB_MAXSTRINGLEN) == USB_SUCCESS) { in usb_check_same_device()
1211 kmem_free(buf, USB_MAXSTRINGLEN); in usb_check_same_device()
1248 kmem_zalloc(USB_MAXSTRINGLEN, USB_FLAGS_SLEEP); in usb_check_same_device()
1250 USB_MAXSTRINGLEN); in usb_check_same_device()
1263 kmem_free(device_string, USB_MAXSTRINGLEN); in usb_check_same_device()
H A Dusba.c2197 devprop_str = kmem_zalloc(USB_MAXSTRINGLEN, KM_SLEEP); in usba_ready_device_node()
2232 kmem_free(devprop_str, USB_MAXSTRINGLEN); in usba_ready_device_node()
2778 tmpbuf = kmem_zalloc(USB_MAXSTRINGLEN, KM_SLEEP); in usba_get_dev_string_descrs()
2783 usb_dev_descr->iManufacturer, tmpbuf, USB_MAXSTRINGLEN) == in usba_get_dev_string_descrs()
2799 tmpbuf, USB_MAXSTRINGLEN) == in usba_get_dev_string_descrs()
2815 usb_dev_descr->iSerialNumber, tmpbuf, USB_MAXSTRINGLEN) == in usba_get_dev_string_descrs()
2828 kmem_free(tmpbuf, USB_MAXSTRINGLEN); in usba_get_dev_string_descrs()
H A Dhubdi.c5521 tmpbuf = kmem_zalloc(USB_MAXSTRINGLEN, KM_SLEEP); in hubd_get_this_config_cloud()
5635 tmpbuf, USB_MAXSTRINGLEN)) == in hubd_get_this_config_cloud()
5677 kmem_free(tmpbuf, USB_MAXSTRINGLEN); in hubd_get_this_config_cloud()
/titanic_44/usr/src/uts/common/io/usb/clients/usbskel/
H A Dusbskel.c332 devinst = kmem_zalloc(USB_MAXSTRINGLEN, KM_SLEEP); in usbskel_attach()
333 devinstlen = snprintf(devinst, USB_MAXSTRINGLEN, "%s%d: ", in usbskel_attach()
338 kmem_free(devinst, USB_MAXSTRINGLEN); in usbskel_attach()
1617 buf = kmem_alloc(USB_MAXSTRINGLEN, KM_SLEEP); in usbskel_check_same_device()
1620 USB_MAXSTRINGLEN) == USB_SUCCESS) { in usbskel_check_same_device()
1625 kmem_free(buf, USB_MAXSTRINGLEN); in usbskel_check_same_device()
/titanic_44/usr/src/uts/common/sys/usb/
H A Dusbai.h448 #define USB_MAXSTRINGLEN 255 /* max string descr length */ macro
/titanic_44/usr/src/uts/common/io/usb/clients/usbecm/
H A Dusbecm.c2507 char buf[USB_MAXSTRINGLEN]; in usbecm_get_descriptors()
2520 USB_MAXSTRINGLEN) != USB_SUCCESS) { in usbecm_get_descriptors()