Home
last modified time | relevance | path

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

/linux/sound/pci/ymfpci/
H A Dymfpci.c62 int legacy_ctrl, int legacy_ctrl2) in snd_ymfpci_create_gameport() argument
96 case 0x201: legacy_ctrl2 |= 0 << 6; break; in snd_ymfpci_create_gameport()
97 case 0x202: legacy_ctrl2 |= 1 << 6; break; in snd_ymfpci_create_gameport()
98 case 0x204: legacy_ctrl2 |= 2 << 6; break; in snd_ymfpci_create_gameport()
99 case 0x205: legacy_ctrl2 |= 3 << 6; break; in snd_ymfpci_create_gameport()
136 pci_write_config_word(chip->pci, PCIR_DSXG_ELEGACY, legacy_ctrl2); in snd_ymfpci_create_gameport()
166 u16 legacy_ctrl, legacy_ctrl2, old_legacy_ctrl; in __snd_card_ymfpci_probe() local
199 legacy_ctrl2 = 0x0800; /* SBEN = 0, SMOD = 01, LAD = 0 */ in __snd_card_ymfpci_probe()
226 case 0x388: legacy_ctrl2 |= 0; break; in __snd_card_ymfpci_probe()
227 case 0x398: legacy_ctrl2 |= 1; break; in __snd_card_ymfpci_probe()
[all …]