Home
last modified time | relevance | path

Searched refs:rsnd_mod (Results 1 – 13 of 13) sorted by relevance

/linux-5.19.10/sound/soc/sh/rcar/
Drsnd.h252 struct rsnd_mod;
259 u32 rsnd_mod_read(struct rsnd_mod *mod, enum rsnd_reg reg);
260 void rsnd_mod_write(struct rsnd_mod *mod, enum rsnd_reg reg, u32 data);
261 void rsnd_mod_bset(struct rsnd_mod *mod, enum rsnd_reg reg, u32 mask, u32 data);
262 u32 rsnd_get_adinr_bit(struct rsnd_mod *mod, struct rsnd_dai_stream *io);
263 u32 rsnd_get_dalign(struct rsnd_mod *mod, struct rsnd_dai_stream *io);
264 u32 rsnd_get_busif_shift(struct rsnd_dai_stream *io, struct rsnd_mod *mod);
270 struct rsnd_mod *mod, struct rsnd_mod **dma_mod);
273 struct rsnd_mod *mod, char *x);
298 struct rsnd_mod *mod);
[all …]
Ddma.c35 struct rsnd_mod mod;
36 struct rsnd_mod *mod_from;
37 struct rsnd_mod *mod_to;
63 static struct rsnd_mod mem = {
69 static void __rsnd_dmaen_complete(struct rsnd_mod *mod, in __rsnd_dmaen_complete()
78 struct rsnd_mod *mod = data; in rsnd_dmaen_complete()
84 struct rsnd_mod *mod_from, in rsnd_dmaen_request_channel()
85 struct rsnd_mod *mod_to) in rsnd_dmaen_request_channel()
97 static int rsnd_dmaen_stop(struct rsnd_mod *mod, in rsnd_dmaen_stop()
110 static int rsnd_dmaen_cleanup(struct rsnd_mod *mod, in rsnd_dmaen_cleanup()
[all …]
Dcmd.c11 struct rsnd_mod mod;
23 static int rsnd_cmd_init(struct rsnd_mod *mod, in rsnd_cmd_init()
27 struct rsnd_mod *dvc = rsnd_io_to_mod_dvc(io); in rsnd_cmd_init()
28 struct rsnd_mod *mix = rsnd_io_to_mod_mix(io); in rsnd_cmd_init()
56 struct rsnd_mod *src = rsnd_io_to_mod_src(tio); in rsnd_cmd_init()
68 struct rsnd_mod *src = rsnd_io_to_mod_src(io); in rsnd_cmd_init()
99 static int rsnd_cmd_start(struct rsnd_mod *mod, in rsnd_cmd_start()
108 static int rsnd_cmd_stop(struct rsnd_mod *mod, in rsnd_cmd_stop()
120 struct rsnd_mod *mod) in rsnd_cmd_debug_info()
139 static struct rsnd_mod *rsnd_cmd_mod_get(struct rsnd_priv *priv, int id) in rsnd_cmd_mod_get()
[all …]
Dssi.c80 struct rsnd_mod mod;
122 struct rsnd_mod *mod = rsnd_io_to_mod_ssi(io); in rsnd_ssi_use_busif()
137 static void rsnd_ssi_status_clear(struct rsnd_mod *mod) in rsnd_ssi_status_clear()
142 static u32 rsnd_ssi_status_get(struct rsnd_mod *mod) in rsnd_ssi_status_get()
147 static void rsnd_ssi_status_check(struct rsnd_mod *mod, in rsnd_ssi_status_check()
177 struct rsnd_mod *mod = rsnd_io_to_mod(io, types[i]); in rsnd_ssi_multi_secondaries()
190 struct rsnd_mod *ssi_mod = rsnd_io_to_mod_ssi(io); in rsnd_ssi_run_mods()
191 struct rsnd_mod *ssi_parent_mod = rsnd_io_to_mod_ssip(io); in rsnd_ssi_run_mods()
264 static int rsnd_ssi_master_clk_start(struct rsnd_mod *mod, in rsnd_ssi_master_clk_start()
338 static void rsnd_ssi_master_clk_stop(struct rsnd_mod *mod, in rsnd_ssi_master_clk_stop()
[all …]
Dssiu.c12 struct rsnd_mod mod;
51 static void rsnd_ssiu_busif_err_irq_ctrl(struct rsnd_mod *mod, int enable) in rsnd_ssiu_busif_err_irq_ctrl()
87 bool rsnd_ssiu_busif_err_status_clear(struct rsnd_mod *mod) in rsnd_ssiu_busif_err_status_clear()
131 static u32 *rsnd_ssiu_get_status(struct rsnd_mod *mod, in rsnd_ssiu_get_status()
141 static int rsnd_ssiu_init(struct rsnd_mod *mod, in rsnd_ssiu_init()
220 static int rsnd_ssiu_quit(struct rsnd_mod *mod, in rsnd_ssiu_quit()
237 static int rsnd_ssiu_init_gen2(struct rsnd_mod *mod, in rsnd_ssiu_init_gen2()
297 struct rsnd_mod *ssi_mod = rsnd_io_to_mod_ssi(io); in rsnd_ssiu_init_gen2()
298 struct rsnd_mod *pos; in rsnd_ssiu_init_gen2()
327 static int rsnd_ssiu_start_gen2(struct rsnd_mod *mod, in rsnd_ssiu_start_gen2()
[all …]
Dctu.c73 struct rsnd_mod mod;
95 static void rsnd_ctu_activation(struct rsnd_mod *mod) in rsnd_ctu_activation()
101 static void rsnd_ctu_halt(struct rsnd_mod *mod) in rsnd_ctu_halt()
107 static int rsnd_ctu_probe_(struct rsnd_mod *mod, in rsnd_ctu_probe_()
115 struct rsnd_mod *mod) in rsnd_ctu_value_init()
152 struct rsnd_mod *mod) in rsnd_ctu_value_reset()
170 static int rsnd_ctu_init(struct rsnd_mod *mod, in rsnd_ctu_init()
183 static int rsnd_ctu_quit(struct rsnd_mod *mod, in rsnd_ctu_quit()
194 static int rsnd_ctu_pcm_new(struct rsnd_mod *mod, in rsnd_ctu_pcm_new()
260 static int rsnd_ctu_id(struct rsnd_mod *mod) in rsnd_ctu_id()
[all …]
Dsrc.c33 struct rsnd_mod mod;
34 struct rsnd_mod *dma;
66 static void rsnd_src_activation(struct rsnd_mod *mod) in rsnd_src_activation()
72 static void rsnd_src_halt(struct rsnd_mod *mod) in rsnd_src_halt()
79 struct rsnd_mod *mod) in rsnd_src_dma_req()
90 struct rsnd_mod *mod) in rsnd_src_convert_rate()
117 struct rsnd_mod *src_mod = rsnd_io_to_mod_src(io); in rsnd_src_get_rate()
201 struct rsnd_mod *mod) in rsnd_src_set_convert_rate()
356 static int rsnd_src_irq(struct rsnd_mod *mod, in rsnd_src_irq()
395 static void rsnd_src_status_clear(struct rsnd_mod *mod) in rsnd_src_status_clear()
[all …]
Dmix.c39 struct rsnd_mod mod;
69 static void rsnd_mix_activation(struct rsnd_mod *mod) in rsnd_mix_activation()
75 static void rsnd_mix_halt(struct rsnd_mod *mod) in rsnd_mix_halt()
85 struct rsnd_mod *mod) in rsnd_mix_volume_parameter()
105 struct rsnd_mod *mod) in rsnd_mix_volume_init()
126 struct rsnd_mod *mod) in rsnd_mix_volume_update()
138 static int rsnd_mix_probe_(struct rsnd_mod *mod, in rsnd_mix_probe_()
145 static int rsnd_mix_init(struct rsnd_mod *mod, in rsnd_mix_init()
160 static int rsnd_mix_quit(struct rsnd_mod *mod, in rsnd_mix_quit()
171 static int rsnd_mix_pcm_new(struct rsnd_mod *mod, in rsnd_mix_pcm_new()
[all …]
Ddvc.c37 struct rsnd_mod mod;
57 static void rsnd_dvc_activation(struct rsnd_mod *mod) in rsnd_dvc_activation()
63 static void rsnd_dvc_halt(struct rsnd_mod *mod) in rsnd_dvc_halt()
74 struct rsnd_mod *mod) in rsnd_dvc_volume_parameter()
94 struct rsnd_mod *mod) in rsnd_dvc_volume_init()
144 struct rsnd_mod *mod) in rsnd_dvc_volume_update()
178 static int rsnd_dvc_probe_(struct rsnd_mod *mod, in rsnd_dvc_probe_()
185 static int rsnd_dvc_init(struct rsnd_mod *mod, in rsnd_dvc_init()
200 static int rsnd_dvc_quit(struct rsnd_mod *mod, in rsnd_dvc_quit()
211 static int rsnd_dvc_pcm_new(struct rsnd_mod *mod, in rsnd_dvc_pcm_new()
[all …]
Dcore.c114 void rsnd_mod_make_sure(struct rsnd_mod *mod, enum rsnd_mod_type type) in rsnd_mod_make_sure()
126 struct rsnd_mod *mod) in rsnd_mod_dma_req()
136 char *rsnd_mod_name(struct rsnd_mod *mod) in rsnd_mod_name()
165 u32 *rsnd_mod_get_status(struct rsnd_mod *mod, in rsnd_mod_get_status()
172 int rsnd_mod_id_raw(struct rsnd_mod *mod) in rsnd_mod_id_raw()
177 int rsnd_mod_id(struct rsnd_mod *mod) in rsnd_mod_id()
185 int rsnd_mod_id_sub(struct rsnd_mod *mod) in rsnd_mod_id_sub()
194 struct rsnd_mod *mod, in rsnd_mod_init()
214 void rsnd_mod_quit(struct rsnd_mod *mod) in rsnd_mod_quit()
220 void rsnd_mod_interrupt(struct rsnd_mod *mod, in rsnd_mod_interrupt()
[all …]
Dadg.c33 struct rsnd_mod mod;
84 struct rsnd_mod *ssi_mod = rsnd_io_to_mod_ssi(io); in rsnd_adg_ssi_ws_timing_gen2()
210 int rsnd_adg_set_cmd_timsel_gen2(struct rsnd_mod *cmd_mod, in rsnd_adg_set_cmd_timsel_gen2()
215 struct rsnd_mod *adg_mod = rsnd_mod_get(adg); in rsnd_adg_set_cmd_timsel_gen2()
233 int rsnd_adg_set_src_timesel_gen2(struct rsnd_mod *src_mod, in rsnd_adg_set_src_timesel_gen2()
240 struct rsnd_mod *adg_mod = rsnd_mod_get(adg); in rsnd_adg_set_src_timesel_gen2()
265 static void rsnd_adg_set_ssi_clk(struct rsnd_mod *ssi_mod, u32 val) in rsnd_adg_set_ssi_clk()
269 struct rsnd_mod *adg_mod = rsnd_mod_get(adg); in rsnd_adg_set_ssi_clk()
322 int rsnd_adg_ssi_clk_stop(struct rsnd_mod *ssi_mod) in rsnd_adg_ssi_clk_stop()
329 int rsnd_adg_ssi_clk_try_start(struct rsnd_mod *ssi_mod, unsigned int rate) in rsnd_adg_ssi_clk_try_start()
[all …]
Ddebugfs.c20 struct rsnd_mod *mod = rsnd_io_to_mod_ssi(io); in rsnd_debugfs_show()
56 void rsnd_debugfs_mod_reg_show(struct seq_file *m, struct rsnd_mod *mod, in rsnd_debugfs_mod_reg_show()
Dgen.c74 static int rsnd_mod_id_cmd(struct rsnd_mod *mod) in rsnd_mod_id_cmd()
82 u32 rsnd_mod_read(struct rsnd_mod *mod, enum rsnd_reg reg) in rsnd_mod_read()
101 void rsnd_mod_write(struct rsnd_mod *mod, in rsnd_mod_write()
118 void rsnd_mod_bset(struct rsnd_mod *mod, in rsnd_mod_bset()