Home
last modified time | relevance | path

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

/linux-6.6.21/sound/soc/sh/rcar/
Ddma.c170 int is_play = rsnd_io_is_play(io); in rsnd_dmaen_start() local
198 cfg.direction = is_play ? DMA_MEM_TO_DEV : DMA_DEV_TO_MEM; in rsnd_dmaen_start()
216 is_play ? DMA_MEM_TO_DEV : DMA_DEV_TO_MEM, in rsnd_dmaen_start()
584 int is_play, int is_from) in rsnd_gen2_dma_addr() argument
652 dma_addrs[is_ssi][is_play][use_src + use_cmd].out_addr : in rsnd_gen2_dma_addr()
653 dma_addrs[is_ssi][is_play][use_src + use_cmd].in_addr; in rsnd_gen2_dma_addr()
666 int is_play, int is_from) in rsnd_gen4_dma_addr() argument
688 int is_play, int is_from) in rsnd_dma_addr() argument
701 return rsnd_gen4_dma_addr(io, mod, is_play, is_from); in rsnd_dma_addr()
703 return rsnd_gen2_dma_addr(io, mod, is_play, is_from); in rsnd_dma_addr()
[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.c82 int is_play = rsnd_io_is_play(io); in rsnd_src_dma_req() local
86 is_play ? "rx" : "tx"); in rsnd_src_dma_req()
120 int is_play = rsnd_io_is_play(io); in rsnd_src_get_rate() local
130 if (is_play == is_in) in rsnd_src_get_rate()
206 int is_play = rsnd_io_is_play(io); in rsnd_src_set_convert_rate() local
329 i_busif = ( is_play ? tmp : 0) | 1; in rsnd_src_set_convert_rate()
330 o_busif = (!is_play ? tmp : 0) | 1; in rsnd_src_set_convert_rate()
Dcore.c556 int is_play = rsnd_io_is_play(io); \
558 enum rsnd_mod_type *types = rsnd_mod_sequence[is_play]; \
1023 int is_play = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in rsnd_soc_dai_startup() local
1027 is_play ? &rdai->playback : &rdai->capture, in rsnd_soc_dai_startup()
1031 is_play ? &rdai->playback : &rdai->capture, in rsnd_soc_dai_startup()
1095 int is_play = rsnd_io_is_play(io); in rsnd_parse_tdm_split_mode() local
1106 struct device_node *node = is_play ? in rsnd_parse_tdm_split_mode()
Dssiu.c391 int is_play = rsnd_io_is_play(io); in rsnd_ssiu_dma_req() local
405 name = is_play ? "rx" : "tx"; in rsnd_ssiu_dma_req()
Dssi.c1007 int is_play = rsnd_io_is_play(io); in rsnd_ssi_dma_req() local
1022 name = is_play ? "rxu" : "txu"; in rsnd_ssi_dma_req()
1024 name = is_play ? "rx" : "tx"; in rsnd_ssi_dma_req()
/linux-6.6.21/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 …]
Drz-ssi.c309 bool is_play = rz_ssi_stream_is_play(ssi, strm->substream); in rz_ssi_start() local
324 if (is_play) { in rz_ssi_start()
341 ssicr |= is_play ? SSICR_TEN : SSICR_REN; in rz_ssi_start()
584 struct dma_chan *dma_ch, bool is_play) in rz_ssi_dma_slave_config() argument
590 cfg.direction = is_play ? DMA_MEM_TO_DEV : DMA_DEV_TO_MEM; in rz_ssi_dma_slave_config()
/linux-6.6.21/sound/soc/codecs/
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()
Dak4613.c437 int is_play = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in ak4613_hw_constraints() local
487 mask = mask_list[AK4613_CONFIG_MODE_STEREO][is_play * sdti_num]; in ak4613_hw_constraints()
494 mask |= mask_list[mode][is_play * sdti_num]; in ak4613_hw_constraints()
/linux-6.6.21/sound/soc/bcm/
Dcygnus-pcm.c636 bool is_play; in cygnus_pcm_prepare() local
655 is_play = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) ? 1 : 0; in cygnus_pcm_prepare()
657 ringbuf_set_initial(aio->cygaud->audio, p_rbuf, is_play, start, in cygnus_pcm_prepare()