Lines Matching refs:legacy_ctrl
62 int legacy_ctrl, int legacy_ctrl2) in snd_ymfpci_create_gameport() argument
135 pci_write_config_word(chip->pci, PCIR_DSXG_LEGACY, legacy_ctrl | YMFPCI_LEGACY_JPEN); in snd_ymfpci_create_gameport()
166 u16 legacy_ctrl, legacy_ctrl2, old_legacy_ctrl; in __snd_card_ymfpci_probe() local
198 legacy_ctrl = 0; in __snd_card_ymfpci_probe()
210 legacy_ctrl |= YMFPCI_LEGACY_FMEN; in __snd_card_ymfpci_probe()
221 legacy_ctrl |= YMFPCI_LEGACY_MEN; in __snd_card_ymfpci_probe()
242 legacy_ctrl |= YMFPCI_LEGACY_FMEN; in __snd_card_ymfpci_probe()
264 legacy_ctrl |= YMFPCI_LEGACY_MEN; in __snd_card_ymfpci_probe()
271 legacy_ctrl |= YMFPCI_LEGACY_MIEN; in __snd_card_ymfpci_probe()
275 pci_write_config_word(pci, PCIR_DSXG_LEGACY, legacy_ctrl); in __snd_card_ymfpci_probe()
316 legacy_ctrl &= ~YMFPCI_LEGACY_MIEN; /* disable MPU401 irq */ in __snd_card_ymfpci_probe()
317 pci_write_config_word(pci, PCIR_DSXG_LEGACY, legacy_ctrl); in __snd_card_ymfpci_probe()
329 legacy_ctrl &= ~YMFPCI_LEGACY_FMEN; in __snd_card_ymfpci_probe()
330 pci_write_config_word(pci, PCIR_DSXG_LEGACY, legacy_ctrl); in __snd_card_ymfpci_probe()
340 snd_ymfpci_create_gameport(chip, dev, legacy_ctrl, legacy_ctrl2); in __snd_card_ymfpci_probe()