Lines Matching refs:io

206 u32 rsnd_get_adinr_bit(struct rsnd_mod *mod, struct rsnd_dai_stream *io);
207 u32 rsnd_get_dalign(struct rsnd_mod *mod, struct rsnd_dai_stream *io);
208 u32 rsnd_get_busif_shift(struct rsnd_dai_stream *io, struct rsnd_mod *mod);
213 int rsnd_dma_attach(struct rsnd_dai_stream *io,
241 struct dma_chan* (*dma_req)(struct rsnd_dai_stream *io,
244 struct rsnd_dai_stream *io,
247 struct rsnd_dai_stream *io,
250 struct rsnd_dai_stream *io,
253 struct rsnd_dai_stream *io,
256 struct rsnd_dai_stream *io,
259 struct rsnd_dai_stream *io,
262 struct rsnd_dai_stream *io,
265 struct rsnd_dai_stream *io,
268 struct rsnd_dai_stream *io,
272 struct rsnd_dai_stream *io,
275 struct rsnd_dai_stream *io,
278 struct rsnd_dai_stream *io,
281 struct rsnd_dai_stream *io,
284 struct rsnd_dai_stream *io,
295 u32 *(*get_status)(struct rsnd_dai_stream *io,
373 u32* (*get_status)(struct rsnd_dai_stream *io,
379 struct dma_chan *rsnd_mod_dma_req(struct rsnd_dai_stream *io,
383 struct rsnd_dai_stream *io));
384 u32 *rsnd_mod_get_status(struct rsnd_dai_stream *io,
388 struct rsnd_dai_stream *io,
391 #define for_each_rsnd_mod(iterator, pos, io) \ argument
393 (pos = rsnd_mod_next(&iterator, io, NULL, 0)); iterator++)
394 #define for_each_rsnd_mod_arrays(iterator, pos, io, array, size) \ argument
396 (pos = rsnd_mod_next(&iterator, io, array, size)); iterator++)
397 #define for_each_rsnd_mod_array(iterator, pos, io, array) \ argument
398 for_each_rsnd_mod_arrays(iterator, pos, io, array, ARRAY_SIZE(array))
406 #define rsnd_runtime_channel_original(io) \ argument
407 rsnd_runtime_channel_original_with_params(io, NULL)
408 int rsnd_runtime_channel_original_with_params(struct rsnd_dai_stream *io,
410 #define rsnd_runtime_channel_after_ctu(io) \ argument
411 rsnd_runtime_channel_after_ctu_with_params(io, NULL)
412 int rsnd_runtime_channel_after_ctu_with_params(struct rsnd_dai_stream *io,
414 #define rsnd_runtime_channel_for_ssi(io) \ argument
415 rsnd_runtime_channel_for_ssi_with_params(io, NULL)
416 int rsnd_runtime_channel_for_ssi_with_params(struct rsnd_dai_stream *io,
418 int rsnd_runtime_is_ssi_multi(struct rsnd_dai_stream *io);
419 int rsnd_runtime_is_ssi_tdm(struct rsnd_dai_stream *io);
445 #define rsnd_io_to_mod(io, i) ((i) < RSND_MOD_MAX ? (io)->mod[(i)] : NULL) argument
446 #define rsnd_io_to_mod_ssi(io) rsnd_io_to_mod((io), RSND_MOD_SSI) argument
447 #define rsnd_io_to_mod_ssiu(io) rsnd_io_to_mod((io), RSND_MOD_SSIU) argument
448 #define rsnd_io_to_mod_ssip(io) rsnd_io_to_mod((io), RSND_MOD_SSIP) argument
449 #define rsnd_io_to_mod_src(io) rsnd_io_to_mod((io), RSND_MOD_SRC) argument
450 #define rsnd_io_to_mod_ctu(io) rsnd_io_to_mod((io), RSND_MOD_CTU) argument
451 #define rsnd_io_to_mod_mix(io) rsnd_io_to_mod((io), RSND_MOD_MIX) argument
452 #define rsnd_io_to_mod_dvc(io) rsnd_io_to_mod((io), RSND_MOD_DVC) argument
453 #define rsnd_io_to_mod_cmd(io) rsnd_io_to_mod((io), RSND_MOD_CMD) argument
454 #define rsnd_io_to_rdai(io) ((io)->rdai) argument
455 #define rsnd_io_to_priv(io) (rsnd_rdai_to_priv(rsnd_io_to_rdai(io))) argument
456 #define rsnd_io_is_play(io) (&rsnd_io_to_rdai(io)->playback == io) argument
457 #define rsnd_io_to_runtime(io) ((io)->substream ? \ argument
458 (io)->substream->runtime : NULL)
459 int rsnd_io_is_working(struct rsnd_dai_stream *io);
503 void rsnd_dai_period_elapsed(struct rsnd_dai_stream *io);
505 struct rsnd_dai_stream *io,
526 struct rsnd_dai_stream *io,
530 struct rsnd_dai_stream *io);
632 int (*accept)(struct rsnd_dai_stream *io);
633 void (*update)(struct rsnd_dai_stream *io, struct rsnd_mod *mod);
634 struct rsnd_dai_stream *io; member
655 int rsnd_kctrl_accept_anytime(struct rsnd_dai_stream *io);
656 int rsnd_kctrl_accept_runtime(struct rsnd_dai_stream *io);
660 struct rsnd_dai_stream *io,
663 int (*accept)(struct rsnd_dai_stream *io),
664 void (*update)(struct rsnd_dai_stream *io,
671 #define rsnd_kctrl_new_m(mod, io, rtd, name, accept, update, cfg, size, max) \ argument
672 rsnd_kctrl_new(mod, io, rtd, name, accept, update, rsnd_kctrl_init_m(cfg), \
675 #define rsnd_kctrl_new_s(mod, io, rtd, name, accept, update, cfg, max) \ argument
676 rsnd_kctrl_new(mod, io, rtd, name, accept, update, rsnd_kctrl_init_s(cfg), \
679 #define rsnd_kctrl_new_e(mod, io, rtd, name, accept, update, cfg, texts, size) \ argument
680 rsnd_kctrl_new(mod, io, rtd, name, accept, update, rsnd_kctrl_init_s(cfg), \
694 int rsnd_ssi_use_busif(struct rsnd_dai_stream *io);
695 u32 rsnd_ssi_multi_slaves_runtime(struct rsnd_dai_stream *io);
699 int rsnd_ssi_hdmi_port(struct rsnd_dai_stream *io);
704 #define rsnd_ssi_is_pin_sharing(io) \ argument
705 __rsnd_ssi_is_pin_sharing(rsnd_io_to_mod_ssi(io))
718 int rsnd_ssiu_attach(struct rsnd_dai_stream *io,
730 #define rsnd_src_get_in_rate(priv, io) rsnd_src_get_rate(priv, io, 1) argument
731 #define rsnd_src_get_out_rate(priv, io) rsnd_src_get_rate(priv, io, 0) argument
733 struct rsnd_dai_stream *io,
784 int rsnd_cmd_attach(struct rsnd_dai_stream *io, int id);