Lines Matching refs:dev
123 struct pci_dev *dev; in amd64_fetch_size() local
128 dev = node_to_amd_nb(0)->misc; in amd64_fetch_size()
129 if (dev==NULL) in amd64_fetch_size()
132 pci_read_config_dword(dev, AMD64_GARTAPERTURECTL, &temp); in amd64_fetch_size()
207 struct pci_dev *dev = node_to_amd_nb(i)->misc; in amd64_cleanup() local
209 pci_read_config_dword(dev, AMD64_GARTAPERTURECTL, &tmp); in amd64_cleanup()
211 pci_write_config_dword(dev, AMD64_GARTAPERTURECTL, tmp); in amd64_cleanup()
305 dev_info(&agp->dev, "aperture size %u MB is not right, using settings from NB\n", in fix_northbridge()
315 dev_info(&agp->dev, "aperture from AGP @ %Lx size %u MB\n", in fix_northbridge()
338 struct pci_dev *dev = node_to_amd_nb(i)->misc; in cache_nbs() local
339 if (fix_northbridge(dev, pdev, cap_ptr) < 0) { in cache_nbs()
340 dev_err(&dev->dev, "no usable aperture found\n"); in cache_nbs()
343 dev_err(&dev->dev, "consider rebooting with iommu=memaper=2 to get a good aperture\n"); in cache_nbs()
366 dev_info(&pdev->dev, "AMD 8151 AGP Bridge rev %s\n", revstring); in amd8151_init()
373 dev_info(&pdev->dev, "correcting AGP revision (reports 3.5, is really 3.0)\n"); in amd8151_init()
397 dev_info(&pdev->dev, "setting up ULi AGP\n"); in uli_agp_init()
400 dev_info(&pdev->dev, "can't find ULi secondary device\n"); in uli_agp_init()
409 dev_info(&pdev->dev, "no ULi size found for %d\n", size); in uli_agp_init()
459 dev_info(&pdev->dev, "setting up Nforce3 AGP\n"); in nforce3_agp_init()
463 dev_info(&pdev->dev, "can't find Nforce3 secondary device\n"); in nforce3_agp_init()
472 dev_info(&pdev->dev, "no NForce3 size found for %d\n", size); in nforce3_agp_init()
488 dev_info(&pdev->dev, "aperture base > 4G\n"); in nforce3_agp_init()
538 dev_info(&pdev->dev, "AGP bridge [%04x/%04x]\n", in agp_amd64_probe()
543 bridge->dev = pdev; in agp_amd64_probe()
591 static int agp_amd64_resume(struct device *dev) in agp_amd64_resume() argument
593 struct pci_dev *pdev = to_pci_dev(dev); in agp_amd64_resume()