Lines Matching defs:snd_soc_component_driver
67 struct snd_soc_component_driver { struct
68 const char *name;
71 const struct snd_kcontrol_new *controls;
72 unsigned int num_controls;
73 const struct snd_soc_dapm_widget *dapm_widgets;
74 unsigned int num_dapm_widgets;
75 const struct snd_soc_dapm_route *dapm_routes;
76 unsigned int num_dapm_routes;
78 int (*probe)(struct snd_soc_component *component);
79 void (*remove)(struct snd_soc_component *component);
80 int (*suspend)(struct snd_soc_component *component);
81 int (*resume)(struct snd_soc_component *component);
83 unsigned int (*read)(struct snd_soc_component *component,
85 int (*write)(struct snd_soc_component *component,
89 int (*pcm_construct)(struct snd_soc_component *component,
91 void (*pcm_destruct)(struct snd_soc_component *component,
95 int (*set_sysclk)(struct snd_soc_component *component,
97 int (*set_pll)(struct snd_soc_component *component, int pll_id,
99 int (*set_jack)(struct snd_soc_component *component,
103 int (*of_xlate_dai_name)(struct snd_soc_component *component,
106 int (*of_xlate_dai_id)(struct snd_soc_component *comment,
108 void (*seq_notifier)(struct snd_soc_component *component,
110 int (*stream_event)(struct snd_soc_component *component, int event);
111 int (*set_bias_level)(struct snd_soc_component *component,
114 int (*open)(struct snd_soc_component *component,
116 int (*close)(struct snd_soc_component *component,
118 int (*ioctl)(struct snd_soc_component *component,
121 int (*hw_params)(struct snd_soc_component *component,
124 int (*hw_free)(struct snd_soc_component *component,
126 int (*prepare)(struct snd_soc_component *component,
128 int (*trigger)(struct snd_soc_component *component,
130 int (*sync_stop)(struct snd_soc_component *component,
132 snd_pcm_uframes_t (*pointer)(struct snd_soc_component *component,
134 int (*get_time_info)(struct snd_soc_component *component,
139 int (*copy_user)(struct snd_soc_component *component,
143 struct page *(*page)(struct snd_soc_component *component,
146 int (*mmap)(struct snd_soc_component *component,
150 const struct snd_compress_ops *compress_ops;
153 int probe_order;
154 int remove_order;
162 unsigned int module_get_upon_open:1;
165 unsigned int idle_bias_on:1;
166 unsigned int suspend_bias_off:1;
167 unsigned int use_pmdown_time:1; /* care pmdown_time at stop */
168 unsigned int endianness:1;
169 unsigned int non_legacy_dai_naming:1;
195 const struct snd_soc_component_driver *driver; argument