Lines Matching refs:controller

110 	IOService *     controller                      = NULL;  in di_load_controller()  local
127 controller = OSDynamicCast(IOService, controllerIterator->getNextObject()); in di_load_controller()
128 if (!controller) { in di_load_controller()
132 controller->retain(); in di_load_controller()
142 return controller; in di_load_controller()
152 di_add_properties(IOService *controller, bool removable) in di_add_properties() argument
154 …if (!controller->setProperty(kDIRootImageRemovableKey, removable ? kOSBooleanTrue : kOSBooleanFals… in di_add_properties()
166 IOService * controller = NULL; in di_root_image_ext() local
190 controller = di_load_controller(); in di_root_image_ext()
191 if (!controller) { in di_root_image_ext()
209 res = di_add_properties(controller, removable); in di_root_image_ext()
215 if (!controller->setProperty(kDIRootImageKey, pathString)) { in di_root_image_ext()
219 myResult = OSDynamicCast(OSNumber, controller->getProperty(kDIRootImageResultKey)); in di_root_image_ext()
231 myDevT = OSDynamicCast(OSNumber, controller->getProperty(kDIRootImageDevTKey)); in di_root_image_ext()
240 myDevName = OSDynamicCast(OSString, controller->getProperty(kDIRootImageDevNameKey)); in di_root_image_ext()
258 res = controller->waitQuiet((NSEC_PER_SEC * kDIMatchQuiesceTimeout)); in di_root_image_ext()
273 if (controller) { in di_root_image_ext()
274 controller->release(); in di_root_image_ext()
299 IOService *controller = NULL; in di_root_ramfile_buf() local
314 controller = di_load_controller(); in di_root_ramfile_buf()
315 if (controller) { in di_root_ramfile_buf()
317 controller->setProperty(kDIRootRamFileKey, mem); in di_root_ramfile_buf()
318 controller->release(); in di_root_ramfile_buf()
324 myResult = OSDynamicCast(OSNumber, controller->getProperty(kDIRootImageResultKey)); in di_root_ramfile_buf()
335 myDevT = OSDynamicCast(OSNumber, controller->getProperty(kDIRootImageDevTKey)); in di_root_ramfile_buf()
344 myDevName = OSDynamicCast(OSString, controller->getProperty(kDIRootImageDevNameKey)); in di_root_ramfile_buf()
421 IOService * controller = di_load_controller(); in di_root_ramfile() local
422 if (controller) { in di_root_ramfile()
423 controller->setProperty(kDIRootRamFileKey, mem); in di_root_ramfile()
424 controller->release(); in di_root_ramfile()