Lines Matching refs:pdev
145 switch (rinfo->pdev.device) { in radeon_identify_vram()
229 if(rinfo->pdev.device == PCI_CHIP_RV370_5B60) return; in radeon_write_pll_regs()
550 pci_dev_t pdev; in radeon_probe() local
553 pdev = pci_find_devices(ati_radeon_pci_ids, 0); in radeon_probe()
555 if (pdev != -1) { in radeon_probe()
556 pci_read_config_word(pdev, PCI_DEVICE_ID, &did); in radeon_probe()
558 PCI_VENDOR_ID_ATI, did, (pdev >> 16) & 0xff, in radeon_probe()
559 (pdev >> 11) & 0x1f, (pdev >> 8) & 0x7); in radeon_probe()
562 rinfo->pdev.vendor = PCI_VENDOR_ID_ATI; in radeon_probe()
563 rinfo->pdev.device = did; in radeon_probe()
564 rinfo->family = get_radeon_id_family(rinfo->pdev.device); in radeon_probe()
565 pci_read_config_dword(pdev, PCI_BASE_ADDRESS_0, in radeon_probe()
567 pci_read_config_dword(pdev, PCI_BASE_ADDRESS_2, in radeon_probe()
572 rinfo->mmio_base = pci_bus_to_virt(pdev, rinfo->mmio_base_bus, in radeon_probe()
579 if (!BootVideoCardBIOS(pdev, NULL, 0)) in radeon_probe()
593 rinfo->fb_base = pci_bus_to_virt(pdev, rinfo->fb_base_bus, in radeon_probe()