Searched refs:get_endpoint (Results 1 – 4 of 4) sorted by relevance
/sound/usb/ |
D | usbaudio.c | 1262 ep = get_endpoint(alts, 0)->bEndpointAddress; in init_usb_pitch() 1285 ep = get_endpoint(alts, 0)->bEndpointAddress; in init_usb_sample_rate() 1369 get_endpoint(alts, 0)->bInterval >= 1 && in set_format() 1370 get_endpoint(alts, 0)->bInterval <= 4) in set_format() 1371 subs->datainterval = get_endpoint(alts, 0)->bInterval - 1; in set_format() 1391 if ((get_endpoint(alts, 1)->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) != 0x01 || in set_format() 1392 (get_endpoint(alts, 1)->bLength >= USB_DT_ENDPOINT_AUDIO_SIZE && in set_format() 1393 get_endpoint(alts, 1)->bSynchAddress != 0)) { in set_format() 1398 ep = get_endpoint(alts, 1)->bEndpointAddress; in set_format() 1399 if (get_endpoint(alts, 0)->bLength >= USB_DT_ENDPOINT_AUDIO_SIZE && in set_format() [all …]
|
D | usbmidi.c | 1460 … (get_endpoint(hostif, 0)->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) != USB_ENDPOINT_XFER_BULK || in snd_usbmidi_switch_roland_altsetting() 1461 (get_endpoint(hostif, 1)->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) != USB_ENDPOINT_XFER_INT) in snd_usbmidi_switch_roland_altsetting() 1496 epd = get_endpoint(hostif, i); in snd_usbmidi_detect_endpoints() 1608 epd = get_endpoint(hostif, 0); in snd_usbmidi_create_endpoints_midiman() 1613 epd = get_endpoint(hostif, 2); in snd_usbmidi_create_endpoints_midiman() 1619 epd = get_endpoint(hostif, 4); in snd_usbmidi_create_endpoints_midiman() 1627 ep_info.out_ep = get_endpoint(hostif, 2)->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in snd_usbmidi_create_endpoints_midiman() 1634 ep_info.in_ep = get_endpoint(hostif, 0)->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in snd_usbmidi_create_endpoints_midiman() 1635 ep_info.in_interval = get_endpoint(hostif, 0)->bInterval; in snd_usbmidi_create_endpoints_midiman() 1642 ep_info.out_ep = get_endpoint(hostif, 4)->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in snd_usbmidi_create_endpoints_midiman()
|
D | usbaudio.h | 242 #define get_endpoint(alt,ep) (&(alt)->endpoint[ep].desc) macro
|
D | usbmixer.c | 1757 ep = get_endpoint(hostif, 0); in snd_usb_mixer_status_create()
|