/Linux-v6.6/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 | 426 bool is_playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in ux500_msp_dai_shutdown() local 438 is_playback ? MSP_DIR_TX : MSP_DIR_RX)) { in ux500_msp_dai_shutdown()
|
/Linux-v6.6/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()
|
/Linux-v6.6/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()
|
/Linux-v6.6/drivers/usb/gadget/function/ |
D | f_uac1.c | 444 unsigned int is_playback = 0; in in_rq_cur() local 447 is_playback = 1; in in_rq_cur() 452 u_audio_get_mute(audio, is_playback, &mute); in in_rq_cur() 460 u_audio_get_volume(audio, is_playback, &volume); in in_rq_cur() 495 unsigned int is_playback = 0; in in_rq_min() local 498 is_playback = 1; in in_rq_min() 504 if (is_playback) in in_rq_min() 542 unsigned int is_playback = 0; in in_rq_max() local 545 is_playback = 1; in in_rq_max() 551 if (is_playback) in in_rq_max() [all …]
|
D | f_uac2.c | 685 u8 bint, unsigned int factor, bool is_playback) in get_max_bw_for_bint() argument 690 if (is_playback) { in get_max_bw_for_bint() 700 if (is_playback || (uac2_opts->c_sync == USB_ENDPOINT_SYNC_ASYNC)) { in get_max_bw_for_bint() 717 enum usb_device_speed speed, bool is_playback) in set_ep_max_packet_size_bint() argument 728 max_size_bw = get_max_bw_for_bint(uac2_opts, bint, 1000, is_playback); in set_ep_max_packet_size_bint() 734 if (is_playback) in set_ep_max_packet_size_bint() 742 max_size_bw = get_max_bw_for_bint(uac2_opts, bint, 8000, is_playback); in set_ep_max_packet_size_bint() 747 uac2_opts, bint, 8000, is_playback); in set_ep_max_packet_size_bint() 758 if (is_playback) in set_ep_max_packet_size_bint() 1553 unsigned int is_playback = 0; in in_rq_cur() local [all …]
|
/Linux-v6.6/sound/soc/meson/ |
D | meson-card.h | 49 bool is_playback);
|
D | meson-card-utils.c | 178 bool is_playback) in meson_card_set_fe_link() argument 188 if (is_playback) in meson_card_set_fe_link()
|
/Linux-v6.6/sound/soc/ |
D | soc-generic-dmaengine-pcm.c | 300 bool is_playback = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in dmaengine_copy() local 304 if (is_playback) in dmaengine_copy() 314 if (!is_playback) in dmaengine_copy()
|
/Linux-v6.6/sound/usb/ |
D | pcm.c | 319 bool is_playback; in snd_usb_audioformat_set_sync_ep() local 341 is_playback = !(get_endpoint(alts, 0)->bEndpointAddress & USB_DIR_IN); in snd_usb_audioformat_set_sync_ep() 343 if ((is_playback && (attr == USB_ENDPOINT_SYNC_SYNC || in snd_usb_audioformat_set_sync_ep() 345 (!is_playback && attr != USB_ENDPOINT_SYNC_ADAPTIVE)) in snd_usb_audioformat_set_sync_ep() 369 if (is_playback && attr == USB_ENDPOINT_SYNC_NONE) in snd_usb_audioformat_set_sync_ep() 376 ((is_playback && ep != (unsigned int)(get_endpoint(alts, 0)->bSynchAddress | USB_DIR_IN)) || in snd_usb_audioformat_set_sync_ep() 377 (!is_playback && ep != (unsigned int)(get_endpoint(alts, 0)->bSynchAddress & ~USB_DIR_IN)))) { in snd_usb_audioformat_set_sync_ep() 381 is_playback, ep, get_endpoint(alts, 0)->bSynchAddress); in snd_usb_audioformat_set_sync_ep() 382 if (is_playback && attr == USB_ENDPOINT_SYNC_NONE) in snd_usb_audioformat_set_sync_ep()
|
D | endpoint.c | 682 bool is_playback; in snd_usb_add_endpoint() local 702 is_playback = ((ep_num & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT); in snd_usb_add_endpoint() 704 if (is_playback) in snd_usb_add_endpoint() 1551 bool is_playback = usb_pipeout(ep->pipe); in snd_usb_endpoint_start() local 1602 if (is_playback) in snd_usb_endpoint_start() 1642 if (is_playback) { in snd_usb_endpoint_start()
|
/Linux-v6.6/sound/core/ |
D | pcm_lib.c | 1889 int is_playback = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in wait_for_avail() local 1946 if (is_playback) in wait_for_avail() 1962 is_playback ? "playback write" : "capture read"); in wait_for_avail() 2218 bool is_playback; in __snd_pcm_lib_xfer() local 2225 is_playback = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in __snd_pcm_lib_xfer() 2238 if (is_playback) in __snd_pcm_lib_xfer() 2246 transfer = is_playback ? in __snd_pcm_lib_xfer() 2268 if (!is_playback && in __snd_pcm_lib_xfer() 2282 if (!is_playback && in __snd_pcm_lib_xfer() 2314 if (!is_playback) in __snd_pcm_lib_xfer() [all …]
|
/Linux-v6.6/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()
|
/Linux-v6.6/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()
|
/Linux-v6.6/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()
|
/Linux-v6.6/sound/soc/bcm/ |
D | cygnus-pcm.c | 207 bool is_playback, in ringbuf_set_initial() argument 220 if (is_playback) { in ringbuf_set_initial()
|
/Linux-v6.6/sound/soc/sh/ |
D | rz-ssi.c | 742 bool is_playback; in rz_ssi_dai_trigger() local 744 is_playback = rz_ssi_stream_is_play(ssi, substream); in rz_ssi_dai_trigger() 746 is_playback); in rz_ssi_dai_trigger()
|
/Linux-v6.6/sound/pci/ |
D | rme32.c | 596 snd_rme32_setframelog(struct rme32 * rme32, int n_channels, int is_playback) in snd_rme32_setframelog() argument 606 if (is_playback) { in snd_rme32_setframelog()
|
D | rme96.c | 880 int is_playback) in snd_rme96_setframelog() argument 890 if (is_playback) { in snd_rme96_setframelog()
|