Home
last modified time | relevance | path

Searched refs:legacy (Results 1 – 3 of 3) sorted by relevance

/sound/oss/
Dsb_card.c52 static struct sb_card_config *legacy = NULL; variable
141 if((legacy = kzalloc(sizeof(struct sb_card_config), GFP_KERNEL)) == NULL) { in sb_init_legacy()
146 legacy->conf.io_base = io; in sb_init_legacy()
147 legacy->conf.irq = irq; in sb_init_legacy()
148 legacy->conf.dma = dma; in sb_init_legacy()
149 legacy->conf.dma2 = dma16; in sb_init_legacy()
150 legacy->conf.card_subtype = type; in sb_init_legacy()
152 legacy->mpucnf.io_base = mpu_io; in sb_init_legacy()
153 legacy->mpucnf.irq = -1; in sb_init_legacy()
154 legacy->mpucnf.dma = -1; in sb_init_legacy()
[all …]
/sound/pci/
Dvia82xx.c1933 static int snd_via686_create_gameport(struct via82xx *chip, unsigned char *legacy) in snd_via686_create_gameport() argument
1963 *legacy |= VIA_FUNC_ENABLE_GAME; in snd_via686_create_gameport()
1964 pci_write_config_byte(chip->pci, VIA_FUNC_ENABLE, *legacy); in snd_via686_create_gameport()
1982 static inline int snd_via686_create_gameport(struct via82xx *chip, unsigned char *legacy) in snd_via686_create_gameport() argument
2054 unsigned char legacy, legacy_cfg; in snd_via686_init_misc() local
2057 legacy = chip->old_legacy; in snd_via686_init_misc()
2059 legacy |= VIA_FUNC_MIDI_IRQMASK; /* FIXME: correct? (disable MIDI) */ in snd_via686_init_misc()
2060 legacy &= ~VIA_FUNC_ENABLE_GAME; /* disable joystick */ in snd_via686_init_misc()
2082 if (legacy & VIA_FUNC_ENABLE_MIDI) in snd_via686_init_misc()
2091 legacy |= VIA_FUNC_MIDI_PNP; /* enable PCI I/O 2 */ in snd_via686_init_misc()
[all …]
/sound/pci/ali5451/
Dali5451.c1987 unsigned int legacy; in snd_ali_chip_init() local
2010 pci_read_config_dword(codec->pci, 0x44, &legacy); in snd_ali_chip_init()
2011 legacy &= 0xff00ff00; in snd_ali_chip_init()
2012 legacy |= 0x000800aa; in snd_ali_chip_init()
2013 pci_write_config_dword(codec->pci, 0x44, legacy); in snd_ali_chip_init()