Lines Matching refs:dev1
393 struct pci_dev *dev1; in uli_agp_init() local
398 dev1 = pci_get_slot (pdev->bus,PCI_DEVFN(0,0)); in uli_agp_init()
399 if (dev1 == NULL) { in uli_agp_init()
432 pci_write_config_dword(dev1, ULI_X86_64_HTT_FEA_REG, httfea); in uli_agp_init()
433 pci_write_config_dword(dev1, ULI_X86_64_ENU_SCR_REG, enuscr); in uli_agp_init()
436 pci_dev_put(dev1); in uli_agp_init()
455 struct pci_dev *dev1; in nforce3_agp_init() local
461 dev1 = pci_get_slot(pdev->bus, PCI_DEVFN(11, 0)); in nforce3_agp_init()
462 if (dev1 == NULL) { in nforce3_agp_init()
477 pci_read_config_dword(dev1, NVIDIA_X86_64_1_APSIZE, &tmp); in nforce3_agp_init()
480 pci_write_config_dword(dev1, NVIDIA_X86_64_1_APSIZE, tmp); in nforce3_agp_init()
501 pci_write_config_dword(dev1, NVIDIA_X86_64_1_APBASE1, apbase); in nforce3_agp_init()
502 pci_write_config_dword(dev1, NVIDIA_X86_64_1_APLIMIT1, aplimit); in nforce3_agp_init()
503 pci_write_config_dword(dev1, NVIDIA_X86_64_1_APBASE2, apbase); in nforce3_agp_init()
504 pci_write_config_dword(dev1, NVIDIA_X86_64_1_APLIMIT2, aplimit); in nforce3_agp_init()
508 pci_dev_put(dev1); in nforce3_agp_init()