Lines Matching refs:dev_a8
269 static struct pci_dev *dev_a8 = NULL; variable
302 while ((dev_a8 = hisax_find_pci_device(PCI_VENDOR_ID_PLX, in setup_sct_quadro()
303 PCI_DEVICE_ID_PLX_9050, dev_a8))) { in setup_sct_quadro()
305 sub_vendor_id = dev_a8->subsystem_vendor; in setup_sct_quadro()
306 sub_sys_id = dev_a8->subsystem_device; in setup_sct_quadro()
309 if (pci_enable_device(dev_a8)) in setup_sct_quadro()
311 pci_ioaddr1 = pci_resource_start(dev_a8, 1); in setup_sct_quadro()
312 pci_irq = dev_a8->irq; in setup_sct_quadro()
313 pci_bus = dev_a8->bus->number; in setup_sct_quadro()
314 pci_device_fn = dev_a8->devfn; in setup_sct_quadro()
327 if ((pci_ioaddr1 & 0x80) && (dev_a8->revision == 1)) { in setup_sct_quadro()
332 pci_write_config_dword(dev_a8, PCI_BASE_ADDRESS_1, (u_int)-1); in setup_sct_quadro()
336 pci_write_config_dword(dev_a8, PCI_BASE_ADDRESS_1, pci_ioaddr1); in setup_sct_quadro()
337 dev_a8->resource[1].start = pci_ioaddr1; in setup_sct_quadro()
346 pci_read_config_dword(dev_a8, PCI_BASE_ADDRESS_1, &pci_ioaddr1); in setup_sct_quadro()
347 pci_read_config_dword(dev_a8, PCI_BASE_ADDRESS_2, &pci_ioaddr2); in setup_sct_quadro()
348 pci_read_config_dword(dev_a8, PCI_BASE_ADDRESS_3, &pci_ioaddr3); in setup_sct_quadro()
349 pci_read_config_dword(dev_a8, PCI_BASE_ADDRESS_4, &pci_ioaddr4); in setup_sct_quadro()
350 pci_read_config_dword(dev_a8, PCI_BASE_ADDRESS_5, &pci_ioaddr5); in setup_sct_quadro()