/sound/soc/sh/rcar/ |
D | rsnd.h | 188 struct rsnd_mod; 202 u32 rsnd_read(struct rsnd_priv *priv, struct rsnd_mod *mod, enum rsnd_reg reg); 203 void rsnd_write(struct rsnd_priv *priv, struct rsnd_mod *mod, 205 void rsnd_force_write(struct rsnd_priv *priv, struct rsnd_mod *mod, 207 void rsnd_bset(struct rsnd_priv *priv, struct rsnd_mod *mod, enum rsnd_reg reg, 209 u32 rsnd_get_adinr_bit(struct rsnd_mod *mod, struct rsnd_dai_stream *io); 210 u32 rsnd_get_dalign(struct rsnd_mod *mod, struct rsnd_dai_stream *io); 211 u32 rsnd_get_busif_shift(struct rsnd_dai_stream *io, struct rsnd_mod *mod); 217 struct rsnd_mod *mod, struct rsnd_mod **dma_mod); 220 struct rsnd_mod *mod, char *name); [all …]
|
D | dma.c | 41 struct rsnd_mod mod; 42 struct rsnd_mod *mod_from; 43 struct rsnd_mod *mod_to; 92 static void __rsnd_dmaen_complete(struct rsnd_mod *mod, in __rsnd_dmaen_complete() 134 struct rsnd_mod *mod = data; in rsnd_dmaen_complete() 140 struct rsnd_mod *mod_from, in rsnd_dmaen_request_channel() 141 struct rsnd_mod *mod_to) in rsnd_dmaen_request_channel() 153 static int rsnd_dmaen_stop(struct rsnd_mod *mod, in rsnd_dmaen_stop() 172 static int rsnd_dmaen_nolock_stop(struct rsnd_mod *mod, in rsnd_dmaen_nolock_stop() 192 static int rsnd_dmaen_nolock_start(struct rsnd_mod *mod, in rsnd_dmaen_nolock_start() [all …]
|
D | ssi.c | 68 struct rsnd_mod mod; 115 struct rsnd_mod *mod = rsnd_io_to_mod_ssi(io); in rsnd_ssi_hdmi_port() 129 struct rsnd_mod *mod = rsnd_io_to_mod_ssi(io); in rsnd_ssi_use_busif() 144 static void rsnd_ssi_status_clear(struct rsnd_mod *mod) in rsnd_ssi_status_clear() 149 static u32 rsnd_ssi_status_get(struct rsnd_mod *mod) in rsnd_ssi_status_get() 154 static void rsnd_ssi_status_check(struct rsnd_mod *mod, in rsnd_ssi_status_check() 176 struct rsnd_mod *mod; in rsnd_ssi_multi_slaves() 198 struct rsnd_mod *ssi_mod = rsnd_io_to_mod_ssi(io); in rsnd_ssi_run_mods() 199 struct rsnd_mod *ssi_parent_mod = rsnd_io_to_mod_ssip(io); in rsnd_ssi_run_mods() 259 static int rsnd_ssi_master_clk_start(struct rsnd_mod *mod, in rsnd_ssi_master_clk_start() [all …]
|
D | cmd.c | 14 struct rsnd_mod mod; 26 static int rsnd_cmd_init(struct rsnd_mod *mod, in rsnd_cmd_init() 30 struct rsnd_mod *dvc = rsnd_io_to_mod_dvc(io); in rsnd_cmd_init() 31 struct rsnd_mod *mix = rsnd_io_to_mod_mix(io); in rsnd_cmd_init() 49 struct rsnd_mod *src; in rsnd_cmd_init() 72 struct rsnd_mod *src = rsnd_io_to_mod_src(io); in rsnd_cmd_init() 103 static int rsnd_cmd_start(struct rsnd_mod *mod, in rsnd_cmd_start() 112 static int rsnd_cmd_stop(struct rsnd_mod *mod, in rsnd_cmd_stop() 131 struct rsnd_mod *mod = rsnd_cmd_mod_get(priv, id); in rsnd_cmd_attach() 136 struct rsnd_mod *rsnd_cmd_mod_get(struct rsnd_priv *priv, int id) in rsnd_cmd_mod_get()
|
D | src.c | 19 struct rsnd_mod mod; 20 struct rsnd_mod *dma; 53 static void rsnd_src_activation(struct rsnd_mod *mod) in rsnd_src_activation() 59 static void rsnd_src_halt(struct rsnd_mod *mod) in rsnd_src_halt() 66 struct rsnd_mod *mod) in rsnd_src_dma_req() 77 struct rsnd_mod *mod) in rsnd_src_convert_rate() 104 struct rsnd_mod *src_mod = rsnd_io_to_mod_src(io); in rsnd_src_get_rate() 133 static int rsnd_src_hw_params(struct rsnd_mod *mod, in rsnd_src_hw_params() 168 struct rsnd_mod *mod) in rsnd_src_set_convert_rate() 279 static int rsnd_src_irq(struct rsnd_mod *mod, in rsnd_src_irq() [all …]
|
D | mix.c | 16 struct rsnd_mod mod; 27 static void rsnd_mix_activation(struct rsnd_mod *mod) in rsnd_mix_activation() 33 static void rsnd_mix_halt(struct rsnd_mod *mod) in rsnd_mix_halt() 40 struct rsnd_mod *mod) in rsnd_mix_volume_parameter() 49 struct rsnd_mod *mod) in rsnd_mix_volume_init() 67 struct rsnd_mod *mod) in rsnd_mix_volume_update() 79 static int rsnd_mix_probe_(struct rsnd_mod *mod, in rsnd_mix_probe_() 86 static int rsnd_mix_init(struct rsnd_mod *mod, in rsnd_mix_init() 101 static int rsnd_mix_quit(struct rsnd_mod *mod, in rsnd_mix_quit() 119 struct rsnd_mod *rsnd_mix_mod_get(struct rsnd_priv *priv, int id) in rsnd_mix_mod_get()
|
D | ssiu.c | 15 struct rsnd_mod mod; 25 static int rsnd_ssiu_init(struct rsnd_mod *mod, in rsnd_ssiu_init() 122 static int rsnd_ssiu_init_gen2(struct rsnd_mod *mod, in rsnd_ssiu_init_gen2() 160 struct rsnd_mod *ssi_mod = rsnd_io_to_mod_ssi(io); in rsnd_ssiu_init_gen2() 161 struct rsnd_mod *pos; in rsnd_ssiu_init_gen2() 193 static int rsnd_ssiu_start_gen2(struct rsnd_mod *mod, in rsnd_ssiu_start_gen2() 208 static int rsnd_ssiu_stop_gen2(struct rsnd_mod *mod, in rsnd_ssiu_stop_gen2() 230 static struct rsnd_mod *rsnd_ssiu_mod_get(struct rsnd_priv *priv, int id) in rsnd_ssiu_mod_get() 239 struct rsnd_mod *ssi_mod) in rsnd_ssiu_attach() 242 struct rsnd_mod *mod = rsnd_ssiu_mod_get(priv, rsnd_mod_id(ssi_mod)); in rsnd_ssiu_attach()
|
D | dvc.c | 41 struct rsnd_mod mod; 88 static void rsnd_dvc_activation(struct rsnd_mod *mod) in rsnd_dvc_activation() 94 static void rsnd_dvc_halt(struct rsnd_mod *mod) in rsnd_dvc_halt() 104 struct rsnd_mod *mod) in rsnd_dvc_volume_parameter() 130 struct rsnd_mod *mod) in rsnd_dvc_volume_init() 180 struct rsnd_mod *mod) in rsnd_dvc_volume_update() 214 static int rsnd_dvc_probe_(struct rsnd_mod *mod, in rsnd_dvc_probe_() 221 static int rsnd_dvc_init(struct rsnd_mod *mod, in rsnd_dvc_init() 236 static int rsnd_dvc_quit(struct rsnd_mod *mod, in rsnd_dvc_quit() 247 static int rsnd_dvc_pcm_new(struct rsnd_mod *mod, in rsnd_dvc_pcm_new() [all …]
|
D | ctu.c | 76 struct rsnd_mod mod; 98 static void rsnd_ctu_activation(struct rsnd_mod *mod) in rsnd_ctu_activation() 104 static void rsnd_ctu_halt(struct rsnd_mod *mod) in rsnd_ctu_halt() 110 int rsnd_ctu_converted_channel(struct rsnd_mod *mod) in rsnd_ctu_converted_channel() 117 static int rsnd_ctu_probe_(struct rsnd_mod *mod, in rsnd_ctu_probe_() 125 struct rsnd_mod *mod) in rsnd_ctu_value_init() 194 struct rsnd_mod *mod) in rsnd_ctu_value_reset() 212 static int rsnd_ctu_init(struct rsnd_mod *mod, in rsnd_ctu_init() 225 static int rsnd_ctu_quit(struct rsnd_mod *mod, in rsnd_ctu_quit() 236 static int rsnd_ctu_hw_params(struct rsnd_mod *mod, in rsnd_ctu_hw_params() [all …]
|
D | core.c | 113 void rsnd_mod_make_sure(struct rsnd_mod *mod, enum rsnd_mod_type type) in rsnd_mod_make_sure() 124 char *rsnd_mod_name(struct rsnd_mod *mod) in rsnd_mod_name() 133 struct rsnd_mod *mod) in rsnd_mod_dma_req() 142 struct rsnd_mod *mod, in rsnd_mod_get_status() 149 struct rsnd_mod *mod, in rsnd_mod_init() 153 struct rsnd_mod *mod, in rsnd_mod_init() 173 void rsnd_mod_quit(struct rsnd_mod *mod) in rsnd_mod_quit() 180 void rsnd_mod_interrupt(struct rsnd_mod *mod, in rsnd_mod_interrupt() 181 void (*callback)(struct rsnd_mod *mod, in rsnd_mod_interrupt() 216 struct rsnd_mod *ctu_mod = rsnd_io_to_mod_ctu(io); in rsnd_runtime_channel_after_ctu() [all …]
|
D | adg.c | 35 struct rsnd_mod mod; 80 struct rsnd_mod *ssi_mod = rsnd_io_to_mod_ssi(io); in rsnd_adg_ssi_ws_timing_gen2() 204 int rsnd_adg_set_cmd_timsel_gen2(struct rsnd_mod *cmd_mod, in rsnd_adg_set_cmd_timsel_gen2() 209 struct rsnd_mod *adg_mod = rsnd_mod_get(adg); in rsnd_adg_set_cmd_timsel_gen2() 227 int rsnd_adg_set_src_timesel_gen2(struct rsnd_mod *src_mod, in rsnd_adg_set_src_timesel_gen2() 234 struct rsnd_mod *adg_mod = rsnd_mod_get(adg); in rsnd_adg_set_src_timesel_gen2() 279 static void rsnd_adg_set_ssi_clk(struct rsnd_mod *ssi_mod, u32 val) in rsnd_adg_set_ssi_clk() 283 struct rsnd_mod *adg_mod = rsnd_mod_get(adg); in rsnd_adg_set_ssi_clk() 348 int rsnd_adg_ssi_clk_stop(struct rsnd_mod *ssi_mod) in rsnd_adg_ssi_clk_stop() 355 int rsnd_adg_ssi_clk_try_start(struct rsnd_mod *ssi_mod, unsigned int rate) in rsnd_adg_ssi_clk_try_start() [all …]
|
D | gen.c | 79 struct rsnd_mod *mod, enum rsnd_reg reg) in rsnd_read() 98 struct rsnd_mod *mod, in rsnd_write() 114 void rsnd_bset(struct rsnd_priv *priv, struct rsnd_mod *mod, in rsnd_bset()
|