Searched refs:is_playback (Results 1 – 10 of 10) sorted by relevance
/linux-4.4.14/sound/soc/ux500/ |
D | mop500_ab8500.c | 227 bool is_playback; in mop500_ab8500_hw_params() local 299 is_playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in mop500_ab8500_hw_params() 303 tx_slots = (is_playback) ? TX_SLOT_MONO : 0; in mop500_ab8500_hw_params() 304 rx_slots = (is_playback) ? 0 : RX_SLOT_MONO; in mop500_ab8500_hw_params() 308 tx_slots = (is_playback) ? TX_SLOT_STEREO : 0; in mop500_ab8500_hw_params() 309 rx_slots = (is_playback) ? 0 : RX_SLOT_STEREO; in mop500_ab8500_hw_params() 313 tx_slots = (is_playback) ? TX_SLOT_8CH : 0; in mop500_ab8500_hw_params() 314 rx_slots = (is_playback) ? 0 : RX_SLOT_8CH; in mop500_ab8500_hw_params()
|
D | ux500_msp_dai.c | 431 bool is_playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in ux500_msp_dai_shutdown() local 443 is_playback ? MSP_DIR_TX : MSP_DIR_RX)) { in ux500_msp_dai_shutdown()
|
/linux-4.4.14/sound/usb/ |
D | pcm.c | 384 int is_playback = subs->direction == SNDRV_PCM_STREAM_PLAYBACK; in set_sync_endpoint() local 396 if ((is_playback && (attr != USB_ENDPOINT_SYNC_ASYNC)) || in set_sync_endpoint() 397 (!is_playback && (attr != USB_ENDPOINT_SYNC_ADAPTIVE))) { in set_sync_endpoint() 417 if ((is_playback && (attr == USB_ENDPOINT_SYNC_SYNC || in set_sync_endpoint() 419 (!is_playback && attr != USB_ENDPOINT_SYNC_ADAPTIVE)) in set_sync_endpoint() 441 if (is_playback && attr == USB_ENDPOINT_SYNC_NONE) in set_sync_endpoint() 447 ((is_playback && ep != (unsigned int)(get_endpoint(alts, 0)->bSynchAddress | USB_DIR_IN)) || in set_sync_endpoint() 448 (!is_playback && ep != (unsigned int)(get_endpoint(alts, 0)->bSynchAddress & ~USB_DIR_IN)))) { in set_sync_endpoint() 452 is_playback, ep, get_endpoint(alts, 0)->bSynchAddress); in set_sync_endpoint() 453 if (is_playback && attr == USB_ENDPOINT_SYNC_NONE) in set_sync_endpoint() [all …]
|
D | endpoint.c | 450 int is_playback = direction == SNDRV_PCM_STREAM_PLAYBACK; in snd_usb_add_endpoint() local 469 is_playback ? "playback" : "capture", in snd_usb_add_endpoint() 486 if (is_playback) in snd_usb_add_endpoint()
|
/linux-4.4.14/sound/usb/usx2y/ |
D | usx2yhwdeppcm.c | 316 int is_playback = subs == subs->usX2Y->subs[SNDRV_PCM_STREAM_PLAYBACK]; in usX2Y_usbpcm_urbs_allocate() local 319 pipe = is_playback ? usb_sndisocpipe(dev, subs->endpoint) : in usX2Y_usbpcm_urbs_allocate() 321 subs->maxpacksize = usb_maxpacket(dev, pipe, is_playback); in usX2Y_usbpcm_urbs_allocate() 337 (*purb)->transfer_buffer = is_playback ? in usX2Y_usbpcm_urbs_allocate()
|
D | usbusx2yaudio.c | 411 int is_playback = subs == subs->usX2Y->subs[SNDRV_PCM_STREAM_PLAYBACK]; in usX2Y_urbs_allocate() local 414 pipe = is_playback ? usb_sndisocpipe(dev, subs->endpoint) : in usX2Y_urbs_allocate() 416 subs->maxpacksize = usb_maxpacket(dev, pipe, is_playback); in usX2Y_urbs_allocate() 420 if (is_playback && NULL == subs->tmpbuf) { /* allocate a temporary buffer for playback */ in usX2Y_urbs_allocate() 439 if (!is_playback && !(*purb)->transfer_buffer) { in usX2Y_urbs_allocate()
|
/linux-4.4.14/sound/core/ |
D | pcm_lib.c | 1905 int is_playback = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in wait_for_avail() local 1939 if (is_playback) in wait_for_avail() 1959 if (is_playback) in wait_for_avail() 1975 is_playback ? "playback" : "capture"); in wait_for_avail()
|
/linux-4.4.14/drivers/usb/gadget/function/ |
D | f_uac2.c | 980 unsigned int factor, bool is_playback) in set_ep_max_packet_size() argument 985 if (is_playback) { in set_ep_max_packet_size()
|
/linux-4.4.14/sound/pci/ |
D | rme32.c | 615 snd_rme32_setframelog(struct rme32 * rme32, int n_channels, int is_playback) in snd_rme32_setframelog() argument 625 if (is_playback) { in snd_rme32_setframelog()
|
D | rme96.c | 905 int is_playback) in snd_rme96_setframelog() argument 915 if (is_playback) { in snd_rme96_setframelog()
|