162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci *  Copyright (c) by Jaroslav Kysela <perex@perex.cz>
462306a36Sopenharmony_ci *  Universal interface for Audio Codec '97
562306a36Sopenharmony_ci *
662306a36Sopenharmony_ci *  For more details look to AC '97 component specification revision 2.2
762306a36Sopenharmony_ci *  by Intel Corporation (http://developer.intel.com).
862306a36Sopenharmony_ci */
962306a36Sopenharmony_ci
1062306a36Sopenharmony_civoid snd_ac97_get_name(struct snd_ac97 *ac97, unsigned int id, char *name,
1162306a36Sopenharmony_ci		       int modem);
1262306a36Sopenharmony_ciint snd_ac97_update_bits_nolock(struct snd_ac97 *ac97, unsigned short reg,
1362306a36Sopenharmony_ci				unsigned short mask, unsigned short value);
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ci/* ac97_proc.c */
1662306a36Sopenharmony_ci#ifdef CONFIG_SND_PROC_FS
1762306a36Sopenharmony_civoid snd_ac97_bus_proc_init(struct snd_ac97_bus * ac97);
1862306a36Sopenharmony_civoid snd_ac97_bus_proc_done(struct snd_ac97_bus * ac97);
1962306a36Sopenharmony_civoid snd_ac97_proc_init(struct snd_ac97 * ac97);
2062306a36Sopenharmony_civoid snd_ac97_proc_done(struct snd_ac97 * ac97);
2162306a36Sopenharmony_ci#else
2262306a36Sopenharmony_ci#define snd_ac97_bus_proc_init(ac97_bus_t) do { } while (0)
2362306a36Sopenharmony_ci#define snd_ac97_bus_proc_done(ac97_bus_t) do { } while (0)
2462306a36Sopenharmony_ci#define snd_ac97_proc_init(ac97_t) do { } while (0)
2562306a36Sopenharmony_ci#define snd_ac97_proc_done(ac97_t) do { } while (0)
2662306a36Sopenharmony_ci#endif
27