Lines Matching +full:loongson +full:- +full:2 +full:k
1 // SPDX-License-Identifier: GPL-2.0-or-later
13 #include <loongson.h>
23 switch (PCI_FUNC(dev->devfn)) { in pcibios_map_irq()
24 case 2: in pcibios_map_irq()
51 /* Configures port 1, 2, 3, 4 to be validate*/ in loongson2e_nec_fixup()
55 /* System clock is 48-MHz Oscillator. */ in loongson2e_nec_fixup()
63 sb_slot = PCI_SLOT(pdev->devfn); in loongson2e_686b_func0_fixup()
84 * enable time-out timer in loongson2e_686b_func0_fixup()
94 /* 512 K PCI Decode */ in loongson2e_686b_func0_fixup()
103 * Parallel DRQ 3, Floppy DRQ 2 (default) in loongson2e_686b_func0_fixup()
120 /* route PIRQA-D irq */ in loongson2e_686b_func0_fixup()
121 pci_write_config_byte(pdev, 0x55, 0x90); /* bit 7-4, PIRQA */ in loongson2e_686b_func0_fixup()
122 pci_write_config_byte(pdev, 0x56, 0xba); /* bit 7-4, PIRQC; */ in loongson2e_686b_func0_fixup()
123 /* 3-0, PIRQB */ in loongson2e_686b_func0_fixup()
124 pci_write_config_byte(pdev, 0x57, 0xd0); /* bit 7-4, PIRQD */ in loongson2e_686b_func0_fixup()
128 c &= ~(0x3 << 2); in loongson2e_686b_func0_fixup()
199 /* disable game port, FM, midi, sb, enable write to reg2c-2f */ in loongson2e_686b_func5_fixup()