Lines Matching full:io

14 #include <linux/io.h>
266 u32 rsnd_get_adinr_bit(struct rsnd_mod *mod, struct rsnd_dai_stream *io);
267 u32 rsnd_get_dalign(struct rsnd_mod *mod, struct rsnd_dai_stream *io);
268 u32 rsnd_get_busif_shift(struct rsnd_dai_stream *io, struct rsnd_mod *mod);
273 int rsnd_dma_attach(struct rsnd_dai_stream *io,
301 struct dma_chan* (*dma_req)(struct rsnd_dai_stream *io,
304 struct rsnd_dai_stream *io,
307 struct rsnd_dai_stream *io,
310 struct rsnd_dai_stream *io,
313 struct rsnd_dai_stream *io,
316 struct rsnd_dai_stream *io,
319 struct rsnd_dai_stream *io,
322 struct rsnd_dai_stream *io,
325 struct rsnd_dai_stream *io,
328 struct rsnd_dai_stream *io,
332 struct rsnd_dai_stream *io,
335 struct rsnd_dai_stream *io,
338 struct rsnd_dai_stream *io,
341 struct rsnd_dai_stream *io,
344 struct rsnd_dai_stream *io,
347 struct rsnd_dai_stream *io,
355 struct rsnd_dai_stream *io, struct rsnd_mod *mod);
436 struct dma_chan *rsnd_mod_dma_req(struct rsnd_dai_stream *io,
440 struct rsnd_dai_stream *io));
442 struct rsnd_dai_stream *io,
449 struct rsnd_dai_stream *io,
452 #define for_each_rsnd_mod(iterator, pos, io) \ argument
454 (pos = rsnd_mod_next(&iterator, io, NULL, 0)); iterator++)
455 #define for_each_rsnd_mod_arrays(iterator, pos, io, array, size) \ argument
457 (pos = rsnd_mod_next(&iterator, io, array, size)); iterator++)
458 #define for_each_rsnd_mod_array(iterator, pos, io, array) \ argument
459 for_each_rsnd_mod_arrays(iterator, pos, io, array, ARRAY_SIZE(array))
470 #define rsnd_runtime_channel_original(io) \ argument
471 rsnd_runtime_channel_original_with_params(io, NULL)
472 int rsnd_runtime_channel_original_with_params(struct rsnd_dai_stream *io,
474 #define rsnd_runtime_channel_after_ctu(io) \ argument
475 rsnd_runtime_channel_after_ctu_with_params(io, NULL)
476 int rsnd_runtime_channel_after_ctu_with_params(struct rsnd_dai_stream *io,
478 #define rsnd_runtime_channel_for_ssi(io) \ argument
479 rsnd_runtime_channel_for_ssi_with_params(io, NULL)
480 int rsnd_runtime_channel_for_ssi_with_params(struct rsnd_dai_stream *io,
482 int rsnd_runtime_is_multi_ssi(struct rsnd_dai_stream *io);
483 int rsnd_runtime_is_tdm(struct rsnd_dai_stream *io);
484 int rsnd_runtime_is_tdm_split(struct rsnd_dai_stream *io);
522 #define rsnd_io_to_mod(io, i) ((i) < RSND_MOD_MAX ? (io)->mod[(i)] : NULL) argument
523 #define rsnd_io_to_mod_ssi(io) rsnd_io_to_mod((io), RSND_MOD_SSI) argument
524 #define rsnd_io_to_mod_ssiu(io) rsnd_io_to_mod((io), RSND_MOD_SSIU) argument
525 #define rsnd_io_to_mod_ssip(io) rsnd_io_to_mod((io), RSND_MOD_SSIP) argument
526 #define rsnd_io_to_mod_src(io) rsnd_io_to_mod((io), RSND_MOD_SRC) argument
527 #define rsnd_io_to_mod_ctu(io) rsnd_io_to_mod((io), RSND_MOD_CTU) argument
528 #define rsnd_io_to_mod_mix(io) rsnd_io_to_mod((io), RSND_MOD_MIX) argument
529 #define rsnd_io_to_mod_dvc(io) rsnd_io_to_mod((io), RSND_MOD_DVC) argument
530 #define rsnd_io_to_mod_cmd(io) rsnd_io_to_mod((io), RSND_MOD_CMD) argument
531 #define rsnd_io_to_rdai(io) ((io)->rdai) argument
532 #define rsnd_io_to_priv(io) (rsnd_rdai_to_priv(rsnd_io_to_rdai(io))) argument
533 #define rsnd_io_is_play(io) (&rsnd_io_to_rdai(io)->playback == io) argument
534 #define rsnd_io_to_runtime(io) ((io)->substream ? \ argument
535 (io)->substream->runtime : NULL)
536 #define rsnd_io_converted_rate(io) ((io)->converted_rate) argument
537 #define rsnd_io_converted_chan(io) ((io)->converted_chan) argument
538 int rsnd_io_is_working(struct rsnd_dai_stream *io);
589 void rsnd_dai_period_elapsed(struct rsnd_dai_stream *io);
591 struct rsnd_dai_stream *io,
615 struct rsnd_dai_stream *io,
619 struct rsnd_dai_stream *io);
732 int (*accept)(struct rsnd_dai_stream *io);
733 void (*update)(struct rsnd_dai_stream *io, struct rsnd_mod *mod);
734 struct rsnd_dai_stream *io; member
755 int rsnd_kctrl_accept_anytime(struct rsnd_dai_stream *io);
756 int rsnd_kctrl_accept_runtime(struct rsnd_dai_stream *io);
760 struct rsnd_dai_stream *io,
763 int (*accept)(struct rsnd_dai_stream *io),
764 void (*update)(struct rsnd_dai_stream *io,
771 #define rsnd_kctrl_new_m(mod, io, rtd, name, accept, update, cfg, size, max) \ argument
772 rsnd_kctrl_new(mod, io, rtd, name, accept, update, rsnd_kctrl_init_m(cfg), \
775 #define rsnd_kctrl_new_s(mod, io, rtd, name, accept, update, cfg, max) \ argument
776 rsnd_kctrl_new(mod, io, rtd, name, accept, update, rsnd_kctrl_init_s(cfg), \
779 #define rsnd_kctrl_new_e(mod, io, rtd, name, accept, update, cfg, texts, size) \ argument
780 rsnd_kctrl_new(mod, io, rtd, name, accept, update, rsnd_kctrl_init_s(cfg), \
793 int rsnd_ssi_use_busif(struct rsnd_dai_stream *io);
794 u32 rsnd_ssi_multi_secondaries_runtime(struct rsnd_dai_stream *io);
797 #define rsnd_ssi_is_pin_sharing(io) \ argument
798 __rsnd_ssi_is_pin_sharing(rsnd_io_to_mod_ssi(io))
811 int rsnd_ssiu_attach(struct rsnd_dai_stream *io,
828 #define rsnd_src_get_in_rate(priv, io) rsnd_src_get_rate(priv, io, 1) argument
829 #define rsnd_src_get_out_rate(priv, io) rsnd_src_get_rate(priv, io, 0) argument
831 struct rsnd_dai_stream *io,
881 int rsnd_cmd_attach(struct rsnd_dai_stream *io, int id);