Home
last modified time | relevance | path

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

/netbsd/src/sys/dev/usb/
Dumidi.c876 umidi_cs_descriptor_t *csdesc; in alloc_all_endpoints_yamaha() local
914 desc->bLength < sizeof(*csdesc)) in alloc_all_endpoints_yamaha()
916 csdesc = (umidi_cs_descriptor_t *)desc; in alloc_all_endpoints_yamaha()
917 if (csdesc->bDescriptorSubtype != UMIDI_MS_HEADER) in alloc_all_endpoints_yamaha()
919 udesc = TO_CSIFD(csdesc); in alloc_all_endpoints_yamaha()
932 desc->bLength < sizeof(*csdesc) || in alloc_all_endpoints_yamaha()
935 csdesc = (umidi_cs_descriptor_t *)desc; in alloc_all_endpoints_yamaha()
936 if (csdesc->bDescriptorSubtype == UMIDI_OUT_JACK) in alloc_all_endpoints_yamaha()
938 else if (csdesc->bDescriptorSubtype == UMIDI_IN_JACK) in alloc_all_endpoints_yamaha()
Dif_umb.c300 const usb_cdc_descriptor_t *csdesc; in umb_attach() local
358 if (desc->bLength < sizeof(*csdesc)) in umb_attach()
360 csdesc = (const usb_cdc_descriptor_t *)desc; in umb_attach()
361 switch (csdesc->bDescriptorSubtype) { in umb_attach()