Home
last modified time | relevance | path

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

/ohos5.0/drivers/hdf_core/framework/model/audio/usb/src/
H A Daudio_usb_parse_interface.c153 struct uac_iso_endpoint_descriptor *csep = NULL; in ParseUacEndpointAttr() local
156csep = AudioUsbFindDesc(alts->endpoint[0].extra, alts->endpoint[0].extralen, NULL, USB_DT_CS_ENDPO… in ParseUacEndpointAttr()
158 if (csep == NULL && altsd->bNumEndpoints >= ENDPOINT_NUM_2) { in ParseUacEndpointAttr()
159csep = AudioUsbFindDesc(alts->endpoint[1].extra, alts->endpoint[1].extralen, NULL, USB_DT_CS_ENDPO… in ParseUacEndpointAttr()
162 if (csep == NULL) { in ParseUacEndpointAttr()
163 csep = AudioUsbFindDesc(alts->extra, alts->extralen, NULL, USB_DT_CS_ENDPOINT); in ParseUacEndpointAttr()
165 if (csep == NULL || csep->bLength < DESP_LENTH || csep->bDescriptorSubtype != UAC_EP_GENERAL) { in ParseUacEndpointAttr()
171 *attributes = csep->bmAttributes; in ParseUacEndpointAttr()
173 struct uac2_iso_endpoint_descriptor *csep2 = (struct uac2_iso_endpoint_descriptor *)csep; in ParseUacEndpointAttr()
178 *attributes = csep->bmAttributes & UAC_EP_CS_ATTR_FILL_MAX; in ParseUacEndpointAttr()
[all …]