/sound/soc/sh/rcar/ |
D | rsnd.h | 252 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 *name); 298 struct rsnd_mod *mod); [all …]
|
D | dma.c | 35 struct rsnd_mod mod; 36 struct rsnd_mod *mod_from; 37 struct rsnd_mod *mod_to; 62 static struct rsnd_mod mem = { 68 static void __rsnd_dmaen_complete(struct rsnd_mod *mod, in __rsnd_dmaen_complete() 77 struct rsnd_mod *mod = data; in rsnd_dmaen_complete() 83 struct rsnd_mod *mod_from, in rsnd_dmaen_request_channel() 84 struct rsnd_mod *mod_to) in rsnd_dmaen_request_channel() 96 static int rsnd_dmaen_stop(struct rsnd_mod *mod, in rsnd_dmaen_stop() 109 static int rsnd_dmaen_cleanup(struct rsnd_mod *mod, in rsnd_dmaen_cleanup() [all …]
|
D | ssi.c | 80 struct rsnd_mod mod; 120 static int rsnd_ssi_is_dma_mode(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() 170 struct rsnd_mod *mod; in rsnd_ssi_multi_slaves() 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() [all …]
|
D | cmd.c | 11 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() 46 struct rsnd_mod *src; in rsnd_cmd_init() 69 struct rsnd_mod *src = rsnd_io_to_mod_src(io); in rsnd_cmd_init() 100 static int rsnd_cmd_start(struct rsnd_mod *mod, in rsnd_cmd_start() 109 static int rsnd_cmd_stop(struct rsnd_mod *mod, in rsnd_cmd_stop() 126 static struct rsnd_mod *rsnd_cmd_mod_get(struct rsnd_priv *priv, int id) in rsnd_cmd_mod_get() 136 struct rsnd_mod *mod = rsnd_cmd_mod_get(priv, id); in rsnd_cmd_attach()
|
D | src.c | 24 struct rsnd_mod mod; 25 struct rsnd_mod *dma; 57 static void rsnd_src_activation(struct rsnd_mod *mod) in rsnd_src_activation() 63 static void rsnd_src_halt(struct rsnd_mod *mod) in rsnd_src_halt() 70 struct rsnd_mod *mod) in rsnd_src_dma_req() 81 struct rsnd_mod *mod) in rsnd_src_convert_rate() 108 struct rsnd_mod *src_mod = rsnd_io_to_mod_src(io); in rsnd_src_get_rate() 192 struct rsnd_mod *mod) in rsnd_src_set_convert_rate() 347 static int rsnd_src_irq(struct rsnd_mod *mod, in rsnd_src_irq() 386 static void rsnd_src_status_clear(struct rsnd_mod *mod) in rsnd_src_status_clear() [all …]
|
D | ssiu.c | 12 struct rsnd_mod mod; 48 static u32 *rsnd_ssiu_get_status(struct rsnd_mod *mod, in rsnd_ssiu_get_status() 58 static int rsnd_ssiu_init(struct rsnd_mod *mod, in rsnd_ssiu_init() 149 static int rsnd_ssiu_init_gen2(struct rsnd_mod *mod, in rsnd_ssiu_init_gen2() 209 struct rsnd_mod *ssi_mod = rsnd_io_to_mod_ssi(io); in rsnd_ssiu_init_gen2() 210 struct rsnd_mod *pos; in rsnd_ssiu_init_gen2() 238 static int rsnd_ssiu_start_gen2(struct rsnd_mod *mod, in rsnd_ssiu_start_gen2() 255 static int rsnd_ssiu_stop_gen2(struct rsnd_mod *mod, in rsnd_ssiu_stop_gen2() 276 static int rsnd_ssiu_id(struct rsnd_mod *mod) in rsnd_ssiu_id() 284 static int rsnd_ssiu_id_sub(struct rsnd_mod *mod) in rsnd_ssiu_id_sub() [all …]
|
D | ctu.c | 73 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() 262 static int rsnd_ctu_id(struct rsnd_mod *mod) in rsnd_ctu_id() [all …]
|
D | mix.c | 39 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 …]
|
D | dvc.c | 37 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 …]
|
D | core.c | 122 void rsnd_mod_make_sure(struct rsnd_mod *mod, enum rsnd_mod_type type) in rsnd_mod_make_sure() 134 struct rsnd_mod *mod) in rsnd_mod_dma_req() 144 char *rsnd_mod_name(struct rsnd_mod *mod) in rsnd_mod_name() 173 u32 *rsnd_mod_get_status(struct rsnd_mod *mod, in rsnd_mod_get_status() 180 int rsnd_mod_id_raw(struct rsnd_mod *mod) in rsnd_mod_id_raw() 185 int rsnd_mod_id(struct rsnd_mod *mod) in rsnd_mod_id() 193 int rsnd_mod_id_sub(struct rsnd_mod *mod) in rsnd_mod_id_sub() 202 struct rsnd_mod *mod, in rsnd_mod_init() 222 void rsnd_mod_quit(struct rsnd_mod *mod) in rsnd_mod_quit() 228 void rsnd_mod_interrupt(struct rsnd_mod *mod, in rsnd_mod_interrupt() [all …]
|
D | adg.c | 32 struct rsnd_mod mod; 83 struct rsnd_mod *ssi_mod = rsnd_io_to_mod_ssi(io); in rsnd_adg_ssi_ws_timing_gen2() 208 int rsnd_adg_set_cmd_timsel_gen2(struct rsnd_mod *cmd_mod, in rsnd_adg_set_cmd_timsel_gen2() 213 struct rsnd_mod *adg_mod = rsnd_mod_get(adg); in rsnd_adg_set_cmd_timsel_gen2() 231 int rsnd_adg_set_src_timesel_gen2(struct rsnd_mod *src_mod, in rsnd_adg_set_src_timesel_gen2() 238 struct rsnd_mod *adg_mod = rsnd_mod_get(adg); in rsnd_adg_set_src_timesel_gen2() 263 static void rsnd_adg_set_ssi_clk(struct rsnd_mod *ssi_mod, u32 val) in rsnd_adg_set_ssi_clk() 267 struct rsnd_mod *adg_mod = rsnd_mod_get(adg); in rsnd_adg_set_ssi_clk() 320 int rsnd_adg_ssi_clk_stop(struct rsnd_mod *ssi_mod) in rsnd_adg_ssi_clk_stop() 327 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 | 74 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()
|