/kernel/linux/linux-6.6/sound/soc/sh/rcar/ |
H A D | dma.c | 170 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() 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() 688 int is_play, int is_from) in rsnd_dma_addr() 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_fro in rsnd_dma_addr() 582 rsnd_gen2_dma_addr(struct rsnd_dai_stream *io, struct rsnd_mod *mod, int is_play, int is_from) rsnd_gen2_dma_addr() argument 665 rsnd_gen4_dma_addr(struct rsnd_dai_stream *io, struct rsnd_mod *mod, int is_play, int is_from) rsnd_gen4_dma_addr() argument 686 rsnd_dma_addr(struct rsnd_dai_stream *io, struct rsnd_mod *mod, int is_play, int is_from) rsnd_dma_addr() argument 707 rsnd_dma_of_path(struct rsnd_mod *this, struct rsnd_dai_stream *io, int is_play, struct rsnd_mod **mod_from, struct rsnd_mod **mod_to) rsnd_dma_of_path() argument 828 int is_play = rsnd_io_is_play(io); rsnd_dma_alloc() local [all...] |
H A D | dvc.c | 221 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()
|
H A D | src.c | 82 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()
|
H A D | core.c | 556 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()
|
H A D | ssiu.c | 391 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()
|
H A D | ssi.c | 1007 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()
|
/kernel/linux/linux-5.10/sound/soc/sh/rcar/ |
H A D | dma.c | 169 int is_play = rsnd_io_is_play(io); in rsnd_dmaen_start() local 197 cfg.direction = is_play ? DMA_MEM_TO_DEV : DMA_DEV_TO_MEM; in rsnd_dmaen_start() 215 is_play ? DMA_MEM_TO_DEV : DMA_DEV_TO_MEM, in rsnd_dmaen_start() 555 int is_play, int is_from) in rsnd_gen2_dma_addr() 623 dma_addrs[is_ssi][is_play][use_src + use_cmd].out_addr : in rsnd_gen2_dma_addr() 624 dma_addrs[is_ssi][is_play][use_src + use_cmd].in_addr; in rsnd_gen2_dma_addr() 629 int is_play, int is_from) in rsnd_dma_addr() 642 return rsnd_gen2_dma_addr(io, mod, is_play, is_from); in rsnd_dma_addr() 648 int is_play, in rsnd_dma_of_path() 709 mod_start = (is_play) in rsnd_dma_of_path() 553 rsnd_gen2_dma_addr(struct rsnd_dai_stream *io, struct rsnd_mod *mod, int is_play, int is_from) rsnd_gen2_dma_addr() argument 627 rsnd_dma_addr(struct rsnd_dai_stream *io, struct rsnd_mod *mod, int is_play, int is_from) rsnd_dma_addr() argument 646 rsnd_dma_of_path(struct rsnd_mod *this, struct rsnd_dai_stream *io, int is_play, struct rsnd_mod **mod_from, struct rsnd_mod **mod_to) rsnd_dma_of_path() argument 767 int is_play = rsnd_io_is_play(io); rsnd_dma_alloc() local [all...] |
H A D | dvc.c | 221 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()
|
H A D | src.c | 73 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()
|
H A D | core.c | 557 int is_play = rsnd_io_is_play(io); \ 559 enum rsnd_mod_type *types = rsnd_mod_sequence[is_play]; \ 1007 int is_play = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in rsnd_soc_dai_startup() local 1011 is_play ? &rdai->playback : &rdai->capture, in rsnd_soc_dai_startup() 1015 is_play ? &rdai->playback : &rdai->capture, in rsnd_soc_dai_startup() 1063 int is_play = rsnd_io_is_play(io); in rsnd_parse_tdm_split_mode() local 1074 struct device_node *node = is_play ? in rsnd_parse_tdm_split_mode()
|
H A D | ssiu.c | 296 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()
|
H A D | ssi.c | 1130 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()
|
/kernel/linux/linux-5.10/sound/soc/sh/ |
H A D | fsi.c | 431 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() 1373 int is_play = fsi_stream_is_play(fsi, io); fsi_dma_probe() local 1450 int is_play = fsi_stream_is_play(fsi, io); fsi_fifo_init() local [all...] |
/kernel/linux/linux-6.6/sound/soc/sh/ |
H A D | fsi.c | 431 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() 1373 int is_play = fsi_stream_is_play(fsi, io); fsi_dma_probe() local 1450 int is_play = fsi_stream_is_play(fsi, io); fsi_fifo_init() local [all...] |
H A D | rz-ssi.c | 309 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() 590 cfg.direction = is_play ? DMA_MEM_TO_DEV : DMA_DEV_TO_MEM; in rz_ssi_dma_slave_config() 583 rz_ssi_dma_slave_config(struct rz_ssi_priv *ssi, struct dma_chan *dma_ch, bool is_play) rz_ssi_dma_slave_config() argument
|
/kernel/linux/linux-5.10/sound/soc/codecs/ |
H A D | ak4613.c | 345 int is_play, in ak4613_dai_fmt_matching() 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() 344 ak4613_dai_fmt_matching(const struct ak4613_interface *iface, int is_play, unsigned int fmt, unsigned int width) ak4613_dai_fmt_matching() argument
|
H A D | ak4642.c | 280 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()
|
/kernel/linux/linux-6.6/sound/soc/codecs/ |
H A D | ak4642.c | 280 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()
|
H A D | ak4613.c | 437 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()
|
/kernel/linux/linux-5.10/sound/soc/bcm/ |
H A D | cygnus-pcm.c | 676 bool is_play; in cygnus_pcm_prepare() local 695 is_play = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) ? 1 : 0; in cygnus_pcm_prepare() 697 ringbuf_set_initial(aio->cygaud->audio, p_rbuf, is_play, start, in cygnus_pcm_prepare()
|
/kernel/linux/linux-6.6/sound/soc/bcm/ |
H A D | cygnus-pcm.c | 636 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()
|