Searched refs:get_endpoint (Results 1 – 12 of 12) sorted by relevance
/linux-6.12.1/sound/usb/ |
D | implicit.c | 126 epd = get_endpoint(alts, 0); in add_generic_uac2_implicit_fb() 155 epd = get_endpoint(alts, 0); in add_roland_implicit_fb() 166 epd = get_endpoint(alts, 0); in add_roland_implicit_fb() 184 epd = get_endpoint(alts, 0); in add_roland_capture_quirk() 194 epd = get_endpoint(alts, 0); in add_roland_capture_quirk() 218 epd = get_endpoint(alts, 0); in is_pioneer_implicit_fb() 223 epd = get_endpoint(alts, 1); in is_pioneer_implicit_fb() 250 epd = get_endpoint(alts, 0); in __add_generic_implicit_fb() 345 get_endpoint(alts, 1)->bEndpointAddress, in audioformat_implicit_fb_quirk()
|
D | helper.c | 113 if (get_endpoint(alts, 0)->bInterval >= 1 && in snd_usb_parse_datainterval() 114 get_endpoint(alts, 0)->bInterval <= 4) in snd_usb_parse_datainterval() 115 return get_endpoint(alts, 0)->bInterval - 1; in snd_usb_parse_datainterval()
|
D | pcm.c | 341 is_playback = !(get_endpoint(alts, 0)->bEndpointAddress & USB_DIR_IN); in snd_usb_audioformat_set_sync_ep() 348 sync_attr = get_endpoint(alts, 1)->bmAttributes; in snd_usb_audioformat_set_sync_ep() 361 (get_endpoint(alts, 1)->bLength >= USB_DT_ENDPOINT_AUDIO_SIZE && in snd_usb_audioformat_set_sync_ep() 362 get_endpoint(alts, 1)->bSynchAddress != 0)) { in snd_usb_audioformat_set_sync_ep() 366 get_endpoint(alts, 1)->bmAttributes, in snd_usb_audioformat_set_sync_ep() 367 get_endpoint(alts, 1)->bLength, in snd_usb_audioformat_set_sync_ep() 368 get_endpoint(alts, 1)->bSynchAddress); in snd_usb_audioformat_set_sync_ep() 373 ep = get_endpoint(alts, 1)->bEndpointAddress; in snd_usb_audioformat_set_sync_ep() 374 if (get_endpoint(alts, 0)->bLength >= USB_DT_ENDPOINT_AUDIO_SIZE && in snd_usb_audioformat_set_sync_ep() 375 get_endpoint(alts, 0)->bSynchAddress != 0 && in snd_usb_audioformat_set_sync_ep() [all …]
|
D | stream.c | 692 fp->endpoint = get_endpoint(alts, 0)->bEndpointAddress; in audio_format_alloc_init() 693 fp->ep_attr = get_endpoint(alts, 0)->bmAttributes; in audio_format_alloc_init() 696 fp->maxpacksize = le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize); in audio_format_alloc_init() 892 le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize); in snd_usb_get_audioformat_uac3() 1132 le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize) == 0) in __snd_usb_parse_audio_interface() 1135 if ((get_endpoint(alts, 0)->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) != in __snd_usb_parse_audio_interface() 1139 stream = (get_endpoint(alts, 0)->bEndpointAddress & USB_DIR_IN) ? in __snd_usb_parse_audio_interface() 1177 le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize) == in __snd_usb_parse_audio_interface()
|
D | helper.h | 31 #define get_endpoint(alt,ep) (&(alt)->endpoint[ep].desc) macro
|
D | midi.c | 2057 !((get_endpoint(hostif, 0)->bmAttributes & in snd_usbmidi_switch_roland_altsetting() 2059 (get_endpoint(hostif, 1)->bmAttributes & in snd_usbmidi_switch_roland_altsetting() 2099 epd = get_endpoint(hostif, i); in snd_usbmidi_detect_endpoints() 2253 epd = get_endpoint(hostif, 0); in snd_usbmidi_create_endpoints_midiman() 2258 epd = get_endpoint(hostif, 2); in snd_usbmidi_create_endpoints_midiman() 2264 epd = get_endpoint(hostif, 4); in snd_usbmidi_create_endpoints_midiman() 2273 ep_info.out_ep = get_endpoint(hostif, 2)->bEndpointAddress & in snd_usbmidi_create_endpoints_midiman() 2282 ep_info.in_ep = get_endpoint(hostif, 0)->bEndpointAddress & in snd_usbmidi_create_endpoints_midiman() 2284 ep_info.in_interval = get_endpoint(hostif, 0)->bInterval; in snd_usbmidi_create_endpoints_midiman() 2292 ep_info.out_ep = get_endpoint(hostif, 4)->bEndpointAddress & in snd_usbmidi_create_endpoints_midiman()
|
D | quirks.c | 196 fp->maxpacksize = le16_to_cpu(get_endpoint(alts, fp->ep_idx)->wMaxPacketSize); in create_fixed_stream_quirk() 242 epd = get_endpoint(alts, 0); in create_auto_pcm_quirk() 357 epd = get_endpoint(alts, 0); in create_auto_midi_quirk() 453 fp->endpoint = get_endpoint(alts, 0)->bEndpointAddress; in create_uaxx_quirk() 454 fp->ep_attr = get_endpoint(alts, 0)->bmAttributes; in create_uaxx_quirk() 456 fp->maxpacksize = le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize); in create_uaxx_quirk()
|
D | mixer.c | 3141 dir_in = (get_endpoint(alts, 0)->bEndpointAddress & USB_DIR_IN); in snd_usb_mixer_controls_badd() 3142 maxpacksize = le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize); in snd_usb_mixer_controls_badd() 3569 ep = get_endpoint(mixer->hostif, 0); in snd_usb_mixer_status_create()
|
D | endpoint.c | 724 desc = get_endpoint(alts, ep->ep_idx); in endpoint_set_syncinterval()
|
D | mixer_quirks.c | 1666 ep = get_endpoint(alts, 0)->bEndpointAddress; in snd_microii_spdif_default_get()
|
D | mixer_scarlett2.c | 8580 epd = get_endpoint(intf->altsetting, 0); in scarlett2_find_fc_interface()
|
/linux-6.12.1/tools/testing/selftests/net/mptcp/ |
D | pm_netlink.sh | 73 get_endpoint() { function
|