Lines Matching refs:legacy_ctrl2

62 				      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()
228 case 0x3a0: legacy_ctrl2 |= 2; break; in __snd_card_ymfpci_probe()
229 case 0x3a8: legacy_ctrl2 |= 3; break; in __snd_card_ymfpci_probe()
244 legacy_ctrl2 &= ~YMFPCI_LEGACY2_FMIO; in __snd_card_ymfpci_probe()
248 case 0x330: legacy_ctrl2 |= 0 << 4; break; in __snd_card_ymfpci_probe()
249 case 0x300: legacy_ctrl2 |= 1 << 4; break; in __snd_card_ymfpci_probe()
250 case 0x332: legacy_ctrl2 |= 2 << 4; break; in __snd_card_ymfpci_probe()
251 case 0x334: legacy_ctrl2 |= 3 << 4; break; in __snd_card_ymfpci_probe()
266 legacy_ctrl2 &= ~YMFPCI_LEGACY2_MPUIO; in __snd_card_ymfpci_probe()
272 legacy_ctrl2 |= YMFPCI_LEGACY2_IMOD; in __snd_card_ymfpci_probe()
276 pci_write_config_word(pci, PCIR_DSXG_ELEGACY, legacy_ctrl2); in __snd_card_ymfpci_probe()
340 snd_ymfpci_create_gameport(chip, dev, legacy_ctrl, legacy_ctrl2); in __snd_card_ymfpci_probe()