Lines Matching refs: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);
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_dai_stream *io, struct rsnd_mod *mod);
420 #define rsnd_mod_to_priv(mod) ((mod)->priv) argument
421 #define rsnd_mod_power_on(mod) clk_enable((mod)->clk) argument
422 #define rsnd_mod_power_off(mod) clk_disable((mod)->clk) argument
423 #define rsnd_mod_get(ip) (&(ip)->mod)
426 struct rsnd_mod *mod,
431 void rsnd_mod_quit(struct rsnd_mod *mod);
433 struct rsnd_mod *mod);
434 void rsnd_mod_interrupt(struct rsnd_mod *mod,
435 void (*callback)(struct rsnd_mod *mod,
437 u32 *rsnd_mod_get_status(struct rsnd_mod *mod,
440 int rsnd_mod_id(struct rsnd_mod *mod);
441 int rsnd_mod_id_raw(struct rsnd_mod *mod);
442 int rsnd_mod_id_sub(struct rsnd_mod *mod);
443 char *rsnd_mod_name(struct rsnd_mod *mod);
502 struct rsnd_mod *mod[RSND_MOD_MAX]; member
517 #define rsnd_io_to_mod(io, i) ((i) < RSND_MOD_MAX ? (io)->mod[(i)] : NULL)
584 int rsnd_dai_connect(struct rsnd_mod *mod,
593 struct rsnd_mod *mod,
722 void (*update)(struct rsnd_dai_stream *io, struct rsnd_mod *mod);
726 struct rsnd_mod *mod; member
748 int rsnd_kctrl_new(struct rsnd_mod *mod,
754 struct rsnd_mod *mod),
760 #define rsnd_kctrl_new_m(mod, io, rtd, name, accept, update, cfg, size, max) \ argument
761 rsnd_kctrl_new(mod, io, rtd, name, accept, update, rsnd_kctrl_init_m(cfg), \
764 #define rsnd_kctrl_new_s(mod, io, rtd, name, accept, update, cfg, max) \ argument
765 rsnd_kctrl_new(mod, io, rtd, name, accept, update, rsnd_kctrl_init_s(cfg), \
768 #define rsnd_kctrl_new_e(mod, io, rtd, name, accept, update, cfg, texts, size) \ argument
769 rsnd_kctrl_new(mod, io, rtd, name, accept, update, rsnd_kctrl_init_s(cfg), \
784 int rsnd_ssi_is_dma_mode(struct rsnd_mod *mod);
788 int __rsnd_ssi_is_pin_sharing(struct rsnd_mod *mod);
801 struct rsnd_mod *mod);
808 bool rsnd_ssiu_busif_err_status_clear(struct rsnd_mod *mod);
872 void rsnd_mod_make_sure(struct rsnd_mod *mod, enum rsnd_mod_type type);
910 void rsnd_debugfs_mod_reg_show(struct seq_file *m, struct rsnd_mod *mod,