/sound/soc/ux500/ |
D | mop500_ab8500.c | 222 bool is_playback; in mop500_ab8500_hw_params() local 294 is_playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in mop500_ab8500_hw_params() 298 tx_slots = (is_playback) ? TX_SLOT_MONO : 0; in mop500_ab8500_hw_params() 299 rx_slots = (is_playback) ? 0 : RX_SLOT_MONO; in mop500_ab8500_hw_params() 303 tx_slots = (is_playback) ? TX_SLOT_STEREO : 0; in mop500_ab8500_hw_params() 304 rx_slots = (is_playback) ? 0 : RX_SLOT_STEREO; in mop500_ab8500_hw_params() 308 tx_slots = (is_playback) ? TX_SLOT_8CH : 0; in mop500_ab8500_hw_params() 309 rx_slots = (is_playback) ? 0 : RX_SLOT_8CH; in mop500_ab8500_hw_params()
|
D | ux500_msp_dai.c | 427 bool is_playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in ux500_msp_dai_shutdown() local 439 is_playback ? MSP_DIR_TX : MSP_DIR_RX)) { in ux500_msp_dai_shutdown()
|
/sound/soc/atmel/ |
D | atmel-i2s.c | 275 bool is_playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in atmel_i2s_prepare() local 278 if (is_playback) { in atmel_i2s_prepare() 327 bool is_playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in atmel_i2s_hw_params() local 333 if (is_playback) in atmel_i2s_hw_params() 370 if (is_playback) in atmel_i2s_hw_params() 480 bool is_playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in atmel_i2s_trigger() local 489 cr = is_playback ? ATMEL_I2SC_CR_TXEN : ATMEL_I2SC_CR_RXEN; in atmel_i2s_trigger() 495 cr = is_playback ? ATMEL_I2SC_CR_TXDIS : ATMEL_I2SC_CR_RXDIS; in atmel_i2s_trigger()
|
D | mchp-i2s-mcc.c | 520 bool is_playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in mchp_i2s_mcc_hw_params() local 587 if (is_playback) in mchp_i2s_mcc_hw_params() 616 if (is_playback) in mchp_i2s_mcc_hw_params() 634 if (is_playback) in mchp_i2s_mcc_hw_params() 736 bool is_playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in mchp_i2s_mcc_hw_free() local 739 if (is_playback) { in mchp_i2s_mcc_hw_free() 792 bool is_playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in mchp_i2s_mcc_trigger() local 802 if (is_playback) in mchp_i2s_mcc_trigger() 811 if (is_playback && (sr & MCHP_I2SMCC_SR_TXEN)) { in mchp_i2s_mcc_trigger() 822 } else if (!is_playback && (sr & MCHP_I2SMCC_SR_RXEN)) { in mchp_i2s_mcc_trigger()
|
/sound/soc/tegra/ |
D | tegra210_i2s.c | 86 bool is_playback) in tegra210_i2s_sw_reset() argument 96 if (is_playback) { in tegra210_i2s_sw_reset() 119 is_playback ? "playback" : "capture"); in tegra210_i2s_sw_reset() 138 bool is_playback; in tegra210_i2s_init() local 143 is_playback = true; in tegra210_i2s_init() 147 is_playback = false; in tegra210_i2s_init() 160 is_playback ? "playback" : "capture"); in tegra210_i2s_init() 164 return tegra210_i2s_sw_reset(compnt, is_playback); in tegra210_i2s_init()
|
/sound/soc/meson/ |
D | meson-card.h | 50 bool is_playback);
|
D | meson-card-utils.c | 184 bool is_playback) in meson_card_set_fe_link() argument 202 if (is_playback) in meson_card_set_fe_link()
|
/sound/core/ |
D | pcm_lib.c | 1864 int is_playback = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in wait_for_avail() local 1922 if (is_playback) in wait_for_avail() 1938 is_playback ? "playback" : "capture"); in wait_for_avail() 2181 bool is_playback; in __snd_pcm_lib_xfer() local 2188 is_playback = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in __snd_pcm_lib_xfer() 2201 if (is_playback) in __snd_pcm_lib_xfer() 2209 transfer = is_playback ? in __snd_pcm_lib_xfer() 2215 transfer = is_playback ? in __snd_pcm_lib_xfer() 2237 if (!is_playback && in __snd_pcm_lib_xfer() 2251 if (!is_playback && in __snd_pcm_lib_xfer() [all …]
|
/sound/soc/ |
D | soc-generic-dmaengine-pcm.c | 300 bool is_playback = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in dmaengine_copy_user() local 304 if (is_playback) in dmaengine_copy_user() 314 if (!is_playback) in dmaengine_copy_user()
|
/sound/usb/ |
D | pcm.c | 321 bool is_playback; in snd_usb_audioformat_set_sync_ep() local 343 is_playback = !(get_endpoint(alts, 0)->bEndpointAddress & USB_DIR_IN); in snd_usb_audioformat_set_sync_ep() 345 if ((is_playback && (attr == USB_ENDPOINT_SYNC_SYNC || in snd_usb_audioformat_set_sync_ep() 347 (!is_playback && attr != USB_ENDPOINT_SYNC_ADAPTIVE)) in snd_usb_audioformat_set_sync_ep() 371 if (is_playback && attr == USB_ENDPOINT_SYNC_NONE) in snd_usb_audioformat_set_sync_ep() 378 ((is_playback && ep != (unsigned int)(get_endpoint(alts, 0)->bSynchAddress | USB_DIR_IN)) || in snd_usb_audioformat_set_sync_ep() 379 (!is_playback && ep != (unsigned int)(get_endpoint(alts, 0)->bSynchAddress & ~USB_DIR_IN)))) { in snd_usb_audioformat_set_sync_ep() 383 is_playback, ep, get_endpoint(alts, 0)->bSynchAddress); in snd_usb_audioformat_set_sync_ep() 384 if (is_playback && attr == USB_ENDPOINT_SYNC_NONE) in snd_usb_audioformat_set_sync_ep()
|
D | endpoint.c | 672 bool is_playback; in snd_usb_add_endpoint() local 692 is_playback = ((ep_num & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT); in snd_usb_add_endpoint() 694 if (is_playback) in snd_usb_add_endpoint() 1558 bool is_playback = usb_pipeout(ep->pipe); in snd_usb_endpoint_start() local 1609 if (is_playback) in snd_usb_endpoint_start() 1645 if (is_playback) { in snd_usb_endpoint_start()
|
/sound/soc/codecs/ |
D | ad193x.c | 319 bool is_playback = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in ad193x_hw_params() local 356 if (is_playback) { in ad193x_hw_params()
|
/sound/usb/usx2y/ |
D | usbusx2yaudio.c | 418 int is_playback = subs == subs->usx2y->subs[SNDRV_PCM_STREAM_PLAYBACK]; in usx2y_urbs_allocate() local 422 pipe = is_playback ? usb_sndisocpipe(dev, subs->endpoint) : in usx2y_urbs_allocate() 428 if (is_playback && !subs->tmpbuf) { /* allocate a temporary buffer for playback */ in usx2y_urbs_allocate() 445 if (!is_playback && !(*purb)->transfer_buffer) { in usx2y_urbs_allocate()
|
D | usx2yhwdeppcm.c | 318 int is_playback = subs == subs->usx2y->subs[SNDRV_PCM_STREAM_PLAYBACK]; in usx2y_usbpcm_urbs_allocate() local 322 pipe = is_playback ? usb_sndisocpipe(dev, subs->endpoint) : in usx2y_usbpcm_urbs_allocate() 340 (*purb)->transfer_buffer = is_playback ? in usx2y_usbpcm_urbs_allocate()
|
/sound/soc/sprd/ |
D | sprd-pcm-dma.c | 198 int is_playback = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in sprd_pcm_hw_params() local 238 if (is_playback) { in sprd_pcm_hw_params()
|
/sound/soc/bcm/ |
D | cygnus-pcm.c | 207 bool is_playback, in ringbuf_set_initial() argument 220 if (is_playback) { in ringbuf_set_initial()
|
/sound/soc/sh/ |
D | rz-ssi.c | 730 bool is_playback; in rz_ssi_dai_trigger() local 732 is_playback = rz_ssi_stream_is_play(ssi, substream); in rz_ssi_dai_trigger() 734 is_playback); in rz_ssi_dai_trigger()
|
/sound/pci/ |
D | rme32.c | 620 snd_rme32_setframelog(struct rme32 * rme32, int n_channels, int is_playback) in snd_rme32_setframelog() argument 630 if (is_playback) { in snd_rme32_setframelog()
|
D | rme96.c | 902 int is_playback) in snd_rme96_setframelog() argument 912 if (is_playback) { in snd_rme96_setframelog()
|