/sound/pci/ac97/ |
H A D | Makefile | 6 snd-ac97-codec-y := ac97_codec.o ac97_pcm.o 7 snd-ac97-codec-$(CONFIG_PROC_FS) += ac97_proc.o 10 obj-$(CONFIG_SND_AC97_CODEC) += snd-ac97-codec.o
|
H A D | ac97_local.h | 25 void snd_ac97_get_name(struct snd_ac97 *ac97, unsigned int id, char *name, 27 int snd_ac97_update_bits_nolock(struct snd_ac97 *ac97, unsigned short reg, 32 void snd_ac97_bus_proc_init(struct snd_ac97_bus * ac97); 33 void snd_ac97_bus_proc_done(struct snd_ac97_bus * ac97); 34 void snd_ac97_proc_init(struct snd_ac97 * ac97); 35 void snd_ac97_proc_done(struct snd_ac97 * ac97);
|
H A D | ac97_patch.c | 33 static struct snd_kcontrol *snd_ac97_find_mixer_ctl(struct snd_ac97 *ac97, 35 static int snd_ac97_add_vmaster(struct snd_ac97 *ac97, char *name, 42 static int patch_build_controls(struct snd_ac97 * ac97, const struct snd_kcontrol_new *controls, int count) argument 47 if ((err = snd_ctl_add(ac97->bus->card, snd_ac97_cnew(&controls[idx], ac97))) < 0) 53 static void reset_tlv(struct snd_ac97 *ac97, const char *name, argument 61 kctl = snd_ctl_find_id(ac97->bus->card, &sid); 67 static int ac97_update_bits_page(struct snd_ac97 *ac97, unsigned short reg, unsigned short mask, unsigned short value, unsigned short page) argument 72 mutex_lock(&ac97->page_mutex); 73 page_save = snd_ac97_read(ac97, AC97_INT_PAGIN 104 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 112 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 133 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 141 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 195 is_surround_on(struct snd_ac97 *ac97) argument 200 is_clfe_on(struct snd_ac97 *ac97) argument 206 is_shared_surrout(struct snd_ac97 *ac97) argument 212 is_shared_clfeout(struct snd_ac97 *ac97) argument 218 is_shared_linein(struct snd_ac97 *ac97) argument 224 is_shared_micin(struct snd_ac97 *ac97) argument 229 alc850_is_aux_back_surround(struct snd_ac97 *ac97) argument 259 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 273 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 310 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 321 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 330 patch_yamaha_ymf7x3_3d(struct snd_ac97 *ac97) argument 366 patch_yamaha_ymf743_build_spdif(struct snd_ac97 *ac97) argument 388 patch_yamaha_ymf743(struct snd_ac97 *ac97) argument 417 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 427 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 458 patch_yamaha_ymf753_post_spdif(struct snd_ac97 * ac97) argument 472 patch_yamaha_ymf753(struct snd_ac97 * ac97) argument 498 patch_wolfson_wm9703_specific(struct snd_ac97 * ac97) argument 518 patch_wolfson03(struct snd_ac97 * ac97) argument 533 patch_wolfson_wm9704_specific(struct snd_ac97 * ac97) argument 549 patch_wolfson04(struct snd_ac97 * ac97) argument 556 patch_wolfson05(struct snd_ac97 * ac97) argument 672 patch_wolfson_wm9711_specific(struct snd_ac97 * ac97) argument 693 patch_wolfson11(struct snd_ac97 * ac97) argument 839 patch_wolfson_wm9713_3d(struct snd_ac97 * ac97) argument 850 patch_wolfson_wm9713_specific(struct snd_ac97 * ac97) argument 869 patch_wolfson_wm9713_suspend(struct snd_ac97 * ac97) argument 875 patch_wolfson_wm9713_resume(struct snd_ac97 * ac97) argument 892 patch_wolfson13(struct snd_ac97 * ac97) argument 912 patch_tritech_tr28028(struct snd_ac97 * ac97) argument 924 patch_sigmatel_stac9700_3d(struct snd_ac97 * ac97) argument 937 patch_sigmatel_stac9708_3d(struct snd_ac97 * ac97) argument 968 patch_sigmatel_stac97xx_specific(struct snd_ac97 * ac97) argument 993 patch_sigmatel_stac9700(struct snd_ac97 * ac97) argument 1001 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 1022 patch_sigmatel_stac9708_specific(struct snd_ac97 *ac97) argument 1040 patch_sigmatel_stac9708(struct snd_ac97 * ac97) argument 1066 patch_sigmatel_stac9721(struct snd_ac97 * ac97) argument 1080 patch_sigmatel_stac9744(struct snd_ac97 * ac97) argument 1092 patch_sigmatel_stac9756(struct snd_ac97 * ac97) argument 1120 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 1134 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 1164 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 1175 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 1197 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 1205 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 1242 patch_sigmatel_stac9758_specific(struct snd_ac97 *ac97) argument 1269 patch_sigmatel_stac9758(struct snd_ac97 * ac97) argument 1317 patch_cirrus_build_spdif(struct snd_ac97 * ac97) argument 1343 patch_cirrus_spdif(struct snd_ac97 * ac97) argument 1364 patch_cirrus_cs4299(struct snd_ac97 * ac97) argument 1379 patch_conexant_build_spdif(struct snd_ac97 * ac97) argument 1400 patch_conexant(struct snd_ac97 * ac97) argument 1409 patch_cx20551(struct snd_ac97 *ac97) argument 1419 ad18xx_resume(struct snd_ac97 *ac97) argument 1482 ad1888_resume(struct snd_ac97 *ac97) argument 1501 patch_ad1819(struct snd_ac97 * ac97) argument 1512 patch_ad1881_unchained(struct snd_ac97 * ac97, int idx, unsigned short mask) argument 1528 patch_ad1881_chained1(struct snd_ac97 * ac97, int idx, unsigned short codec_bits) argument 1546 patch_ad1881_chained(struct snd_ac97 * ac97, int unchained_idx, int cidx1, int cidx2) argument 1578 patch_ad1881(struct snd_ac97 * ac97) argument 1648 patch_ad1885_specific(struct snd_ac97 * ac97) argument 1666 patch_ad1885(struct snd_ac97 * ac97) argument 1679 patch_ad1886_specific(struct snd_ac97 * ac97) argument 1693 patch_ad1886(struct snd_ac97 * ac97) argument 1820 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 1830 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 1847 patch_ad198x_post_spdif(struct snd_ac97 * ac97) argument 1876 check_list(struct snd_ac97 *ac97, const unsigned int *list) argument 1885 patch_ad1981a_specific(struct snd_ac97 * ac97) argument 1917 check_ad1981_hp_jack_sense(struct snd_ac97 *ac97) argument 1924 patch_ad1981a(struct snd_ac97 *ac97) argument 1937 patch_ad1981b_specific(struct snd_ac97 *ac97) argument 1957 patch_ad1981b(struct snd_ac97 *ac97) argument 1971 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 1984 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 2010 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 2023 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 2037 ad1888_update_jacks(struct snd_ac97 *ac97) argument 2076 patch_ad1888_specific(struct snd_ac97 *ac97) argument 2097 patch_ad1888(struct snd_ac97 * ac97) argument 2128 patch_ad1980_specific(struct snd_ac97 *ac97) argument 2146 patch_ad1980(struct snd_ac97 * ac97) argument 2172 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 2184 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 2228 ad1985_update_jacks(struct snd_ac97 *ac97) argument 2236 patch_ad1985_specific(struct snd_ac97 *ac97) argument 2261 patch_ad1985(struct snd_ac97 * ac97) argument 2291 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 2302 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 2327 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 2338 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 2363 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 2372 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 2388 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 2406 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 2500 ad1986_update_jacks(struct snd_ac97 *ac97) argument 2533 patch_ad1986_specific(struct snd_ac97 *ac97) argument 2553 patch_ad1986(struct snd_ac97 * ac97) argument 2568 patch_alc203(struct snd_ac97 *ac97) argument 2577 alc650_update_jacks(struct snd_ac97 *ac97) argument 2633 patch_alc650_specific(struct snd_ac97 * ac97) argument 2654 patch_alc650(struct snd_ac97 * ac97) argument 2712 alc655_update_jacks(struct snd_ac97 *ac97) argument 2739 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 2755 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 2768 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 2788 patch_alc655_specific(struct snd_ac97 * ac97) argument 2806 patch_alc655(struct snd_ac97 * ac97) argument 2865 alc850_update_jacks(struct snd_ac97 *ac97) argument 2900 patch_alc850_specific(struct snd_ac97 *ac97) argument 2918 patch_alc850(struct snd_ac97 *ac97) argument 2953 patch_aztech_azf3328_specific(struct snd_ac97 *ac97) argument 2991 patch_aztech_azf3328(struct snd_ac97 *ac97) argument 3000 cm9738_update_jacks(struct snd_ac97 *ac97) argument 3013 patch_cm9738_specific(struct snd_ac97 * ac97) argument 3023 patch_cm9738(struct snd_ac97 * ac97) argument 3049 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 3059 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 3084 cm9739_update_jacks(struct snd_ac97 *ac97) argument 3099 patch_cm9739_specific(struct snd_ac97 * ac97) argument 3104 patch_cm9739_post_spdif(struct snd_ac97 * ac97) argument 3115 patch_cm9739(struct snd_ac97 * ac97) argument 3174 cm9761_update_jacks(struct snd_ac97 *ac97) argument 3229 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 3242 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 3273 patch_cm9761_post_spdif(struct snd_ac97 * ac97) argument 3278 patch_cm9761_specific(struct snd_ac97 * ac97) argument 3289 patch_cm9761(struct snd_ac97 *ac97) argument 3374 patch_cm9780_specific(struct snd_ac97 *ac97) argument 3384 patch_cm9780(struct snd_ac97 *ac97) argument 3428 snd_ac97_find_mixer_ctl(struct snd_ac97 *ac97, const char *name) argument 3439 snd_ac97_add_vmaster(struct snd_ac97 *ac97, char *name, const unsigned int *tlv, const char **slaves) argument 3468 patch_vt1616_specific(struct snd_ac97 * ac97) argument 3503 patch_vt1616(struct snd_ac97 * ac97) argument 3598 patch_vt1617a(struct snd_ac97 * ac97) argument 3814 patch_vt1618(struct snd_ac97 *ac97) argument 3822 it2646_update_jacks(struct snd_ac97 *ac97) argument 3843 patch_it2646_specific(struct snd_ac97 * ac97) argument 3858 patch_it2646(struct snd_ac97 * ac97) argument 3878 patch_si3036_specific(struct snd_ac97 * ac97) argument 3891 mpatch_si3036(struct snd_ac97 * ac97) argument 3923 patch_lm4550(struct snd_ac97 *ac97) argument 3945 patch_ucb1400_specific(struct snd_ac97 * ac97) argument 3958 patch_ucb1400(struct snd_ac97 * ac97) argument [all...] |
H A D | ac97_codec.c | 64 int (*patch)(struct snd_ac97 *ac97); 65 int (*mpatch)(struct snd_ac97 *ac97); 208 static void update_power_regs(struct snd_ac97 *ac97); 210 #define ac97_is_power_save_mode(ac97) \ 211 ((ac97->scaps & AC97_SCAP_POWER_SAVE) && power_save) 213 #define ac97_is_power_save_mode(ac97) 0 221 static int snd_ac97_valid_reg(struct snd_ac97 *ac97, unsigned short reg) argument 224 switch (ac97->id) { 269 * @ac97: the ac97 instanc 279 snd_ac97_write(struct snd_ac97 *ac97, unsigned short reg, unsigned short value) argument 304 snd_ac97_read(struct snd_ac97 *ac97, unsigned short reg) argument 312 snd_ac97_read_cache(struct snd_ac97 *ac97, unsigned short reg) argument 333 snd_ac97_write_cache(struct snd_ac97 *ac97, unsigned short reg, unsigned short value) argument 358 snd_ac97_update(struct snd_ac97 *ac97, unsigned short reg, unsigned short value) argument 390 snd_ac97_update_bits(struct snd_ac97 *ac97, unsigned short reg, unsigned short mask, unsigned short value) argument 405 snd_ac97_update_bits_nolock(struct snd_ac97 *ac97, unsigned short reg, unsigned short mask, unsigned short value) argument 422 snd_ac97_ad18xx_update_pcm_bits(struct snd_ac97 *ac97, int codec, unsigned short mask, unsigned short value) argument 472 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 489 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 510 snd_ac97_page_save(struct snd_ac97 *ac97, int reg, struct snd_kcontrol *kcontrol) argument 524 snd_ac97_page_restore(struct snd_ac97 *ac97, int page_save) argument 550 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 574 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 698 set_inv_eapd(struct snd_ac97 *ac97, struct snd_kcontrol *kctl) argument 736 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 749 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 823 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 892 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 909 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 923 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 955 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 967 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 1020 snd_ac97_free(struct snd_ac97 *ac97) argument 1038 struct snd_ac97 *ac97 = device->device_data; local 1043 snd_ac97_try_volume_mix(struct snd_ac97 * ac97, int reg) argument 1093 check_volume_resolution(struct snd_ac97 *ac97, int reg, unsigned char *lo_max, unsigned char *hi_max) argument 1133 snd_ac97_try_bit(struct snd_ac97 * ac97, int reg, int bit) argument 1147 snd_ac97_change_volume_params2(struct snd_ac97 * ac97, int reg, int shift, unsigned char *max) argument 1173 snd_ac97_cnew(const struct snd_kcontrol_new *_template, struct snd_ac97 * ac97) argument 1185 snd_ac97_cmute_new_stereo(struct snd_card *card, char *name, int reg, int check_stereo, int check_amix, struct snd_ac97 *ac97) argument 1255 snd_ac97_cvol_new(struct snd_card *card, char *name, int reg, unsigned int lo_max, unsigned int hi_max, struct snd_ac97 *ac97) argument 1292 snd_ac97_cmix_new_stereo(struct snd_card *card, const char *pfx, int reg, int check_stereo, int check_amix, struct snd_ac97 *ac97) argument 1326 snd_ac97_mixer_build(struct snd_ac97 * ac97) argument 1668 snd_ac97_modem_build(struct snd_card *card, struct snd_ac97 * ac97) argument 1695 snd_ac97_test_rate(struct snd_ac97 *ac97, int reg, int shadow_reg, int rate) argument 1708 snd_ac97_determine_rates(struct snd_ac97 *ac97, int reg, int shadow_reg, unsigned int *r_result) argument 1768 snd_ac97_determine_spdif_rates(struct snd_ac97 *ac97) argument 1799 snd_ac97_get_name(struct snd_ac97 *ac97, unsigned int id, char *name, int modem) argument 1839 snd_ac97_get_short_name(struct snd_ac97 *ac97) argument 1854 ac97_reset_wait(struct snd_ac97 *ac97, int timeout, int with_modem) argument 1953 struct snd_ac97 *ac97 = device->device_data; local 1973 struct snd_ac97 *ac97 = device->device_data; local 2012 struct snd_ac97 *ac97; local 2305 snd_ac97_powerdown(struct snd_ac97 *ac97) argument 2375 snd_ac97_update_power(struct snd_ac97 *ac97, int reg, int powerup) argument 2415 update_power_regs(struct snd_ac97 *ac97) argument 2467 snd_ac97_suspend(struct snd_ac97 *ac97) argument 2484 snd_ac97_restore_status(struct snd_ac97 *ac97) argument 2505 snd_ac97_restore_iec958(struct snd_ac97 *ac97) argument 2528 snd_ac97_resume(struct snd_ac97 *ac97) argument 2602 snd_ac97_remove_ctl(struct snd_ac97 *ac97, const char *name, const char *suffix) argument 2612 ctl_find(struct snd_ac97 *ac97, const char *name, const char *suffix) argument 2622 snd_ac97_rename_ctl(struct snd_ac97 *ac97, const char *src, const char *dst, const char *suffix) argument 2634 snd_ac97_rename_vol_ctl(struct snd_ac97 *ac97, const char *src, const char *dst) argument 2642 snd_ac97_swap_ctl(struct snd_ac97 *ac97, const char *s1, const char *s2, const char *suffix) argument 2671 tune_hp_only(struct snd_ac97 *ac97) argument 2686 tune_hp_only(struct snd_ac97 *ac97) argument 2698 tune_swap_hp(struct snd_ac97 *ac97) argument 2708 tune_swap_surround(struct snd_ac97 *ac97) argument 2717 tune_ad_sharing(struct snd_ac97 *ac97) argument 2734 tune_alc_jack(struct snd_ac97 *ac97) argument 2748 tune_inv_eapd(struct snd_ac97 *ac97) argument 2761 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 2777 tune_mute_led(struct snd_ac97 *ac97) argument 2797 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local 2812 tune_hp_mute_led(struct snd_ac97 *ac97) argument 2848 apply_quirk(struct snd_ac97 *ac97, int type) argument 2860 apply_quirk_str(struct snd_ac97 *ac97, const char *typestr) argument 2889 snd_ac97_tune_hardware(struct snd_ac97 *ac97, struct ac97_quirk *quirk, const char *override) argument [all...] |
H A D | ac97_proc.c | 37 static void snd_ac97_proc_read_functions(struct snd_ac97 *ac97, struct snd_info_buffer *buffer) argument 52 snd_ac97_write(ac97, AC97_FUNC_SELECT, function << 1); 53 info = snd_ac97_read(ac97, AC97_FUNC_INFO); 60 sense_info = snd_ac97_read(ac97, AC97_SENSE_INFO); 107 static void snd_ac97_proc_read_main(struct snd_ac97 *ac97, struct snd_info_buffer *buffer, int subidx) argument 116 snd_ac97_get_name(NULL, ac97->id, name, 0); 117 snd_iprintf(buffer, "%d-%d/%d: %s\n\n", ac97->addr, ac97->num, subidx, name); 119 if ((ac97->scaps & AC97_SCAP_AUDIO) == 0) 123 ac97 345 struct snd_ac97 *ac97 = entry->private_data; local 380 struct snd_ac97 *ac97 = entry->private_data; local 395 snd_ac97_proc_regs_read_main(struct snd_ac97 *ac97, struct snd_info_buffer *buffer, int subidx) argument 408 struct snd_ac97 *ac97 = entry->private_data; local 429 snd_ac97_proc_init(struct snd_ac97 * ac97) argument 462 snd_ac97_proc_done(struct snd_ac97 * ac97) argument [all...] |
H A D | ac97_pcm.c | 173 static int set_spdif_rate(struct snd_ac97 *ac97, unsigned short rate) argument 178 if (! (ac97->ext_id & AC97_EI_SPDIF)) 182 if (ac97->flags & AC97_CS_SPDIF) { 187 snd_ac97_update_bits(ac97, AC97_EXTENDED_STATUS, AC97_EA_SPDIF, 0); 193 if (ac97->id == AC97_ID_CM9739 && rate != 48000) { 194 snd_ac97_update_bits(ac97, AC97_EXTENDED_STATUS, AC97_EA_SPDIF, 0); 202 snd_ac97_update_bits(ac97, AC97_EXTENDED_STATUS, AC97_EA_SPDIF, 0); 209 mutex_lock(&ac97->reg_mutex); 210 old = snd_ac97_read(ac97, reg) & mask; 212 snd_ac97_update_bits_nolock(ac97, AC97_EXTENDED_STATU 257 snd_ac97_set_rate(struct snd_ac97 *ac97, int reg, unsigned int rate) argument 321 get_pslots(struct snd_ac97 *ac97, unsigned char *rate_table, unsigned short *spdif_slots) argument 396 get_cslots(struct snd_ac97 *ac97) argument [all...] |
H A D | ac97_patch.h | 70 struct snd_ac97 * ac97); 77 static int snd_ac97_try_bit(struct snd_ac97 * ac97, int reg, int bit); 78 static int snd_ac97_remove_ctl(struct snd_ac97 *ac97, const char *name, 80 static int snd_ac97_rename_ctl(struct snd_ac97 *ac97, const char *src, 82 static int snd_ac97_swap_ctl(struct snd_ac97 *ac97, const char *s1, 84 static void snd_ac97_rename_vol_ctl(struct snd_ac97 *ac97, const char *src, 87 static void snd_ac97_restore_status(struct snd_ac97 *ac97); 88 static void snd_ac97_restore_iec958(struct snd_ac97 *ac97);
|
/sound/pci/au88x0/ |
H A D | au88x0_mixer.c | 16 struct snd_ac97_template ac97; local 25 memset(&ac97, 0, sizeof(ac97)); 27 ac97.private_data = vortex; 28 ac97.scaps = AC97_SCAP_NO_SPDIF; 29 err = snd_ac97_mixer(pbus, &ac97, &vortex->codec);
|
/sound/soc/au1x/ |
H A D | Makefile | 4 snd-soc-au1xpsc-ac97-objs := psc-ac97.o 8 obj-$(CONFIG_SND_SOC_AU1XPSC_AC97) += snd-soc-au1xpsc-ac97.o
|
/sound/soc/nuc900/ |
H A D | Makefile | 3 snd-soc-nuc900-ac97-objs := nuc900-ac97.o 6 obj-$(CONFIG_SND_SOC_NUC900_AC97) += snd-soc-nuc900-ac97.o
|
/sound/soc/txx9/ |
H A D | Makefile | 3 snd-soc-txx9aclc-ac97-objs := txx9aclc-ac97.o 6 obj-$(CONFIG_SND_SOC_TXX9ACLC_AC97) += snd-soc-txx9aclc-ac97.o
|
H A D | txx9aclc-ac97.c | 48 static unsigned short txx9aclc_ac97_read(struct snd_ac97 *ac97, argument 55 if (!(__raw_readl(base + ACINTSTS) & ACINT_CODECRDY(ac97->num))) 57 reg |= ac97->num << 7; 63 printk(KERN_ERR "ac97 read timeout (reg %#x)\n", reg); 81 static void txx9aclc_ac97_write(struct snd_ac97 *ac97, unsigned short reg, argument 87 __raw_writel(((reg | (ac97->num << 7)) << ACREGACC_REG_SHIFT) | 93 "ac97 write timeout (reg %#x)\n", reg); 98 static void txx9aclc_ac97_cold_reset(struct snd_ac97 *ac97) argument 102 u32 ready = ACINT_CODECRDY(ac97->num) | ACINT_REGACCRDY; 113 dev_err(&ac97 [all...] |
/sound/pci/cs5535audio/ |
H A D | cs5535audio.h | 41 /* cs5535 specific ac97 codec register defines */ 86 struct snd_ac97 *ac97; member in struct:cs5535audio 104 struct snd_ac97_template *ac97); 105 int __devinit olpc_quirks(struct snd_card *card, struct snd_ac97 *ac97); 107 void olpc_analog_input(struct snd_ac97 *ac97, int on); 108 void olpc_mic_bias(struct snd_ac97 *ac97, int on); 110 static inline void olpc_capture_open(struct snd_ac97 *ac97) argument 113 olpc_analog_input(ac97, 0); 115 olpc_mic_bias(ac97, 1); 118 static inline void olpc_capture_close(struct snd_ac97 *ac97) argument 126 olpc_prequirks(struct snd_card *card, struct snd_ac97_template *ac97) argument 128 olpc_quirks(struct snd_card *card, struct snd_ac97 *ac97) argument 133 olpc_analog_input(struct snd_ac97 *ac97, int on) argument 134 olpc_mic_bias(struct snd_ac97 *ac97, int on) argument 135 olpc_capture_open(struct snd_ac97 *ac97) argument 136 olpc_capture_close(struct snd_ac97 *ac97) argument [all...] |
H A D | cs5535audio_olpc.c | 28 void olpc_analog_input(struct snd_ac97 *ac97, int on) argument 36 err = snd_ac97_update_bits(ac97, AC97_AD_TEST2, 50 void olpc_mic_bias(struct snd_ac97 *ac97, int on) argument 58 err = snd_ac97_update_bits(ac97, AC97_AD_MISC, 84 olpc_analog_input(cs5535au->ac97, v->value.integer.value[0]); 101 struct snd_ac97 *ac97 = cs5535au->ac97; local 104 i = (snd_ac97_read(ac97, AC97_AD_MISC) >> AC97_AD_VREFD_SHIFT) & 0x1; 113 olpc_mic_bias(cs5535au->ac97, v->value.integer.value[0]); 137 struct snd_ac97_template *ac97) 136 olpc_prequirks(struct snd_card *card, struct snd_ac97_template *ac97) argument 147 olpc_quirks(struct snd_card *card, struct snd_ac97 *ac97) argument [all...] |
H A D | cs5535audio.c | 133 static void snd_cs5535audio_ac97_codec_write(struct snd_ac97 *ac97, argument 136 struct cs5535audio *cs5535au = ac97->private_data; 140 static unsigned short snd_cs5535audio_ac97_codec_read(struct snd_ac97 *ac97, argument 143 struct cs5535audio *cs5535au = ac97->private_data; 151 struct snd_ac97_template ac97; local 161 memset(&ac97, 0, sizeof(ac97)); 162 ac97.scaps = AC97_SCAP_AUDIO | AC97_SCAP_SKIP_MODEM 164 ac97.private_data = cs5535au; 165 ac97 [all...] |
/sound/arm/ |
H A D | Makefile | 13 snd-pxa2xx-lib-$(CONFIG_SND_PXA2XX_LIB_AC97) += pxa2xx-ac97-lib.o 15 obj-$(CONFIG_SND_PXA2XX_AC97) += snd-pxa2xx-ac97.o 16 snd-pxa2xx-ac97-objs := pxa2xx-ac97.o
|
H A D | pxa2xx-ac97-lib.c | 2 * Based on sound/arm/pxa2xx-ac97.c and sound/soc/pxa/pxa2xx-ac97.c 24 #include <mach/regs-ac97.h> 46 unsigned short pxa2xx_ac97_read(struct snd_ac97 *ac97, unsigned short reg) argument 55 reg_addr = ac97->num ? &SMC_REG_BASE : &PMC_REG_BASE; 57 reg_addr = ac97->num ? &SAC_REG_BASE : &PAC_REG_BASE; 60 /* start read access across the ac97 link */ 86 void pxa2xx_ac97_write(struct snd_ac97 *ac97, unsigned short reg, argument 95 reg_addr = ac97->num ? &SMC_REG_BASE : &PMC_REG_BASE; 97 reg_addr = ac97 200 pxa2xx_ac97_try_warm_reset(struct snd_ac97 *ac97) argument 232 pxa2xx_ac97_try_cold_reset(struct snd_ac97 *ac97) argument 266 pxa2xx_ac97_finish_reset(struct snd_ac97 *ac97) argument [all...] |
/sound/soc/ep93xx/ |
H A D | Makefile | 4 snd-soc-ep93xx-ac97-objs := ep93xx-ac97.o 8 obj-$(CONFIG_SND_EP93XX_SOC_AC97) += snd-soc-ep93xx-ac97.o
|
/sound/soc/blackfin/ |
H A D | Makefile | 2 snd-bf5xx-ac97-objs := bf5xx-ac97-pcm.o 6 snd-soc-bf5xx-ac97-objs := bf5xx-ac97.o 10 obj-$(CONFIG_SND_BF5XX_AC97) += snd-bf5xx-ac97.o 14 obj-$(CONFIG_SND_BF5XX_SOC_AC97) += snd-soc-bf5xx-ac97.o
|
/sound/soc/codecs/ |
H A D | ac97.c | 2 * ac97.c -- ALSA Soc AC97 codec support 34 return snd_ac97_set_rate(codec->ac97, reg, runtime->rate); 46 .name = "ac97-hifi", 66 return soc_ac97_ops.read(codec->ac97, reg); 72 soc_ac97_ops.write(codec->ac97, reg, val); 82 /* add codec as bus device for standard ac97 */ 88 ret = snd_ac97_mixer(ac97_bus, &ac97_template, &codec->ac97); 103 snd_ac97_suspend(codec->ac97); 110 snd_ac97_resume(codec->ac97); 142 .name = "ac97 [all...] |
H A D | stac9766.c | 148 soc_ac97_ops.write(codec->ac97, reg, val); 155 soc_ac97_ops.write(codec->ac97, reg, val); 167 val = soc_ac97_ops.read(codec->ac97, reg - AC97_STAC_PAGE0); 178 val = soc_ac97_ops.read(codec->ac97, reg); 246 soc_ac97_ops.warm_reset(codec->ac97); 251 soc_ac97_ops.reset(codec->ac97); 253 soc_ac97_ops.warm_reset(codec->ac97); 277 codec->ac97->bus->ops->warm_reset(codec->ac97); 278 id = soc_ac97_ops.read(codec->ac97, AC97_VENDOR_ID [all...] |
/sound/pci/ice1712/ |
H A D | amp.c | 71 if (ice->ac97) 74 snd_ac97_write_cache(ice->ac97, 0x5a, 75 snd_ac97_read(ice->ac97, 0x5a) & ~0x8000);
|
/sound/soc/imx/ |
H A D | Makefile | 12 snd-soc-phycore-ac97-objs := phycore-ac97.o 17 obj-$(CONFIG_SND_SOC_PHYCORE_AC97) += snd-soc-phycore-ac97.o
|
/sound/soc/sh/ |
H A D | Makefile | 16 snd-soc-sh7760-ac97-objs := sh7760-ac97.o 22 obj-$(CONFIG_SND_SH7760_AC97) += snd-soc-sh7760-ac97.o
|
/sound/pci/ |
H A D | via82xx_modem.c | 255 struct snd_ac97 *ac97; member in struct:via82xx_modem 407 static void snd_via82xx_codec_wait(struct snd_ac97 *ac97) argument 409 struct via82xx_modem *chip = ac97->private_data; 411 err = snd_via82xx_codec_ready(chip, ac97->num); 416 static void snd_via82xx_codec_write(struct snd_ac97 *ac97, argument 420 struct via82xx_modem *chip = ac97->private_data; 426 xval = !ac97->num ? VIA_REG_AC97_CODEC_ID_PRIMARY : VIA_REG_AC97_CODEC_ID_SECONDARY; 431 snd_via82xx_codec_ready(chip, ac97->num); 434 static unsigned short snd_via82xx_codec_read(struct snd_ac97 *ac97, unsigned short reg) argument 436 struct via82xx_modem *chip = ac97 881 snd_via82xx_mixer_free_ac97(struct snd_ac97 *ac97) argument 890 struct snd_ac97_template ac97; local [all...] |