Home
last modified time | relevance | path

Searched refs:is_playback (Results 1 – 6 of 6) sorted by relevance

/sound/usb/usx2y/
Dusbusx2yaudio.c425 int is_playback = subs == subs->usX2Y->subs[SNDRV_PCM_STREAM_PLAYBACK]; in usX2Y_urbs_allocate() local
428 pipe = is_playback ? usb_sndisocpipe(dev, subs->endpoint) : in usX2Y_urbs_allocate()
430 subs->maxpacksize = usb_maxpacket(dev, pipe, is_playback); in usX2Y_urbs_allocate()
434 if (is_playback && NULL == subs->tmpbuf) { /* allocate a temporary buffer for playback */ in usX2Y_urbs_allocate()
453 if (!is_playback && !(*purb)->transfer_buffer) { in usX2Y_urbs_allocate()
Dusx2yhwdeppcm.c320 int is_playback = subs == subs->usX2Y->subs[SNDRV_PCM_STREAM_PLAYBACK]; in usX2Y_usbpcm_urbs_allocate() local
323 pipe = is_playback ? usb_sndisocpipe(dev, subs->endpoint) : in usX2Y_usbpcm_urbs_allocate()
325 subs->maxpacksize = usb_maxpacket(dev, pipe, is_playback); in usX2Y_usbpcm_urbs_allocate()
341 (*purb)->transfer_buffer = is_playback ? in usX2Y_usbpcm_urbs_allocate()
/sound/usb/
Dusbaudio.c1038 int is_playback = subs->direction == SNDRV_PCM_STREAM_PLAYBACK; in init_substream_urbs() local
1072 if (is_playback) { in init_substream_urbs()
1081 if (is_playback) { in init_substream_urbs()
1325 int is_playback = subs->direction == SNDRV_PCM_STREAM_PLAYBACK; in set_format() local
1364 if (is_playback) in set_format()
1384 if (((is_playback && attr == EP_ATTR_ASYNC) || in set_format()
1385 (! is_playback && attr == EP_ATTR_ADAPTIVE)) && in set_format()
1400 (( is_playback && ep != (unsigned int)(get_endpoint(alts, 0)->bSynchAddress | USB_DIR_IN)) || in set_format()
1401 … (!is_playback && ep != (unsigned int)(get_endpoint(alts, 0)->bSynchAddress & ~USB_DIR_IN)))) { in set_format()
1407 if (is_playback) in set_format()
/sound/core/
Dpcm_lib.c1510 int is_playback = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in wait_for_avail_min() local
1535 if (is_playback) in wait_for_avail_min()
1548 is_playback ? "playback" : "capture"); in wait_for_avail_min()
1552 if (is_playback) in wait_for_avail_min()
/sound/pci/
Drme32.c619 snd_rme32_setframelog(struct rme32 * rme32, int n_channels, int is_playback) in snd_rme32_setframelog() argument
629 if (is_playback) { in snd_rme32_setframelog()
Drme96.c872 int is_playback) in snd_rme96_setframelog() argument
882 if (is_playback) { in snd_rme96_setframelog()