Lines Matching defs:dev
59 static void fixup_winbond_82c105(struct pci_dev* dev)
68 pci_read_config_dword(dev, 0x40, ®);
70 pci_write_config_dword(dev, 0x40, reg | (1<<11));
74 if (dev->resource[i].flags & IORESOURCE_IO
75 && dev->bus->number == 0 && dev->devfn == 0x81)
76 dev->resource[i].flags &= ~IORESOURCE_IO;
77 if (dev->resource[i].start == 0 && dev->resource[i].end) {
78 dev->resource[i].flags = 0;
79 dev->resource[i].end = 0;