Lines Matching refs:ac97

428 	int (*build_3d) (struct snd_ac97 *ac97);
429 int (*build_specific) (struct snd_ac97 *ac97);
430 int (*build_spdif) (struct snd_ac97 *ac97);
431 int (*build_post_spdif) (struct snd_ac97 *ac97);
433 void (*suspend) (struct snd_ac97 *ac97);
434 void (*resume) (struct snd_ac97 *ac97);
436 void (*update_jacks) (struct snd_ac97 *ac97); /* for jack-sharing */
440 void (*reset) (struct snd_ac97 *ac97);
441 void (*warm_reset)(struct snd_ac97 *ac97);
442 void (*write) (struct snd_ac97 *ac97, unsigned short reg, unsigned short val);
443 unsigned short (*read) (struct snd_ac97 *ac97, unsigned short reg);
444 void (*wait) (struct snd_ac97 *ac97);
445 void (*init) (struct snd_ac97 *ac97);
476 void (*private_free) (struct snd_ac97 *ac97);
488 void (*private_free) (struct snd_ac97 *ac97);
539 static inline int ac97_is_audio(struct snd_ac97 * ac97) in ac97_is_audio() argument
541 return (ac97->scaps & AC97_SCAP_AUDIO); in ac97_is_audio()
543 static inline int ac97_is_modem(struct snd_ac97 * ac97) in ac97_is_modem() argument
545 return (ac97->scaps & AC97_SCAP_MODEM); in ac97_is_modem()
547 static inline int ac97_is_rev22(struct snd_ac97 * ac97) in ac97_is_rev22() argument
549 return (ac97->ext_id & AC97_EI_REV_MASK) >= AC97_EI_REV_22; in ac97_is_rev22()
551 static inline int ac97_can_amap(struct snd_ac97 * ac97) in ac97_can_amap() argument
553 return (ac97->ext_id & AC97_EI_AMAP) != 0; in ac97_can_amap()
555 static inline int ac97_can_spdif(struct snd_ac97 * ac97) in ac97_can_spdif() argument
557 return (ac97->ext_id & AC97_EI_SPDIF) != 0; in ac97_can_spdif()
567 const char *snd_ac97_get_short_name(struct snd_ac97 *ac97);
569 void snd_ac97_write(struct snd_ac97 *ac97, unsigned short reg, unsigned short value);
570 unsigned short snd_ac97_read(struct snd_ac97 *ac97, unsigned short reg);
571 void snd_ac97_write_cache(struct snd_ac97 *ac97, unsigned short reg, unsigned short value);
572 int snd_ac97_update(struct snd_ac97 *ac97, unsigned short reg, unsigned short value);
573 int snd_ac97_update_bits(struct snd_ac97 *ac97, unsigned short reg, unsigned short mask, unsigned s…
575 int snd_ac97_update_power(struct snd_ac97 *ac97, int reg, int powerup);
577 static inline int snd_ac97_update_power(struct snd_ac97 *ac97, int reg, in snd_ac97_update_power() argument
584 void snd_ac97_suspend(struct snd_ac97 *ac97);
585 void snd_ac97_resume(struct snd_ac97 *ac97);
587 int snd_ac97_reset(struct snd_ac97 *ac97, bool try_warm, unsigned int id,
613 int snd_ac97_tune_hardware(struct snd_ac97 *ac97,
616 int snd_ac97_set_rate(struct snd_ac97 *ac97, int reg, unsigned int rate);
649 int snd_ac97_pcm_assign(struct snd_ac97_bus *ac97,
661 static inline void snd_ac97_dev_add_pdata(struct snd_ac97 *ac97, void *data) in snd_ac97_dev_add_pdata() argument
663 ac97->dev.platform_data = data; in snd_ac97_dev_add_pdata()