Lines Matching refs:snd_ac97
49 int (*patch)(struct snd_ac97 *ac97);
50 int (*mpatch)(struct snd_ac97 *ac97);
195 static void update_power_regs(struct snd_ac97 *ac97);
214 static int snd_ac97_valid_reg(struct snd_ac97 *ac97, unsigned short reg) in snd_ac97_valid_reg()
272 void snd_ac97_write(struct snd_ac97 *ac97, unsigned short reg, unsigned short value) in snd_ac97_write()
297 unsigned short snd_ac97_read(struct snd_ac97 *ac97, unsigned short reg) in snd_ac97_read()
305 static inline unsigned short snd_ac97_read_cache(struct snd_ac97 *ac97, unsigned short reg) in snd_ac97_read_cache()
326 void snd_ac97_write_cache(struct snd_ac97 *ac97, unsigned short reg, unsigned short value) in snd_ac97_write_cache()
351 int snd_ac97_update(struct snd_ac97 *ac97, unsigned short reg, unsigned short value) in snd_ac97_update()
383 int snd_ac97_update_bits(struct snd_ac97 *ac97, unsigned short reg, unsigned short mask, unsigned s… in snd_ac97_update_bits()
398 int snd_ac97_update_bits_nolock(struct snd_ac97 *ac97, unsigned short reg, in snd_ac97_update_bits_nolock()
415 static int snd_ac97_ad18xx_update_pcm_bits(struct snd_ac97 *ac97, int codec, unsigned short mask, u… in snd_ac97_ad18xx_update_pcm_bits()
459 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in snd_ac97_get_enum_double()
476 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in snd_ac97_put_enum_double()
497 static int snd_ac97_page_save(struct snd_ac97 *ac97, int reg, struct snd_kcontrol *kcontrol) in snd_ac97_page_save()
511 static void snd_ac97_page_restore(struct snd_ac97 *ac97, int page_save) in snd_ac97_page_restore()
537 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in snd_ac97_get_volsw()
561 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in snd_ac97_put_volsw()
680 static void set_inv_eapd(struct snd_ac97 *ac97, struct snd_kcontrol *kctl) in set_inv_eapd()
718 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in snd_ac97_spdif_default_get()
731 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in snd_ac97_spdif_default_put()
805 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in snd_ac97_put_spsa()
874 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in snd_ac97_ad18xx_pcm_info_bits()
891 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in snd_ac97_ad18xx_pcm_get_bits()
905 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in snd_ac97_ad18xx_pcm_put_bits()
937 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in snd_ac97_ad18xx_pcm_get_volume()
949 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in snd_ac97_ad18xx_pcm_put_volume()
982 static void snd_ac97_powerdown(struct snd_ac97 *ac97);
1002 static int snd_ac97_free(struct snd_ac97 *ac97) in snd_ac97_free()
1020 struct snd_ac97 *ac97 = device->device_data; in snd_ac97_dev_free()
1025 static int snd_ac97_try_volume_mix(struct snd_ac97 * ac97, int reg) in snd_ac97_try_volume_mix()
1075 static void check_volume_resolution(struct snd_ac97 *ac97, int reg, unsigned char *lo_max, unsigned… in check_volume_resolution()
1115 static int snd_ac97_try_bit(struct snd_ac97 * ac97, int reg, int bit) in snd_ac97_try_bit()
1129 static void snd_ac97_change_volume_params2(struct snd_ac97 * ac97, int reg, int shift, unsigned cha… in snd_ac97_change_volume_params2()
1156 struct snd_ac97 * ac97) in snd_ac97_cnew()
1169 struct snd_ac97 *ac97) in snd_ac97_cmute_new_stereo()
1238 unsigned int hi_max, struct snd_ac97 *ac97) in snd_ac97_cvol_new()
1278 struct snd_ac97 *ac97) in snd_ac97_cmix_new_stereo()
1310 static unsigned int snd_ac97_determine_spdif_rates(struct snd_ac97 *ac97);
1312 static int snd_ac97_mixer_build(struct snd_ac97 * ac97) in snd_ac97_mixer_build()
1709 static int snd_ac97_modem_build(struct snd_card *card, struct snd_ac97 * ac97) in snd_ac97_modem_build()
1740 static int snd_ac97_test_rate(struct snd_ac97 *ac97, int reg, int shadow_reg, int rate) in snd_ac97_test_rate()
1753 static void snd_ac97_determine_rates(struct snd_ac97 *ac97, int reg, int shadow_reg, unsigned int *… in snd_ac97_determine_rates()
1813 static unsigned int snd_ac97_determine_spdif_rates(struct snd_ac97 *ac97) in snd_ac97_determine_spdif_rates()
1844 void snd_ac97_get_name(struct snd_ac97 *ac97, unsigned int id, char *name, int modem) in snd_ac97_get_name()
1884 const char *snd_ac97_get_short_name(struct snd_ac97 *ac97) in snd_ac97_get_short_name()
1899 static int ac97_reset_wait(struct snd_ac97 *ac97, int timeout, int with_modem) in ac97_reset_wait()
2000 struct snd_ac97 *ac97 = device->device_data; in snd_ac97_dev_register()
2022 struct snd_ac97 *ac97 = device->device_data; in snd_ac97_dev_disconnect()
2035 container_of(work, struct snd_ac97, power_work.work)); in do_update_power()
2058 int snd_ac97_mixer(struct snd_ac97_bus *bus, struct snd_ac97_template *template, struct snd_ac97 **… in snd_ac97_mixer()
2061 struct snd_ac97 *ac97; in snd_ac97_mixer()
2367 static void snd_ac97_powerdown(struct snd_ac97 *ac97) in snd_ac97_powerdown()
2439 int snd_ac97_update_power(struct snd_ac97 *ac97, int reg, int powerup) in snd_ac97_update_power()
2479 static void update_power_regs(struct snd_ac97 *ac97) in update_power_regs()
2531 void snd_ac97_suspend(struct snd_ac97 *ac97) in snd_ac97_suspend()
2548 static void snd_ac97_restore_status(struct snd_ac97 *ac97) in snd_ac97_restore_status()
2569 static void snd_ac97_restore_iec958(struct snd_ac97 *ac97) in snd_ac97_restore_iec958()
2592 void snd_ac97_resume(struct snd_ac97 *ac97) in snd_ac97_resume()
2673 static int snd_ac97_remove_ctl(struct snd_ac97 *ac97, const char *name, in snd_ac97_remove_ctl()
2683 static struct snd_kcontrol *ctl_find(struct snd_ac97 *ac97, const char *name, const char *suffix) in ctl_find()
2693 static int snd_ac97_rename_ctl(struct snd_ac97 *ac97, const char *src, in snd_ac97_rename_ctl()
2708 static void snd_ac97_rename_vol_ctl(struct snd_ac97 *ac97, const char *src, in snd_ac97_rename_vol_ctl()
2716 static int snd_ac97_swap_ctl(struct snd_ac97 *ac97, const char *s1, in snd_ac97_swap_ctl()
2751 static int tune_hp_only(struct snd_ac97 *ac97) in tune_hp_only()
2766 static int tune_hp_only(struct snd_ac97 *ac97) in tune_hp_only()
2778 static int tune_swap_hp(struct snd_ac97 *ac97) in tune_swap_hp()
2788 static int tune_swap_surround(struct snd_ac97 *ac97) in tune_swap_surround()
2797 static int tune_ad_sharing(struct snd_ac97 *ac97) in tune_ad_sharing()
2814 static int tune_alc_jack(struct snd_ac97 *ac97) in tune_alc_jack()
2829 static int tune_inv_eapd(struct snd_ac97 *ac97) in tune_inv_eapd()
2842 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in master_mute_sw_put()
2858 static int tune_mute_led(struct snd_ac97 *ac97) in tune_mute_led()
2878 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); in hp_master_mute_sw_put()
2893 static int tune_hp_mute_led(struct snd_ac97 *ac97) in tune_hp_mute_led()
2913 int (*func)(struct snd_ac97 *);
2929 static int apply_quirk(struct snd_ac97 *ac97, int type) in apply_quirk()
2941 static int apply_quirk_str(struct snd_ac97 *ac97, const char *typestr) in apply_quirk_str()
2970 int snd_ac97_tune_hardware(struct snd_ac97 *ac97, in snd_ac97_tune_hardware()