Lines Matching defs:ac97
371 /* ac97->scaps */
385 /* ac97->flags */
422 int (*build_3d) (struct snd_ac97 *ac97);
423 int (*build_specific) (struct snd_ac97 *ac97);
424 int (*build_spdif) (struct snd_ac97 *ac97);
425 int (*build_post_spdif) (struct snd_ac97 *ac97);
427 void (*suspend) (struct snd_ac97 *ac97);
428 void (*resume) (struct snd_ac97 *ac97);
430 void (*update_jacks) (struct snd_ac97 *ac97); /* for jack-sharing */
434 void (*reset) (struct snd_ac97 *ac97);
435 void (*warm_reset)(struct snd_ac97 *ac97);
436 void (*write) (struct snd_ac97 *ac97, unsigned short reg, unsigned short val);
437 unsigned short (*read) (struct snd_ac97 *ac97, unsigned short reg);
438 void (*wait) (struct snd_ac97 *ac97);
439 void (*init) (struct snd_ac97 *ac97);
470 void (*private_free) (struct snd_ac97 *ac97);
482 void (*private_free) (struct snd_ac97 *ac97);
531 static inline int ac97_is_audio(struct snd_ac97 * ac97)
533 return (ac97->scaps & AC97_SCAP_AUDIO);
535 static inline int ac97_is_modem(struct snd_ac97 * ac97)
537 return (ac97->scaps & AC97_SCAP_MODEM);
539 static inline int ac97_is_rev22(struct snd_ac97 * ac97)
541 return (ac97->ext_id & AC97_EI_REV_MASK) >= AC97_EI_REV_22;
543 static inline int ac97_can_amap(struct snd_ac97 * ac97)
545 return (ac97->ext_id & AC97_EI_AMAP) != 0;
547 static inline int ac97_can_spdif(struct snd_ac97 * ac97)
549 return (ac97->ext_id & AC97_EI_SPDIF) != 0;
559 const char *snd_ac97_get_short_name(struct snd_ac97 *ac97);
561 void snd_ac97_write(struct snd_ac97 *ac97, unsigned short reg, unsigned short value);
562 unsigned short snd_ac97_read(struct snd_ac97 *ac97, unsigned short reg);
563 void snd_ac97_write_cache(struct snd_ac97 *ac97, unsigned short reg, unsigned short value);
564 int snd_ac97_update(struct snd_ac97 *ac97, unsigned short reg, unsigned short value);
565 int snd_ac97_update_bits(struct snd_ac97 *ac97, unsigned short reg, unsigned short mask, unsigned short value);
567 int snd_ac97_update_power(struct snd_ac97 *ac97, int reg, int powerup);
569 static inline int snd_ac97_update_power(struct snd_ac97 *ac97, int reg,
576 void snd_ac97_suspend(struct snd_ac97 *ac97);
577 void snd_ac97_resume(struct snd_ac97 *ac97);
603 int snd_ac97_tune_hardware(struct snd_ac97 *ac97, struct ac97_quirk *quirk, const char *override);
604 int snd_ac97_set_rate(struct snd_ac97 *ac97, int reg, unsigned int rate);
637 int snd_ac97_pcm_assign(struct snd_ac97_bus *ac97,
649 static inline void snd_ac97_dev_add_pdata(struct snd_ac97 *ac97, void *data)
651 ac97->dev.platform_data = data;