Changeset 86 for GPL/trunk/alsa-kernel/include
- Timestamp:
- Jan 23, 2007, 10:34:32 PM (19 years ago)
- Location:
- GPL/trunk/alsa-kernel/include/sound
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk/alsa-kernel/include/sound/ac97_codec.h
r77 r86 32 32 #include "info.h" 33 33 34 #define CONFIG_SND_AC97_POWER_SAVE /* experimental !!! */35 34 /* 36 35 * AC'97 codec registers … … 376 375 #define AC97_SCAP_NO_SPDIF (1<<9) /* don't build SPDIF controls */ 377 376 #define AC97_SCAP_EAPD_LED (1<<10) /* EAPD as mute LED */ 377 #define AC97_SCAP_POWER_SAVE (1<<11) /* capable for aggresive power-saving */ 378 378 379 379 /* ac97->flags */ … … 425 425 426 426 struct snd_ac97_bus_ops { 427 void (*reset) (struct snd_ac97 *ac97); 427 void (*reset) (struct snd_ac97 *ac97); 428 void (*warm_reset)(struct snd_ac97 *ac97); 428 429 void (*write) (struct snd_ac97 *ac97, unsigned short reg, unsigned short val); 429 430 unsigned short (*read) (struct snd_ac97 *ac97, unsigned short reg); … … 501 502 unsigned short id[3]; // codec IDs (lower 16-bit word) 502 503 unsigned short pcmreg[3]; // PCM registers 503 unsigned short codec_cfg[3]; // CODEC_CFG bits 504 unsigned short codec_cfg[3]; // CODEC_CFG bits 505 unsigned char swap_mic_linein; // AD1986/AD1986A only 504 506 } ad18xx; 505 507 unsigned int dev_flags; /* device specific */ -
GPL/trunk/alsa-kernel/include/sound/config.h
r34 r86 204 204 }; 205 205 206 /* PCI quirk list helper */ 207 struct snd_pci_quirk { 208 unsigned short subvendor; /* PCI subvendor ID */ 209 unsigned short subdevice; /* PCI subdevice ID */ 210 int value; /* value */ 211 #ifdef CONFIG_SND_DEBUG_DETECT 212 const char *name; /* name of the device (optional) */ 213 #endif 214 }; 215 216 #define _SND_PCI_QUIRK_ID(vend,dev) \ 217 .subvendor = (vend), .subdevice = (dev) 218 #define SND_PCI_QUIRK_ID(vend,dev) {_SND_PCI_QUIRK_ID(vend, dev)} 219 #ifdef CONFIG_SND_DEBUG_DETECT 220 #define SND_PCI_QUIRK(vend,dev,xname,val) \ 221 {_SND_PCI_QUIRK_ID(vend, dev), .value = (val), .name = (xname)} 222 #else 223 #define SND_PCI_QUIRK(vend,dev,xname,val) \ 224 {_SND_PCI_QUIRK_ID(vend, dev), .value = (val)} 225 #endif 226 227 const struct snd_pci_quirk * 228 snd_pci_quirk_lookup(struct pci_dev *pci, const struct snd_pci_quirk *list); 229 206 230 /* misc.c */ 207 231 struct resource; -
GPL/trunk/alsa-kernel/include/sound/driver.h
r85 r86 753 753 #endif 754 754 755 static inline int snd_pci_enable_msi(struct pci_dev *dev) { return -1; } 756 #undef pci_enable_msi 757 #define pci_enable_msi(dev) snd_pci_enable_msi(dev) 758 #undef pci_disable_msi 759 #define pci_disable_msi(dev) 760 761 #undef pci_intx 762 #define pci_intx(pci,x) 763 764 755 765 #endif /* __DRIVER_H */
Note:
See TracChangeset
for help on using the changeset viewer.
