Lines Matching refs:is_playback
432 int is_playback = subs->direction == SNDRV_PCM_STREAM_PLAYBACK; in set_sync_endpoint() local
444 if ((is_playback && (attr != USB_ENDPOINT_SYNC_ASYNC)) || in set_sync_endpoint()
445 (!is_playback && (attr != USB_ENDPOINT_SYNC_ADAPTIVE))) { in set_sync_endpoint()
469 if ((is_playback && (attr == USB_ENDPOINT_SYNC_SYNC || in set_sync_endpoint()
471 (!is_playback && attr != USB_ENDPOINT_SYNC_ADAPTIVE)) in set_sync_endpoint()
493 if (is_playback && attr == USB_ENDPOINT_SYNC_NONE) in set_sync_endpoint()
500 ((is_playback && ep != (unsigned int)(get_endpoint(alts, 0)->bSynchAddress | USB_DIR_IN)) || in set_sync_endpoint()
501 (!is_playback && ep != (unsigned int)(get_endpoint(alts, 0)->bSynchAddress & ~USB_DIR_IN)))) { in set_sync_endpoint()
505 is_playback, ep, get_endpoint(alts, 0)->bSynchAddress); in set_sync_endpoint()
506 if (is_playback && attr == USB_ENDPOINT_SYNC_NONE) in set_sync_endpoint()
521 if (is_playback && attr == USB_ENDPOINT_SYNC_NONE) in set_sync_endpoint()