Home
last modified time | relevance | path

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

/linux-6.3-rc2/sound/soc/sh/rcar/
A Dcore.c799 rdai->frm_clk_inv = !rdai->frm_clk_inv; in rsnd_soc_dai_set_fmt()
802 rdai->bit_clk_inv = !rdai->bit_clk_inv; in rsnd_soc_dai_set_fmt()
805 rdai->bit_clk_inv = !rdai->bit_clk_inv; in rsnd_soc_dai_set_fmt()
806 rdai->frm_clk_inv = !rdai->frm_clk_inv; in rsnd_soc_dai_set_fmt()
1027 is_play ? &rdai->playback : &rdai->capture, in rsnd_soc_dai_startup()
1031 is_play ? &rdai->playback : &rdai->capture, in rsnd_soc_dai_startup()
1377 rdai->priv = priv; in __rsnd_dai_probe()
1382 io_playback->rdai = rdai; in __rsnd_dai_probe()
1383 io_capture->rdai = rdai; in __rsnd_dai_probe()
1463 rdai = devm_kcalloc(dev, nr, sizeof(*rdai), GFP_KERNEL); in rsnd_dai_probe()
[all …]
A Drsnd.h510 struct rsnd_dai *rdai; member
561 #define rsnd_rdai_is_clk_master(rdai) ((rdai)->clk_master) argument
562 #define rsnd_rdai_to_priv(rdai) ((rdai)->priv) argument
573 #define rsnd_rdai_channels_get(rdai) \ argument
574 rsnd_rdai_channels_ctrl(rdai, 0)
580 #define rsnd_rdai_ssi_lane_get(rdai) \ argument
581 rsnd_rdai_ssi_lane_ctrl(rdai, 0)
586 rsnd_rdai_width_ctrl(rdai, width)
587 #define rsnd_rdai_width_get(rdai) \ argument
588 rsnd_rdai_width_ctrl(rdai, 0)
[all …]
A Dssi.c215 int width = rsnd_rdai_width_get(rdai); in rsnd_rdai_width_to_swl()
236 int width = rsnd_rdai_width_get(rdai); in rsnd_ssi_clk_query()
278 if (!rsnd_rdai_is_clk_master(rdai)) in rsnd_ssi_master_clk_start()
347 if (!rsnd_rdai_is_clk_master(rdai)) in rsnd_ssi_master_clk_stop()
387 if (rdai->bit_clk_inv) in rsnd_ssi_config_init()
389 if (rdai->frm_clk_inv && !is_tdm) in rsnd_ssi_config_init()
391 if (rdai->data_alignment) in rsnd_ssi_config_init()
393 if (rdai->sys_delay) in rsnd_ssi_config_init()
538 if (fmt_width > rdai->chan_width) { in rsnd_ssi_hw_params()
770 if (!rsnd_rdai_is_clk_master(rdai)) in rsnd_ssi_parent_attach()
[all …]
A 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()
A 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()
A 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()
A 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()

Completed in 24 milliseconds