Searched refs:legacy (Results 1 – 3 of 3) sorted by relevance
/sound/oss/ |
D | sb_card.c | 51 static struct sb_card_config *legacy = NULL; variable 140 if((legacy = kzalloc(sizeof(struct sb_card_config), GFP_KERNEL)) == NULL) { in sb_init_legacy() 145 legacy->conf.io_base = io; in sb_init_legacy() 146 legacy->conf.irq = irq; in sb_init_legacy() 147 legacy->conf.dma = dma; in sb_init_legacy() 148 legacy->conf.dma2 = dma16; in sb_init_legacy() 149 legacy->conf.card_subtype = type; in sb_init_legacy() 151 legacy->mpucnf.io_base = mpu_io; in sb_init_legacy() 152 legacy->mpucnf.irq = -1; in sb_init_legacy() 153 legacy->mpucnf.dma = -1; in sb_init_legacy() [all …]
|
/sound/pci/ |
D | via82xx.c | 1839 static int __devinit snd_via686_create_gameport(struct via82xx *chip, unsigned char *legacy) in snd_via686_create_gameport() argument 1868 *legacy |= VIA_FUNC_ENABLE_GAME; in snd_via686_create_gameport() 1869 pci_write_config_byte(chip->pci, VIA_FUNC_ENABLE, *legacy); in snd_via686_create_gameport() 1887 static inline int snd_via686_create_gameport(struct via82xx *chip, unsigned char *legacy) in snd_via686_create_gameport() argument 1949 unsigned char legacy, legacy_cfg; in snd_via686_init_misc() local 1952 legacy = chip->old_legacy; in snd_via686_init_misc() 1954 legacy |= VIA_FUNC_MIDI_IRQMASK; /* FIXME: correct? (disable MIDI) */ in snd_via686_init_misc() 1955 legacy &= ~VIA_FUNC_ENABLE_GAME; /* disable joystick */ in snd_via686_init_misc() 1977 if (legacy & VIA_FUNC_ENABLE_MIDI) in snd_via686_init_misc() 1986 legacy |= VIA_FUNC_MIDI_PNP; /* enable PCI I/O 2 */ in snd_via686_init_misc() [all …]
|
/sound/pci/ali5451/ |
D | ali5451.c | 2066 unsigned int legacy; in snd_ali_chip_init() local 2089 pci_read_config_dword(codec->pci, 0x44, &legacy); in snd_ali_chip_init() 2090 legacy &= 0xff00ff00; in snd_ali_chip_init() 2091 legacy |= 0x000800aa; in snd_ali_chip_init() 2092 pci_write_config_dword(codec->pci, 0x44, legacy); in snd_ali_chip_init()
|