Home
last modified time | relevance | path

Searched refs:altif_data (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusbai_util.c197 usb_alt_if_data_t *altif_data; in usb_lookup_ep_data() local
210 altif_data = &dev_datap->dev_curr_cfg-> in usb_lookup_ep_data()
214 "altif=0x%p n_ep=%d", (void *)altif_data, altif_data->altif_n_ep); in usb_lookup_ep_data()
216 for (i = 0; i < altif_data->altif_n_ep; i++) { in usb_lookup_ep_data()
217 usb_ep_descr_t *ept = &altif_data->altif_ep[i].ep_descr; in usb_lookup_ep_data()
231 (void *)&altif_data->altif_ep[i]); in usb_lookup_ep_data()
233 return (&altif_data->altif_ep[i]); in usb_lookup_ep_data()
/illumos-gate/usr/src/uts/common/io/usb/clients/audio/usb_as/
H A Dusb_as.c1945 usb_alt_if_data_t *altif_data; in usb_as_handle_descriptors() local
1969 altif_data = &if_data->if_alt[alternate]; in usb_as_handle_descriptors()
1973 if_descr = &altif_data->altif_descr; in usb_as_handle_descriptors()
1991 if (altif_data->altif_cvs == NULL) { in usb_as_handle_descriptors()
1999 altif_data->altif_cvs[index].cvs_buf, in usb_as_handle_descriptors()
2000 altif_data->altif_cvs[index].cvs_buf_len, in usb_as_handle_descriptors()
2032 len = altif_data->altif_cvs[index].cvs_buf_len; in usb_as_handle_descriptors()
2034 bcopy(altif_data->altif_cvs[index].cvs_buf, format, len); in usb_as_handle_descriptors()
/illumos-gate/usr/src/uts/common/io/uath/
H A Duath.c398 usb_alt_if_data_t *altif_data; in uath_lookup_ep_data() local
404 altif_data = &dev_datap->dev_curr_cfg-> in uath_lookup_ep_data()
407 for (i = 0; i < altif_data->altif_n_ep; i++) { in uath_lookup_ep_data()
408 usb_ep_descr_t *ept = &altif_data->altif_ep[i].ep_descr; in uath_lookup_ep_data()
416 return (&altif_data->altif_ep[i]); in uath_lookup_ep_data()
438 usb_alt_if_data_t *altif_data; in uath_open_pipes() local
440 altif_data = uath_lookup_alt_if(sc->sc_udev, UATH_CONFIG_NO, in uath_open_pipes()
442 if (altif_data == NULL) { in uath_open_pipes()
447 uath_list_all_eps(altif_data); in uath_open_pipes()
/illumos-gate/usr/src/uts/common/io/usb/clients/hid/
H A Dhid.c355 usb_alt_if_data_t *altif_data; in hid_attach() local
415 altif_data = &dev_data->dev_curr_cfg-> in hid_attach()
422 hidp->hid_if_descr = altif_data->altif_descr; in hid_attach()
454 altif_data, ep_data) != USB_HID_DESCR_SIZE) { in hid_attach()
2000 usb_alt_if_data_t *altif_data, usb_ep_data_t *ep_data) in hid_parse_hid_descr() argument
2005 for (which_cvs = 0; which_cvs < altif_data->altif_n_cvs; which_cvs++) { in hid_parse_hid_descr()
2006 cvs = &altif_data->altif_cvs[which_cvs]; in hid_parse_hid_descr()
/illumos-gate/usr/src/uts/common/io/usb/clients/printer/
H A Dusbprn.c679 usb_alt_if_data_t *altif_data; in usbprn_get_descriptors() local
697 altif_data = &cfg_data->cfg_if[interface].if_alt[alt]; in usbprn_get_descriptors()
699 if ((altif_data->altif_descr.bInterfaceProtocol == in usbprn_get_descriptors()
701 (altif_data->altif_descr.bInterfaceProtocol == in usbprn_get_descriptors()
730 usbprnp->usbprn_if_descr = altif_data->altif_descr; in usbprn_get_descriptors()
/illumos-gate/usr/src/uts/common/io/usb/clients/audio/usb_ac/
H A Dusb_ac.c1138 usb_alt_if_data_t *altif_data; in usb_ac_handle_descriptors() local
1142 altif_data = &dev_data->dev_curr_cfg-> in usb_ac_handle_descriptors()
1146 uacp->usb_ac_if_descr = altif_data->altif_descr; in usb_ac_handle_descriptors()
1149 for (index = 0; index < altif_data->altif_n_cvs; index++) { in usb_ac_handle_descriptors()
1150 cvs = &altif_data->altif_cvs[index]; in usb_ac_handle_descriptors()
1159 if (index == altif_data->altif_n_cvs) { in usb_ac_handle_descriptors()
1196 for (index++; index < altif_data->altif_n_cvs; index++) { in usb_ac_handle_descriptors()
1200 cvs = &altif_data->altif_cvs[index]; in usb_ac_handle_descriptors()
/illumos-gate/usr/src/uts/common/io/usb/scsa2usb/
H A Dscsa2usb.c640 usb_alt_if_data_t *altif_data; in scsa2usb_attach() local
737 altif_data = &dev_data->dev_curr_cfg->cfg_if[interface].if_alt[0]; in scsa2usb_attach()
739 if (altif_data->altif_n_ep == 0) { in scsa2usb_attach()
748 if (altif_data->altif_descr.bInterfaceClass != in scsa2usb_attach()
752 altif_data->altif_descr.bInterfaceClass); in scsa2usb_attach()
754 scsa2usbp->scsa2usb_intfc_descr = altif_data->altif_descr; in scsa2usb_attach()