Lines Matching refs:bus

65  * Definitions for the bus node registration list:
68 * representing the device bus nodes that have been registered via
70 * by the bus argument to hpc_slot_register.
80 * bus_dip - pointer to devinfo node of the registering bus
82 * bus_name - device path name of the bus (ie /pci@1f,4000)
84 * bus_callback - bus nexus driver callback function registered
85 * with the bus
87 * bus_registered - a boolean value which is true if the bus has
93 * bus node (see slot list details below)
96 * slots associated with this bus
151 * Definitions for the per-bus node slot registration list:
153 * For each bus node in the bus list, the hot-plug service module maintains
155 * registered (by hot-plug controllers) for that bus.
157 * The head of the linked listed is stored in bus_slot_list field of the bus
159 * in the bus_mutex field of the bus node.
181 * slot_bus - pointer to bus node for the slot
235 * Mutex lock for bus registration table and table head.
334 * Initialize the new bus node and link it at the head
335 * of the bus list.
337 DEBUG0("hpc_nexus_register_bus: not in bus list");
351 * The bus is in the bus list but isn't registered yet.
390 * Search the list for the bus node and remove it.
406 * If the bus has slots, mark the bus as unregistered, otherwise
407 * remove the bus entry from the list.
423 * unregister event handlers for all the slots on this bus.
439 hpc_slot_register(dev_info_t *hpc_dip, char *bus, hpc_slot_info_t *infop,
454 DEBUG1("hpc_slot_register: %s", bus);
459 * The bus for the slot may or may not be in the bus list. If it's
460 * not, we create a node for the bus in the bus list and mark it as
464 busp = hpc_find_bus_by_name(bus);
468 * Initialize the new bus node and link it at the
469 * head of the bus list.
471 DEBUG1("hpc_slot_register: %s not in bus list", bus);
474 (void) strcpy(busp->bus_name, bus);
494 * registered for the bus. Create a per-bus thread
506 * Create and initialize a new entry in the slot list for the bus.
529 * If the bus was registered, we run the callback registered by
530 * the bus node.
569 * Get the bus list entry from the slot to grap the mutex for
570 * the slot list of the bus.
638 * If the bus is unregistered and this is the last slot for this bus
639 * then remove the entry from the bus list.
642 /* locate the previous entry in the bus list */
739 * Insert the event into the bus slot event handler list and
740 * signal the bus slot event handler dispatch thread.
835 * The following function is run from the bus entries slot event handling
882 * Then run the event handler while the bus mutex