Lines Matching refs:snd_ac97

173 struct snd_ac97;
178 int (*build_3d) (struct snd_ac97 *ac97);
179 int (*build_specific) (struct snd_ac97 *ac97);
180 int (*build_spdif) (struct snd_ac97 *ac97);
181 int (*build_post_spdif) (struct snd_ac97 *ac97);
183 void (*suspend) (struct snd_ac97 *ac97);
184 void (*resume) (struct snd_ac97 *ac97);
186 void (*update_jacks) (struct snd_ac97 *ac97); /* for jack-sharing */
190 void (*reset) (struct snd_ac97 *ac97);
191 void (*warm_reset)(struct snd_ac97 *ac97);
192 void (*write) (struct snd_ac97 *ac97, unsigned short reg, unsigned short val);
193 unsigned short (*read) (struct snd_ac97 *ac97, unsigned short reg);
194 void (*wait) (struct snd_ac97 *ac97);
195 void (*init) (struct snd_ac97 *ac97);
214 struct snd_ac97 *codec[4];
226 void (*private_free) (struct snd_ac97 *ac97);
234 struct snd_ac97 {
238 void (*private_free) (struct snd_ac97 *ac97);
287 #define to_ac97_t(d) container_of(d, struct snd_ac97, dev)
290 static inline int ac97_is_audio(struct snd_ac97 * ac97)
294 static inline int ac97_is_modem(struct snd_ac97 * ac97)
298 static inline int ac97_is_rev22(struct snd_ac97 * ac97)
302 static inline int ac97_can_amap(struct snd_ac97 * ac97)
306 static inline int ac97_can_spdif(struct snd_ac97 * ac97)
318 struct snd_ac97 **rac97);
319 const char *snd_ac97_get_short_name(struct snd_ac97 *ac97);
321 void snd_ac97_write(struct snd_ac97 *ac97, unsigned short reg, unsigned short value);
322 unsigned short snd_ac97_read(struct snd_ac97 *ac97, unsigned short reg);
323 void snd_ac97_write_cache(struct snd_ac97 *ac97, unsigned short reg, unsigned short value);
324 int snd_ac97_update(struct snd_ac97 *ac97, unsigned short reg, unsigned short value);
325 int snd_ac97_update_bits(struct snd_ac97 *ac97, unsigned short reg, unsigned short mask, unsigned short value);
327 int snd_ac97_update_power(struct snd_ac97 *ac97, int reg, int powerup);
329 static inline int snd_ac97_update_power(struct snd_ac97 *ac97, int reg,
336 void snd_ac97_suspend(struct snd_ac97 *ac97);
337 void snd_ac97_resume(struct snd_ac97 *ac97);
339 static inline void snd_ac97_suspend(struct snd_ac97 *ac97) {}
340 static inline void snd_ac97_resume(struct snd_ac97 *ac97) {}
342 int snd_ac97_reset(struct snd_ac97 *ac97, bool try_warm, unsigned int id,
368 int snd_ac97_tune_hardware(struct snd_ac97 *ac97,
371 int snd_ac97_set_rate(struct snd_ac97 *ac97, int reg, unsigned int rate);
399 struct snd_ac97 *codec[4]; /* allocated codecs */
416 static inline void snd_ac97_dev_add_pdata(struct snd_ac97 *ac97, void *data)