Searched refs:is_play (Results 1 – 9 of 9) sorted by relevance
/sound/soc/sh/rcar/ |
D | dma.c | 73 int is_play = rsnd_io_is_play(io); in __rsnd_dmaen_sync() local 84 dir = is_play ? DMA_TO_DEVICE : DMA_FROM_DEVICE; in __rsnd_dmaen_sync() 161 int is_play = rsnd_io_is_play(io); in rsnd_dmaen_stop() local 166 is_play ? DMA_TO_DEVICE : DMA_FROM_DEVICE); in rsnd_dmaen_stop() 237 int is_play = rsnd_io_is_play(io); in rsnd_dmaen_start() local 241 cfg.direction = is_play ? DMA_MEM_TO_DEV : DMA_DEV_TO_MEM; in rsnd_dmaen_start() 260 is_play ? DMA_TO_DEVICE : DMA_FROM_DEVICE); in rsnd_dmaen_start() 268 is_play ? DMA_MEM_TO_DEV : DMA_DEV_TO_MEM, in rsnd_dmaen_start() 594 int is_play, int is_from) in rsnd_gen2_dma_addr() argument 650 dma_addrs[is_ssi][is_play][use_src + use_cmd].out_addr : in rsnd_gen2_dma_addr() [all …]
|
D | dvc.c | 253 int is_play = rsnd_io_is_play(io); in rsnd_dvc_pcm_new() local 259 is_play ? in rsnd_dvc_pcm_new() 270 is_play ? in rsnd_dvc_pcm_new() 281 is_play ? in rsnd_dvc_pcm_new() 290 is_play ? in rsnd_dvc_pcm_new() 300 is_play ? in rsnd_dvc_pcm_new()
|
D | src.c | 69 int is_play = rsnd_io_is_play(io); in rsnd_src_dma_req() local 73 is_play ? "rx" : "tx"); in rsnd_src_dma_req() 107 int is_play = rsnd_io_is_play(io); in rsnd_src_get_rate() local 117 if (is_play == is_in) in rsnd_src_get_rate() 173 int is_play = rsnd_io_is_play(io); in rsnd_src_set_convert_rate() local 257 i_busif = ( is_play ? tmp : 0) | 1; in rsnd_src_set_convert_rate() 258 o_busif = (!is_play ? tmp : 0) | 1; in rsnd_src_set_convert_rate()
|
D | ssi.c | 914 int is_play = rsnd_io_is_play(io); in rsnd_ssi_dma_req() local 918 name = is_play ? "rxu" : "txu"; in rsnd_ssi_dma_req() 920 name = is_play ? "rx" : "tx"; in rsnd_ssi_dma_req()
|
D | core.c | 474 int is_play = rsnd_io_is_play(io); \ 476 enum rsnd_mod_type *types = rsnd_mod_sequence[is_play]; \
|
/sound/soc/sh/ |
D | fsi.c | 435 int is_play = fsi_stream_is_play(fsi, io); in fsi_get_port_shift() local 440 shift = is_play ? AO_SHIFT : AI_SHIFT; in fsi_get_port_shift() 442 shift = is_play ? BO_SHIFT : BI_SHIFT; in fsi_get_port_shift() 460 int is_play = fsi_stream_is_play(fsi, io); in fsi_get_current_fifo_samples() local 464 status = is_play ? in fsi_get_current_fifo_samples() 631 int is_play = fsi_stream_is_play(fsi, io); in fsi_format_bus_setup() local 659 if (is_play) in fsi_format_bus_setup() 665 if (is_play) in fsi_format_bus_setup() 1293 int is_play = fsi_stream_is_play(fsi, io); in fsi_dma_transfer() local 1297 if (is_play) in fsi_dma_transfer() [all …]
|
/sound/soc/codecs/ |
D | ak4613.c | 345 int is_play, in ak4613_dai_fmt_matching() argument 350 fmts = (is_play) ? &iface->playback : &iface->capture; in ak4613_dai_fmt_matching() 372 int is_play = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in ak4613_dai_hw_params() local 407 if (ak4613_dai_fmt_matching(priv->iface, is_play, fmt, width)) in ak4613_dai_hw_params() 412 is_play, in ak4613_dai_hw_params()
|
D | ak4642.c | 284 int is_play = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in ak4642_dai_startup() local 287 if (is_play) { in ak4642_dai_startup() 327 int is_play = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in ak4642_dai_shutdown() local 330 if (is_play) { in ak4642_dai_shutdown()
|
/sound/soc/bcm/ |
D | cygnus-pcm.c | 672 bool is_play; in cygnus_pcm_prepare() local 691 is_play = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) ? 1 : 0; in cygnus_pcm_prepare() 693 ringbuf_set_initial(aio->cygaud->audio, p_rbuf, is_play, start, in cygnus_pcm_prepare()
|