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,
101 int (*get_jack_type)(struct snd_soc_component *component);
104 int (*of_xlate_dai_name)(struct snd_soc_component *component,
107 int (*of_xlate_dai_id)(struct snd_soc_component *comment,
109 void (*seq_notifier)(struct snd_soc_component *component,
111 int (*stream_event)(struct snd_soc_component *component, int event);
112 int (*set_bias_level)(struct snd_soc_component *component,
115 int (*open)(struct snd_soc_component *component,
117 int (*close)(struct snd_soc_component *component,
119 int (*ioctl)(struct snd_soc_component *component,
122 int (*hw_params)(struct snd_soc_component *component,
125 int (*hw_free)(struct snd_soc_component *component,
127 int (*prepare)(struct snd_soc_component *component,
129 int (*trigger)(struct snd_soc_component *component,
131 int (*sync_stop)(struct snd_soc_component *component,
133 snd_pcm_uframes_t (*pointer)(struct snd_soc_component *component,
135 int (*get_time_info)(struct snd_soc_component *component,
140 int (*copy_user)(struct snd_soc_component *component,
144 struct page *(*page)(struct snd_soc_component *component,
147 int (*mmap)(struct snd_soc_component *component,
150 int (*ack)(struct snd_soc_component *component,
152 snd_pcm_sframes_t (*delay)(struct snd_soc_component *component,
155 const struct snd_compress_ops *compress_ops;
158 int probe_order;
159 int remove_order;
167 unsigned int module_get_upon_open:1;
170 unsigned int idle_bias_on:1;
171 unsigned int suspend_bias_off:1;
172 unsigned int use_pmdown_time:1; /* care pmdown_time at stop */
182 unsigned int endianness:1;
183 unsigned int legacy_dai_naming:1;
186 const char *ignore_machine;
187 const char *topology_name_prefix;
188 int (*be_hw_params_fixup)(struct snd_soc_pcm_runtime *rtd,
190 bool use_dai_pcm_id; /* use DAI link PCM ID as PCM device number */
191 int be_pcm_base; /* base device ID for all BE PCMs */
215 const struct snd_soc_component_driver *driver; argument