Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/sound/soc/sh/rcar/
Dcore.c234 struct rsnd_dai *rdai; in rsnd_mod_interrupt() local
237 for_each_rsnd_dai(rdai, priv, i) { in rsnd_mod_interrupt()
238 io = &rdai->playback; in rsnd_mod_interrupt()
242 io = &rdai->capture; in rsnd_mod_interrupt()
318 struct rsnd_dai *rdai = rsnd_io_to_rdai(io); in rsnd_runtime_channel_for_ssi_with_params() local
325 chan /= rsnd_rdai_ssi_lane_get(rdai); in rsnd_runtime_channel_for_ssi_with_params()
332 struct rsnd_dai *rdai = rsnd_io_to_rdai(io); in rsnd_runtime_is_multi_ssi() local
333 int lane = rsnd_rdai_ssi_lane_get(rdai); in rsnd_runtime_is_multi_ssi()
615 int rsnd_rdai_channels_ctrl(struct rsnd_dai *rdai, in rsnd_rdai_channels_ctrl() argument
619 rdai->max_channels = max_channels; in rsnd_rdai_channels_ctrl()
[all …]
Drsnd.h458 void rsnd_parse_connect_common(struct rsnd_dai *rdai,
503 struct rsnd_dai *rdai; member
525 #define rsnd_io_to_rdai(io) ((io)->rdai)
553 #define rsnd_rdai_is_clk_master(rdai) ((rdai)->clk_master) argument
554 #define rsnd_rdai_to_priv(rdai) ((rdai)->priv) argument
555 #define for_each_rsnd_dai(rdai, priv, i) \ argument
558 ((rdai) = rsnd_rdai_get(priv, i)); \
563 #define rsnd_rdai_channels_set(rdai, max_channels) \ argument
564 rsnd_rdai_channels_ctrl(rdai, max_channels)
565 #define rsnd_rdai_channels_get(rdai) \ argument
[all …]
Dssi.c213 static u32 rsnd_rdai_width_to_swl(struct rsnd_dai *rdai) in rsnd_rdai_width_to_swl() argument
215 struct rsnd_priv *priv = rsnd_rdai_to_priv(rdai); in rsnd_rdai_width_to_swl()
217 int width = rsnd_rdai_width_get(rdai); in rsnd_rdai_width_to_swl()
229 unsigned int rsnd_ssi_clk_query(struct rsnd_dai *rdai, in rsnd_ssi_clk_query() argument
232 struct rsnd_priv *priv = rsnd_rdai_to_priv(rdai); in rsnd_ssi_clk_query()
238 int width = rsnd_rdai_width_get(rdai); in rsnd_ssi_clk_query()
271 struct rsnd_dai *rdai = rsnd_io_to_rdai(io); in rsnd_ssi_master_clk_start() local
280 if (!rsnd_rdai_is_clk_master(rdai)) in rsnd_ssi_master_clk_start()
308 main_rate = rsnd_ssi_clk_query(rdai, rate, chan, &idx); in rsnd_ssi_master_clk_start()
328 ssi->cr_clk = FORCE | rsnd_rdai_width_to_swl(rdai) | in rsnd_ssi_master_clk_start()
[all …]
Dcmd.c45 struct rsnd_dai *rdai; in rsnd_cmd_init() local
56 for_each_rsnd_dai(rdai, priv, i) { in rsnd_cmd_init()
57 tio = &rdai->playback; in rsnd_cmd_init()
62 tio = &rdai->capture; in rsnd_cmd_init()
Dssiu.c62 struct rsnd_dai *rdai = rsnd_io_to_rdai(io); in rsnd_ssiu_init() local
66 int is_clk_master = rsnd_rdai_is_clk_master(rdai); in rsnd_ssiu_init()
356 void rsnd_parse_connect_ssiu(struct rsnd_dai *rdai, in rsnd_parse_connect_ssiu() argument
360 struct rsnd_priv *priv = rsnd_rdai_to_priv(rdai); in rsnd_parse_connect_ssiu()
364 struct rsnd_dai_stream *io_p = &rdai->playback; in rsnd_parse_connect_ssiu()
365 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()