Home
last modified time | relevance | path

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

/linux/sound/soc/sh/rcar/
H A Drsnd.h246 struct rsnd_mod;
253 u32 rsnd_mod_read(struct rsnd_mod *mod, enum rsnd_reg reg);
254 void rsnd_mod_write(struct rsnd_mod *mod, enum rsnd_reg reg, u32 data);
255 void rsnd_mod_bset(struct rsnd_mod *mod, enum rsnd_reg reg, u32 mask, u32 data);
256 u32 rsnd_get_adinr_bit(struct rsnd_mod *mod, struct rsnd_dai_stream *io);
257 u32 rsnd_get_dalign(struct rsnd_mod *mod, struct rsnd_dai_stream *io);
258 u32 rsnd_get_busif_shift(struct rsnd_dai_stream *io, struct rsnd_mod *mod);
264 struct rsnd_mod *mod, struct rsnd_mod **dma_mod);
267 struct rsnd_mod *mod, char *x);
292 struct rsnd_mod *mod);
[all …]
H A Ddma.c34 struct rsnd_mod mod;
35 struct rsnd_mod *mod_from;
36 struct rsnd_mod *mod_to;
62 static struct rsnd_mod mem = {
69 struct rsnd_mod *mod_from, in rsnd_dmaen_request_channel()
70 struct rsnd_mod *mod_to) in rsnd_dmaen_request_channel()
82 static int rsnd_dmaen_stop(struct rsnd_mod *mod, in rsnd_dmaen_stop()
89 static int rsnd_dmaen_cleanup(struct rsnd_mod *mod, in rsnd_dmaen_cleanup()
109 static int rsnd_dmaen_prepare(struct rsnd_mod *mod, in rsnd_dmaen_prepare()
138 static int rsnd_dmaen_start(struct rsnd_mod *mod, in rsnd_dmaen_start()
[all …]
H A 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 …]
H A Dssi.c82 struct rsnd_mod mod;
124 struct rsnd_mod *mod = rsnd_io_to_mod_ssi(io); in rsnd_ssi_use_busif()
139 static void rsnd_ssi_status_clear(struct rsnd_mod *mod) in rsnd_ssi_status_clear()
144 static u32 rsnd_ssi_status_get(struct rsnd_mod *mod) in rsnd_ssi_status_get()
149 static void rsnd_ssi_status_check(struct rsnd_mod *mod, in rsnd_ssi_status_check()
179 struct rsnd_mod *mod = rsnd_io_to_mod(io, types[i]); in rsnd_ssi_multi_secondaries()
192 struct rsnd_mod *ssi_mod = rsnd_io_to_mod_ssi(io); in rsnd_ssi_run_mods()
193 struct rsnd_mod *ssi_parent_mod = rsnd_io_to_mod_ssip(io); in rsnd_ssi_run_mods()
266 static int rsnd_ssi_master_clk_start(struct rsnd_mod *mod, in rsnd_ssi_master_clk_start()
343 static void rsnd_ssi_master_clk_stop(struct rsnd_mod *mod, in rsnd_ssi_master_clk_stop()
[all …]
H A 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()
187 static int rsnd_ctu_quit(struct rsnd_mod *mod, in rsnd_ctu_quit()
198 static int rsnd_ctu_pcm_new(struct rsnd_mod *mod, in rsnd_ctu_pcm_new()
264 static int rsnd_ctu_id(struct rsnd_mod *mod) in rsnd_ctu_id()
[all …]
H A Dsrc.c34 struct rsnd_mod mod;
35 struct rsnd_mod *dma;
67 static void rsnd_src_activation(struct rsnd_mod *mod) in rsnd_src_activation()
73 static void rsnd_src_halt(struct rsnd_mod *mod) in rsnd_src_halt()
80 struct rsnd_mod *mod) in rsnd_src_dma_req()
91 struct rsnd_mod *mod) in rsnd_src_convert_rate()
118 struct rsnd_mod *src_mod = rsnd_io_to_mod_src(io); in rsnd_src_get_rate()
202 struct rsnd_mod *mod) in rsnd_src_set_convert_rate()
357 static int rsnd_src_irq(struct rsnd_mod *mod, in rsnd_src_irq()
396 static void rsnd_src_status_clear(struct rsnd_mod *mod) in rsnd_src_status_clear()
[all …]
H A Dssiu.c12 struct rsnd_mod mod;
52 static void rsnd_ssiu_busif_err_irq_ctrl(struct rsnd_mod *mod, int enable) in rsnd_ssiu_busif_err_irq_ctrl()
88 bool rsnd_ssiu_busif_err_status_clear(struct rsnd_mod *mod) in rsnd_ssiu_busif_err_status_clear()
132 static u32 *rsnd_ssiu_get_status(struct rsnd_mod *mod, in rsnd_ssiu_get_status()
142 static int rsnd_ssiu_init(struct rsnd_mod *mod, in rsnd_ssiu_init()
226 static int rsnd_ssiu_quit(struct rsnd_mod *mod, in rsnd_ssiu_quit()
243 static int rsnd_ssiu_init_gen2(struct rsnd_mod *mod, in rsnd_ssiu_init_gen2()
303 struct rsnd_mod *ssi_mod = rsnd_io_to_mod_ssi(io); in rsnd_ssiu_init_gen2()
304 struct rsnd_mod *pos; in rsnd_ssiu_init_gen2()
333 static int rsnd_ssiu_start_gen2(struct rsnd_mod *mod, in rsnd_ssiu_start_gen2()
[all …]
H A 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()
164 static int rsnd_mix_quit(struct rsnd_mod *mod, in rsnd_mix_quit()
175 static int rsnd_mix_pcm_new(struct rsnd_mod *mod, in rsnd_mix_pcm_new()
[all …]
H A 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()
204 static int rsnd_dvc_quit(struct rsnd_mod *mod, in rsnd_dvc_quit()
215 static int rsnd_dvc_pcm_new(struct rsnd_mod *mod, in rsnd_dvc_pcm_new()
[all …]
H A Dcore.c116 void rsnd_mod_make_sure(struct rsnd_mod *mod, enum rsnd_mod_type type) in rsnd_mod_make_sure()
128 struct rsnd_mod *mod) in rsnd_mod_dma_req()
138 char *rsnd_mod_name(struct rsnd_mod *mod) in rsnd_mod_name()
167 u32 *rsnd_mod_get_status(struct rsnd_mod *mod, in rsnd_mod_get_status()
174 int rsnd_mod_id_raw(struct rsnd_mod *mod) in rsnd_mod_id_raw()
179 int rsnd_mod_id(struct rsnd_mod *mod) in rsnd_mod_id()
187 int rsnd_mod_id_sub(struct rsnd_mod *mod) in rsnd_mod_id_sub()
196 struct rsnd_mod *mod, in rsnd_mod_init()
216 void rsnd_mod_quit(struct rsnd_mod *mod) in rsnd_mod_quit()
222 void rsnd_mod_interrupt(struct rsnd_mod *mod, in rsnd_mod_interrupt()
[all …]
H A Dadg.c37 struct rsnd_mod mod;
96 struct rsnd_mod *ssi_mod = rsnd_io_to_mod_ssi(io); in rsnd_adg_ssi_ws_timing_gen2()
229 int rsnd_adg_set_cmd_timsel_gen2(struct rsnd_mod *cmd_mod, in rsnd_adg_set_cmd_timsel_gen2()
234 struct rsnd_mod *adg_mod = rsnd_mod_get(adg); in rsnd_adg_set_cmd_timsel_gen2()
252 int rsnd_adg_set_src_timesel_gen2(struct rsnd_mod *src_mod, in rsnd_adg_set_src_timesel_gen2()
259 struct rsnd_mod *adg_mod = rsnd_mod_get(adg); in rsnd_adg_set_src_timesel_gen2()
284 static void rsnd_adg_set_ssi_clk(struct rsnd_mod *ssi_mod, u32 val) in rsnd_adg_set_ssi_clk()
288 struct rsnd_mod *adg_mod = rsnd_mod_get(adg); in rsnd_adg_set_ssi_clk()
342 int rsnd_adg_ssi_clk_stop(struct rsnd_mod *ssi_mod) in rsnd_adg_ssi_clk_stop()
349 int rsnd_adg_ssi_clk_try_start(struct rsnd_mod *ssi_mod, unsigned int rate) in rsnd_adg_ssi_clk_try_start()
[all …]
H A 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()
H A 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()