Lines Matching refs:pdev
146 switch (rinfo->pdev.device) { in radeon_identify_vram()
230 if(rinfo->pdev.device == PCI_CHIP_RV370_5B60) return; in radeon_write_pll_regs()
551 pci_dev_t pdev; in radeon_probe() local
554 pdev = pci_find_devices(ati_radeon_pci_ids, 0); in radeon_probe()
556 if (pdev != -1) { in radeon_probe()
557 pci_read_config_word(pdev, PCI_DEVICE_ID, &did); in radeon_probe()
559 PCI_VENDOR_ID_ATI, did, (pdev >> 16) & 0xff, in radeon_probe()
560 (pdev >> 11) & 0x1f, (pdev >> 8) & 0x7); in radeon_probe()
563 rinfo->pdev.vendor = PCI_VENDOR_ID_ATI; in radeon_probe()
564 rinfo->pdev.device = did; in radeon_probe()
565 rinfo->family = get_radeon_id_family(rinfo->pdev.device); in radeon_probe()
566 pci_read_config_dword(pdev, PCI_BASE_ADDRESS_0, in radeon_probe()
568 pci_read_config_dword(pdev, PCI_BASE_ADDRESS_2, in radeon_probe()
573 rinfo->mmio_base = pci_bus_to_virt(pdev, rinfo->mmio_base_bus, in radeon_probe()
580 if (!BootVideoCardBIOS(pdev, NULL, 0)) in radeon_probe()
594 rinfo->fb_base = pci_bus_to_virt(pdev, rinfo->fb_base_bus, in radeon_probe()