Lines Matching defs:snd_soc_component_driver
32 struct snd_soc_component_driver { struct
33 const char *name;
36 const struct snd_kcontrol_new *controls;
37 unsigned int num_controls;
38 const struct snd_soc_dapm_widget *dapm_widgets;
39 unsigned int num_dapm_widgets;
40 const struct snd_soc_dapm_route *dapm_routes;
41 unsigned int num_dapm_routes;
43 int (*probe)(struct snd_soc_component *component);
44 void (*remove)(struct snd_soc_component *component);
45 int (*suspend)(struct snd_soc_component *component);
46 int (*resume)(struct snd_soc_component *component);
48 unsigned int (*read)(struct snd_soc_component *component,
50 int (*write)(struct snd_soc_component *component,
54 int (*pcm_new)(struct snd_soc_pcm_runtime *rtd);
55 void (*pcm_free)(struct snd_pcm *pcm);
58 int (*set_sysclk)(struct snd_soc_component *component,
60 int (*set_pll)(struct snd_soc_component *component, int pll_id,
62 int (*set_jack)(struct snd_soc_component *component,
66 int (*of_xlate_dai_name)(struct snd_soc_component *component,
69 int (*of_xlate_dai_id)(struct snd_soc_component *comment,
71 void (*seq_notifier)(struct snd_soc_component *component,
73 int (*stream_event)(struct snd_soc_component *component, int event);
74 int (*set_bias_level)(struct snd_soc_component *component,
77 const struct snd_pcm_ops *ops;
78 const struct snd_compr_ops *compr_ops;
81 int probe_order;
82 int remove_order;
90 unsigned int module_get_upon_open:1;
93 unsigned int idle_bias_on:1;
94 unsigned int suspend_bias_off:1;
95 unsigned int use_pmdown_time:1; /* care pmdown_time at stop */
96 unsigned int endianness:1;
97 unsigned int non_legacy_dai_naming:1;
123 const struct snd_soc_component_driver *driver; argument