summaryrefslogtreecommitdiffstats
path: root/sound/pci/ca0106/ca0106.h
Commit message (Collapse)AuthorAgeFilesLines
* ALSA: ca0106 - Add power-management supportTakashi Iwai2008-12-041-1/+14
| | | | | | Added the missing PM support for snd-ca0106 driver. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] sound/pci: remove line duplications in definesNicolas Kaiser2008-01-311-1/+0
| | | | | | | | | Remove line duplications in defines. Acked-by: Thomas Sailer <sailer@ife.ee.ethz.ch> Signed-off-by: Nicolas Kaiser <nikai@nikai.net> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* [ALSA] ca0106: Add more symbol SPI register names and use themTrent Piepho2007-10-161-14/+65
| | | | | | | | | | | | Add more symbol name for SPI register values. Change the SPI_XXX_BIT defines from the bit number to a mask. Saves having to write (1<<SPI_XXX_BIT) all the time to convert to mask. We never end up wanting the bit number. Use all the symbol names for the SPI DAC init sequence. The sequence is exactly the same as it was before. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] ca0106: power down SPI DAC channels when not in useTrent Piepho2007-10-161-1/+1
| | | | | | | | | | | For cards with an SPI DAC (SB Live 24-bit / Audigy SE), power down channels 0-2 when not in use. They are powered up on PCM open and down again on PCM close. Channel 4 (== Front) is not powered down, as it is used for capture feedback. Powering it down would effectively kill line in pass-through. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] ca0106: Add analog mute controls for cards with SPI DACTrent Piepho2007-10-161-2/+45
| | | | | | | | | | | | | | Add four mute controls for the analog output channels for cards that use an SPI DAC, like the SB0570 SB Live! 24-bit / Audigy SE. The Wolfson DAC doesn't support muting left/right so the controls are mono. The chip state struct gets a 32-byte array to act as a shadow of the spi dac registers. Only two registers are used for mute, but more would be needed for analog gain, de-emphasis, DAC power down, phase inversion, and other features. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* PCI: Change all drivers to use pci_device->revisionAuke Kok2007-07-111-1/+0
| | | | | | | | | | | | | | | | | | | | Instead of all drivers reading pci config space to get the revision ID, they can now use the pci_device->revision member. This exposes some issues where drivers where reading a word or a dword for the revision number, and adding useless error-handling around the read. Some drivers even just read it for no purpose of all. In devices where the revision ID is being copied over and used in what appears to be the equivalent of hotpath, I have left the copy code and the cached copy as not to influence the driver's performance. Compile tested with make all{yes,mod}config on x86_64 and i386. Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com> Acked-by: Dave Jones <davej@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* [ALSA] Fix invalid assignment of PCI revisionTakashi Iwai2006-12-201-1/+1
| | | | | | | | Fix the type of PCI revision to char from int and avoid invalid assignment with pointer cast. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] ca0106: Add analog capture controls.James Courtier-Dutton2006-06-221-1/+3
| | | | Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
* [ALSA] snd-ca0106: Fixes sound output for Creative Audigy SE aka.SB0570.James Courtier-Dutton2006-01-031-0/+1
| | | | | | | | Modules: CA0106 driver Fixes ALSA bug#1636 Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
* [ALSA] Remove xxx_t typedefs: PCI CA0106Takashi Iwai2006-01-031-28/+26
| | | | | | | | Modules: CA0106 driver Remove xxx_t typedefs from the PCI CA0106 driver. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] snd-ca0106: Add midi support.James Courtier-Dutton2005-11-041-4/+23
| | | | | | | | Modules: PCI drivers,CA0106 driver Author: Tilman Kranz <tilde@tk-sls.de> Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
* [ALSA] ca0106: Fix 96000 Hz audio playback.James Courtier-Dutton2005-06-221-1/+1
| | | | | | CA0106 driver Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
* [ALSA] Add Mic capture support.James Courtier-Dutton2005-06-221-0/+1
| | | | | | | CA0106 driver Notes: This adds a new mixer item to switch between Mic and Line-in. Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
* [ALSA] Implement support for Line-in capture on SB Live 24bit.James Courtier-Dutton2005-06-221-4/+57
| | | | | | | CA0106 driver Notes: MIC capture not tested yet. Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
* [ALSA] Tidy up card recognition.James Courtier-Dutton2005-05-291-0/+8
| | | | | | | CA0106 driver Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
* Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds2005-04-161-0/+549
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
OpenPOWER on IntegriCloud