Home
last modified time | relevance | path

Searched refs:is_play (Results 1 – 10 of 10) sorted by relevance

/sound/soc/sh/rcar/
Ddma.c168 int is_play = rsnd_io_is_play(io); in rsnd_dmaen_start() local
171 cfg.direction = is_play ? DMA_MEM_TO_DEV : DMA_DEV_TO_MEM; in rsnd_dmaen_start()
189 is_play ? DMA_MEM_TO_DEV : DMA_DEV_TO_MEM, in rsnd_dmaen_start()
529 int is_play, int is_from) in rsnd_gen2_dma_addr() argument
597 dma_addrs[is_ssi][is_play][use_src + use_cmd].out_addr : in rsnd_gen2_dma_addr()
598 dma_addrs[is_ssi][is_play][use_src + use_cmd].in_addr; in rsnd_gen2_dma_addr()
603 int is_play, int is_from) in rsnd_dma_addr() argument
616 return rsnd_gen2_dma_addr(io, mod, is_play, is_from); in rsnd_dma_addr()
622 int is_play, in rsnd_dma_of_path() argument
683 mod_start = (is_play) ? NULL : ssi; in rsnd_dma_of_path()
[all …]
Ddvc.c221 int is_play = rsnd_io_is_play(io); in rsnd_dvc_pcm_new() local
227 is_play ? in rsnd_dvc_pcm_new()
238 is_play ? in rsnd_dvc_pcm_new()
249 is_play ? in rsnd_dvc_pcm_new()
258 is_play ? in rsnd_dvc_pcm_new()
269 is_play ? in rsnd_dvc_pcm_new()
Dsrc.c73 int is_play = rsnd_io_is_play(io); in rsnd_src_dma_req() local
77 is_play ? "rx" : "tx"); in rsnd_src_dma_req()
111 int is_play = rsnd_io_is_play(io); in rsnd_src_get_rate() local
121 if (is_play == is_in) in rsnd_src_get_rate()
197 int is_play = rsnd_io_is_play(io); in rsnd_src_set_convert_rate() local
320 i_busif = ( is_play ? tmp : 0) | 1; in rsnd_src_set_convert_rate()
321 o_busif = (!is_play ? tmp : 0) | 1; in rsnd_src_set_convert_rate()
Dcore.c562 int is_play = rsnd_io_is_play(io); \
564 enum rsnd_mod_type *types = rsnd_mod_sequence[is_play]; \
1012 int is_play = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in rsnd_soc_dai_startup() local
1016 is_play ? &rdai->playback : &rdai->capture, in rsnd_soc_dai_startup()
1020 is_play ? &rdai->playback : &rdai->capture, in rsnd_soc_dai_startup()
1068 int is_play = rsnd_io_is_play(io); in rsnd_parse_tdm_split_mode() local
1079 struct device_node *node = is_play ? in rsnd_parse_tdm_split_mode()
Dssiu.c296 int is_play = rsnd_io_is_play(io); in rsnd_ssiu_dma_req() local
310 name = is_play ? "rx" : "tx"; in rsnd_ssiu_dma_req()
Dssi.c1130 int is_play = rsnd_io_is_play(io); in rsnd_ssi_dma_req() local
1145 name = is_play ? "rxu" : "txu"; in rsnd_ssi_dma_req()
1147 name = is_play ? "rx" : "tx"; in rsnd_ssi_dma_req()
/sound/soc/sh/
Dfsi.c431 int is_play = fsi_stream_is_play(fsi, io); in fsi_get_port_shift() local
436 shift = is_play ? AO_SHIFT : AI_SHIFT; in fsi_get_port_shift()
438 shift = is_play ? BO_SHIFT : BI_SHIFT; in fsi_get_port_shift()
456 int is_play = fsi_stream_is_play(fsi, io); in fsi_get_current_fifo_samples() local
460 status = is_play ? in fsi_get_current_fifo_samples()
627 int is_play = fsi_stream_is_play(fsi, io); in fsi_format_bus_setup() local
655 if (is_play) in fsi_format_bus_setup()
661 if (is_play) in fsi_format_bus_setup()
1302 int is_play = fsi_stream_is_play(fsi, io); in fsi_dma_transfer() local
1306 if (is_play) in fsi_dma_transfer()
[all …]
/sound/soc/codecs/
Dak4613.c345 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
408 if (ak4613_dai_fmt_matching(priv->iface, is_play, fmt, width)) in ak4613_dai_hw_params()
413 is_play, in ak4613_dai_hw_params()
Dak4642.c280 int is_play = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in ak4642_dai_startup() local
283 if (is_play) { in ak4642_dai_startup()
323 int is_play = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in ak4642_dai_shutdown() local
326 if (is_play) { in ak4642_dai_shutdown()
/sound/soc/bcm/
Dcygnus-pcm.c670 bool is_play; in cygnus_pcm_prepare() local
689 is_play = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) ? 1 : 0; in cygnus_pcm_prepare()
691 ringbuf_set_initial(aio->cygaud->audio, p_rbuf, is_play, start, in cygnus_pcm_prepare()