Lines Matching refs:rsnd_mod
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);
299 int (*probe)(struct rsnd_mod *mod,
302 int (*remove)(struct rsnd_mod *mod,
305 int (*init)(struct rsnd_mod *mod,
308 int (*quit)(struct rsnd_mod *mod,
311 int (*start)(struct rsnd_mod *mod,
314 int (*stop)(struct rsnd_mod *mod,
317 int (*irq)(struct rsnd_mod *mod,
320 int (*pcm_new)(struct rsnd_mod *mod,
323 int (*hw_params)(struct rsnd_mod *mod,
327 int (*pointer)(struct rsnd_mod *mod,
330 int (*fallback)(struct rsnd_mod *mod,
333 int (*prepare)(struct rsnd_mod *mod,
336 int (*cleanup)(struct rsnd_mod *mod,
339 int (*hw_free)(struct rsnd_mod *mod,
342 u32 *(*get_status)(struct rsnd_mod *mod,
345 int (*id)(struct rsnd_mod *mod);
346 int (*id_sub)(struct rsnd_mod *mod);
347 int (*id_cmd)(struct rsnd_mod *mod);
351 struct rsnd_mod { struct
427 struct rsnd_mod *mod,
432 void rsnd_mod_quit(struct rsnd_mod *mod);
434 struct rsnd_mod *mod);
435 void rsnd_mod_interrupt(struct rsnd_mod *mod,
436 void (*callback)(struct rsnd_mod *mod,
438 u32 *rsnd_mod_get_status(struct rsnd_mod *mod,
441 int rsnd_mod_id(struct rsnd_mod *mod);
442 int rsnd_mod_id_raw(struct rsnd_mod *mod);
443 int rsnd_mod_id_sub(struct rsnd_mod *mod);
444 char *rsnd_mod_name(struct rsnd_mod *mod);
445 struct rsnd_mod *rsnd_mod_next(int *iterator,
459 struct rsnd_mod* (*mod_get)(struct rsnd_priv *priv, int id),
501 struct rsnd_mod *mod[RSND_MOD_MAX];
502 struct rsnd_mod *dma;
583 int rsnd_dai_connect(struct rsnd_mod *mod,
592 struct rsnd_mod *mod,
600 int rsnd_adg_ssi_clk_stop(struct rsnd_mod *mod);
601 int rsnd_adg_ssi_clk_try_start(struct rsnd_mod *mod, unsigned int rate);
604 int rsnd_adg_set_src_timesel_gen2(struct rsnd_mod *src_mod,
608 int rsnd_adg_set_cmd_timsel_gen2(struct rsnd_mod *mod,
717 void (*update)(struct rsnd_dai_stream *io, struct rsnd_mod *mod);
721 struct rsnd_mod *mod;
743 int rsnd_kctrl_new(struct rsnd_mod *mod,
749 struct rsnd_mod *mod),
776 struct rsnd_mod *rsnd_ssi_mod_get(struct rsnd_priv *priv, int id);
782 int __rsnd_ssi_is_pin_sharing(struct rsnd_mod *mod);
795 struct rsnd_mod *mod);
808 struct rsnd_mod *rsnd_src_mod_get(struct rsnd_priv *priv, int id);
827 struct rsnd_mod *rsnd_ctu_mod_get(struct rsnd_priv *priv, int id);
839 struct rsnd_mod *rsnd_mix_mod_get(struct rsnd_priv *priv, int id);
851 struct rsnd_mod *rsnd_dvc_mod_get(struct rsnd_priv *priv, int id);
865 void rsnd_mod_make_sure(struct rsnd_mod *mod, enum rsnd_mod_type type);