Lines Matching refs:pdev
95 static void loongson_cs5536_isa_fixup(struct pci_dev *pdev) in loongson_cs5536_isa_fixup() argument
98 pci_write_config_dword(pdev, PCI_UART1_INT_REG, 1); in loongson_cs5536_isa_fixup()
99 pci_write_config_dword(pdev, PCI_UART2_INT_REG, 1); in loongson_cs5536_isa_fixup()
102 static void loongson_cs5536_ide_fixup(struct pci_dev *pdev) in loongson_cs5536_ide_fixup() argument
105 pci_write_config_dword(pdev, PCI_IDE_CFG_REG, in loongson_cs5536_ide_fixup()
109 static void loongson_cs5536_acc_fixup(struct pci_dev *pdev) in loongson_cs5536_acc_fixup() argument
112 pci_write_config_dword(pdev, PCI_ACC_INT_REG, 1); in loongson_cs5536_acc_fixup()
114 pci_write_config_byte(pdev, PCI_LATENCY_TIMER, 0xc0); in loongson_cs5536_acc_fixup()
117 static void loongson_cs5536_ohci_fixup(struct pci_dev *pdev) in loongson_cs5536_ohci_fixup() argument
121 pci_write_config_dword(pdev, PCI_OHCI_INT_REG, 1); in loongson_cs5536_ohci_fixup()
124 static void loongson_cs5536_ehci_fixup(struct pci_dev *pdev) in loongson_cs5536_ehci_fixup() argument
133 pci_write_config_dword(pdev, PCI_EHCI_FLADJ_REG, 0x2000); in loongson_cs5536_ehci_fixup()
136 static void loongson_nec_fixup(struct pci_dev *pdev) in loongson_nec_fixup() argument
140 pci_read_config_dword(pdev, 0xe0, &val); in loongson_nec_fixup()
142 pci_write_config_dword(pdev, 0xe0, (val & ~3) | 0x2); in loongson_nec_fixup()