-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'for-linus' of git://git.alsa-project.org/alsa-kernel
* 'for-linus' of git://git.alsa-project.org/alsa-kernel: (179 commits) ALSA: Release v1.0.17 ALSA: correct kcalloc usage ALSA: ALSA driver for SGI O2 audio board ALSA: asoc: kbuild - only show menus for the current ASoC CPU platform. ALSA: ALSA driver for SGI HAL2 audio device ALSA: hda - Fix FSC V5505 model ALSA: hda - Fix missing init for unsol events on micsense model ALSA: hda - Fix internal mic vref pin setup ALSA: hda: 92hd71bxx PC Beep ALSA: HDA - HP dc7600 with pci sub IDs 0x103c/0x3011 belongs to hp-3013 model ALSA: usb-audio: add some Yamaha USB MIDI quirks ALSA: usb-audio: fix Yamaha KX quirk ALSA: ASoC: Au12x0/Au1550 PSC Audio support ALSA: Add Yamaha KX49 (USB MIDI controller) to usbquirks.h ALSA: ASoC: pxa2xx-ac97: fix warning due to missing argument in fuction declaration ALSA: tosa: fix compilation with new DAPM API ALSA: wavefront - add const ALSA: remove CONFIG_KMOD from sound ALSA: Fix a const to non-const assignment in the Digigram VXpocket sound driver ALSA: Fix a const pointer usage warning in the Digigram VX soundcard driver ...
- Loading branch information
Showing
201 changed files
with
16,473 additions
and
3,893 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
/* | ||
* This file is subject to the terms and conditions of the GNU General Public | ||
* License. See the file "COPYING" in the main directory of this archive | ||
* for more details. | ||
* | ||
* Copyright 2003 Vivien Chappelier <vivien.chappelier@linux-mips.org> | ||
* Copyright 2008 Thomas Bogendoerfer <tsbogend@franken.de> | ||
*/ | ||
|
||
#ifndef __SOUND_AD1843_H | ||
#define __SOUND_AD1843_H | ||
|
||
struct snd_ad1843 { | ||
void *chip; | ||
int (*read)(void *chip, int reg); | ||
int (*write)(void *chip, int reg, int val); | ||
}; | ||
|
||
#define AD1843_GAIN_RECLEV 0 | ||
#define AD1843_GAIN_LINE 1 | ||
#define AD1843_GAIN_LINE_2 2 | ||
#define AD1843_GAIN_MIC 3 | ||
#define AD1843_GAIN_PCM_0 4 | ||
#define AD1843_GAIN_PCM_1 5 | ||
#define AD1843_GAIN_SIZE (AD1843_GAIN_PCM_1+1) | ||
|
||
int ad1843_get_gain_max(struct snd_ad1843 *ad1843, int id); | ||
int ad1843_get_gain(struct snd_ad1843 *ad1843, int id); | ||
int ad1843_set_gain(struct snd_ad1843 *ad1843, int id, int newval); | ||
int ad1843_get_recsrc(struct snd_ad1843 *ad1843); | ||
int ad1843_set_recsrc(struct snd_ad1843 *ad1843, int newsrc); | ||
void ad1843_setup_dac(struct snd_ad1843 *ad1843, | ||
unsigned int id, | ||
unsigned int framerate, | ||
snd_pcm_format_t fmt, | ||
unsigned int channels); | ||
void ad1843_shutdown_dac(struct snd_ad1843 *ad1843, | ||
unsigned int id); | ||
void ad1843_setup_adc(struct snd_ad1843 *ad1843, | ||
unsigned int framerate, | ||
snd_pcm_format_t fmt, | ||
unsigned int channels); | ||
void ad1843_shutdown_adc(struct snd_ad1843 *ad1843); | ||
int ad1843_init(struct snd_ad1843 *ad1843); | ||
|
||
#endif /* __SOUND_AD1843_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.