Searched refs:is_playback (Results 1 – 15 of 15) sorted by relevance
/sound/soc/ux500/ |
D | mop500_ab8500.c | 224 bool is_playback; in mop500_ab8500_hw_params() local 296 is_playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in mop500_ab8500_hw_params() 300 tx_slots = (is_playback) ? TX_SLOT_MONO : 0; in mop500_ab8500_hw_params() 301 rx_slots = (is_playback) ? 0 : RX_SLOT_MONO; in mop500_ab8500_hw_params() 305 tx_slots = (is_playback) ? TX_SLOT_STEREO : 0; in mop500_ab8500_hw_params() 306 rx_slots = (is_playback) ? 0 : RX_SLOT_STEREO; in mop500_ab8500_hw_params() 310 tx_slots = (is_playback) ? TX_SLOT_8CH : 0; in mop500_ab8500_hw_params() 311 rx_slots = (is_playback) ? 0 : RX_SLOT_8CH; in mop500_ab8500_hw_params()
|
D | ux500_msp_dai.c | 429 bool is_playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in ux500_msp_dai_shutdown() local 441 is_playback ? MSP_DIR_TX : MSP_DIR_RX)) { in ux500_msp_dai_shutdown()
|
/sound/soc/atmel/ |
D | mchp-i2s-mcc.c | 498 bool is_playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in mchp_i2s_mcc_hw_params() local 554 if (is_playback) in mchp_i2s_mcc_hw_params() 575 if (is_playback) in mchp_i2s_mcc_hw_params() 593 if (is_playback) in mchp_i2s_mcc_hw_params() 691 bool is_playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in mchp_i2s_mcc_hw_free() local 694 if (is_playback) { in mchp_i2s_mcc_hw_free() 738 bool is_playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in mchp_i2s_mcc_trigger() local 748 if (is_playback) in mchp_i2s_mcc_trigger() 757 if (is_playback && (sr & MCHP_I2SMCC_SR_TXEN)) { in mchp_i2s_mcc_trigger() 765 } else if (!is_playback && (sr & MCHP_I2SMCC_SR_RXEN)) { in mchp_i2s_mcc_trigger()
|
D | atmel-i2s.c | 271 bool is_playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in atmel_i2s_prepare() local 274 if (is_playback) { in atmel_i2s_prepare() 323 bool is_playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in atmel_i2s_hw_params() local 359 if (is_playback) in atmel_i2s_hw_params() 469 bool is_playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in atmel_i2s_trigger() local 478 cr = is_playback ? ATMEL_I2SC_CR_TXEN : ATMEL_I2SC_CR_RXEN; in atmel_i2s_trigger() 484 cr = is_playback ? ATMEL_I2SC_CR_TXDIS : ATMEL_I2SC_CR_RXDIS; in atmel_i2s_trigger()
|
/sound/usb/ |
D | pcm.c | 459 int is_playback = subs->direction == SNDRV_PCM_STREAM_PLAYBACK; in set_sync_endpoint() local 471 if ((is_playback && (attr != USB_ENDPOINT_SYNC_ASYNC)) || in set_sync_endpoint() 472 (!is_playback && (attr != USB_ENDPOINT_SYNC_ADAPTIVE))) { in set_sync_endpoint() 496 if ((is_playback && (attr == USB_ENDPOINT_SYNC_SYNC || in set_sync_endpoint() 498 (!is_playback && attr != USB_ENDPOINT_SYNC_ADAPTIVE)) in set_sync_endpoint() 520 if (is_playback && attr == USB_ENDPOINT_SYNC_NONE) in set_sync_endpoint() 527 ((is_playback && ep != (unsigned int)(get_endpoint(alts, 0)->bSynchAddress | USB_DIR_IN)) || in set_sync_endpoint() 528 (!is_playback && ep != (unsigned int)(get_endpoint(alts, 0)->bSynchAddress & ~USB_DIR_IN)))) { in set_sync_endpoint() 532 is_playback, ep, get_endpoint(alts, 0)->bSynchAddress); in set_sync_endpoint() 533 if (is_playback && attr == USB_ENDPOINT_SYNC_NONE) in set_sync_endpoint() [all …]
|
D | endpoint.c | 441 int is_playback = direction == SNDRV_PCM_STREAM_PLAYBACK; in snd_usb_add_endpoint() local 460 is_playback ? "playback" : "capture", in snd_usb_add_endpoint() 477 if (is_playback) in snd_usb_add_endpoint()
|
/sound/soc/ |
D | soc-generic-dmaengine-pcm.c | 346 bool is_playback = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in dmaengine_copy_user() local 351 if (is_playback) in dmaengine_copy_user() 361 if (!is_playback) in dmaengine_copy_user()
|
/sound/core/ |
D | pcm_lib.c | 1818 int is_playback = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in wait_for_avail() local 1876 if (is_playback) in wait_for_avail() 1892 is_playback ? "playback" : "capture"); in wait_for_avail() 2118 bool is_playback; in __snd_pcm_lib_xfer() local 2125 is_playback = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in __snd_pcm_lib_xfer() 2138 if (is_playback) in __snd_pcm_lib_xfer() 2146 transfer = is_playback ? in __snd_pcm_lib_xfer() 2152 transfer = is_playback ? in __snd_pcm_lib_xfer() 2174 if (!is_playback && in __snd_pcm_lib_xfer() 2188 if (!is_playback && in __snd_pcm_lib_xfer() [all …]
|
/sound/usb/usx2y/ |
D | usbusx2yaudio.c | 397 int is_playback = subs == subs->usX2Y->subs[SNDRV_PCM_STREAM_PLAYBACK]; in usX2Y_urbs_allocate() local 400 pipe = is_playback ? usb_sndisocpipe(dev, subs->endpoint) : in usX2Y_urbs_allocate() 402 subs->maxpacksize = usb_maxpacket(dev, pipe, is_playback); in usX2Y_urbs_allocate() 406 if (is_playback && NULL == subs->tmpbuf) { /* allocate a temporary buffer for playback */ in usX2Y_urbs_allocate() 423 if (!is_playback && !(*purb)->transfer_buffer) { in usX2Y_urbs_allocate()
|
D | usx2yhwdeppcm.c | 304 int is_playback = subs == subs->usX2Y->subs[SNDRV_PCM_STREAM_PLAYBACK]; in usX2Y_usbpcm_urbs_allocate() local 307 pipe = is_playback ? usb_sndisocpipe(dev, subs->endpoint) : in usX2Y_usbpcm_urbs_allocate() 309 subs->maxpacksize = usb_maxpacket(dev, pipe, is_playback); in usX2Y_usbpcm_urbs_allocate() 325 (*purb)->transfer_buffer = is_playback ? in usX2Y_usbpcm_urbs_allocate()
|
/sound/soc/sprd/ |
D | sprd-pcm-dma.c | 205 int is_playback = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in sprd_pcm_hw_params() local 249 if (is_playback) { in sprd_pcm_hw_params()
|
/sound/soc/meson/ |
D | axg-card.c | 512 bool is_playback) in axg_card_set_fe_link() argument 530 if (is_playback) in axg_card_set_fe_link()
|
/sound/soc/bcm/ |
D | cygnus-pcm.c | 217 bool is_playback, in ringbuf_set_initial() argument 230 if (is_playback) { in ringbuf_set_initial()
|
/sound/pci/ |
D | rme32.c | 622 snd_rme32_setframelog(struct rme32 * rme32, int n_channels, int is_playback) in snd_rme32_setframelog() argument 632 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()
|