Lines Matching refs:legacy_ctrl2
83 int legacy_ctrl, int legacy_ctrl2)
114 case 0x201: legacy_ctrl2 |= 0 << 6; break;
115 case 0x202: legacy_ctrl2 |= 1 << 6; break;
116 case 0x204: legacy_ctrl2 |= 2 << 6; break;
117 case 0x205: legacy_ctrl2 |= 3 << 6; break;
147 pci_write_config_word(chip->pci, PCIR_DSXG_ELEGACY, legacy_ctrl2);
181 u16 legacy_ctrl, legacy_ctrl2, old_legacy_ctrl;
205 legacy_ctrl2 = 0x0800; /* SBEN = 0, SMOD = 01, LAD = 0 */
228 case 0x388: legacy_ctrl2 |= 0; break;
229 case 0x398: legacy_ctrl2 |= 1; break;
230 case 0x3a0: legacy_ctrl2 |= 2; break;
231 case 0x3a8: legacy_ctrl2 |= 3; break;
238 legacy_ctrl2 &= ~YMFPCI_LEGACY2_FMIO;
242 case 0x330: legacy_ctrl2 |= 0 << 4; break;
243 case 0x300: legacy_ctrl2 |= 1 << 4; break;
244 case 0x332: legacy_ctrl2 |= 2 << 4; break;
245 case 0x334: legacy_ctrl2 |= 3 << 4; break;
252 legacy_ctrl2 &= ~YMFPCI_LEGACY2_MPUIO;
258 legacy_ctrl2 |= YMFPCI_LEGACY2_IMOD;
262 pci_write_config_word(pci, PCIR_DSXG_ELEGACY, legacy_ctrl2);
330 snd_ymfpci_create_gameport(chip, dev, legacy_ctrl, legacy_ctrl2);