Lines Matching refs: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);
226 void (*private_free) (struct snd_ac97 *ac97);
238 void (*private_free) (struct snd_ac97 *ac97);
290 static inline int ac97_is_audio(struct snd_ac97 * ac97) in ac97_is_audio() argument
292 return (ac97->scaps & AC97_SCAP_AUDIO); in ac97_is_audio()
294 static inline int ac97_is_modem(struct snd_ac97 * ac97) in ac97_is_modem() argument
296 return (ac97->scaps & AC97_SCAP_MODEM); in ac97_is_modem()
298 static inline int ac97_is_rev22(struct snd_ac97 * ac97) in ac97_is_rev22() argument
300 return (ac97->ext_id & AC97_EI_REV_MASK) >= AC97_EI_REV_22; in ac97_is_rev22()
302 static inline int ac97_can_amap(struct snd_ac97 * ac97) in ac97_can_amap() argument
304 return (ac97->ext_id & AC97_EI_AMAP) != 0; in ac97_can_amap()
306 static inline int ac97_can_spdif(struct snd_ac97 * ac97) in ac97_can_spdif() argument
308 return (ac97->ext_id & AC97_EI_SPDIF) != 0; in ac97_can_spdif()
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 s…
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, in snd_ac97_update_power() argument
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) {} in snd_ac97_suspend() argument
340 static inline void snd_ac97_resume(struct snd_ac97 *ac97) {} in snd_ac97_resume() argument
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);
404 int snd_ac97_pcm_assign(struct snd_ac97_bus *ac97,
416 static inline void snd_ac97_dev_add_pdata(struct snd_ac97 *ac97, void *data) in snd_ac97_dev_add_pdata() argument
418 ac97->dev.platform_data = data; in snd_ac97_dev_add_pdata()