Searched refs:snd_ac97 (Results 1 - 87 of 87) sorted by relevance

/linux-4.4.14/include/linux/platform_data/
H A Dasoc-imx-ssi.h4 struct snd_ac97;
16 void (*ac97_reset) (struct snd_ac97 *ac97);
17 void (*ac97_warm_reset)(struct snd_ac97 *ac97);
/linux-4.4.14/include/sound/
H A Dpxa2xx-lib.h24 extern unsigned short pxa2xx_ac97_read(struct snd_ac97 *ac97, unsigned short reg);
25 extern void pxa2xx_ac97_write(struct snd_ac97 *ac97, unsigned short reg, unsigned short val);
27 extern bool pxa2xx_ac97_try_warm_reset(struct snd_ac97 *ac97);
28 extern bool pxa2xx_ac97_try_cold_reset(struct snd_ac97 *ac97);
29 extern void pxa2xx_ac97_finish_reset(struct snd_ac97 *ac97);
H A Dac97_codec.h424 struct snd_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);
464 struct snd_ac97 *codec[4];
476 void (*private_free) (struct snd_ac97 *ac97);
484 struct snd_ac97 { struct
488 void (*private_free) (struct snd_ac97 *ac97);
536 #define to_ac97_t(d) container_of(d, struct snd_ac97, dev)
539 static inline int ac97_is_audio(struct snd_ac97 * ac97) ac97_is_audio()
543 static inline int ac97_is_modem(struct snd_ac97 * ac97) ac97_is_modem()
547 static inline int ac97_is_rev22(struct snd_ac97 * ac97) ac97_is_rev22()
551 static inline int ac97_can_amap(struct snd_ac97 * ac97) ac97_can_amap()
555 static inline int ac97_can_spdif(struct snd_ac97 * ac97) ac97_can_spdif()
566 struct snd_ac97 **rac97);
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 short value);
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, snd_ac97_update_power()
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);
644 struct snd_ac97 *codec[4]; /* allocated codecs */
661 static inline void snd_ac97_dev_add_pdata(struct snd_ac97 *ac97, void *data) snd_ac97_dev_add_pdata()
H A Dsoc.h549 struct snd_ac97 *snd_soc_alloc_ac97_codec(struct snd_soc_codec *codec);
550 struct snd_ac97 *snd_soc_new_ac97_codec(struct snd_soc_codec *codec,
552 void snd_soc_free_ac97_codec(struct snd_ac97 *ac97);
H A Demu10k1.h1735 struct snd_ac97 *ac97;
1859 unsigned short snd_emu10k1_ac97_read(struct snd_ac97 *ac97, unsigned short reg);
1860 void snd_emu10k1_ac97_write(struct snd_ac97 *ac97, unsigned short reg, unsigned short data);
/linux-4.4.14/include/linux/
H A Ducb1400.h88 struct snd_ac97 *ac97;
98 struct snd_ac97 *ac97;
115 static inline u16 ucb1400_reg_read(struct snd_ac97 *ac97, u16 reg) ucb1400_reg_read()
120 static inline void ucb1400_reg_write(struct snd_ac97 *ac97, u16 reg, u16 val) ucb1400_reg_write()
125 static inline u16 ucb1400_gpio_get_value(struct snd_ac97 *ac97, u16 gpio) ucb1400_gpio_get_value()
130 static inline void ucb1400_gpio_set_value(struct snd_ac97 *ac97, u16 gpio, ucb1400_gpio_set_value()
138 static inline u16 ucb1400_gpio_get_direction(struct snd_ac97 *ac97, u16 gpio) ucb1400_gpio_get_direction()
143 static inline void ucb1400_gpio_set_direction(struct snd_ac97 *ac97, u16 gpio, ucb1400_gpio_set_direction()
151 static inline void ucb1400_adc_enable(struct snd_ac97 *ac97) ucb1400_adc_enable()
156 static inline void ucb1400_adc_disable(struct snd_ac97 *ac97) ucb1400_adc_disable()
162 unsigned int ucb1400_adc_read(struct snd_ac97 *ac97, u16 adc_channel,
H A Dwm97xx.h272 struct snd_ac97 *ac97; /* ALSA codec access */
H A Dregmap.h31 struct snd_ac97;
386 struct regmap *__regmap_init_ac97(struct snd_ac97 *ac97,
419 struct regmap *__devm_regmap_init_ac97(struct snd_ac97 *ac97,
/linux-4.4.14/sound/pci/cs5535audio/
H A Dcs5535audio.h86 struct snd_ac97 *ac97;
102 int olpc_quirks(struct snd_card *card, struct snd_ac97 *ac97);
104 void olpc_analog_input(struct snd_ac97 *ac97, int on);
105 void olpc_mic_bias(struct snd_ac97 *ac97, int on);
107 static inline void olpc_capture_open(struct snd_ac97 *ac97) olpc_capture_open()
115 static inline void olpc_capture_close(struct snd_ac97 *ac97) olpc_capture_close()
125 static inline int olpc_quirks(struct snd_card *card, struct snd_ac97 *ac97) olpc_quirks()
130 static inline void olpc_analog_input(struct snd_ac97 *ac97, int on) { } olpc_mic_bias()
131 static inline void olpc_mic_bias(struct snd_ac97 *ac97, int on) { } olpc_capture_open()
132 static inline void olpc_capture_open(struct snd_ac97 *ac97) { } olpc_capture_close()
133 static inline void olpc_capture_close(struct snd_ac97 *ac97) { }
H A Dcs5535audio_olpc.c28 void olpc_analog_input(struct snd_ac97 *ac97, int on) olpc_analog_input()
51 void olpc_mic_bias(struct snd_ac97 *ac97, int on) olpc_mic_bias()
102 struct snd_ac97 *ac97 = cs5535au->ac97; olpc_mic_get()
148 int olpc_quirks(struct snd_card *card, struct snd_ac97 *ac97) olpc_quirks()
H A Dcs5535audio.c135 static void snd_cs5535audio_ac97_codec_write(struct snd_ac97 *ac97, snd_cs5535audio_ac97_codec_write()
142 static unsigned short snd_cs5535audio_ac97_codec_read(struct snd_ac97 *ac97, snd_cs5535audio_ac97_codec_read()
/linux-4.4.14/sound/pci/ac97/
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,
87 static void snd_ac97_restore_status(struct snd_ac97 *ac97);
88 static void snd_ac97_restore_iec958(struct snd_ac97 *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,
34 void snd_ac97_proc_init(struct snd_ac97 * ac97);
35 void snd_ac97_proc_done(struct snd_ac97 * ac97);
H A Dac97_patch.c33 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,
43 static int patch_build_controls(struct snd_ac97 * ac97, const struct snd_kcontrol_new *controls, int count) patch_build_controls()
54 static void reset_tlv(struct snd_ac97 *ac97, const char *name, reset_tlv()
68 static int ac97_update_bits_page(struct snd_ac97 *ac97, unsigned short reg, unsigned short mask, unsigned short value, unsigned short page) ac97_update_bits_page()
94 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); ac97_surround_jack_mode_get()
102 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); ac97_surround_jack_mode_put()
123 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); ac97_channel_mode_get()
131 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); ac97_channel_mode_put()
185 static inline int is_surround_on(struct snd_ac97 *ac97) is_surround_on()
190 static inline int is_clfe_on(struct snd_ac97 *ac97) is_clfe_on()
196 static inline int is_shared_surrout(struct snd_ac97 *ac97) is_shared_surrout()
202 static inline int is_shared_clfeout(struct snd_ac97 *ac97) is_shared_clfeout()
208 static inline int is_shared_linein(struct snd_ac97 *ac97) is_shared_linein()
214 static inline int is_shared_micin(struct snd_ac97 *ac97) is_shared_micin()
219 static inline int alc850_is_aux_back_surround(struct snd_ac97 *ac97) alc850_is_aux_back_surround()
243 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_ymf7x3_get_speaker()
257 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_ymf7x3_put_speaker()
288 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_ymf7x3_spdif_source_get()
299 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_ymf7x3_spdif_source_put()
308 static int patch_yamaha_ymf7x3_3d(struct snd_ac97 *ac97) patch_yamaha_ymf7x3_3d()
344 static int patch_yamaha_ymf743_build_spdif(struct snd_ac97 *ac97) patch_yamaha_ymf743_build_spdif()
366 static int patch_yamaha_ymf743(struct snd_ac97 *ac97) patch_yamaha_ymf743()
389 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_ymf753_spdif_output_pin_get()
399 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_ymf753_spdif_output_pin_put()
430 static int patch_yamaha_ymf753_post_spdif(struct snd_ac97 * ac97) patch_yamaha_ymf753_post_spdif()
444 static int patch_yamaha_ymf753(struct snd_ac97 * ac97) patch_yamaha_ymf753()
470 static int patch_wolfson_wm9703_specific(struct snd_ac97 * ac97) patch_wolfson_wm9703_specific()
490 static int patch_wolfson03(struct snd_ac97 * ac97) patch_wolfson03()
505 static int patch_wolfson_wm9704_specific(struct snd_ac97 * ac97) patch_wolfson_wm9704_specific()
521 static int patch_wolfson04(struct snd_ac97 * ac97) patch_wolfson04()
528 static int patch_wolfson05(struct snd_ac97 * ac97) patch_wolfson05()
644 static int patch_wolfson_wm9711_specific(struct snd_ac97 * ac97) patch_wolfson_wm9711_specific()
665 static int patch_wolfson11(struct snd_ac97 * ac97) patch_wolfson11()
811 static int patch_wolfson_wm9713_3d (struct snd_ac97 * ac97) patch_wolfson_wm9713_3d()
822 static int patch_wolfson_wm9713_specific(struct snd_ac97 * ac97) patch_wolfson_wm9713_specific()
841 static void patch_wolfson_wm9713_suspend (struct snd_ac97 * ac97) patch_wolfson_wm9713_suspend()
847 static void patch_wolfson_wm9713_resume (struct snd_ac97 * ac97) patch_wolfson_wm9713_resume()
864 static int patch_wolfson13(struct snd_ac97 * ac97) patch_wolfson13()
884 static int patch_tritech_tr28028(struct snd_ac97 * ac97) patch_tritech_tr28028()
896 static int patch_sigmatel_stac9700_3d(struct snd_ac97 * ac97) patch_sigmatel_stac9700_3d()
909 static int patch_sigmatel_stac9708_3d(struct snd_ac97 * ac97) patch_sigmatel_stac9708_3d()
940 static int patch_sigmatel_stac97xx_specific(struct snd_ac97 * ac97) patch_sigmatel_stac97xx_specific()
965 static int patch_sigmatel_stac9700(struct snd_ac97 * ac97) patch_sigmatel_stac9700()
973 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_stac9708_put_bias()
994 static int patch_sigmatel_stac9708_specific(struct snd_ac97 *ac97) patch_sigmatel_stac9708_specific()
1012 static int patch_sigmatel_stac9708(struct snd_ac97 * ac97) patch_sigmatel_stac9708()
1038 static int patch_sigmatel_stac9721(struct snd_ac97 * ac97) patch_sigmatel_stac9721()
1052 static int patch_sigmatel_stac9744(struct snd_ac97 * ac97) patch_sigmatel_stac9744()
1064 static int patch_sigmatel_stac9756(struct snd_ac97 * ac97) patch_sigmatel_stac9756()
1087 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_stac9758_output_jack_get()
1101 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_stac9758_output_jack_put()
1126 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_stac9758_input_jack_get()
1137 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_stac9758_input_jack_put()
1155 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_stac9758_phonesel_get()
1163 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_stac9758_phonesel_put()
1200 static int patch_sigmatel_stac9758_specific(struct snd_ac97 *ac97) patch_sigmatel_stac9758_specific()
1227 static int patch_sigmatel_stac9758(struct snd_ac97 * ac97) patch_sigmatel_stac9758()
1275 static int patch_cirrus_build_spdif(struct snd_ac97 * ac97) patch_cirrus_build_spdif()
1301 static int patch_cirrus_spdif(struct snd_ac97 * ac97) patch_cirrus_spdif()
1322 static int patch_cirrus_cs4299(struct snd_ac97 * ac97) patch_cirrus_cs4299()
1337 static int patch_conexant_build_spdif(struct snd_ac97 * ac97) patch_conexant_build_spdif()
1358 static int patch_conexant(struct snd_ac97 * ac97) patch_conexant()
1367 static int patch_cx20551(struct snd_ac97 *ac97) patch_cx20551()
1377 static void ad18xx_resume(struct snd_ac97 *ac97) ad18xx_resume()
1440 static void ad1888_resume(struct snd_ac97 *ac97) ad1888_resume()
1459 static int patch_ad1819(struct snd_ac97 * ac97) patch_ad1819()
1470 static unsigned short patch_ad1881_unchained(struct snd_ac97 * ac97, int idx, unsigned short mask) patch_ad1881_unchained()
1486 static int patch_ad1881_chained1(struct snd_ac97 * ac97, int idx, unsigned short codec_bits) patch_ad1881_chained1()
1504 static void patch_ad1881_chained(struct snd_ac97 * ac97, int unchained_idx, int cidx1, int cidx2) patch_ad1881_chained()
1536 static int patch_ad1881(struct snd_ac97 * ac97) patch_ad1881()
1606 static int patch_ad1885_specific(struct snd_ac97 * ac97) patch_ad1885_specific()
1624 static int patch_ad1885(struct snd_ac97 * ac97) patch_ad1885()
1637 static int patch_ad1886_specific(struct snd_ac97 * ac97) patch_ad1886_specific()
1651 static int patch_ad1886(struct snd_ac97 * ac97) patch_ad1886()
1772 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_ad198x_spdif_source_get()
1782 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_ad198x_spdif_source_put()
1799 static int patch_ad198x_post_spdif(struct snd_ac97 * ac97) patch_ad198x_post_spdif()
1828 static int check_list(struct snd_ac97 *ac97, const unsigned int *list) check_list()
1837 static int patch_ad1981a_specific(struct snd_ac97 * ac97) patch_ad1981a_specific()
1869 static void check_ad1981_hp_jack_sense(struct snd_ac97 *ac97) check_ad1981_hp_jack_sense()
1876 static int patch_ad1981a(struct snd_ac97 *ac97) patch_ad1981a()
1889 static int patch_ad1981b_specific(struct snd_ac97 *ac97) patch_ad1981b_specific()
1909 static int patch_ad1981b(struct snd_ac97 *ac97) patch_ad1981b()
1923 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_ad1888_lohpsel_get()
1936 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_ad1888_lohpsel_put()
1956 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_ad1888_downmix_get()
1969 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_ad1888_downmix_put()
1983 static void ad1888_update_jacks(struct snd_ac97 *ac97) ad1888_update_jacks()
2022 static int patch_ad1888_specific(struct snd_ac97 *ac97) patch_ad1888_specific()
2043 static int patch_ad1888(struct snd_ac97 * ac97) patch_ad1888()
2074 static int patch_ad1980_specific(struct snd_ac97 *ac97) patch_ad1980_specific()
2092 static int patch_ad1980(struct snd_ac97 * ac97) patch_ad1980()
2113 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_ad1985_vrefout_get()
2125 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_ad1985_vrefout_put()
2169 static void ad1985_update_jacks(struct snd_ac97 *ac97) ad1985_update_jacks()
2177 static int patch_ad1985_specific(struct snd_ac97 *ac97) patch_ad1985_specific()
2202 static int patch_ad1985(struct snd_ac97 * ac97) patch_ad1985()
2232 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_ad1986_lososel_get()
2243 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_ad1986_lososel_put()
2268 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_ad1986_spread_get()
2279 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_ad1986_spread_put()
2304 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_ad1986_miclisel_get()
2313 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_ad1986_miclisel_put()
2329 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_ad1986_vrefout_get()
2347 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_ad1986_vrefout_put()
2441 static void ad1986_update_jacks(struct snd_ac97 *ac97) ad1986_update_jacks()
2474 static int patch_ad1986_specific(struct snd_ac97 *ac97) patch_ad1986_specific()
2494 static int patch_ad1986(struct snd_ac97 * ac97) patch_ad1986()
2509 static int patch_alc203(struct snd_ac97 *ac97) patch_alc203()
2518 static void alc650_update_jacks(struct snd_ac97 *ac97) alc650_update_jacks()
2542 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); alc650_swap_surround_put()
2596 static int patch_alc650_specific(struct snd_ac97 * ac97) patch_alc650_specific()
2617 static int patch_alc650(struct snd_ac97 * ac97) patch_alc650()
2675 static void alc655_update_jacks(struct snd_ac97 *ac97) alc655_update_jacks()
2706 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); alc655_iec958_route_info()
2716 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); alc655_iec958_route_get()
2729 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); alc655_iec958_route_put()
2749 static int patch_alc655_specific(struct snd_ac97 * ac97) patch_alc655_specific()
2767 static int patch_alc655(struct snd_ac97 * ac97) patch_alc655()
2826 static void alc850_update_jacks(struct snd_ac97 *ac97) alc850_update_jacks()
2861 static int patch_alc850_specific(struct snd_ac97 *ac97) patch_alc850_specific()
2879 static int patch_alc850(struct snd_ac97 *ac97) patch_alc850()
2914 static int patch_aztech_azf3328_specific(struct snd_ac97 *ac97) patch_aztech_azf3328_specific()
2952 static int patch_aztech_azf3328(struct snd_ac97 *ac97) patch_aztech_azf3328()
2961 static void cm9738_update_jacks(struct snd_ac97 *ac97) cm9738_update_jacks()
2974 static int patch_cm9738_specific(struct snd_ac97 * ac97) patch_cm9738_specific()
2984 static int patch_cm9738(struct snd_ac97 * ac97) patch_cm9738()
3004 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_cmedia_spdif_playback_source_get()
3014 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_cmedia_spdif_playback_source_put()
3039 static void cm9739_update_jacks(struct snd_ac97 *ac97) cm9739_update_jacks()
3054 static int patch_cm9739_specific(struct snd_ac97 * ac97) patch_cm9739_specific()
3059 static int patch_cm9739_post_spdif(struct snd_ac97 * ac97) patch_cm9739_post_spdif()
3070 static int patch_cm9739(struct snd_ac97 * ac97) patch_cm9739()
3129 static void cm9761_update_jacks(struct snd_ac97 *ac97) cm9761_update_jacks()
3178 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); cm9761_spdif_out_source_get()
3191 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); cm9761_spdif_out_source_put()
3224 static int patch_cm9761_post_spdif(struct snd_ac97 * ac97) patch_cm9761_post_spdif()
3229 static int patch_cm9761_specific(struct snd_ac97 * ac97) patch_cm9761_specific()
3240 static int patch_cm9761(struct snd_ac97 *ac97) patch_cm9761()
3327 static int patch_cm9780_specific(struct snd_ac97 *ac97) patch_cm9780_specific()
3337 static int patch_cm9780(struct snd_ac97 *ac97) patch_cm9780()
3361 static int patch_vt1613_specific(struct snd_ac97 *ac97) patch_vt1613_specific()
3371 static int patch_vt1613(struct snd_ac97 *ac97) patch_vt1613()
3408 static struct snd_kcontrol *snd_ac97_find_mixer_ctl(struct snd_ac97 *ac97, snd_ac97_find_mixer_ctl()
3419 static int snd_ac97_add_vmaster(struct snd_ac97 *ac97, char *name, snd_ac97_add_vmaster()
3450 static int patch_vt1616_specific(struct snd_ac97 * ac97) patch_vt1616_specific()
3485 static int patch_vt1616(struct snd_ac97 * ac97) patch_vt1616()
3527 struct snd_ac97 *pac97; snd_ac97_vt1617a_smart51_get()
3547 struct snd_ac97 *pac97; snd_ac97_vt1617a_smart51_put()
3581 static int patch_vt1617a(struct snd_ac97 * ac97) patch_vt1617a()
3695 struct snd_ac97 *pac97 = snd_kcontrol_chip(kcontrol); snd_ac97_vt1618_UAJ_get()
3796 static int patch_vt1618(struct snd_ac97 *ac97) patch_vt1618()
3804 static void it2646_update_jacks(struct snd_ac97 *ac97) it2646_update_jacks()
3825 static int patch_it2646_specific(struct snd_ac97 * ac97) patch_it2646_specific()
3840 static int patch_it2646(struct snd_ac97 * ac97) patch_it2646()
3860 static int patch_si3036_specific(struct snd_ac97 * ac97) patch_si3036_specific()
3873 static int mpatch_si3036(struct snd_ac97 * ac97) mpatch_si3036()
3905 static int patch_lm4550(struct snd_ac97 *ac97) patch_lm4550()
3927 static int patch_ucb1400_specific(struct snd_ac97 * ac97) patch_ucb1400_specific()
3940 static int patch_ucb1400(struct snd_ac97 * ac97) patch_ucb1400()
H A Dac97_codec.c64 int (*patch)(struct snd_ac97 *ac97);
65 int (*mpatch)(struct snd_ac97 *ac97);
210 static void update_power_regs(struct snd_ac97 *ac97);
229 static int snd_ac97_valid_reg(struct snd_ac97 *ac97, unsigned short reg) snd_ac97_valid_reg()
287 void snd_ac97_write(struct snd_ac97 *ac97, unsigned short reg, unsigned short value) snd_ac97_write()
312 unsigned short snd_ac97_read(struct snd_ac97 *ac97, unsigned short reg) snd_ac97_read()
320 static inline unsigned short snd_ac97_read_cache(struct snd_ac97 *ac97, unsigned short reg) snd_ac97_read_cache()
341 void snd_ac97_write_cache(struct snd_ac97 *ac97, unsigned short reg, unsigned short value) snd_ac97_write_cache()
366 int snd_ac97_update(struct snd_ac97 *ac97, unsigned short reg, unsigned short value) snd_ac97_update()
398 int snd_ac97_update_bits(struct snd_ac97 *ac97, unsigned short reg, unsigned short mask, unsigned short value) snd_ac97_update_bits()
413 int snd_ac97_update_bits_nolock(struct snd_ac97 *ac97, unsigned short reg, snd_ac97_update_bits_nolock()
430 static int snd_ac97_ad18xx_update_pcm_bits(struct snd_ac97 *ac97, int codec, unsigned short mask, unsigned short value) snd_ac97_ad18xx_update_pcm_bits()
474 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_get_enum_double()
491 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_put_enum_double()
512 static int snd_ac97_page_save(struct snd_ac97 *ac97, int reg, struct snd_kcontrol *kcontrol) snd_ac97_page_save()
526 static void snd_ac97_page_restore(struct snd_ac97 *ac97, int page_save) snd_ac97_page_restore()
552 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_get_volsw()
576 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_put_volsw()
700 static void set_inv_eapd(struct snd_ac97 *ac97, struct snd_kcontrol *kctl) set_inv_eapd()
738 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_spdif_default_get()
751 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_spdif_default_put()
825 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_put_spsa()
894 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_ad18xx_pcm_info_bits()
911 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_ad18xx_pcm_get_bits()
925 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_ad18xx_pcm_put_bits()
957 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_ad18xx_pcm_get_volume()
969 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); snd_ac97_ad18xx_pcm_put_volume()
1002 static void snd_ac97_powerdown(struct snd_ac97 *ac97);
1022 static int snd_ac97_free(struct snd_ac97 *ac97) snd_ac97_free()
1040 struct snd_ac97 *ac97 = device->device_data; snd_ac97_dev_free()
1045 static int snd_ac97_try_volume_mix(struct snd_ac97 * ac97, int reg) snd_ac97_try_volume_mix()
1095 static void check_volume_resolution(struct snd_ac97 *ac97, int reg, unsigned char *lo_max, unsigned char *hi_max) check_volume_resolution()
1135 static int snd_ac97_try_bit(struct snd_ac97 * ac97, int reg, int bit) snd_ac97_try_bit()
1149 static void snd_ac97_change_volume_params2(struct snd_ac97 * ac97, int reg, int shift, unsigned char *max) snd_ac97_change_volume_params2()
1176 struct snd_ac97 * ac97) snd_ac97_cnew()
1189 struct snd_ac97 *ac97) snd_ac97_cmute_new_stereo()
1258 unsigned int hi_max, struct snd_ac97 *ac97) snd_ac97_cvol_new()
1298 struct snd_ac97 *ac97) snd_ac97_cmix_new_stereo()
1328 static unsigned int snd_ac97_determine_spdif_rates(struct snd_ac97 *ac97);
1330 static int snd_ac97_mixer_build(struct snd_ac97 * ac97) snd_ac97_mixer_build()
1672 static int snd_ac97_modem_build(struct snd_card *card, struct snd_ac97 * ac97) snd_ac97_modem_build()
1699 static int snd_ac97_test_rate(struct snd_ac97 *ac97, int reg, int shadow_reg, int rate) snd_ac97_test_rate()
1712 static void snd_ac97_determine_rates(struct snd_ac97 *ac97, int reg, int shadow_reg, unsigned int *r_result) snd_ac97_determine_rates()
1772 static unsigned int snd_ac97_determine_spdif_rates(struct snd_ac97 *ac97) snd_ac97_determine_spdif_rates()
1803 void snd_ac97_get_name(struct snd_ac97 *ac97, unsigned int id, char *name, int modem) snd_ac97_get_name()
1843 const char *snd_ac97_get_short_name(struct snd_ac97 *ac97) snd_ac97_get_short_name()
1858 static int ac97_reset_wait(struct snd_ac97 *ac97, int timeout, int with_modem) ac97_reset_wait()
1957 struct snd_ac97 *ac97 = device->device_data; snd_ac97_dev_register()
1977 struct snd_ac97 *ac97 = device->device_data; snd_ac97_dev_disconnect()
1990 container_of(work, struct snd_ac97, power_work.work)); do_update_power()
2001 * Creates an Codec97 component. An struct snd_ac97 instance is newly
2013 int snd_ac97_mixer(struct snd_ac97_bus *bus, struct snd_ac97_template *template, struct snd_ac97 **rac97) snd_ac97_mixer()
2016 struct snd_ac97 *ac97; snd_ac97_mixer()
2318 static void snd_ac97_powerdown(struct snd_ac97 *ac97) snd_ac97_powerdown()
2390 int snd_ac97_update_power(struct snd_ac97 *ac97, int reg, int powerup) snd_ac97_update_power()
2430 static void update_power_regs(struct snd_ac97 *ac97) update_power_regs()
2482 void snd_ac97_suspend(struct snd_ac97 *ac97) snd_ac97_suspend()
2499 static void snd_ac97_restore_status(struct snd_ac97 *ac97) snd_ac97_restore_status()
2520 static void snd_ac97_restore_iec958(struct snd_ac97 *ac97) snd_ac97_restore_iec958()
2543 void snd_ac97_resume(struct snd_ac97 *ac97) snd_ac97_resume()
2617 static int snd_ac97_remove_ctl(struct snd_ac97 *ac97, const char *name, snd_ac97_remove_ctl()
2627 static struct snd_kcontrol *ctl_find(struct snd_ac97 *ac97, const char *name, const char *suffix) ctl_find()
2637 static int snd_ac97_rename_ctl(struct snd_ac97 *ac97, const char *src, snd_ac97_rename_ctl()
2649 static void snd_ac97_rename_vol_ctl(struct snd_ac97 *ac97, const char *src, snd_ac97_rename_vol_ctl()
2657 static int snd_ac97_swap_ctl(struct snd_ac97 *ac97, const char *s1, snd_ac97_swap_ctl()
2686 static int tune_hp_only(struct snd_ac97 *ac97) tune_hp_only()
2701 static int tune_hp_only(struct snd_ac97 *ac97) tune_hp_only()
2713 static int tune_swap_hp(struct snd_ac97 *ac97) tune_swap_hp()
2723 static int tune_swap_surround(struct snd_ac97 *ac97) tune_swap_surround()
2732 static int tune_ad_sharing(struct snd_ac97 *ac97) tune_ad_sharing()
2749 static int tune_alc_jack(struct snd_ac97 *ac97) tune_alc_jack()
2764 static int tune_inv_eapd(struct snd_ac97 *ac97) tune_inv_eapd()
2777 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); master_mute_sw_put()
2793 static int tune_mute_led(struct snd_ac97 *ac97) tune_mute_led()
2813 struct snd_ac97 *ac97 = snd_kcontrol_chip(kcontrol); hp_master_mute_sw_put()
2828 static int tune_hp_mute_led(struct snd_ac97 *ac97) tune_hp_mute_led()
2848 int (*func)(struct snd_ac97 *);
2864 static int apply_quirk(struct snd_ac97 *ac97, int type) apply_quirk()
2876 static int apply_quirk_str(struct snd_ac97 *ac97, const char *typestr) apply_quirk_str()
2905 int snd_ac97_tune_hardware(struct snd_ac97 *ac97, snd_ac97_tune_hardware()
H A Dac97_proc.c37 static void snd_ac97_proc_read_functions(struct snd_ac97 *ac97, struct snd_info_buffer *buffer) snd_ac97_proc_read_functions()
107 static void snd_ac97_proc_read_main(struct snd_ac97 *ac97, struct snd_info_buffer *buffer, int subidx) snd_ac97_proc_read_main()
345 struct snd_ac97 *ac97 = entry->private_data; snd_ac97_proc_read()
380 struct snd_ac97 *ac97 = entry->private_data; snd_ac97_proc_regs_write()
395 static void snd_ac97_proc_regs_read_main(struct snd_ac97 *ac97, struct snd_info_buffer *buffer, int subidx) snd_ac97_proc_regs_read_main()
408 struct snd_ac97 *ac97 = entry->private_data; snd_ac97_proc_regs_read()
429 void snd_ac97_proc_init(struct snd_ac97 * ac97) snd_ac97_proc_init()
462 void snd_ac97_proc_done(struct snd_ac97 * ac97) snd_ac97_proc_done()
H A Dac97_pcm.c174 static int set_spdif_rate(struct snd_ac97 *ac97, unsigned short rate) set_spdif_rate()
258 int snd_ac97_set_rate(struct snd_ac97 *ac97, int reg, unsigned int rate) snd_ac97_set_rate()
322 static unsigned short get_pslots(struct snd_ac97 *ac97, unsigned char *rate_table, unsigned short *spdif_slots) get_pslots()
397 static unsigned short get_cslots(struct snd_ac97 *ac97) get_cslots()
458 struct snd_ac97 *codec; snd_ac97_pcm_assign()
/linux-4.4.14/drivers/base/regmap/
H A Dregmap-ac97.c59 struct snd_ac97 *ac97 = context; regmap_ac97_reg_read()
69 struct snd_ac97 *ac97 = context; regmap_ac97_reg_write()
81 struct regmap *__regmap_init_ac97(struct snd_ac97 *ac97, __regmap_init_ac97()
91 struct regmap *__devm_regmap_init_ac97(struct snd_ac97 *ac97, __devm_regmap_init_ac97()
/linux-4.4.14/sound/soc/
H A Dsoc-ac97.c54 * Allocated a new snd_ac97 device and intializes it, but does not yet register
58 * Returns: A snd_ac97 device or a PTR_ERR in case of an error.
60 struct snd_ac97 *snd_soc_alloc_ac97_codec(struct snd_soc_codec *codec) snd_soc_alloc_ac97_codec()
62 struct snd_ac97 *ac97; snd_soc_alloc_ac97_codec()
64 ac97 = kzalloc(sizeof(struct snd_ac97), GFP_KERNEL); snd_soc_alloc_ac97_codec()
97 * Returns: A PTR_ERR() on failure or a valid snd_ac97 struct on success.
99 struct snd_ac97 *snd_soc_new_ac97_codec(struct snd_soc_codec *codec, snd_soc_new_ac97_codec()
102 struct snd_ac97 *ac97; snd_soc_new_ac97_codec()
136 void snd_soc_free_ac97_codec(struct snd_ac97 *ac97) snd_soc_free_ac97_codec()
146 static void snd_soc_ac97_warm_reset(struct snd_ac97 *ac97) snd_soc_ac97_warm_reset()
162 static void snd_soc_ac97_reset(struct snd_ac97 *ac97) snd_soc_ac97_reset()
/linux-4.4.14/drivers/media/usb/stk1160/
H A Dstk1160-ac97.c31 static struct snd_ac97 *stk1160_ac97;
33 static void stk1160_write_ac97(struct snd_ac97 *ac97, u16 reg, u16 value) stk1160_write_ac97()
51 static u16 stk1160_read_ac97(struct snd_ac97 *ac97, u16 reg) stk1160_read_ac97()
73 static void stk1160_reset_ac97(struct snd_ac97 *ac97) stk1160_reset_ac97()
/linux-4.4.14/sound/soc/codecs/
H A Dac97.c40 struct snd_ac97 *ac97 = snd_soc_codec_get_drvdata(codec); ac97_prepare()
70 struct snd_ac97 *ac97; ac97_soc_probe()
94 struct snd_ac97 *ac97 = snd_soc_codec_get_drvdata(codec); ac97_soc_suspend()
104 struct snd_ac97 *ac97 = snd_soc_codec_get_drvdata(codec); ac97_soc_resume()
H A Dstac9766.c145 struct snd_ac97 *ac97 = snd_soc_codec_get_drvdata(codec); stac9766_ac97_write()
165 struct snd_ac97 *ac97 = snd_soc_codec_get_drvdata(codec); stac9766_ac97_read()
247 struct snd_ac97 *ac97 = snd_soc_codec_get_drvdata(codec); stac9766_codec_resume()
302 struct snd_ac97 *ac97; stac9766_codec_probe()
316 struct snd_ac97 *ac97 = snd_soc_codec_get_drvdata(codec); stac9766_codec_remove()
H A Dwm9705.c209 struct snd_ac97 *ac97 = snd_soc_codec_get_drvdata(codec); ac97_read()
230 struct snd_ac97 *ac97 = snd_soc_codec_get_drvdata(codec); ac97_write()
302 struct snd_ac97 *ac97 = snd_soc_codec_get_drvdata(codec); wm9705_soc_suspend()
311 struct snd_ac97 *ac97 = snd_soc_codec_get_drvdata(codec); wm9705_soc_resume()
333 struct snd_ac97 *ac97; wm9705_soc_probe()
349 struct snd_ac97 *ac97 = snd_soc_codec_get_drvdata(codec); wm9705_soc_remove()
H A Dad1980.c210 struct snd_ac97 *ac97 = snd_soc_codec_get_drvdata(codec); ad1980_reset()
237 struct snd_ac97 *ac97; ad1980_soc_probe()
291 struct snd_ac97 *ac97 = snd_soc_codec_get_drvdata(codec); ad1980_soc_remove()
H A Dwm9712.c30 struct snd_ac97 *ac97;
H A Dwm9713.c36 struct snd_ac97 *ac97;
/linux-4.4.14/sound/
H A Dac97_bus.c30 static bool snd_ac97_check_id(struct snd_ac97 *ac97, unsigned int id, snd_ac97_check_id()
59 int snd_ac97_reset(struct snd_ac97 *ac97, bool try_warm, unsigned int id, snd_ac97_reset()
84 * probe method. Drivers have direct access to the struct snd_ac97
/linux-4.4.14/sound/soc/txx9/
H A Dtxx9aclc-ac97.c39 /* REVISIT: How to find txx9aclc_drvdata from snd_ac97? */
48 static unsigned short txx9aclc_ac97_read(struct snd_ac97 *ac97, txx9aclc_ac97_read()
81 static void txx9aclc_ac97_write(struct snd_ac97 *ac97, unsigned short reg, txx9aclc_ac97_write()
98 static void txx9aclc_ac97_cold_reset(struct snd_ac97 *ac97) txx9aclc_ac97_cold_reset()
H A Dtxx9aclc.c30 /* REVISIT: How to find txx9aclc_drvdata from snd_ac97? */
/linux-4.4.14/sound/arm/
H A Dpxa2xx-ac97-lib.c49 unsigned short pxa2xx_ac97_read(struct snd_ac97 *ac97, unsigned short reg) pxa2xx_ac97_read()
89 void pxa2xx_ac97_write(struct snd_ac97 *ac97, unsigned short reg, pxa2xx_ac97_write()
191 bool pxa2xx_ac97_try_warm_reset(struct snd_ac97 *ac97) pxa2xx_ac97_try_warm_reset()
228 bool pxa2xx_ac97_try_cold_reset(struct snd_ac97 *ac97) pxa2xx_ac97_try_cold_reset()
266 void pxa2xx_ac97_finish_reset(struct snd_ac97 *ac97) pxa2xx_ac97_finish_reset()
H A Dpxa2xx-ac97.c32 static void pxa2xx_ac97_reset(struct snd_ac97 *ac97) pxa2xx_ac97_reset()
72 static struct snd_ac97 *pxa2xx_ac97_ac97;
H A Daaci.c40 static void aaci_ac97_select_codec(struct aaci *aaci, struct snd_ac97 *ac97) aaci_ac97_select_codec()
69 static void aaci_ac97_write(struct snd_ac97 *ac97, unsigned short reg, aaci_ac97_write()
110 static unsigned short aaci_ac97_read(struct snd_ac97 *ac97, unsigned short reg) aaci_ac97_read()
839 struct snd_ac97 *ac97; aaci_probe_ac97()
H A Daaci.h236 struct snd_ac97 *ac97;
/linux-4.4.14/sound/soc/samsung/
H A Dac97.c53 static void s3c_ac97_activate(struct snd_ac97 *ac97) s3c_ac97_activate()
80 static unsigned short s3c_ac97_read(struct snd_ac97 *ac97, s3c_ac97_read()
118 static void s3c_ac97_write(struct snd_ac97 *ac97, unsigned short reg, s3c_ac97_write()
149 static void s3c_ac97_cold_reset(struct snd_ac97 *ac97) s3c_ac97_cold_reset()
160 static void s3c_ac97_warm_reset(struct snd_ac97 *ac97) s3c_ac97_warm_reset()
/linux-4.4.14/sound/soc/blackfin/
H A Dbf5xx-ac97.c100 static void enqueue_cmd(struct snd_ac97 *ac97, __u16 addr, __u16 data) enqueue_cmd()
121 static unsigned short bf5xx_ac97_read(struct snd_ac97 *ac97, bf5xx_ac97_read()
146 void bf5xx_ac97_write(struct snd_ac97 *ac97, unsigned short reg, bf5xx_ac97_write()
167 static void bf5xx_ac97_warm_reset(struct snd_ac97 *ac97) bf5xx_ac97_warm_reset()
184 static void bf5xx_ac97_cold_reset(struct snd_ac97 *ac97) bf5xx_ac97_cold_reset()
/linux-4.4.14/drivers/mfd/
H A Ducb1400_core.c28 unsigned int ucb1400_adc_read(struct snd_ac97 *ac97, u16 adc_channel, ucb1400_adc_read()
54 struct snd_ac97 *ac97; ucb1400_core_probe()
/linux-4.4.14/sound/soc/fsl/
H A Dmpc5200_psc_ac97.c34 static unsigned short psc_ac97_read(struct snd_ac97 *ac97, unsigned short reg) psc_ac97_read()
78 static void psc_ac97_write(struct snd_ac97 *ac97, psc_ac97_write()
100 static void psc_ac97_warm_reset(struct snd_ac97 *ac97) psc_ac97_warm_reset()
113 static void psc_ac97_cold_reset(struct snd_ac97 *ac97) psc_ac97_cold_reset()
H A Dimx-ssi.h205 void (*ac97_reset) (struct snd_ac97 *ac97);
206 void (*ac97_warm_reset)(struct snd_ac97 *ac97);
H A Dimx-ssi.c437 static void imx_ssi_ac97_write(struct snd_ac97 *ac97, unsigned short reg, imx_ssi_ac97_write()
460 static unsigned short imx_ssi_ac97_read(struct snd_ac97 *ac97, imx_ssi_ac97_read()
482 static void imx_ssi_ac97_reset(struct snd_ac97 *ac97) imx_ssi_ac97_reset()
492 static void imx_ssi_ac97_warm_reset(struct snd_ac97 *ac97) imx_ssi_ac97_warm_reset()
H A Dfsl-asoc-card.c425 struct snd_ac97 *ac97 = snd_soc_codec_get_drvdata(codec); fsl_asoc_card_late_probe()
H A Dfsl_ssi.c1194 static void fsl_ssi_ac97_write(struct snd_ac97 *ac97, unsigned short reg, fsl_ssi_ac97_write()
1225 static unsigned short fsl_ssi_ac97_read(struct snd_ac97 *ac97, fsl_ssi_ac97_read()
/linux-4.4.14/sound/soc/nuc900/
H A Dnuc900-ac97.c44 static unsigned short nuc900_ac97_read(struct snd_ac97 *ac97, nuc900_ac97_read()
97 static void nuc900_ac97_write(struct snd_ac97 *ac97, unsigned short reg, nuc900_ac97_write()
138 static void nuc900_ac97_warm_reset(struct snd_ac97 *ac97) nuc900_ac97_warm_reset()
159 static void nuc900_ac97_cold_reset(struct snd_ac97 *ac97) nuc900_ac97_cold_reset()
/linux-4.4.14/sound/soc/sh/
H A Dhac.c164 static void hac_ac97_write(struct snd_ac97 *ac97, unsigned short reg, hac_ac97_write()
192 static unsigned short hac_ac97_read(struct snd_ac97 *ac97, hac_ac97_read()
200 static void hac_ac97_warmrst(struct snd_ac97 *ac97) hac_ac97_warmrst()
218 static void hac_ac97_coldrst(struct snd_ac97 *ac97) hac_ac97_coldrst()
/linux-4.4.14/sound/soc/tegra/
H A Dtegra20_ac97.c46 static void tegra20_ac97_codec_reset(struct snd_ac97 *ac97) tegra20_ac97_codec_reset()
68 static void tegra20_ac97_codec_warm_reset(struct snd_ac97 *ac97) tegra20_ac97_codec_warm_reset()
97 static unsigned short tegra20_ac97_codec_read(struct snd_ac97 *ac97_snd, tegra20_ac97_codec_read()
121 static void tegra20_ac97_codec_write(struct snd_ac97 *ac97_snd, tegra20_ac97_codec_write()
/linux-4.4.14/sound/soc/au1x/
H A Dac97c.c82 static unsigned short au1xac97c_ac97_read(struct snd_ac97 *ac97, au1xac97c_ac97_read()
124 static void au1xac97c_ac97_write(struct snd_ac97 *ac97, unsigned short r, au1xac97c_ac97_write()
154 static void au1xac97c_ac97_warm_reset(struct snd_ac97 *ac97) au1xac97c_ac97_warm_reset()
164 static void au1xac97c_ac97_cold_reset(struct snd_ac97 *ac97) au1xac97c_ac97_cold_reset()
H A Dpsc-ac97.c62 static inline struct au1xpsc_audio_data *ac97_to_pscdata(struct snd_ac97 *x)
75 static unsigned short au1xpsc_ac97_read(struct snd_ac97 *ac97, au1xpsc_ac97_read()
116 static void au1xpsc_ac97_write(struct snd_ac97 *ac97, unsigned short reg, au1xpsc_ac97_write()
148 static void au1xpsc_ac97_warm_reset(struct snd_ac97 *ac97) au1xpsc_ac97_warm_reset()
159 static void au1xpsc_ac97_cold_reset(struct snd_ac97 *ac97) au1xpsc_ac97_cold_reset()
/linux-4.4.14/sound/soc/pxa/
H A Dpxa2xx-ac97.c32 static void pxa2xx_ac97_warm_reset(struct snd_ac97 *ac97) pxa2xx_ac97_warm_reset()
39 static void pxa2xx_ac97_cold_reset(struct snd_ac97 *ac97) pxa2xx_ac97_cold_reset()
/linux-4.4.14/sound/soc/cirrus/
H A Dep93xx-ac97.c132 static unsigned short ep93xx_ac97_read(struct snd_ac97 *ac97, ep93xx_ac97_read()
153 static void ep93xx_ac97_write(struct snd_ac97 *ac97, ep93xx_ac97_write()
175 static void ep93xx_ac97_warm_reset(struct snd_ac97 *ac97) ep93xx_ac97_warm_reset()
195 static void ep93xx_ac97_cold_reset(struct snd_ac97 *ac97) ep93xx_ac97_cold_reset()
/linux-4.4.14/sound/pci/au88x0/
H A Dau88x0.h148 struct snd_ac97 *codec;
235 static void vortex_codec_write(struct snd_ac97 * codec, unsigned short addr,
237 static unsigned short vortex_codec_read(struct snd_ac97 * codec, unsigned short addr);
H A Dau88x0_core.c2545 vortex_codec_write(struct snd_ac97 * codec, unsigned short addr, unsigned short data) vortex_codec_write()
2570 static unsigned short vortex_codec_read(struct snd_ac97 * codec, unsigned short addr) vortex_codec_read()
/linux-4.4.14/arch/arm/mach-imx/
H A Dmach-pca100.c212 static void pca100_ac97_warm_reset(struct snd_ac97 *ac97) pca100_ac97_warm_reset()
222 static void pca100_ac97_cold_reset(struct snd_ac97 *ac97) pca100_ac97_cold_reset()
H A Dmach-pcm043.c221 static void pcm043_ac97_warm_reset(struct snd_ac97 *ac97) pcm043_ac97_warm_reset()
244 static void pcm043_ac97_cold_reset(struct snd_ac97 *ac97) pcm043_ac97_cold_reset()
/linux-4.4.14/sound/pci/trident/
H A Dtrident.h400 struct snd_ac97 *ac97;
401 struct snd_ac97 *ac97_sec;
H A Dtrident_main.c109 unsigned short snd_trident_codec_read(struct snd_ac97 *ac97, unsigned short reg)
120 static unsigned short snd_trident_codec_read(struct snd_ac97 *ac97, unsigned short reg) snd_trident_codec_read()
169 void snd_trident_codec_write(struct snd_ac97 *ac97, unsigned short reg,
182 static void snd_trident_codec_write(struct snd_ac97 *ac97, unsigned short reg, snd_trident_codec_write()
3005 struct snd_ac97 *mc97; snd_trident_mixer()
/linux-4.4.14/sound/pci/
H A Dintel8x0m.c190 struct snd_ac97 *ac97;
211 struct snd_ac97 *ac97;
345 static void snd_intel8x0m_codec_write(struct snd_ac97 *ac97, snd_intel8x0m_codec_write()
360 static unsigned short snd_intel8x0m_codec_read(struct snd_ac97 *ac97, snd_intel8x0m_codec_read()
822 static void snd_intel8x0m_mixer_free_ac97(struct snd_ac97 *ac97) snd_intel8x0m_mixer_free_ac97()
833 struct snd_ac97 *x97; snd_intel8x0m_mixer()
H A Dfm801.c190 struct snd_ac97 *ac97;
191 struct snd_ac97 *ac97_sec;
268 static void snd_fm801_codec_write(struct snd_ac97 *ac97, snd_fm801_codec_write()
293 static unsigned short snd_fm801_codec_read(struct snd_ac97 *ac97, unsigned short reg) snd_fm801_codec_read()
1018 static void snd_fm801_mixer_free_ac97(struct snd_ac97 *ac97) snd_fm801_mixer_free_ac97()
H A Dvia82xx_modem.c255 struct snd_ac97 *ac97;
408 static void snd_via82xx_codec_wait(struct snd_ac97 *ac97) snd_via82xx_codec_wait()
417 static void snd_via82xx_codec_write(struct snd_ac97 *ac97, snd_via82xx_codec_write()
435 static unsigned short snd_via82xx_codec_read(struct snd_ac97 *ac97, unsigned short reg) snd_via82xx_codec_read()
886 static void snd_via82xx_mixer_free_ac97(struct snd_ac97 *ac97) snd_via82xx_mixer_free_ac97()
H A Dals300.c125 struct snd_ac97 *ac97;
270 static unsigned short snd_als300_ac97_read(struct snd_ac97 *ac97, snd_als300_ac97_read()
291 static void snd_als300_ac97_write(struct snd_ac97 *ac97, snd_als300_ac97_write()
H A Dad1889.c94 struct snd_ac97 *ac97;
241 snd_ad1889_ac97_read(struct snd_ac97 *ac97, unsigned short reg) snd_ad1889_ac97_read()
248 snd_ad1889_ac97_write(struct snd_ac97 *ac97, unsigned short reg, unsigned short val) snd_ad1889_ac97_write()
793 snd_ad1889_ac97_free(struct snd_ac97 *ac97) snd_ad1889_ac97_free()
H A Dcs4281.c463 struct snd_ac97 *ac97;
464 struct snd_ac97 *ac97_secondary;
525 static void snd_cs4281_ac97_write(struct snd_ac97 *ac97, snd_cs4281_ac97_write()
571 static unsigned short snd_cs4281_ac97_read(struct snd_ac97 *ac97, snd_cs4281_ac97_read()
579 volatile int ac97_num = ((volatile struct snd_ac97 *)ac97)->num; snd_cs4281_ac97_read()
1086 static void snd_cs4281_mixer_free_ac97(struct snd_ac97 *ac97) snd_cs4281_mixer_free_ac97()
H A Datiixp_modem.c245 struct snd_ac97 *ac97[NUM_ATI_CODECS];
456 static unsigned short snd_atiixp_ac97_read(struct snd_ac97 *ac97, snd_atiixp_ac97_read()
464 static void snd_atiixp_ac97_write(struct snd_ac97 *ac97, unsigned short reg, snd_atiixp_ac97_write()
H A Dens1370.c407 struct snd_ac97 *ac97;
614 static void snd_es1371_codec_write(struct snd_ac97 *ac97, snd_es1371_codec_write()
656 static unsigned short snd_es1371_codec_read(struct snd_ac97 *ac97, snd_es1371_codec_read()
724 static void snd_es1371_codec_wait(struct snd_ac97 *ac97) snd_es1371_codec_wait()
1587 static void snd_ensoniq_mixer_free_ac97(struct snd_ac97 *ac97) snd_ensoniq_mixer_free_ac97()
H A Dintel8x0.c418 struct snd_ac97 *ac97[3];
558 static void snd_intel8x0_codec_write(struct snd_ac97 *ac97, snd_intel8x0_codec_write()
573 static unsigned short snd_intel8x0_codec_read(struct snd_ac97 *ac97, snd_intel8x0_codec_read()
645 static unsigned short snd_intel8x0_ali_codec_read(struct snd_ac97 *ac97, unsigned short reg) snd_intel8x0_ali_codec_read()
663 static void snd_intel8x0_ali_codec_write(struct snd_ac97 *ac97, unsigned short reg, snd_intel8x0_ali_codec_write()
1722 static void snd_intel8x0_mixer_free_ac97(struct snd_ac97 *ac97) snd_intel8x0_mixer_free_ac97()
H A Datiixp.c270 struct snd_ac97 *ac97[NUM_ATI_CODECS];
485 static unsigned short snd_atiixp_ac97_read(struct snd_ac97 *ac97, snd_atiixp_ac97_read()
493 static void snd_atiixp_ac97_write(struct snd_ac97 *ac97, unsigned short reg, snd_atiixp_ac97_write()
H A Dsis7019.c121 struct snd_ac97 *ac97[3];
993 static void sis_ac97_write(struct snd_ac97 *ac97, unsigned short reg, sis_ac97_write()
1005 static unsigned short sis_ac97_read(struct snd_ac97 *ac97, unsigned short reg) sis_ac97_read()
H A Dvia82xx.c395 struct snd_ac97 *ac97;
554 static void snd_via82xx_codec_wait(struct snd_ac97 *ac97) snd_via82xx_codec_wait()
564 static void snd_via82xx_codec_write(struct snd_ac97 *ac97, snd_via82xx_codec_write()
579 static unsigned short snd_via82xx_codec_read(struct snd_ac97 *ac97, unsigned short reg) snd_via82xx_codec_read()
1809 static void snd_via82xx_mixer_free_ac97(struct snd_ac97 *ac97) snd_via82xx_mixer_free_ac97()
H A Dmaestro3.c748 struct snd_ac97 *ac97;
1908 snd_m3_ac97_read(struct snd_ac97 *ac97, unsigned short reg) snd_m3_ac97_read()
1924 snd_m3_ac97_write(struct snd_ac97 *ac97, unsigned short reg, unsigned short val) snd_m3_ac97_write()
H A Dazt3328.c293 struct snd_ac97 *ac97;
665 snd_azf3328_mixer_ac97_read(struct snd_ac97 *ac97, unsigned short reg_ac97) snd_azf3328_mixer_ac97_read()
724 snd_azf3328_mixer_ac97_write(struct snd_ac97 *ac97, snd_azf3328_mixer_ac97_write()
H A Des1968.c528 struct snd_ac97 *ac97;
651 static void snd_es1968_ac97_write(struct snd_ac97 *ac97, unsigned short reg, unsigned short val) snd_es1968_ac97_write()
664 static unsigned short snd_es1968_ac97_read(struct snd_ac97 *ac97, unsigned short reg) snd_es1968_ac97_read()
/linux-4.4.14/sound/drivers/
H A Dml403-ac97cr.c282 static void lm4550_regfile_write_values_after_init(struct snd_ac97 *ac97) lm4550_regfile_write_values_after_init()
359 struct snd_ac97 *ac97;
832 snd_ml403_ac97cr_codec_read(struct snd_ac97 *ac97, unsigned short reg)
953 snd_ml403_ac97cr_codec_write(struct snd_ac97 *ac97, unsigned short reg,
1198 static void snd_ml403_ac97cr_mixer_free(struct snd_ac97 *ac97) snd_ml403_ac97cr_mixer_free()
/linux-4.4.14/sound/mips/
H A Dau1x00.c98 struct snd_ac97 *ac97;
498 snd_au1000_ac97_read(struct snd_ac97 *ac97, unsigned short reg) snd_au1000_ac97_read()
537 snd_au1000_ac97_write(struct snd_ac97 *ac97, unsigned short reg, unsigned short val) snd_au1000_ac97_write()
/linux-4.4.14/sound/pci/emu10k1/
H A Dio.c497 unsigned short snd_emu10k1_ac97_read(struct snd_ac97 *ac97, unsigned short reg) snd_emu10k1_ac97_read()
510 void snd_emu10k1_ac97_write(struct snd_ac97 *ac97, unsigned short reg, unsigned short data) snd_emu10k1_ac97_write()
H A Demu10k1x.c244 struct snd_ac97 *ac97;
708 static unsigned short snd_emu10k1x_ac97_read(struct snd_ac97 *ac97, snd_emu10k1x_ac97_read()
722 static void snd_emu10k1x_ac97_write(struct snd_ac97 *ac97, snd_emu10k1x_ac97_write()
H A Demumixer.c1753 static void snd_emu10k1_mixer_free_ac97(struct snd_ac97 *ac97) snd_emu10k1_mixer_free_ac97()
/linux-4.4.14/sound/pci/nm256/
H A Dnm256.c244 struct snd_ac97 *ac97;
1215 snd_nm256_ac97_read(struct snd_ac97 *ac97, unsigned short reg) snd_nm256_ac97_read()
1228 snd_nm256_ac97_write(struct snd_ac97 *ac97, snd_nm256_ac97_write()
1275 snd_nm256_ac97_reset(struct snd_ac97 *ac97) snd_nm256_ac97_reset()
/linux-4.4.14/sound/pci/ymfpci/
H A Dymfpci.h331 struct snd_ac97 *ac97;
H A Dymfpci_main.c95 static void snd_ymfpci_codec_write(struct snd_ac97 *ac97, u16 reg, u16 val) snd_ymfpci_codec_write()
105 static u16 snd_ymfpci_codec_read(struct snd_ac97 *ac97, u16 reg) snd_ymfpci_codec_read()
1800 static void snd_ymfpci_mixer_free_ac97(struct snd_ac97 *ac97) snd_ymfpci_mixer_free_ac97()
/linux-4.4.14/sound/atmel/
H A Dac97c.c72 struct snd_ac97 *ac97;
812 static void atmel_ac97c_write(struct snd_ac97 *ac97, unsigned short reg, atmel_ac97c_write()
832 static unsigned short atmel_ac97c_read(struct snd_ac97 *ac97, atmel_ac97c_read()
/linux-4.4.14/sound/pci/ice1712/
H A Dice1712.c149 static void snd_ice1712_ac97_write(struct snd_ac97 *ac97, snd_ice1712_ac97_write()
174 static unsigned short snd_ice1712_ac97_read(struct snd_ac97 *ac97, snd_ice1712_ac97_read()
203 static void snd_ice1712_pro_ac97_write(struct snd_ac97 *ac97, snd_ice1712_pro_ac97_write()
229 static unsigned short snd_ice1712_pro_ac97_read(struct snd_ac97 *ac97, snd_ice1712_pro_ac97_read()
1498 static void snd_ice1712_mixer_free_ac97(struct snd_ac97 *ac97) snd_ice1712_mixer_free_ac97()
H A Dice1712.h325 struct snd_ac97 *ac97;
H A Dice1724.c163 static void snd_vt1724_ac97_write(struct snd_ac97 *ac97, snd_vt1724_ac97_write()
179 static unsigned short snd_vt1724_ac97_read(struct snd_ac97 *ac97, unsigned short reg) snd_vt1724_ac97_read()
/linux-4.4.14/sound/pci/ali5451/
H A Dali5451.c254 struct snd_ac97 *ac97[MAX_CODECS];
404 static void snd_ali_codec_write(struct snd_ac97 *ac97, snd_ali_codec_write()
421 static unsigned short snd_ali_codec_read(struct snd_ac97 *ac97, snd_ali_codec_read()
/linux-4.4.14/sound/pci/riptide/
H A Driptide.c440 struct snd_ac97 *ac97;
1742 snd_riptide_codec_write(struct snd_ac97 *ac97, unsigned short reg, snd_riptide_codec_write()
1762 static unsigned short snd_riptide_codec_read(struct snd_ac97 *ac97, snd_riptide_codec_read()
/linux-4.4.14/sound/pci/cs46xx/
H A Dcs46xx_lib.c215 static unsigned short snd_cs46xx_ac97_read(struct snd_ac97 * ac97, snd_cs46xx_ac97_read()
299 static void snd_cs46xx_ac97_write(struct snd_ac97 *ac97, snd_cs46xx_ac97_write()
1886 static void snd_cs46xx_mixer_free_ac97(struct snd_ac97 *ac97) snd_cs46xx_mixer_free_ac97()
2396 static void snd_cs46xx_codec_reset (struct snd_ac97 * ac97) snd_cs46xx_codec_reset()
H A Dcs46xx.h1685 struct snd_ac97 *ac97[MAX_NR_AC97];
/linux-4.4.14/sound/pci/ca0106/
H A Dca0106_main.c1201 static unsigned short snd_ca0106_ac97_read(struct snd_ac97 *ac97, snd_ca0106_ac97_read()
1215 static void snd_ca0106_ac97_write(struct snd_ac97 *ac97, snd_ca0106_ac97_write()
H A Dca0106.h693 struct snd_ac97 *ac97;

Completed in 2629 milliseconds