/linux-master/sound/soc/meson/ |
H A D | meson-card.h | 49 bool is_playback);
|
H A D | meson-card-utils.c | 178 bool is_playback) 188 if (is_playback) 175 meson_card_set_fe_link(struct snd_soc_card *card, struct snd_soc_dai_link *link, struct device_node *node, bool is_playback) argument
|
/linux-master/sound/soc/ux500/ |
H A D | mop500_ab8500.c | 222 bool is_playback; local 294 is_playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); 298 tx_slots = (is_playback) ? TX_SLOT_MONO : 0; 299 rx_slots = (is_playback) ? 0 : RX_SLOT_MONO; 303 tx_slots = (is_playback) ? TX_SLOT_STEREO : 0; 304 rx_slots = (is_playback) ? 0 : RX_SLOT_STEREO; 308 tx_slots = (is_playback) ? TX_SLOT_8CH : 0; 309 rx_slots = (is_playback) ? 0 : RX_SLOT_8CH;
|
H A D | ux500_msp_dai.c | 426 bool is_playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); local 438 is_playback ? MSP_DIR_TX : MSP_DIR_RX)) {
|
/linux-master/sound/soc/atmel/ |
H A D | atmel-i2s.c | 275 bool is_playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); local 278 if (is_playback) { 327 bool is_playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); local 333 if (is_playback) 370 if (is_playback) 480 bool is_playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); local 489 cr = is_playback ? ATMEL_I2SC_CR_TXEN : ATMEL_I2SC_CR_RXEN; 495 cr = is_playback ? ATMEL_I2SC_CR_TXDIS : ATMEL_I2SC_CR_RXDIS;
|
H A D | mchp-i2s-mcc.c | 520 bool is_playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); local 587 if (is_playback) 616 if (is_playback) 634 if (is_playback) 736 bool is_playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); local 739 if (is_playback) { 792 bool is_playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); local 802 if (is_playback) 811 if (is_playback && (sr & MCHP_I2SMCC_SR_TXEN)) { 822 } else if (!is_playback [all...] |
/linux-master/drivers/usb/gadget/function/ |
H A D | f_uac1.c | 515 unsigned int is_playback = 0; local 518 is_playback = 1; 523 u_audio_get_mute(audio, is_playback, &mute); 531 u_audio_get_volume(audio, is_playback, &volume); 566 unsigned int is_playback = 0; local 569 is_playback = 1; 575 if (is_playback) 613 unsigned int is_playback = 0; local 616 is_playback = 1; 622 if (is_playback) 660 unsigned int is_playback = 0; local 712 unsigned int is_playback = 0; local [all...] |
H A D | f_uac2.c | 685 u8 bint, unsigned int factor, bool is_playback) 690 if (is_playback) { 700 if (is_playback || (uac2_opts->c_sync == USB_ENDPOINT_SYNC_ASYNC)) { 717 enum usb_device_speed speed, bool is_playback) 728 max_size_bw = get_max_bw_for_bint(uac2_opts, bint, 1000, is_playback); 734 if (is_playback) 742 max_size_bw = get_max_bw_for_bint(uac2_opts, bint, 8000, is_playback); 747 uac2_opts, bint, 8000, is_playback); 758 if (is_playback) 1556 unsigned int is_playback local 684 get_max_bw_for_bint(const struct f_uac2_opts *uac2_opts, u8 bint, unsigned int factor, bool is_playback) argument 715 set_ep_max_packet_size_bint(struct device *dev, const struct f_uac2_opts *uac2_opts, struct usb_endpoint_descriptor *ep_desc, enum usb_device_speed speed, bool is_playback) argument 1645 unsigned int is_playback = 0; local 1735 unsigned int is_playback = 0; local [all...] |
/linux-master/sound/soc/tegra/ |
H A D | tegra210_i2s.c | 86 bool is_playback) 96 if (is_playback) { 119 is_playback ? "playback" : "capture"); 138 bool is_playback; local 143 is_playback = true; 147 is_playback = false; 160 is_playback ? "playback" : "capture"); 164 return tegra210_i2s_sw_reset(compnt, is_playback); 85 tegra210_i2s_sw_reset(struct snd_soc_component *compnt, bool is_playback) argument
|
/linux-master/sound/soc/ |
H A D | soc-generic-dmaengine-pcm.c | 300 bool is_playback = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; local 304 if (is_playback) 314 if (!is_playback)
|
/linux-master/sound/usb/ |
H A D | pcm.c | 319 bool is_playback; local 341 is_playback = !(get_endpoint(alts, 0)->bEndpointAddress & USB_DIR_IN); 343 if ((is_playback && (attr == USB_ENDPOINT_SYNC_SYNC || 345 (!is_playback && attr != USB_ENDPOINT_SYNC_ADAPTIVE)) 369 if (is_playback && attr == USB_ENDPOINT_SYNC_NONE) 376 ((is_playback && ep != (unsigned int)(get_endpoint(alts, 0)->bSynchAddress | USB_DIR_IN)) || 377 (!is_playback && ep != (unsigned int)(get_endpoint(alts, 0)->bSynchAddress & ~USB_DIR_IN)))) { 379 "%d:%d : invalid sync pipe. is_playback %d, ep %02x, bSynchAddress %02x\n", 381 is_playback, ep, get_endpoint(alts, 0)->bSynchAddress); 382 if (is_playback [all...] |
H A D | endpoint.c | 682 bool is_playback; local 702 is_playback = ((ep_num & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT); 704 if (is_playback) 1551 bool is_playback = usb_pipeout(ep->pipe); local 1602 if (is_playback) 1642 if (is_playback) {
|
/linux-master/sound/core/ |
H A D | pcm_lib.c | 1919 int is_playback = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; local 1976 if (is_playback) 1992 is_playback ? "playback write" : "capture read"); 2248 bool is_playback; local 2255 is_playback = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; 2268 if (is_playback) 2276 transfer = is_playback ? 2298 if (!is_playback && 2312 if (!is_playback && 2344 if (!is_playback) [all...] |
/linux-master/sound/soc/codecs/ |
H A D | ad193x.c | 319 bool is_playback = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; local 356 if (is_playback) {
|
/linux-master/sound/soc/sprd/ |
H A D | sprd-pcm-dma.c | 198 int is_playback = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; local 238 if (is_playback) {
|
/linux-master/sound/usb/usx2y/ |
H A D | usbusx2yaudio.c | 418 int is_playback = subs == subs->usx2y->subs[SNDRV_PCM_STREAM_PLAYBACK]; local 422 pipe = is_playback ? usb_sndisocpipe(dev, subs->endpoint) : 428 if (is_playback && !subs->tmpbuf) { /* allocate a temporary buffer for playback */ 445 if (!is_playback && !(*purb)->transfer_buffer) {
|
H A D | usx2yhwdeppcm.c | 318 int is_playback = subs == subs->usx2y->subs[SNDRV_PCM_STREAM_PLAYBACK]; local 322 pipe = is_playback ? usb_sndisocpipe(dev, subs->endpoint) : 340 (*purb)->transfer_buffer = is_playback ?
|
/linux-master/sound/soc/bcm/ |
H A D | cygnus-pcm.c | 207 bool is_playback, 220 if (is_playback) { 205 ringbuf_set_initial(void __iomem *audio_io, struct ringbuf_regs *p_rbuf, bool is_playback, u32 start, u32 periodsize, u32 bufsize) argument
|
/linux-master/sound/soc/sh/ |
H A D | rz-ssi.c | 741 bool is_playback; local 743 is_playback = rz_ssi_stream_is_play(ssi, substream); 745 is_playback);
|
/linux-master/sound/pci/ |
H A D | rme32.c | 596 snd_rme32_setframelog(struct rme32 * rme32, int n_channels, int is_playback) argument 606 if (is_playback) {
|
H A D | rme96.c | 878 int is_playback) 888 if (is_playback) { 876 snd_rme96_setframelog(struct rme96 *rme96, int n_channels, int is_playback) argument
|