Lines Matching defs:snd_soc_component_driver
750 struct snd_soc_component_driver { struct
751 const char *name;
754 const struct snd_kcontrol_new *controls;
755 unsigned int num_controls;
756 const struct snd_soc_dapm_widget *dapm_widgets;
757 unsigned int num_dapm_widgets;
758 const struct snd_soc_dapm_route *dapm_routes;
759 unsigned int num_dapm_routes;
761 int (*probe)(struct snd_soc_component *);
762 void (*remove)(struct snd_soc_component *);
763 int (*suspend)(struct snd_soc_component *);
764 int (*resume)(struct snd_soc_component *);
766 unsigned int (*read)(struct snd_soc_component *, unsigned int);
767 int (*write)(struct snd_soc_component *, unsigned int, unsigned int);
770 int (*pcm_new)(struct snd_soc_pcm_runtime *);
771 void (*pcm_free)(struct snd_pcm *);
774 int (*set_sysclk)(struct snd_soc_component *component,
776 int (*set_pll)(struct snd_soc_component *component, int pll_id,
778 int (*set_jack)(struct snd_soc_component *component,
782 int (*of_xlate_dai_name)(struct snd_soc_component *component,
785 int (*of_xlate_dai_id)(struct snd_soc_component *comment,
787 void (*seq_notifier)(struct snd_soc_component *, enum snd_soc_dapm_type,
789 int (*stream_event)(struct snd_soc_component *, int event);
790 int (*set_bias_level)(struct snd_soc_component *component,
793 const struct snd_pcm_ops *ops;
794 const struct snd_compr_ops *compr_ops;
797 int probe_order;
798 int remove_order;
801 unsigned int idle_bias_on:1;
802 unsigned int suspend_bias_off:1;
803 unsigned int use_pmdown_time:1; /* care pmdown_time at stop */
804 unsigned int endianness:1;
805 unsigned int non_legacy_dai_naming:1;
831 const struct snd_soc_component_driver *driver; argument