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 { struct
238 void (*private_free) (struct snd_ac97 *ac97); argument
287 #define to_ac97_t(d) container_of(d, struct snd_ac97, dev) argument
290 static inline int ac97_is_audio(struct snd_ac97 * ac97) in ac97_is_audio()
294 static inline int ac97_is_modem(struct snd_ac97 * ac97) in ac97_is_modem()
298 static inline int ac97_is_rev22(struct snd_ac97 * ac97) in ac97_is_rev22()
302 static inline int ac97_can_amap(struct snd_ac97 * ac97) in ac97_can_amap()
306 static inline int ac97_can_spdif(struct snd_ac97 * ac97) in ac97_can_spdif()
317 struct snd_ac97 **rac97);
318 const char *snd_ac97_get_short_name(struct snd_ac97 *ac97);
320 void snd_ac97_write(struct snd_ac97 *ac97, unsigned short reg, unsigned short value);
321 unsigned short snd_ac97_read(struct snd_ac97 *ac97, unsigned short reg);
322 void snd_ac97_write_cache(struct snd_ac97 *ac97, unsigned short reg, unsigned short value);
323 int snd_ac97_update(struct snd_ac97 *ac97, unsigned short reg, unsigned short value);
324 int snd_ac97_update_bits(struct snd_ac97 *ac97, unsigned short reg, unsigned short mask, unsigned s…
326 int snd_ac97_update_power(struct snd_ac97 *ac97, int reg, int powerup);
328 static inline int snd_ac97_update_power(struct snd_ac97 *ac97, int reg, in snd_ac97_update_power()
335 void snd_ac97_suspend(struct snd_ac97 *ac97);
336 void snd_ac97_resume(struct snd_ac97 *ac97);
338 int snd_ac97_reset(struct snd_ac97 *ac97, bool try_warm, unsigned int id,
364 int snd_ac97_tune_hardware(struct snd_ac97 *ac97,
367 int snd_ac97_set_rate(struct snd_ac97 *ac97, int reg, unsigned int rate);
395 struct snd_ac97 *codec[4]; /* allocated codecs */
412 static inline void snd_ac97_dev_add_pdata(struct snd_ac97 *ac97, void *data) in snd_ac97_dev_add_pdata()