Lines Matching defs:device
213 * Every agp bridge device will allow you to allocate AGP_NORMAL_MEMORY which
214 * maps to physical ram. Any other type is device dependent.
361 * This function copies information about the agp bridge device and the state of
375 info->device = bridge->dev;
396 * They call device specific routines to actually write to the GATT.
496 * device. A.G.P. devices must report all that apply.
659 /* All set, bridge & device can do AGP x8*/
723 struct pci_dev *device = NULL;
728 device = pci_get_class(PCI_CLASS_DISPLAY_VGA << 8, device);
729 if (!device) {
733 cap_ptr = pci_find_capability(device, PCI_CAP_ID_AGP);
739 * Ok, here we have a AGP device. Disable impossible
742 pci_read_config_dword(device, cap_ptr+PCI_AGP_STATUS, &vga_agpstat);
761 pci_dev_put(device);
769 struct pci_dev *device = NULL;
776 for_each_pci_dev(device) {
777 u8 agp = pci_find_capability(device, PCI_CAP_ID_AGP);
781 dev_info(&device->dev, "putting AGP V%d device into %dx mode\n",
783 pci_write_config_dword(device, agp + PCI_AGP_COMMAND, bridge_agpstat);