Lines Matching refs:snd_ac97
64 int (*patch)(struct snd_ac97 *ac97);
65 int (*mpatch)(struct snd_ac97 *ac97);
201 static void update_power_regs(struct snd_ac97 *ac97);
214 static int snd_ac97_valid_reg(struct snd_ac97 *ac97, unsigned short reg)
272 void snd_ac97_write(struct snd_ac97 *ac97, unsigned short reg, unsigned short value)
297 unsigned short snd_ac97_read(struct snd_ac97 *ac97, unsigned short reg)
305 static inline unsigned short snd_ac97_read_cache(struct snd_ac97 *ac97, unsigned short reg)
326 void snd_ac97_write_cache(struct snd_ac97 *ac97, unsigned short reg, unsigned short value)
351 int snd_ac97_update(struct snd_ac97 *ac97, unsigned short reg, unsigned short value)
383 int snd_ac97_update_bits(struct snd_ac97 *ac97, unsigned short reg, unsigned short mask, unsigned short value)
398 int snd_ac97_update_bits_nolock(struct snd_ac97 *ac97, unsigned short reg,
415 static int snd_ac97_ad18xx_update_pcm_bits(struct snd_ac97 *ac97, int codec, unsigned short mask, unsigned short value)
465 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol);
482 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol);
503 static int snd_ac97_page_save(struct snd_ac97 *ac97, int reg, struct snd_kcontrol *kcontrol)
517 static void snd_ac97_page_restore(struct snd_ac97 *ac97, int page_save)
543 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol);
567 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol);
691 static void set_inv_eapd(struct snd_ac97 *ac97, struct snd_kcontrol *kctl)
728 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol);
741 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol);
815 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol);
884 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol);
901 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol);
915 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol);
947 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol);
959 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol);
992 static void snd_ac97_powerdown(struct snd_ac97 *ac97);
1012 static int snd_ac97_free(struct snd_ac97 *ac97)
1031 struct snd_ac97 *ac97 = device->device_data;
1036 static int snd_ac97_try_volume_mix(struct snd_ac97 * ac97, int reg)
1086 static void check_volume_resolution(struct snd_ac97 *ac97, int reg, unsigned char *lo_max, unsigned char *hi_max)
1123 static int snd_ac97_try_bit(struct snd_ac97 * ac97, int reg, int bit)
1137 static void snd_ac97_change_volume_params2(struct snd_ac97 * ac97, int reg, int shift, unsigned char *max)
1164 struct snd_ac97 * ac97)
1177 struct snd_ac97 *ac97)
1246 unsigned int hi_max, struct snd_ac97 *ac97)
1282 struct snd_ac97 *ac97)
1312 static unsigned int snd_ac97_determine_spdif_rates(struct snd_ac97 *ac97);
1314 static int snd_ac97_mixer_build(struct snd_ac97 * ac97)
1652 static int snd_ac97_modem_build(struct snd_card *card, struct snd_ac97 * ac97)
1679 static int snd_ac97_test_rate(struct snd_ac97 *ac97, int reg, int shadow_reg, int rate)
1692 static void snd_ac97_determine_rates(struct snd_ac97 *ac97, int reg, int shadow_reg, unsigned int *r_result)
1752 static unsigned int snd_ac97_determine_spdif_rates(struct snd_ac97 *ac97)
1783 void snd_ac97_get_name(struct snd_ac97 *ac97, unsigned int id, char *name, int modem)
1823 const char *snd_ac97_get_short_name(struct snd_ac97 *ac97)
1838 static int ac97_reset_wait(struct snd_ac97 *ac97, int timeout, int with_modem)
1937 struct snd_ac97 *ac97 = device->device_data;
1957 struct snd_ac97 *ac97 = device->device_data;
1970 container_of(work, struct snd_ac97, power_work.work));
1981 * Creates an Codec97 component. An struct snd_ac97 instance is newly
1993 int snd_ac97_mixer(struct snd_ac97_bus *bus, struct snd_ac97_template *template, struct snd_ac97 **rac97)
1996 struct snd_ac97 *ac97;
2287 static void snd_ac97_powerdown(struct snd_ac97 *ac97)
2356 int snd_ac97_update_power(struct snd_ac97 *ac97, int reg, int powerup)
2396 static void update_power_regs(struct snd_ac97 *ac97)
2448 void snd_ac97_suspend(struct snd_ac97 *ac97)
2466 static void snd_ac97_restore_status(struct snd_ac97 *ac97)
2487 static void snd_ac97_restore_iec958(struct snd_ac97 *ac97)
2510 void snd_ac97_resume(struct snd_ac97 *ac97)
2583 static int snd_ac97_remove_ctl(struct snd_ac97 *ac97, const char *name,
2593 static struct snd_kcontrol *ctl_find(struct snd_ac97 *ac97, const char *name, const char *suffix)
2603 static int snd_ac97_rename_ctl(struct snd_ac97 *ac97, const char *src,
2615 static void snd_ac97_rename_vol_ctl(struct snd_ac97 *ac97, const char *src,
2623 static int snd_ac97_swap_ctl(struct snd_ac97 *ac97, const char *s1,
2651 static int tune_hp_only(struct snd_ac97 *ac97)
2665 static int tune_swap_hp(struct snd_ac97 *ac97)
2675 static int tune_swap_surround(struct snd_ac97 *ac97)
2684 static int tune_ad_sharing(struct snd_ac97 *ac97)
2701 static int tune_alc_jack(struct snd_ac97 *ac97)
2715 static int tune_inv_eapd(struct snd_ac97 *ac97)
2728 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol);
2744 static int tune_mute_led(struct snd_ac97 *ac97)
2761 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol);
2776 static int tune_hp_mute_led(struct snd_ac97 *ac97)
2793 int (*func)(struct snd_ac97 *);
2809 static int apply_quirk(struct snd_ac97 *ac97, int type)
2821 static int apply_quirk_str(struct snd_ac97 *ac97, const char *typestr)
2838 int snd_ac97_tune_hardware(struct snd_ac97 *ac97, struct ac97_quirk *quirk, const char *override)