Lines Matching refs:async
78 } async;
198 if ( device->async.port ) {
199 IONotificationPortDestroy(device->async.port);
200 device->async.port = NULL;
337 if ( !device->async.port ) {
338 device->async.port = IONotificationPortCreate(kIOMasterPortDefault);
341 require_action(device->async.port, exit, result=false);
364 if ( !device->async.source ) {
365 device->async.source = IONotificationPortGetRunLoopSource(device->async.port);
366 if ( !device->async.source )
370 CFRunLoopAddSource(runLoop, device->async.source, runLoopMode);
390 CFRunLoopRemoveSource(runLoop, device->async.source, runLoopMode);
433 IONotificationPortSetDispatchQueue(device->async.port, queue);
461 if ( device->async.port ) {
462 IONotificationPortDestroy(device->async.port);
463 device->async.port = NULL;
586 wakePort = IONotificationPortGetMachPort(device->async.port);