Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/sh/rcar/
H 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()
1414 rdai->priv = priv; in __rsnd_dai_probe()
1420 io_playback->rdai = rdai; in __rsnd_dai_probe()
1421 io_capture->rdai = rdai; in __rsnd_dai_probe()
1495 rdai = devm_kcalloc(dev, nr, sizeof(*rdai), GFP_KERNEL); in rsnd_dai_probe()
[all …]
H A Drsnd.h510 struct rsnd_dai *rdai; member
562 #define rsnd_rdai_is_clk_master(rdai) ((rdai)->clk_master) argument
563 #define rsnd_rdai_to_priv(rdai) ((rdai)->priv) argument
574 #define rsnd_rdai_channels_get(rdai) \ argument
575 rsnd_rdai_channels_ctrl(rdai, 0)
581 #define rsnd_rdai_ssi_lane_get(rdai) \ argument
582 rsnd_rdai_ssi_lane_ctrl(rdai, 0)
587 rsnd_rdai_width_ctrl(rdai, width)
588 #define rsnd_rdai_width_get(rdai) \ argument
589 rsnd_rdai_width_ctrl(rdai, 0)
[all …]
H 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 …]
H 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()
H 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()
H 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()
H 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()