Lines Matching refs:bus

117 	uint_t		bus;
148 uint_t highest_bus; /* Highest bus seen on the probe */
282 { 0xc01, "access-bus", 4 },
324 * all its children) on the given bus. It is called when
332 uint_t bus;
338 bus = cardbus_primary_busno(cbp->cb_dip);
360 "Set bus type to cardbus\n");
368 "Configuring [0x%x][0x%x][0x%x]\n", bus, cardbus_dev, func);
371 bus, cardbus_dev, func)) {
374 "configure failed: bus [0x%x] slot [0x%x] func [0x%x]\n",
375 bus, cardbus_dev, func);
379 "no device: bus [0x%x] slot [0x%x] func [0x%x]\n",
380 bus, cardbus_dev, func);
384 "configure: bus => [%d] slot => [%d] func => [%d]\n",
385 bus, cardbus_dev, func);
478 * Get the primary pci bus number. This should be the lowest number
479 * in the bus-range property of our parent.
497 if (ddi_getlongprop(DDI_DEV_T_ANY, par, 0, "bus-range",
500 "cardbus_primary_busno: bus range is %d to %d\n",
509 "cardbus_primary_busno: Not a pci device or no bus-range\n");
738 "Set up bus-range property to %u->%u\n",
742 "bus-range",
747 "Create bus-range property, %u->%u\n",
751 "bus-range", (caddr_t)bus_range,
757 "Failed to set bus-range property, %u->%u (%d)\n",
1316 uint_t *bus;
1324 DDI_PROP_DONTPASS, "bus-range", (caddr_t)&bus,
1327 "cardbus_free_chunk: Failed to read bus-range property\n");
1332 "cardbus_free_chunk: Freeing bus [%d] range [%d]\n",
1333 bus[0], bus[1] - bus[0] + 1);
1336 (uint64_t)bus[0], (uint64_t)(bus[1] - bus[0] + 1),
1339 "cardbus_free_chunk: Failed to free bus numbers\n");
1341 kmem_free(bus, k);
1345 kmem_free(bus, k);
1361 "highest bus %d, mem_last 0x%lx, io_last 0x%x\n",
1366 "highest bus %d, mem_last 0x%llx, io_last 0x%x\n",
1374 * The highest bus seen during probing is
1375 * the max-subordinate bus
1464 * The highest bus seen during probing is
1465 * the max-subordinate bus
1871 * If its a bridge - just record the highest bus seen
2185 uint_t *bus;
2233 DDI_PROP_DONTPASS, "bus-range", (caddr_t)&bus,
2235 cardbus_err(dip, 6, "Failed to read bus-range property\n");
2240 "Need to free bus [%d] range [%d]\n",
2241 bus[0], bus[1] - bus[0] + 1);
2242 kmem_free(bus, k);
2244 (void) ndi_prop_remove(DDI_DEV_T_NONE, dip, "bus-range");
2353 cardbus_probe_bridge(cbus_t *cbp, dev_info_t *attpt, uint_t bus,
2368 "cardbus_probe_bridge bus %d device %d func %d\n",
2369 bus, device, func);
2399 "--%s bridge found root bus [0x%x] device [0x%x] func [0x%x]\n",
2402 bus, device, func);
2404 if (ddi_getlongprop(DDI_DEV_T_ANY, cbp->cb_dip, 0, "bus-range",
2407 "No bus-range property seems to have been set up\n");
2410 "allowable bus range is %u->%u\n",
2416 * Get next bus in sequence and program device.
2424 cmn_err(CE_WARN, "Failed to get a bus number\n");
2430 "NEW bus found [%u]->[%u]\n", bus, new_bus);
2432 (void) cardbus_set_bus_numbers(config_handle, bus, new_bus);
2447 "Failed to configure bus "
2489 cardbus_probe_children(cbus_t *cbp, dev_info_t *parent, uint_t bus,
2505 "cardbus_probe_children bus %d device %d func %d\n",
2506 bus, device, func);
2525 if (cardbus_add_config_reg(new_child, bus,
2611 " bus [0x%x] device [0x%x] func [0x%x]\n",
2612 bus, device, func);
2615 new_child, 0, "bus-range",
2619 "No bus-range property"
2623 "allowable bus range is %u->%u\n",
2629 * Get next bus in sequence and program device.
2639 "Failed to get a bus number\n");
2646 "NEW bus found [%u]->[%u]\n", bus, new_bus);
2651 bus, new_bus);
2660 * Set bus properties
2686 "bus [0x%x] "
2719 "bus [0x%x] device [0x%x] func [0x%x]\n",
2720 bus, device, func);
2757 "bus [0x%x] device [0x%x] func [0x%x]\n",
2758 bus, device, func);
2832 * Set bus properties
2862 "Failed to configure isa bus\n");
2876 "bus [0x%x] device [0x%x] func [0x%x]\n",
2877 sub_class, bus, device, func);
2883 "bus [0x%x] device [0x%x] func [0x%x]\n",
2884 bus, device, func);
3067 uint_t bus, uint_t device, uint_t func)
3071 reg[0] = PCICFG_MAKE_REG_HIGH(bus, device, func, 0);
3555 * for bus map purposes.
3629 * bus specification - 0FFFFh is an invalid value for the vendor ID
3969 * Program the bus numbers into the bridge
3979 * Primary bus#
3984 * Secondary bus#
3989 * Set the subordinate bus number to ff in order to pass through any
3990 * type 1 cycle with a bus number higher than the secondary bus#
4006 * Enable memory, IO, bus mastership and error detection.
4046 * Reset the sub-ordinate bus.
4061 * Enable back to back on secondary bus.
4095 * Reset the sub-ordinate bus.
4143 * Turn off subordinate bus access.
4172 * Turn off subordinate bus access.
4204 * Enable memory, IO, bus mastership and error detection.