Lines Matching full:io

14 #include <linux/io.h>
256 u32 rsnd_get_adinr_bit(struct rsnd_mod *mod, struct rsnd_dai_stream *io);
257 u32 rsnd_get_dalign(struct rsnd_mod *mod, struct rsnd_dai_stream *io);
258 u32 rsnd_get_busif_shift(struct rsnd_dai_stream *io, struct rsnd_mod *mod);
263 int rsnd_dma_attach(struct rsnd_dai_stream *io,
291 struct dma_chan* (*dma_req)(struct rsnd_dai_stream *io,
294 struct rsnd_dai_stream *io,
297 struct rsnd_dai_stream *io,
300 struct rsnd_dai_stream *io,
303 struct rsnd_dai_stream *io,
306 struct rsnd_dai_stream *io,
309 struct rsnd_dai_stream *io,
312 struct rsnd_dai_stream *io,
315 struct rsnd_dai_stream *io,
318 struct rsnd_dai_stream *io,
322 struct rsnd_dai_stream *io,
325 struct rsnd_dai_stream *io,
328 struct rsnd_dai_stream *io,
331 struct rsnd_dai_stream *io,
334 struct rsnd_dai_stream *io,
337 struct rsnd_dai_stream *io,
345 struct rsnd_dai_stream *io, struct rsnd_mod *mod);
426 struct dma_chan *rsnd_mod_dma_req(struct rsnd_dai_stream *io,
430 struct rsnd_dai_stream *io));
432 struct rsnd_dai_stream *io,
439 struct rsnd_dai_stream *io,
442 #define for_each_rsnd_mod(iterator, pos, io) \ argument
444 (pos = rsnd_mod_next(&iterator, io, NULL, 0)); iterator++)
445 #define for_each_rsnd_mod_arrays(iterator, pos, io, array, size) \ argument
447 (pos = rsnd_mod_next(&iterator, io, array, size)); iterator++)
448 #define for_each_rsnd_mod_array(iterator, pos, io, array) \ argument
449 for_each_rsnd_mod_arrays(iterator, pos, io, array, ARRAY_SIZE(array))
460 #define rsnd_runtime_channel_original(io) \ argument
461 rsnd_runtime_channel_original_with_params(io, NULL)
462 int rsnd_runtime_channel_original_with_params(struct rsnd_dai_stream *io,
464 #define rsnd_runtime_channel_after_ctu(io) \ argument
465 rsnd_runtime_channel_after_ctu_with_params(io, NULL)
466 int rsnd_runtime_channel_after_ctu_with_params(struct rsnd_dai_stream *io,
468 #define rsnd_runtime_channel_for_ssi(io) \ argument
469 rsnd_runtime_channel_for_ssi_with_params(io, NULL)
470 int rsnd_runtime_channel_for_ssi_with_params(struct rsnd_dai_stream *io,
472 int rsnd_runtime_is_multi_ssi(struct rsnd_dai_stream *io);
473 int rsnd_runtime_is_tdm(struct rsnd_dai_stream *io);
474 int rsnd_runtime_is_tdm_split(struct rsnd_dai_stream *io);
512 #define rsnd_io_to_mod(io, i) ((i) < RSND_MOD_MAX ? (io)->mod[(i)] : NULL) argument
513 #define rsnd_io_to_mod_ssi(io) rsnd_io_to_mod((io), RSND_MOD_SSI) argument
514 #define rsnd_io_to_mod_ssiu(io) rsnd_io_to_mod((io), RSND_MOD_SSIU) argument
515 #define rsnd_io_to_mod_ssip(io) rsnd_io_to_mod((io), RSND_MOD_SSIP) argument
516 #define rsnd_io_to_mod_src(io) rsnd_io_to_mod((io), RSND_MOD_SRC) argument
517 #define rsnd_io_to_mod_ctu(io) rsnd_io_to_mod((io), RSND_MOD_CTU) argument
518 #define rsnd_io_to_mod_mix(io) rsnd_io_to_mod((io), RSND_MOD_MIX) argument
519 #define rsnd_io_to_mod_dvc(io) rsnd_io_to_mod((io), RSND_MOD_DVC) argument
520 #define rsnd_io_to_mod_cmd(io) rsnd_io_to_mod((io), RSND_MOD_CMD) argument
521 #define rsnd_io_to_rdai(io) ((io)->rdai) argument
522 #define rsnd_io_to_priv(io) (rsnd_rdai_to_priv(rsnd_io_to_rdai(io))) argument
523 #define rsnd_io_is_play(io) (&rsnd_io_to_rdai(io)->playback == io) argument
524 #define rsnd_io_to_runtime(io) ((io)->substream ? \ argument
525 (io)->substream->runtime : NULL)
526 #define rsnd_io_converted_rate(io) ((io)->converted_rate) argument
527 #define rsnd_io_converted_chan(io) ((io)->converted_chan) argument
528 int rsnd_io_is_working(struct rsnd_dai_stream *io);
580 struct rsnd_dai_stream *io,
604 struct rsnd_dai_stream *io,
608 struct rsnd_dai_stream *io);
721 int (*accept)(struct rsnd_dai_stream *io);
722 void (*update)(struct rsnd_dai_stream *io, struct rsnd_mod *mod);
723 struct rsnd_dai_stream *io; member
744 int rsnd_kctrl_accept_anytime(struct rsnd_dai_stream *io);
745 int rsnd_kctrl_accept_runtime(struct rsnd_dai_stream *io);
749 struct rsnd_dai_stream *io,
752 int (*accept)(struct rsnd_dai_stream *io),
753 void (*update)(struct rsnd_dai_stream *io,
760 #define rsnd_kctrl_new_m(mod, io, rtd, name, accept, update, cfg, size, max) \ argument
761 rsnd_kctrl_new(mod, io, rtd, name, accept, update, rsnd_kctrl_init_m(cfg), \
764 #define rsnd_kctrl_new_s(mod, io, rtd, name, accept, update, cfg, max) \ argument
765 rsnd_kctrl_new(mod, io, rtd, name, accept, update, rsnd_kctrl_init_s(cfg), \
768 #define rsnd_kctrl_new_e(mod, io, rtd, name, accept, update, cfg, texts, size) \ argument
769 rsnd_kctrl_new(mod, io, rtd, name, accept, update, rsnd_kctrl_init_s(cfg), \
782 int rsnd_ssi_use_busif(struct rsnd_dai_stream *io);
783 u32 rsnd_ssi_multi_secondaries_runtime(struct rsnd_dai_stream *io);
786 #define rsnd_ssi_is_pin_sharing(io) \ argument
787 __rsnd_ssi_is_pin_sharing(rsnd_io_to_mod_ssi(io))
800 int rsnd_ssiu_attach(struct rsnd_dai_stream *io,
817 #define rsnd_src_get_in_rate(priv, io) rsnd_src_get_rate(priv, io, 1) argument
818 #define rsnd_src_get_out_rate(priv, io) rsnd_src_get_rate(priv, io, 0) argument
820 struct rsnd_dai_stream *io,
870 int rsnd_cmd_attach(struct rsnd_dai_stream *io, int id);