Lines Matching refs:get_endpoint
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()
376 ((is_playback && ep != (unsigned int)(get_endpoint(alts, 0)->bSynchAddress | USB_DIR_IN)) || in snd_usb_audioformat_set_sync_ep()
377 (!is_playback && ep != (unsigned int)(get_endpoint(alts, 0)->bSynchAddress & ~USB_DIR_IN)))) { in snd_usb_audioformat_set_sync_ep()
381 is_playback, ep, get_endpoint(alts, 0)->bSynchAddress); in snd_usb_audioformat_set_sync_ep()