Lines Matching defs:snd_soc_codec_driver
591 struct snd_soc_codec_driver { struct
594 int (*probe)(struct snd_soc_codec *);
595 int (*remove)(struct snd_soc_codec *);
596 int (*suspend)(struct snd_soc_codec *);
597 int (*resume)(struct snd_soc_codec *);
600 const struct snd_kcontrol_new *controls;
601 int num_controls;
602 const struct snd_soc_dapm_widget *dapm_widgets;
603 int num_dapm_widgets;
604 const struct snd_soc_dapm_route *dapm_routes;
605 int num_dapm_routes;
608 int (*set_sysclk)(struct snd_soc_codec *codec,
610 int (*set_pll)(struct snd_soc_codec *codec, int pll_id, int source,
614 unsigned int (*read)(struct snd_soc_codec *, unsigned int);
615 int (*write)(struct snd_soc_codec *, unsigned int, unsigned int);
616 int (*display_register)(struct snd_soc_codec *, char *,
618 int (*volatile_register)(struct snd_soc_codec *, unsigned int);
619 int (*readable_register)(struct snd_soc_codec *, unsigned int);
620 int (*writable_register)(struct snd_soc_codec *, unsigned int);
621 unsigned int reg_cache_size;
622 short reg_cache_step;
623 short reg_word_size;
624 const void *reg_cache_default;
625 short reg_access_size;
626 const struct snd_soc_reg_access *reg_access_default;
627 enum snd_soc_compress_type compress_type;
630 int (*set_bias_level)(struct snd_soc_codec *,
632 bool idle_bias_off;
634 void (*seq_notifier)(struct snd_soc_dapm_context *,
638 int (*stream_event)(struct snd_soc_dapm_context *dapm, int event);
641 int probe_order;
642 int remove_order;