Searched refs:ac97 (Results 1 - 25 of 75) sorted by relevance

123

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/ac97/
H A Dac97_local.h25 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 Dac97_proc.c39 static void snd_ac97_proc_read_functions(struct snd_ac97 *ac97, struct snd_info_buffer *buffer) argument
54 snd_ac97_write(ac97, AC97_FUNC_SELECT, function << 1);
55 info = snd_ac97_read(ac97, AC97_FUNC_INFO);
62 sense_info = snd_ac97_read(ac97, AC97_SENSE_INFO);
109 static void snd_ac97_proc_read_main(struct snd_ac97 *ac97, struct snd_info_buffer *buffer, int subidx) argument
118 snd_ac97_get_name(NULL, ac97->id, name, 0);
119 snd_iprintf(buffer, "%d-%d/%d: %s\n\n", ac97->addr, ac97->num, subidx, name);
121 if ((ac97->scaps & AC97_SCAP_AUDIO) == 0)
125 ac97
341 struct snd_ac97 *ac97 = entry->private_data; local
376 struct snd_ac97 *ac97 = entry->private_data; local
391 snd_ac97_proc_regs_read_main(struct snd_ac97 *ac97, struct snd_info_buffer *buffer, int subidx) argument
404 struct snd_ac97 *ac97 = entry->private_data; local
425 snd_ac97_proc_init(struct snd_ac97 * ac97) argument
458 snd_ac97_proc_done(struct snd_ac97 * ac97) argument
[all...]
H A Dac97_codec.c64 int (*patch)(struct snd_ac97 *ac97);
65 int (*mpatch)(struct snd_ac97 *ac97);
197 static void update_power_regs(struct snd_ac97 *ac97);
199 #define ac97_is_power_save_mode(ac97) \
200 ((ac97->scaps & AC97_SCAP_POWER_SAVE) && power_save)
202 #define ac97_is_power_save_mode(ac97) 0
210 static int snd_ac97_valid_reg(struct snd_ac97 *ac97, unsigned short reg) argument
213 switch (ac97->id) {
250 * @ac97: the ac97 instanc
260 snd_ac97_write(struct snd_ac97 *ac97, unsigned short reg, unsigned short value) argument
285 snd_ac97_read(struct snd_ac97 *ac97, unsigned short reg) argument
293 snd_ac97_read_cache(struct snd_ac97 *ac97, unsigned short reg) argument
314 snd_ac97_write_cache(struct snd_ac97 *ac97, unsigned short reg, unsigned short value) argument
339 snd_ac97_update(struct snd_ac97 *ac97, unsigned short reg, unsigned short value) argument
371 snd_ac97_update_bits(struct snd_ac97 *ac97, unsigned short reg, unsigned short mask, unsigned short value) argument
386 snd_ac97_update_bits_nolock(struct snd_ac97 *ac97, unsigned short reg, unsigned short mask, unsigned short value) argument
403 snd_ac97_ad18xx_update_pcm_bits(struct snd_ac97 *ac97, int codec, unsigned short mask, unsigned short value) argument
453 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
470 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
491 snd_ac97_page_save(struct snd_ac97 *ac97, int reg, struct snd_kcontrol *kcontrol) argument
505 snd_ac97_page_restore(struct snd_ac97 *ac97, int page_save) argument
531 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
555 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
679 set_inv_eapd(struct snd_ac97 *ac97, struct snd_kcontrol *kctl) argument
716 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
729 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
797 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
866 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
883 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
897 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
929 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
941 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
994 snd_ac97_free(struct snd_ac97 *ac97) argument
1013 struct snd_ac97 *ac97 = device->device_data; local
1018 snd_ac97_try_volume_mix(struct snd_ac97 * ac97, int reg) argument
1068 check_volume_resolution(struct snd_ac97 *ac97, int reg, unsigned char *lo_max, unsigned char *hi_max) argument
1105 snd_ac97_try_bit(struct snd_ac97 * ac97, int reg, int bit) argument
1119 snd_ac97_change_volume_params2(struct snd_ac97 * ac97, int reg, int shift, unsigned char *max) argument
1145 snd_ac97_cnew(const struct snd_kcontrol_new *_template, struct snd_ac97 * ac97) argument
1157 snd_ac97_cmute_new_stereo(struct snd_card *card, char *name, int reg, int check_stereo, int check_amix, struct snd_ac97 *ac97) argument
1227 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
1262 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
1296 snd_ac97_mixer_build(struct snd_ac97 * ac97) argument
1633 snd_ac97_modem_build(struct snd_card *card, struct snd_ac97 * ac97) argument
1657 snd_ac97_test_rate(struct snd_ac97 *ac97, int reg, int shadow_reg, int rate) argument
1670 snd_ac97_determine_rates(struct snd_ac97 *ac97, int reg, int shadow_reg, unsigned int *r_result) argument
1730 snd_ac97_determine_spdif_rates(struct snd_ac97 *ac97) argument
1761 snd_ac97_get_name(struct snd_ac97 *ac97, unsigned int id, char *name, int modem) argument
1801 snd_ac97_get_short_name(struct snd_ac97 *ac97) argument
1816 ac97_reset_wait(struct snd_ac97 *ac97, int timeout, int with_modem) argument
1914 struct snd_ac97 *ac97 = device->device_data; local
1934 struct snd_ac97 *ac97 = device->device_data; local
1973 struct snd_ac97 *ac97; local
2259 snd_ac97_powerdown(struct snd_ac97 *ac97) argument
2326 snd_ac97_update_power(struct snd_ac97 *ac97, int reg, int powerup) argument
2365 update_power_regs(struct snd_ac97 *ac97) argument
2417 snd_ac97_suspend(struct snd_ac97 *ac97) argument
2435 snd_ac97_restore_status(struct snd_ac97 *ac97) argument
2456 snd_ac97_restore_iec958(struct snd_ac97 *ac97) argument
2479 snd_ac97_resume(struct snd_ac97 *ac97) argument
2549 snd_ac97_remove_ctl(struct snd_ac97 *ac97, const char *name, const char *suffix) argument
2559 ctl_find(struct snd_ac97 *ac97, const char *name, const char *suffix) argument
2569 snd_ac97_rename_ctl(struct snd_ac97 *ac97, const char *src, const char *dst, const char *suffix) argument
2581 snd_ac97_rename_vol_ctl(struct snd_ac97 *ac97, const char *src, const char *dst) argument
2589 snd_ac97_swap_ctl(struct snd_ac97 *ac97, const char *s1, const char *s2, const char *suffix) argument
2617 tune_hp_only(struct snd_ac97 *ac97) argument
2632 tune_swap_hp(struct snd_ac97 *ac97) argument
2642 tune_swap_surround(struct snd_ac97 *ac97) argument
2651 tune_ad_sharing(struct snd_ac97 *ac97) argument
2668 tune_alc_jack(struct snd_ac97 *ac97) argument
2682 tune_inv_eapd(struct snd_ac97 *ac97) argument
2695 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
2711 tune_mute_led(struct snd_ac97 *ac97) argument
2728 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
2743 tune_hp_mute_led(struct snd_ac97 *ac97) argument
2776 apply_quirk(struct snd_ac97 *ac97, int type) argument
2788 apply_quirk_str(struct snd_ac97 *ac97, const char *typestr) argument
2805 snd_ac97_tune_hardware(struct snd_ac97 *ac97, struct ac97_quirk *quirk, const char *override) argument
[all...]
H A Dac97_patch.c33 static int patch_build_controls(struct snd_ac97 * ac97, const struct snd_kcontrol_new *controls, int count) argument
38 if ((err = snd_ctl_add(ac97->bus->card, snd_ac97_cnew(&controls[idx], ac97))) < 0)
44 static void reset_tlv(struct snd_ac97 *ac97, const char *name, argument
52 kctl = snd_ctl_find_id(ac97->bus->card, &sid);
58 static int ac97_update_bits_page(struct snd_ac97 *ac97, unsigned short reg, unsigned short mask, unsigned short value, unsigned short page) argument
63 mutex_lock(&ac97->page_mutex);
64 page_save = snd_ac97_read(ac97, AC97_INT_PAGING) & AC97_PAGE_MASK;
65 snd_ac97_update_bits(ac97, AC97_INT_PAGING, AC97_PAGE_MASK, page);
66 ret = snd_ac97_update_bits(ac97, re
95 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
103 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
125 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
133 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
171 is_surround_on(struct snd_ac97 *ac97) argument
176 is_clfe_on(struct snd_ac97 *ac97) argument
182 is_shared_surrout(struct snd_ac97 *ac97) argument
188 is_shared_clfeout(struct snd_ac97 *ac97) argument
194 is_shared_linein(struct snd_ac97 *ac97) argument
200 is_shared_micin(struct snd_ac97 *ac97) argument
226 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
239 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
273 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
283 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
311 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
321 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
351 patch_yamaha_ymf753_3d(struct snd_ac97 * ac97) argument
367 patch_yamaha_ymf753_post_spdif(struct snd_ac97 * ac97) argument
381 patch_yamaha_ymf753(struct snd_ac97 * ac97) argument
407 patch_wolfson_wm9703_specific(struct snd_ac97 * ac97) argument
427 patch_wolfson03(struct snd_ac97 * ac97) argument
442 patch_wolfson_wm9704_specific(struct snd_ac97 * ac97) argument
458 patch_wolfson04(struct snd_ac97 * ac97) argument
465 patch_wolfson_wm9705_specific(struct snd_ac97 * ac97) argument
480 patch_wolfson05(struct snd_ac97 * ac97) argument
595 patch_wolfson_wm9711_specific(struct snd_ac97 * ac97) argument
616 patch_wolfson11(struct snd_ac97 * ac97) argument
762 patch_wolfson_wm9713_3d(struct snd_ac97 * ac97) argument
773 patch_wolfson_wm9713_specific(struct snd_ac97 * ac97) argument
792 patch_wolfson_wm9713_suspend(struct snd_ac97 * ac97) argument
798 patch_wolfson_wm9713_resume(struct snd_ac97 * ac97) argument
815 patch_wolfson13(struct snd_ac97 * ac97) argument
835 patch_tritech_tr28028(struct snd_ac97 * ac97) argument
847 patch_sigmatel_stac9700_3d(struct snd_ac97 * ac97) argument
860 patch_sigmatel_stac9708_3d(struct snd_ac97 * ac97) argument
888 patch_sigmatel_stac97xx_specific(struct snd_ac97 * ac97) argument
913 patch_sigmatel_stac9700(struct snd_ac97 * ac97) argument
921 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
942 patch_sigmatel_stac9708_specific(struct snd_ac97 *ac97) argument
960 patch_sigmatel_stac9708(struct snd_ac97 * ac97) argument
986 patch_sigmatel_stac9721(struct snd_ac97 * ac97) argument
1000 patch_sigmatel_stac9744(struct snd_ac97 * ac97) argument
1012 patch_sigmatel_stac9756(struct snd_ac97 * ac97) argument
1040 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
1054 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
1084 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
1095 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
1117 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
1125 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
1162 patch_sigmatel_stac9758_specific(struct snd_ac97 *ac97) argument
1189 patch_sigmatel_stac9758(struct snd_ac97 * ac97) argument
1236 patch_cirrus_build_spdif(struct snd_ac97 * ac97) argument
1262 patch_cirrus_spdif(struct snd_ac97 * ac97) argument
1283 patch_cirrus_cs4299(struct snd_ac97 * ac97) argument
1298 patch_conexant_build_spdif(struct snd_ac97 * ac97) argument
1319 patch_conexant(struct snd_ac97 * ac97) argument
1328 patch_cx20551(struct snd_ac97 *ac97) argument
1338 ad18xx_resume(struct snd_ac97 *ac97) argument
1401 ad1888_resume(struct snd_ac97 *ac97) argument
1420 patch_ad1819(struct snd_ac97 * ac97) argument
1431 patch_ad1881_unchained(struct snd_ac97 * ac97, int idx, unsigned short mask) argument
1447 patch_ad1881_chained1(struct snd_ac97 * ac97, int idx, unsigned short codec_bits) argument
1465 patch_ad1881_chained(struct snd_ac97 * ac97, int unchained_idx, int cidx1, int cidx2) argument
1497 patch_ad1881(struct snd_ac97 * ac97) argument
1567 patch_ad1885_specific(struct snd_ac97 * ac97) argument
1585 patch_ad1885(struct snd_ac97 * ac97) argument
1598 patch_ad1886_specific(struct snd_ac97 * ac97) argument
1612 patch_ad1886(struct snd_ac97 * ac97) argument
1738 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
1748 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
1765 patch_ad198x_post_spdif(struct snd_ac97 * ac97) argument
1791 check_list(struct snd_ac97 *ac97, const unsigned int *list) argument
1800 patch_ad1981a_specific(struct snd_ac97 * ac97) argument
1831 check_ad1981_hp_jack_sense(struct snd_ac97 *ac97) argument
1838 patch_ad1981a(struct snd_ac97 *ac97) argument
1851 patch_ad1981b_specific(struct snd_ac97 *ac97) argument
1871 patch_ad1981b(struct snd_ac97 *ac97) argument
1892 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
1902 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
1926 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
1939 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
1953 ad1888_update_jacks(struct snd_ac97 *ac97) argument
1991 patch_ad1888_specific(struct snd_ac97 *ac97) argument
2008 patch_ad1888(struct snd_ac97 * ac97) argument
2028 patch_ad1980_specific(struct snd_ac97 *ac97) argument
2046 patch_ad1980(struct snd_ac97 * ac97) argument
2072 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
2084 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
2129 ad1985_update_jacks(struct snd_ac97 *ac97) argument
2137 patch_ad1985_specific(struct snd_ac97 *ac97) argument
2162 patch_ad1985(struct snd_ac97 * ac97) argument
2200 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
2211 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
2236 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
2247 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
2272 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
2281 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
2297 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
2315 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
2409 ad1986_update_jacks(struct snd_ac97 *ac97) argument
2442 patch_ad1986_specific(struct snd_ac97 *ac97) argument
2462 patch_ad1986(struct snd_ac97 * ac97) argument
2478 alc650_update_jacks(struct snd_ac97 *ac97) argument
2526 patch_alc650_specific(struct snd_ac97 * ac97) argument
2547 patch_alc650(struct snd_ac97 * ac97) argument
2604 alc655_update_jacks(struct snd_ac97 *ac97) argument
2631 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
2647 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
2660 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
2680 patch_alc655_specific(struct snd_ac97 * ac97) argument
2698 patch_alc655(struct snd_ac97 * ac97) argument
2754 alc850_update_jacks(struct snd_ac97 *ac97) argument
2783 patch_alc850_specific(struct snd_ac97 *ac97) argument
2801 patch_alc850(struct snd_ac97 *ac97) argument
2838 cm9738_update_jacks(struct snd_ac97 *ac97) argument
2851 patch_cm9738_specific(struct snd_ac97 * ac97) argument
2861 patch_cm9738(struct snd_ac97 * ac97) argument
2886 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
2896 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
2921 cm9739_update_jacks(struct snd_ac97 *ac97) argument
2936 patch_cm9739_specific(struct snd_ac97 * ac97) argument
2941 patch_cm9739_post_spdif(struct snd_ac97 * ac97) argument
2952 patch_cm9739(struct snd_ac97 * ac97) argument
3010 cm9761_update_jacks(struct snd_ac97 *ac97) argument
3062 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
3075 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); local
3106 patch_cm9761_post_spdif(struct snd_ac97 * ac97) argument
3111 patch_cm9761_specific(struct snd_ac97 * ac97) argument
3122 patch_cm9761(struct snd_ac97 *ac97) argument
3200 patch_cm9780_specific(struct snd_ac97 *ac97) argument
3210 patch_cm9780(struct snd_ac97 *ac97) argument
3237 patch_vt1616_specific(struct snd_ac97 * ac97) argument
3253 patch_vt1616(struct snd_ac97 * ac97) argument
3348 patch_vt1617a(struct snd_ac97 * ac97) argument
3371 it2646_update_jacks(struct snd_ac97 *ac97) argument
3392 patch_it2646_specific(struct snd_ac97 * ac97) argument
3407 patch_it2646(struct snd_ac97 * ac97) argument
3427 patch_si3036_specific(struct snd_ac97 * ac97) argument
3440 mpatch_si3036(struct snd_ac97 * ac97) argument
3472 patch_lm4550(struct snd_ac97 *ac97) argument
3494 patch_ucb1400_specific(struct snd_ac97 * ac97) argument
3507 patch_ucb1400(struct snd_ac97 * ac97) argument
[all...]
H A DMakefile6 snd-ac97-codec-objs := ac97_codec.o ac97_pcm.o
9 snd-ac97-codec-objs += ac97_proc.o
15 obj-$(CONFIG_SND_AC97_CODEC) += snd-ac97-codec.o
H A Dac97_pcm.c173 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 Dac97_patch.h70 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,
86 static void snd_ac97_restore_status(struct snd_ac97 *ac97);
87 static void snd_ac97_restore_iec958(struct snd_ac97 *ac97);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/au88x0/
H A Dau88x0_mixer.c17 struct snd_ac97_template ac97; local
26 memset(&ac97, 0, sizeof(ac97));
28 ac97.private_data = vortex;
29 ac97.scaps = AC97_SCAP_NO_SPDIF;
30 err = snd_ac97_mixer(pbus, &ac97, &vortex->codec);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/arm/
H A DMakefile14 obj-$(CONFIG_SND_PXA2XX_AC97) += snd-pxa2xx-ac97.o
15 snd-pxa2xx-ac97-objs := pxa2xx-ac97.o
H A Daaci.c43 static void aaci_ac97_select_codec(struct aaci *aaci, struct snd_ac97 *ac97) argument
45 u32 v, maincr = aaci->maincr | MAINCR_SCRA(ac97->num);
68 static void aaci_ac97_write(struct snd_ac97 *ac97, unsigned short reg, argument
71 struct aaci *aaci = ac97->private_data;
75 if (ac97->num >= 4)
80 aaci_ac97_select_codec(aaci, ac97);
106 static unsigned short aaci_ac97_read(struct snd_ac97 *ac97, unsigned short reg) argument
108 struct aaci *aaci = ac97->private_data;
113 if (ac97->num >= 4)
118 aaci_ac97_select_codec(aaci, ac97);
927 struct snd_ac97 *ac97; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/sound/
H A Dac97_codec.h366 /* ac97->scaps */
380 /* ac97->flags */
416 int (*build_3d) (struct snd_ac97 *ac97);
417 int (*build_specific) (struct snd_ac97 *ac97);
418 int (*build_spdif) (struct snd_ac97 *ac97);
419 int (*build_post_spdif) (struct snd_ac97 *ac97);
421 void (*suspend) (struct snd_ac97 *ac97);
422 void (*resume) (struct snd_ac97 *ac97);
424 void (*update_jacks) (struct snd_ac97 *ac97); /* for jack-sharing */
428 void (*reset) (struct snd_ac97 *ac97);
524 ac97_is_audio(struct snd_ac97 * ac97) argument
528 ac97_is_modem(struct snd_ac97 * ac97) argument
532 ac97_is_rev22(struct snd_ac97 * ac97) argument
536 ac97_can_amap(struct snd_ac97 * ac97) argument
540 ac97_can_spdif(struct snd_ac97 * ac97) argument
562 snd_ac97_update_power(struct snd_ac97 *ac97, int reg, int powerup) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/soc/codecs/
H A DMakefile1 snd-soc-ac97-objs := ac97.o
8 obj-$(CONFIG_SND_SOC_AC97_CODEC) += snd-soc-ac97.o
H A Dac97.c2 * ac97.c -- ALSA Soc AC97 codec support
40 return snd_ac97_set_rate(codec->ac97, reg, runtime->rate);
69 return soc_ac97_ops.read(codec->ac97, reg);
75 soc_ac97_ops.write(codec->ac97, reg, val);
109 /* add codec as bus device for standard ac97 */
115 ret = snd_ac97_mixer(ac97_bus, &ac97_template, &codec->ac97);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/soc/pxa/
H A DMakefile3 snd-soc-pxa2xx-ac97-objs := pxa2xx-ac97.o
7 obj-$(CONFIG_SND_PXA2XX_SOC_AC97) += snd-soc-pxa2xx-ac97.o
H A Dpxa2xx-ac97.c2 * linux/sound/pxa2xx-ac97.c -- AC97 support for the Intel PXA2xx chip.
34 #include "pxa2xx-ac97.h"
50 static unsigned short pxa2xx_ac97_read(struct snd_ac97 *ac97, argument
60 reg_addr = ac97->num ? &SAC_REG_BASE : &PAC_REG_BASE;
63 reg_addr = ac97->num ? &SMC_REG_BASE : &PMC_REG_BASE;
65 reg_addr = ac97->num ? &SAC_REG_BASE : &PAC_REG_BASE;
77 /* start read access across the ac97 link */
101 static void pxa2xx_ac97_write(struct snd_ac97 *ac97, unsigned short reg, argument
110 reg_addr = ac97->num ? &SAC_REG_BASE : &PAC_REG_BASE;
113 reg_addr = ac97
130 pxa2xx_ac97_warm_reset(struct snd_ac97 *ac97) argument
155 pxa2xx_ac97_cold_reset(struct snd_ac97 *ac97) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/cs5535audio/
H A Dcs5535audio.c126 static void snd_cs5535audio_ac97_codec_write(struct snd_ac97 *ac97, argument
129 struct cs5535audio *cs5535au = ac97->private_data;
133 static unsigned short snd_cs5535audio_ac97_codec_read(struct snd_ac97 *ac97, argument
136 struct cs5535audio *cs5535au = ac97->private_data;
144 struct snd_ac97_template ac97; local
154 memset(&ac97, 0, sizeof(ac97));
155 ac97.scaps = AC97_SCAP_AUDIO|AC97_SCAP_SKIP_MODEM;
156 ac97.private_data = cs5535au;
157 ac97
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/ice1712/
H A Damp.c72 snd_ac97_write_cache(ice->ac97, 0x5a, snd_ac97_read(ice->ac97, 0x5a) & ~0x8000);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/oss/emu10k1/
H A Defxmgr.c108 card->ac97->mixer_state[oss_mixer] = (right << 8) | left;
111 card->ac97->write_mixer(card->ac97, oss_mixer, left, right);
131 val = card->ac97->mixer_state[oss_channel];
144 left = card->ac97->mixer_state[oss_channel] & 0xff;
145 right = (card->ac97->mixer_state[oss_channel] >> 8) & 0xff;
161 left = card->ac97->mixer_state[oss_channel] & 0xff;
162 right = (card->ac97->mixer_state[oss_channel] >> 8) & 0xff;
H A Dmain.c50 * 0.8 Make use of the kernel ac97 interface. Support for a dsp patch manager.
246 card->ac97->dev_mixer = register_sound_mixer(&emu10k1_mixer_fops, -1);
247 if (card->ac97->dev_mixer < 0) {
286 unregister_sound_mixer(card->ac97->dev_mixer);
307 unregister_sound_mixer(card->ac97->dev_mixer);
331 len += sprintf (page + len, "/dev/mixer%d\n", card->ac97->dev_mixer / 16);
363 sprintf(s, "driver/emu10k1/%s/ac97", pci_name(card->pci_dev));
364 if (!create_proc_read_entry (s, 0, NULL, ac97_read_proc, card->ac97)) {
392 sprintf(s, "driver/emu10k1/%s/ac97", pci_name(card->pci_dev));
414 card->ac97
[all...]
H A Dmixer.c154 /* Used by the ac97 driver */
169 /* Not used by the ac97 driver */
456 unsigned int state = card->ac97->mixer_state[id];
460 card->ac97->stereo_mixers |= (1 << id);
463 card->ac97->supported_mixers |= (1 << id);
466 set_treble(card, card->ac97->mixer_state[id] & 0xff, (card->ac97->mixer_state[id] >> 8) & 0xff);
468 set_bass(card, card->ac97->mixer_state[id] & 0xff, (card->ac97->mixer_state[id] >> 8) & 0xff);
473 card->ac97
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/
H A Dvia82xx_modem.c253 struct snd_ac97 *ac97; member in struct:via82xx_modem
401 static void snd_via82xx_codec_wait(struct snd_ac97 *ac97) argument
403 struct via82xx_modem *chip = ac97->private_data;
405 err = snd_via82xx_codec_ready(chip, ac97->num);
410 static void snd_via82xx_codec_write(struct snd_ac97 *ac97, argument
414 struct via82xx_modem *chip = ac97->private_data;
420 xval = !ac97->num ? VIA_REG_AC97_CODEC_ID_PRIMARY : VIA_REG_AC97_CODEC_ID_SECONDARY;
425 snd_via82xx_codec_ready(chip, ac97->num);
428 static unsigned short snd_via82xx_codec_read(struct snd_ac97 *ac97, unsigned short reg) argument
430 struct via82xx_modem *chip = ac97
874 snd_via82xx_mixer_free_ac97(struct snd_ac97 *ac97) argument
883 struct snd_ac97_template ac97; local
[all...]
H A Dintel8x0m.c191 struct snd_ac97 *ac97; member in struct:ichdev
212 struct snd_ac97 *ac97; member in struct:intel8x0m
330 /* access to some forbidden (non existant) ac97 registers will not
340 static void snd_intel8x0_codec_write(struct snd_ac97 *ac97, argument
344 struct intel8x0m *chip = ac97->private_data;
346 if (snd_intel8x0m_codec_semaphore(chip, ac97->num) < 0) {
348 snd_printk(KERN_ERR "codec_write %d: semaphore is not ready for register 0x%x\n", ac97->num, reg);
350 iaputword(chip, reg + ac97->num * 0x80, val);
353 static unsigned short snd_intel8x0_codec_read(struct snd_ac97 *ac97, argument
356 struct intel8x0m *chip = ac97
778 snd_intel8x0_mixer_free_ac97(struct snd_ac97 *ac97) argument
788 struct snd_ac97_template ac97; local
[all...]
H A Datiixp_modem.c246 struct snd_ac97 *ac97[NUM_ATI_CODECS]; member in struct:atiixp_modem
457 static unsigned short snd_atiixp_ac97_read(struct snd_ac97 *ac97, argument
460 struct atiixp_modem *chip = ac97->private_data;
461 return snd_atiixp_codec_read(chip, ac97->num, reg);
465 static void snd_atiixp_ac97_write(struct snd_ac97 *ac97, unsigned short reg, argument
468 struct atiixp_modem *chip = ac97->private_data;
474 snd_atiixp_codec_write(chip, ac97->num, reg, val);
813 if (! chip->ac97[i])
815 snd_ac97_write(chip->ac97[i], AC97_LINE1_RATE, params_rate(hw_params));
816 snd_ac97_write(chip->ac97[
1064 struct snd_ac97_template ac97; local
[all...]
H A Dvia82xx.c385 struct snd_ac97 *ac97; member in struct:via82xx
541 static void snd_via82xx_codec_wait(struct snd_ac97 *ac97) argument
543 struct via82xx *chip = ac97->private_data;
545 err = snd_via82xx_codec_ready(chip, ac97->num);
550 static void snd_via82xx_codec_write(struct snd_ac97 *ac97, argument
554 struct via82xx *chip = ac97->private_data;
557 xval = !ac97->num ? VIA_REG_AC97_CODEC_ID_PRIMARY : VIA_REG_AC97_CODEC_ID_SECONDARY;
562 snd_via82xx_codec_ready(chip, ac97->num);
565 static unsigned short snd_via82xx_codec_read(struct snd_ac97 *ac97, unsigned short reg) argument
567 struct via82xx *chip = ac97
1728 snd_via82xx_mixer_free_ac97(struct snd_ac97 *ac97) argument
1801 struct snd_ac97_template ac97; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/mips/
H A Dau1x00.c98 struct snd_ac97 *ac97; member in struct:snd_au1000
363 snd_ac97_set_rate(au1000->ac97, AC97_PCM_FRONT_DAC_RATE, runtime->rate);
377 snd_ac97_set_rate(au1000->ac97, AC97_PCM_LR_ADC_RATE, runtime->rate);
493 snd_au1000_ac97_read(struct snd_ac97 *ac97, unsigned short reg) argument
495 struct snd_au1000 *au1000 = ac97->private_data;
531 snd_au1000_ac97_write(struct snd_ac97 *ac97, unsigned short reg, unsigned short val) argument
533 struct snd_au1000 *au1000 = ac97->private_data;
558 struct snd_ac97_template ac97; local
594 memset(&ac97, 0, sizeof(ac97));
[all...]

Completed in 213 milliseconds

123