Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003  *  Copyright (c) by Jaroslav Kysela <perex@perex.cz>
0004  *  Universal interface for Audio Codec '97
0005  *
0006  *  For more details look to AC '97 component specification revision 2.2
0007  *  by Intel Corporation (http://developer.intel.com).
0008  */
0009 
0010 void snd_ac97_get_name(struct snd_ac97 *ac97, unsigned int id, char *name,
0011                int modem);
0012 int snd_ac97_update_bits_nolock(struct snd_ac97 *ac97, unsigned short reg,
0013                 unsigned short mask, unsigned short value);
0014 
0015 /* ac97_proc.c */
0016 #ifdef CONFIG_SND_PROC_FS
0017 void snd_ac97_bus_proc_init(struct snd_ac97_bus * ac97);
0018 void snd_ac97_bus_proc_done(struct snd_ac97_bus * ac97);
0019 void snd_ac97_proc_init(struct snd_ac97 * ac97);
0020 void snd_ac97_proc_done(struct snd_ac97 * ac97);
0021 #else
0022 #define snd_ac97_bus_proc_init(ac97_bus_t) do { } while (0)
0023 #define snd_ac97_bus_proc_done(ac97_bus_t) do { } while (0)
0024 #define snd_ac97_proc_init(ac97_t) do { } while (0)
0025 #define snd_ac97_proc_done(ac97_t) do { } while (0)
0026 #endif