Lines Matching defs:max

791 		enum pci_bus_speed max;
797 max = PCI_SPEED_133MHz_PCIX_533;
799 max = PCI_SPEED_133MHz_PCIX_266;
802 max = PCI_SPEED_133MHz_PCIX_ECC;
804 max = PCI_SPEED_133MHz_PCIX;
806 max = PCI_SPEED_66MHz_PCIX;
809 bus->max_bus_speed = max;
1234 * @max: Starting subordinate number of buses behind this bridge
1254 int max, unsigned int available_buses,
1335 pci_warn(dev, "bridge has subordinate %02x but max busn %02x\n",
1339 if (subordinate > max)
1340 max = subordinate;
1371 next_busnr = max + 1;
1386 max++;
1409 max = pci_scan_child_bus_extend(child, available_buses);
1420 max+i+1))
1424 (parent->busn_res.end > max) &&
1425 (parent->busn_res.end <= max+i)) {
1441 max += i;
1450 max = fixed_sub;
1451 pci_bus_update_busn_res_end(child, max);
1452 pci_write_config_byte(dev, PCI_SUBORDINATE_BUS, max);
1477 return max;
1484 * @max: Starting subordinate number of buses behind this bridge
1499 int pci_scan_bridge(struct pci_bus *bus, struct pci_dev *dev, int max, int pass)
1501 return pci_scan_bridge_extend(bus, dev, max, 0, pass);
2058 pci_info(dev, "Upstream bridge's Max Payload Size set to %d (was %d, max %d)\n",
2070 pci_info(dev, "Max Payload Size set to %d (was %d, max %d)\n",
2785 * For max performance, the MRRS must be set to the largest supported
2896 unsigned int devfn, cmax, max = start;
2907 max += used_buses;
2937 cmax = max;
2938 max = pci_scan_bridge_extend(bus, dev, max, 0, 0);
2945 if (max - cmax > 1)
2946 used_buses += max - cmax - 1;
2970 cmax = max;
2971 max = pci_scan_bridge_extend(bus, dev, cmax, buses, 1);
2973 if (max - cmax > 1)
2974 used_buses += max - cmax - 1;
2985 if (max - start < used_buses) {
2986 max = start + used_buses;
2989 if (max > bus->busn_res.end)
2990 max = bus->busn_res.end;
2993 &bus->busn_res, max - start);
3004 dev_dbg(&bus->dev, "bus scan returning with max=%02x\n", max);
3005 return max;
3169 int max, bus, ret;
3195 max = pci_scan_child_bus(b);
3198 pci_bus_update_busn_res_end(b, max);
3210 int max;
3229 max = pci_scan_child_bus(b);
3232 pci_bus_update_busn_res_end(b, max);
3266 * Returns the max number of subordinate bus discovered.
3270 unsigned int max;
3273 max = pci_scan_child_bus(bus);
3279 return max;
3289 * Returns the max number of subordinate bus discovered.
3293 unsigned int max;
3295 max = pci_scan_child_bus(bus);
3299 return max;