/*1* Copyright (c) by Jaroslav Kysela <[email protected]>2* Universal interface for Audio Codec '973*4* For more details look to AC '97 component specification revision 2.25* by Intel Corporation (http://developer.intel.com).6*7*8* This program is free software; you can redistribute it and/or modify9* it under the terms of the GNU General Public License as published by10* the Free Software Foundation; either version 2 of the License, or11* (at your option) any later version.12*13* This program is distributed in the hope that it will be useful,14* but WITHOUT ANY WARRANTY; without even the implied warranty of15* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the16* GNU General Public License for more details.17*18* You should have received a copy of the GNU General Public License19* along with this program; if not, write to the Free Software20* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA21*22*/2324void snd_ac97_get_name(struct snd_ac97 *ac97, unsigned int id, char *name,25int modem);26int snd_ac97_update_bits_nolock(struct snd_ac97 *ac97, unsigned short reg,27unsigned short mask, unsigned short value);2829/* ac97_proc.c */30#ifdef CONFIG_PROC_FS31void snd_ac97_bus_proc_init(struct snd_ac97_bus * ac97);32void snd_ac97_bus_proc_done(struct snd_ac97_bus * ac97);33void snd_ac97_proc_init(struct snd_ac97 * ac97);34void snd_ac97_proc_done(struct snd_ac97 * ac97);35#else36#define snd_ac97_bus_proc_init(ac97_bus_t) do { } while (0)37#define snd_ac97_bus_proc_done(ac97_bus_t) do { } while (0)38#define snd_ac97_proc_init(ac97_t) do { } while (0)39#define snd_ac97_proc_done(ac97_t) do { } while (0)40#endif414243