Lines Matching defs:bus
242 io_service_t bus = IO_OBJECT_NULL;
696 * Obtain the bus object.
704 while ( ( bus = IOIteratorNext( services ) ) )
706 if ( IORegistryEntryInPlane( bus, kIODeviceTreePlane ) ) break;
708 IOObjectRelease( bus );
713 if ( bus )
716 * Create the disk description -- bus name.
719 status = IORegistryEntryGetNameInPlane( bus, kIODeviceTreePlane, name );
729 * Create the disk description -- bus path.
732 status = ___IORegistryEntryGetPath( bus, kIODeviceTreePlane, path );
741 IOObjectRelease( bus );
742 bus = IO_OBJECT_NULL;
923 if ( bus ) IOObjectRelease( bus );