Home
last modified time | relevance | path

Searched refs:rdai (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.6/sound/soc/sh/rcar/
Dcore.c226 struct rsnd_dai *rdai; in rsnd_mod_interrupt() local
229 for_each_rsnd_dai(rdai, priv, i) { in rsnd_mod_interrupt()
230 struct rsnd_dai_stream *io = &rdai->playback; in rsnd_mod_interrupt()
235 io = &rdai->capture; in rsnd_mod_interrupt()
312 struct rsnd_dai *rdai = rsnd_io_to_rdai(io); in rsnd_runtime_channel_for_ssi_with_params() local
319 chan /= rsnd_rdai_ssi_lane_get(rdai); in rsnd_runtime_channel_for_ssi_with_params()
326 struct rsnd_dai *rdai = rsnd_io_to_rdai(io); in rsnd_runtime_is_multi_ssi() local
327 int lane = rsnd_rdai_ssi_lane_get(rdai); in rsnd_runtime_is_multi_ssi()
611 int rsnd_rdai_channels_ctrl(struct rsnd_dai *rdai, in rsnd_rdai_channels_ctrl() argument
615 rdai->max_channels = max_channels; in rsnd_rdai_channels_ctrl()
[all …]
Drsnd.h463 void rsnd_parse_connect_common(struct rsnd_dai *rdai, char *name,
510 struct rsnd_dai *rdai; member
533 #define rsnd_io_to_rdai(io) ((io)->rdai)
562 #define rsnd_rdai_is_clk_master(rdai) ((rdai)->clk_master) argument
563 #define rsnd_rdai_to_priv(rdai) ((rdai)->priv) argument
564 #define for_each_rsnd_dai(rdai, priv, i) \ argument
567 ((rdai) = rsnd_rdai_get(priv, i)); \
572 #define rsnd_rdai_channels_set(rdai, max_channels) \ argument
573 rsnd_rdai_channels_ctrl(rdai, max_channels)
574 #define rsnd_rdai_channels_get(rdai) \ argument
[all …]
Dssi.c211 static u32 rsnd_rdai_width_to_swl(struct rsnd_dai *rdai) in rsnd_rdai_width_to_swl() argument
213 struct rsnd_priv *priv = rsnd_rdai_to_priv(rdai); in rsnd_rdai_width_to_swl()
215 int width = rsnd_rdai_width_get(rdai); in rsnd_rdai_width_to_swl()
227 unsigned int rsnd_ssi_clk_query(struct rsnd_dai *rdai, in rsnd_ssi_clk_query() argument
230 struct rsnd_priv *priv = rsnd_rdai_to_priv(rdai); in rsnd_ssi_clk_query()
236 int width = rsnd_rdai_width_get(rdai); in rsnd_ssi_clk_query()
269 struct rsnd_dai *rdai = rsnd_io_to_rdai(io); in rsnd_ssi_master_clk_start() local
278 if (!rsnd_rdai_is_clk_master(rdai)) in rsnd_ssi_master_clk_start()
307 main_rate = rsnd_ssi_clk_query(rdai, rate, chan, &idx); in rsnd_ssi_master_clk_start()
325 ssi->cr_clk = FORCE | rsnd_rdai_width_to_swl(rdai) | in rsnd_ssi_master_clk_start()
[all …]
Ddebugfs.c70 struct rsnd_dai *rdai; in rsnd_debugfs_probe() local
79 for_each_rsnd_dai(rdai, priv, i) { in rsnd_debugfs_probe()
89 debugfs_create_file("playback", 0444, dir, &rdai->playback, &rsnd_debugfs_fops); in rsnd_debugfs_probe()
90 debugfs_create_file("capture", 0444, dir, &rdai->capture, &rsnd_debugfs_fops); in rsnd_debugfs_probe()
Dcmd.c45 struct rsnd_dai *rdai; in rsnd_cmd_init() local
54 for_each_rsnd_dai(rdai, priv, i) { in rsnd_cmd_init()
55 struct rsnd_dai_stream *tio = &rdai->playback; in rsnd_cmd_init()
61 tio = &rdai->capture; in rsnd_cmd_init()
Dssiu.c146 struct rsnd_dai *rdai = rsnd_io_to_rdai(io); in rsnd_ssiu_init() local
150 int is_clk_master = rsnd_rdai_is_clk_master(rdai); in rsnd_ssiu_init()
469 void rsnd_parse_connect_ssiu(struct rsnd_dai *rdai, in rsnd_parse_connect_ssiu() argument
473 struct rsnd_priv *priv = rsnd_rdai_to_priv(rdai); in rsnd_parse_connect_ssiu()
476 struct rsnd_dai_stream *io_p = &rdai->playback; in rsnd_parse_connect_ssiu()
477 struct rsnd_dai_stream *io_c = &rdai->capture; in rsnd_parse_connect_ssiu()
Ddvc.c220 struct rsnd_dai *rdai = rsnd_io_to_rdai(io); in rsnd_dvc_pcm_new() local
222 int channels = rsnd_rdai_channels_get(rdai); in rsnd_dvc_pcm_new()