Lines Matching defs:num
22 static void __init fix_hypertransport_config(int num, int slot, int func)
31 htcfg = read_pci_config(num, slot, func, 0x68);
41 write_pci_config(num, slot, func, 0x68, htcfg);
48 static void __init via_bugs(int num, int slot, int func)
71 static void __init nvidia_bugs(int num, int slot, int func)
101 static u32 __init ati_ixp4x0_rev(int num, int slot, int func)
106 b = read_pci_config_byte(num, slot, func, 0xac);
108 write_pci_config_byte(num, slot, func, 0xac, b);
110 d = read_pci_config(num, slot, func, 0x70);
112 write_pci_config(num, slot, func, 0x70, d);
114 d = read_pci_config(num, slot, func, 0x8);
120 static void __init ati_bugs(int num, int slot, int func)
128 d = ati_ixp4x0_rev(num, slot, func);
146 static u32 __init ati_sbx00_rev(int num, int slot, int func)
150 d = read_pci_config(num, slot, func, 0x70);
153 write_pci_config(num, slot, func, 0x70, d);
154 d = read_pci_config(num, slot, func, 0x8);
156 write_pci_config(num, slot, func, 0x70, old);
161 static void __init ati_bugs_contd(int num, int slot, int func)
168 rev = ati_sbx00_rev(num, slot, func);
173 d = read_pci_config(num, slot, func, 0x64);
185 static void __init ati_bugs(int num, int slot, int func)
189 static void __init ati_bugs_contd(int num, int slot, int func)
203 void (*f)(int num, int slot, int func);
228 * @num: bus number
237 static int __init check_dev_quirk(int num, int slot, int func)
245 class = read_pci_config_16(num, slot, func, PCI_CLASS_DEVICE);
250 vendor = read_pci_config_16(num, slot, func, PCI_VENDOR_ID);
252 device = read_pci_config_16(num, slot, func, PCI_DEVICE_ID);
263 early_qrk[i].f(num, slot, func);
268 type = read_pci_config_byte(num, slot, func,