Searched refs:refcon (Results 1 - 25 of 188) sorted by relevance

12345678

/macosx-10.10/xnu-2782.1.97/osfmk/i386/
H A Dacpi.h46 typedef void (*acpi_sleep_callback)(void * refcon);
48 extern void acpi_sleep_kernel(acpi_sleep_callback func, void * refcon);
49 extern void acpi_idle_kernel(acpi_sleep_callback func, void * refcon);
H A Dacpi.c69 extern void acpi_sleep_cpu(acpi_sleep_callback, void * refcon);
92 void *refcon; member in struct:acpi_hibernate_callback_data
104 acpi_hibernate(void *refcon) argument
109 (acpi_hibernate_callback_data_t *)refcon;
145 (data->func)(data->refcon);
158 acpi_sleep_kernel(acpi_sleep_callback func, void *refcon) argument
190 data.refcon = refcon;
225 acpi_sleep_cpu(func, refcon);
366 acpi_idle_kernel(acpi_sleep_callback func, void *refcon) argument
[all...]
/macosx-10.10/IOKitUser-1050.1.21/
H A DIODataQueueClientPrivate.h33 typedef uint32_t (*IODataQueueClientEnqueueReadBytesCallback)(void * refcon, void *data, uint32_t dataSize);
36 _IODataQueueEnqueueWithReadCallback(IODataQueueMemory *dataQueue, uint32_t dataSize, IODataQueueClientEnqueueReadBytesCallback callback, void * refcon);
H A DIOMIGMachPort.h43 typedef void (*IOMIGMachPortTerminationCallback)(IOMIGMachPortRef client, void * refcon);
44 typedef Boolean (*IOMIGMachPortDemuxCallback)(IOMIGMachPortRef client, mach_msg_header_t * request, mach_msg_header_t * reply, void *refcon);
57 void IOMIGMachPortRegisterTerminationCallback(IOMIGMachPortRef client, IOMIGMachPortTerminationCallback callback, void *refcon);
60 void IOMIGMachPortRegisterDemuxCallback(IOMIGMachPortRef client, IOMIGMachPortDemuxCallback callback, void *refcon);
/macosx-10.10/IOFireWireFamily-456/IOFireWireFamily.kmodproj/
H A DIOFWDelayCommand.cpp46 UInt32 delay, FWBusCallback completion, void *refcon)
48 if(!IOFWBusCommand::initWithController(control, completion, refcon))
58 IOReturn IOFWDelayCommand::reinit(UInt32 delay, FWBusCallback completion, void *refcon) argument
61 res = IOFWBusCommand::reinit(completion, refcon);
45 initWithDelay(IOFireWireController *control, UInt32 delay, FWBusCallback completion, void *refcon) argument
H A DIOFWCommand.h79 typedef void (*FWDeviceCallback)(void *refcon, IOReturn status, IOFireWireNub *device, IOFWCommand *fwCmd);
82 typedef void (*FWBusCallback)(void *refcon, IOReturn status, IOFireWireBus *bus, IOFWBusCommand *fwCmd);
85 typedef void (*FWAsyncStreamCallback)(void *refcon, IOReturn status, IOFireWireBus *bus, IOFWAsyncStreamCommand *fwCmd);
88 typedef void (*FWAsyncPHYCallback)(void *refcon, IOReturn status, IOFireWireBus *bus, IOFWAsyncPHYCommand *fwCmd );
91 typedef void (*FWAsyncStreamReceiveCallback)(void *refcon, const void *buf);
206 void setFWIMRefCon( void * refcon )
208 fMembers->fFWIMRefCon = refcon;
251 FWBusCallback completion=NULL, void *refcon=NULL);
252 virtual IOReturn reinit(FWBusCallback completion, void *refcon);
286 FWBusCallback completion, void *refcon);
[all...]
H A DIOFWBusCommand.cpp46 bool IOFWBusCommand::initWithController(IOFireWireController *control, FWBusCallback completion, void *refcon) argument
53 fRefCon = refcon;
61 IOReturn IOFWBusCommand::reinit(FWBusCallback completion, void *refcon) argument
68 fRefCon = refcon;
H A DIOFWPseudoAddressSpace.h35 typedef void (*IOFWARxReqIntCompleteHandler)( void * refcon );
46 * refcon is passed back as the first argument of read and write callbacks.
92 @param refcon Client's callback object.
95 virtual void setARxReqIntCompleteHandler( void * refcon, IOFWARxReqIntCompleteHandler handler );
151 @param refcon Client's callback object.
161 void* refcon,
172 @param refcon Client's callback object.
181 void* refcon,
206 void* refcon);
269 @param refcon Clien
360 setARxReqIntCompleteHandler( void * refcon, IOFWARxReqIntCompleteHandler handler ) argument
[all...]
H A DIOFWAsyncStreamCommand.cpp58 void * refcon)
60 return initAll( control, generation, channel, sync, tag, hostMem, size, speed, completion, refcon, false);
73 void * refcon,
87 fRefCon = refcon;
128 void * refcon)
134 fRefCon = refcon;
159 void * refcon,
167 return reinit( generation, channel, sync, tag, hostMem, size, speed, completion, refcon );
48 initAll( IOFireWireController * control, UInt32 generation, UInt32 channel, UInt32 sync, UInt32 tag, IOMemoryDescriptor * hostMem, UInt32 size, int speed, FWAsyncStreamCallback completion, void * refcon) argument
63 initAll( IOFireWireController * control, UInt32 generation, UInt32 channel, UInt32 sync, UInt32 tag, IOMemoryDescriptor * hostMem, UInt32 size, int speed, FWAsyncStreamCallback completion, void * refcon, bool failOnReset) argument
119 reinit( UInt32 generation, UInt32 channel, UInt32 sync, UInt32 tag, IOMemoryDescriptor * hostMem, UInt32 size, int speed, FWAsyncStreamCallback completion, void * refcon) argument
150 reinit( UInt32 generation, UInt32 channel, UInt32 sync, UInt32 tag, IOMemoryDescriptor * hostMem, UInt32 size, int speed, FWAsyncStreamCallback completion, void * refcon, bool failOnReset) argument
H A DIOFWPHYPacketListener.h31 typedef void (*FWPHYPacketCallback)( void *refcon, UInt32 data1, UInt32 data2 );
59 virtual void setRefCon( void * refcon );
H A DIOFWReadCommand.cpp86 void *refcon, bool failOnReset)
89 hostMem, completion, refcon, failOnReset);
99 void *refcon)
102 hostMem, completion, refcon);
111 FWDeviceCallback completion, void *refcon, bool failOnReset)
114 hostMem, completion, refcon, failOnReset);
119 FWDeviceCallback completion, void *refcon)
122 hostMem, completion, refcon);
84 initAll(IOFireWireNub *device, FWAddress devAddress, IOMemoryDescriptor *hostMem, FWDeviceCallback completion, void *refcon, bool failOnReset) argument
96 initAll(IOFireWireController *control, UInt32 generation, FWAddress devAddress, IOMemoryDescriptor *hostMem, FWDeviceCallback completion, void *refcon) argument
109 reinit(FWAddress devAddress, IOMemoryDescriptor *hostMem, FWDeviceCallback completion, void *refcon, bool failOnReset) argument
117 reinit(UInt32 generation, FWAddress devAddress, IOMemoryDescriptor *hostMem, FWDeviceCallback completion, void *refcon) argument
H A DIOFWUserVectorCommand.h64 void asyncCompletion( void * refcon,
69 void asyncPHYCompletion( void * refcon,
H A DIOFWWriteCommand.cpp72 void * refcon,
80 completion, refcon, failOnReset);
101 void * refcon )
108 hostMem, completion, refcon);
193 void * refcon,
199 refcon,
211 void * refcon )
217 refcon );
68 initAll( IOFireWireNub * device, FWAddress devAddress, IOMemoryDescriptor * hostMem, FWDeviceCallback completion, void * refcon, bool failOnReset ) argument
190 reinit( FWAddress devAddress, IOMemoryDescriptor * hostMem, FWDeviceCallback completion, void * refcon, bool failOnReset ) argument
H A DIOFWUserCommand.h66 void * refcon,
71 void * refcon,
82 void setRefCon( mach_vm_address_t refcon )
83 { fRefCon = refcon; }
148 static void asyncPHYCommandCompletion( void * refcon,
182 static void asyncCompletion( void* refcon, IOReturn status, IOFireWireNub* device,
196 static void asyncStreamCommandCompletion(void *refcon,
H A DIOFireWireNub.cpp372 FWDeviceCallback completion, void *refcon,
379 hostMem, completion, refcon, failOnReset)) {
392 FWDeviceCallback completion, void *refcon,
399 completion, refcon, failOnReset)) {
412 FWDeviceCallback completion, void *refcon,
420 completion, refcon, failOnReset))
436 FWDeviceCallback completion, void *refcon,
444 completion, refcon, failOnReset))
460 int size, FWDeviceCallback completion, void *refcon, bool failOnReset)
466 if(!cmd->initAll(this, devAddress, cmpVal, newVal, size, completion, refcon, failOnRese
371 createReadCommand(FWAddress devAddress, IOMemoryDescriptor *hostMem, FWDeviceCallback completion, void *refcon, bool failOnReset) argument
391 createReadQuadCommand(FWAddress devAddress, UInt32 *quads, int numQuads, FWDeviceCallback completion, void *refcon, bool failOnReset) argument
411 createWriteCommand(FWAddress devAddress, IOMemoryDescriptor *hostMem, FWDeviceCallback completion, void *refcon, bool failOnReset) argument
434 createWriteQuadCommand(FWAddress devAddress, UInt32 *quads, int numQuads, FWDeviceCallback completion, void *refcon, bool failOnReset) argument
459 createCompareAndSwapCommand(FWAddress devAddress, const UInt32 *cmpVal, const UInt32 *newVal, int size, FWDeviceCallback completion, void *refcon, bool failOnReset) argument
493 createPseudoAddressSpace(FWAddress *addr, UInt32 len, FWReadCallback reader, FWWriteCallback writer, void *refcon) argument
[all...]
H A DIOFireWireBus.h265 virtual IOFWDelayCommand * createDelayedCmd(UInt32 uSecDelay, FWBusCallback func, void *refcon) = 0;
269 FWReadCallback reader, FWWriteCallback writer, void *refcon) = 0;
273 virtual bool isLockRequest(IOFWRequestRefCon refcon) = 0;
274 virtual bool isQuadRequest(IOFWRequestRefCon refcon) = 0;
275 virtual UInt32 getExtendedTCode(IOFWRequestRefCon refcon) = 0;
288 FWReadCallback reader, FWWriteCallback writer, void *refcon) = 0;
294 virtual bool isCompleteRequest(IOFWRequestRefCon refcon) = 0;
298 UInt32 size, int speed,FWAsyncStreamCallback completion=NULL, void *refcon=NULL) = 0;
354 UInt32 size, int speed,FWAsyncStreamCallback completion, void *refcon, bool failOnReset) = 0;
/macosx-10.10/IOKitUser-1050.1.21/hid.subproj/
H A DIOHIDUserDevice.h37 typedef IOReturn (*IOHIDUserDeviceReportCallback)(void * refcon, IOHIDReportType type, uint32_t reportID, uint8_t * report, CFIndex reportLength);
38 typedef IOReturn (*IOHIDUserDeviceReportWithReturnLengthCallback)(void * refcon, IOHIDReportType type, uint32_t reportID, uint8_t * report, CFIndex * pReportLength);
39 typedef IOReturn (*IOHIDUserDeviceHandleReportAsyncCallback)(void * refcon, IOReturn result);
125 @param refcon pointer to a reference object of your choosing
128 void IOHIDUserDeviceRegisterGetReportCallback(IOHIDUserDeviceRef device, IOHIDUserDeviceReportCallback callback, void * refcon);
136 @param refcon pointer to a reference object of your choosing
139 void IOHIDUserDeviceRegisterGetReportWithReturnLengthCallback(IOHIDUserDeviceRef device, IOHIDUserDeviceReportWithReturnLengthCallback callback, void * refcon);
146 @param refcon pointer to a reference object of your choosing
149 void IOHIDUserDeviceRegisterSetReportCallback(IOHIDUserDeviceRef device, IOHIDUserDeviceReportCallback callback, void * refcon);
169 @param refcon pointe
[all...]
H A DIOHIDUserDevice.c48 static void __IOHIDUserDeviceHandleReportAsyncCallback(void *refcon, IOReturn result);
82 void * refcon; member in struct:__IOHIDUserDevice::__anon2253
87 void * refcon; member in struct:__IOHIDUserDevice::__anon2254
113 void * refcon; member in struct:__IOHIDDeviceHandleReportAsyncContext
470 void IOHIDUserDeviceRegisterGetReportCallback(IOHIDUserDeviceRef device, IOHIDUserDeviceReportCallback callback, void * refcon) argument
473 device->getReport.refcon = refcon;
479 void IOHIDUserDeviceRegisterGetReportWithReturnLengthCallback(IOHIDUserDeviceRef device, IOHIDUserDeviceReportWithReturnLengthCallback callback, void * refcon) argument
482 device->getReportWithReturnLength.refcon = refcon;
489 IOHIDUserDeviceRegisterSetReportCallback(IOHIDUserDeviceRef device, IOHIDUserDeviceReportCallback callback, void * refcon) argument
560 __IOHIDUserDeviceHandleReportAsyncCallback(void *refcon, IOReturn result) argument
573 IOHIDUserDeviceHandleReportAsyncWithTimeStamp(IOHIDUserDeviceRef device, uint64_t timestamp, uint8_t *report, CFIndex reportLength, IOHIDUserDeviceHandleReportAsyncCallback callback, void * refcon) argument
613 IOHIDUserDeviceHandleReportAsync(IOHIDUserDeviceRef device, uint8_t * report, CFIndex reportLength, IOHIDUserDeviceHandleReportAsyncCallback callback, void * refcon) argument
[all...]
/macosx-10.10/IOKitUser-1050.1.21/network.subproj/
H A DIOUserEthernetController.h34 typedef void (*IOEthernetControllerCallback)(IOEthernetControllerRef controller, void * refcon);
112 void * refcon);
118 void * refcon);
124 void * refcon);
130 void * refcon);
/macosx-10.10/IOFireWireAVC-422.4.0/IOFireWireAVC/
H A DIOFireWirePCRSpace.h37 @param refcon refcon supplied to the IOFireWireFCPSpace when a client is registered
44 typedef void (*IOFireWirePCRCallback)(void *refcon, UInt16 nodeID, UInt32 plug, UInt32 oldVal, UInt32 newVal);
59 void * refcon; member in struct:IOFireWirePCRSpace::Client
79 const void *buf, IOFWRequestRefCon refcon);
81 virtual IOReturn allocatePlug(void *refcon, IOFireWirePCRCallback func, UInt32 &plug, Client* head);
106 @param refcon arbitrary value passed back as first argument of callback.
110 virtual IOReturn allocateInputPlug(void *refcon, IOFireWirePCRCallback func, UInt32 &plug);
134 @param refcon arbitrary value passed back as first argument of callback.
138 virtual IOReturn allocateOutputPlug(void *refcon, IOFireWirePCRCallbac
[all...]
H A DIOFireWirePCRSpace.cpp149 const void *buf, IOFWRequestRefCon refcon)
160 if(!fControl->isLockRequest(refcon))
173 (fClients[offset].func)(fClients[offset].refcon, nodeID, (offset-1) & 31, oldVal, OSSwapBigToHostInt32(newVal));
211 IOReturn IOFireWirePCRSpace::allocatePlug(void *refcon, IOFireWirePCRCallback func, UInt32 &plug, Client* head) argument
222 head[i].refcon = refcon;
276 IOReturn IOFireWirePCRSpace::allocateInputPlug(void *refcon, IOFireWirePCRCallback func, UInt32 &plug) argument
280 return allocatePlug(refcon, func, plug, fClients+33);
306 IOReturn IOFireWirePCRSpace::allocateOutputPlug(void *refcon, IOFireWirePCRCallback func, UInt32 &plug) argument
312 result = allocatePlug(refcon, fun
148 doWrite(UInt16 nodeID, IOFWSpeed &speed, FWAddress addr, UInt32 len, const void *buf, IOFWRequestRefCon refcon) argument
[all...]
/macosx-10.10/IOHIDFamily-606.1.7/IOHIDSystem/
H A DIOBSDConsole.h58 void * refcon);
64 void * refcon);
/macosx-10.10/MITKerberosShim-66/test/
H A Dtest-kll.c48 KLRefCon refcon; local
89 ret = KLGetIdleCallback(&idlecall, &refcon);
93 ret = KLSetIdleCallback(NULL, refcon);
/macosx-10.10/IOHIDFamily-606.1.7/IOHIDLib/
H A DIOHIDDeviceClass.h153 static void _hidReportCallback(void *refcon, IOReturn result, uint32_t bufferSize);
155 static void _hidReportHandlerCallback(void * refcon, IOReturn result, void * sender);
177 IOHIDReportCallback callback, void * refcon, IOOptionBits options);
180 void * refcon, IOOptionBits options);
182 uint32_t timeout, IOHIDReportCallback callback, void * refcon, IOOptionBits options);
184 uint32_t timeout, IOHIDReportCallback callback, void * refcon, IOOptionBits options);
186 uint32_t timeout, IOHIDValueCallback callback, void * refcon, IOOptionBits options);
188 uint32_t timeout, IOHIDValueCallback callback, void * refcon, IOOptionBits options);
229 uint32_t timeout, IOHIDReportCallback callback, void * refcon, IOOptionBits options = 0);
231 uint32_t timeout, IOHIDReportCallback callback, void * refcon, IOOptionBit
[all...]
/macosx-10.10/IOFireWireIP-226.2/KernelHeaders/IOKit/
H A DIOFireWireIPCommand.h91 UInt32 cmdLen,FWAddress devAddress, FWDeviceCallback completion, void *refcon, bool failOnReset);
100 FWDeviceCallback completion, void *refcon, bool failOnReset,
104 FWDeviceCallback completion, void *refcon, bool failOnReset,
108 FWDeviceCallback completion, void *refcon, bool failOnReset,
239 void *refcon);
251 void *refcon);

Completed in 146 milliseconds

12345678