Lines Matching refs:rcIo
120 IOReturn rcIo = IOServiceOpen(g_hSmcService, mach_task_self(), 1, &g_hSmcConnect);
121 if (rcIo == kIOReturnSuccess && g_hSmcConnect != IO_OBJECT_NULL)
123 rcIo = IOConnectCallMethod(g_hSmcConnect, kSMCUserClientOpen, NULL, 0, NULL, 0, NULL, NULL, NULL, NULL);
124 if (rcIo == kIOReturnSuccess)
126 RTMsgError("kSMCUserClientOpen failed: %#x (%#x)\n", rcIo, rcIo);
130 RTMsgError("IOServiceOpen failed: %#x (%#x)\n", rcIo, rcIo);
133 return RTErrConvertFromDarwinIO(rcIo);
158 IOReturn rcIo = IOConnectCallStructMethod(g_hSmcConnect, kSMCHandleYPCEvent, pIn, sizeof(*pIn), pOut, &cbOut);
159 if (rcIo == kIOReturnSuccess)
161 RTMsgError("SMC call %d failed: rcIo=%d (%#x)\n", enmFunction, rcIo, rcIo);
162 return RTErrConvertFromDarwinIO(rcIo);