Home
last modified time | relevance | path

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

/linux/sound/soc/sh/rcar/
A Dcore.c798 rdai->frm_clk_inv = !rdai->frm_clk_inv; in rsnd_soc_dai_set_fmt()
801 rdai->bit_clk_inv = !rdai->bit_clk_inv; in rsnd_soc_dai_set_fmt()
804 rdai->bit_clk_inv = !rdai->bit_clk_inv; in rsnd_soc_dai_set_fmt()
805 rdai->frm_clk_inv = !rdai->frm_clk_inv; in rsnd_soc_dai_set_fmt()
1006 is_play ? &rdai->playback : &rdai->capture, in rsnd_soc_dai_startup()
1010 is_play ? &rdai->playback : &rdai->capture, in rsnd_soc_dai_startup()
1350 rdai->priv = priv; in __rsnd_dai_probe()
1371 io_playback->rdai = rdai; in __rsnd_dai_probe()
1372 io_capture->rdai = rdai; in __rsnd_dai_probe()
1427 rdai = devm_kcalloc(dev, nr, sizeof(*rdai), GFP_KERNEL); in rsnd_dai_probe()
[all …]
A Drsnd.h504 struct rsnd_dai *rdai; member
554 #define rsnd_rdai_is_clk_master(rdai) ((rdai)->clk_master) argument
555 #define rsnd_rdai_to_priv(rdai) ((rdai)->priv) argument
566 #define rsnd_rdai_channels_get(rdai) \ argument
567 rsnd_rdai_channels_ctrl(rdai, 0)
573 #define rsnd_rdai_ssi_lane_get(rdai) \ argument
574 rsnd_rdai_ssi_lane_ctrl(rdai, 0)
579 rsnd_rdai_width_ctrl(rdai, width)
580 #define rsnd_rdai_width_get(rdai) \ argument
581 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()
344 if (!rsnd_rdai_is_clk_master(rdai)) in rsnd_ssi_master_clk_stop()
384 if (rdai->bit_clk_inv) in rsnd_ssi_config_init()
386 if (rdai->frm_clk_inv && !is_tdm) in rsnd_ssi_config_init()
388 if (rdai->data_alignment) in rsnd_ssi_config_init()
390 if (rdai->sys_delay) in rsnd_ssi_config_init()
533 if (fmt_width > rdai->chan_width) { in rsnd_ssi_hw_params()
765 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.c141 struct rsnd_dai *rdai = rsnd_io_to_rdai(io); in rsnd_ssiu_init() local
145 int is_clk_master = rsnd_rdai_is_clk_master(rdai); in rsnd_ssiu_init()
458 void rsnd_parse_connect_ssiu(struct rsnd_dai *rdai, in rsnd_parse_connect_ssiu() argument
462 struct rsnd_priv *priv = rsnd_rdai_to_priv(rdai); in rsnd_parse_connect_ssiu()
464 struct rsnd_dai_stream *io_p = &rdai->playback; in rsnd_parse_connect_ssiu()
465 struct rsnd_dai_stream *io_c = &rdai->capture; in rsnd_parse_connect_ssiu()
A Ddvc.c216 struct rsnd_dai *rdai = rsnd_io_to_rdai(io); in rsnd_dvc_pcm_new() local
218 int channels = rsnd_rdai_channels_get(rdai); in rsnd_dvc_pcm_new()

Completed in 39 milliseconds