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

/xnu-2422.115.4/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);
91 void *refcon; member in struct:acpi_hibernate_callback_data
103 acpi_hibernate(void *refcon) argument
108 (acpi_hibernate_callback_data_t *)refcon;
142 (data->func)(data->refcon);
155 acpi_sleep_kernel(acpi_sleep_callback func, void *refcon) argument
187 data.refcon = refcon;
222 acpi_sleep_cpu(func, refcon);
361 acpi_idle_kernel(acpi_sleep_callback func, void *refcon) argument
[all...]
/xnu-2422.115.4/iokit/IOKit/
H A DIOEventSource.h99 Target of the function, can be used as a refcon. The owner is set
128 /*! @var refcon What ever the client wants to do, see $link setRefcon. */
129 void *refcon; member in class:IOEventSource
152 refcon for a client routine.
H A DIOUserClient.h259 void *callback, void *refcon);
277 mach_vm_address_t callback, io_user_reference_t refcon);
281 mach_vm_address_t callback, io_user_reference_t refcon,
H A DIOService.h1727 virtual IOReturn allowPowerChange( unsigned long refcon );
1728 virtual IOReturn cancelPowerChange( unsigned long refcon );
/xnu-2422.115.4/iokit/Kernel/
H A DIOInterruptEventSource.cpp250 (void */*refcon*/, IOService */*prov*/, int /*source*/)
267 (void */*refcon*/, IOService *prov, int source)
286 (void *refcon, IOService *prov, int source)
289 disableInterruptOccurred(refcon, prov, source);
291 normalInterruptOccurred(refcon, prov, source);
285 interruptOccurred(void *refcon, IOService *prov, int source) argument
H A DIOServicePM.cpp6390 bool IOService::responseValid( uint32_t refcon, int pid ) argument
6396 serialComponent = (refcon >> 16) & 0xFFFF;
6397 ordinalComponent = (refcon & 0xFFFF);
6486 IOReturn IOService::allowPowerChange( unsigned long refcon )
6500 request->fArg0 = (void *) refcon;
6509 IOReturn IOService::serializedAllowPowerChange2( unsigned long refcon )
6524 IOReturn IOService::cancelPowerChange( unsigned long refcon )
6546 request->fArg0 = (void *) refcon;
6555 IOReturn IOService::serializedCancelPowerChange2( unsigned long refcon )
H A DIOUserClient.cpp872 void *callback, void *refcon)
877 asyncRef[kIOAsyncCalloutRefconIndex] = (uintptr_t) refcon;
882 mach_vm_address_t callback, io_user_reference_t refcon)
887 asyncRef[kIOAsyncCalloutRefconIndex] = refcon;
892 mach_vm_address_t callback, io_user_reference_t refcon, task_t task)
894 setAsyncReference64(asyncRef, wakePort, callback, refcon);
870 setAsyncReference(OSAsyncReference asyncRef, mach_port_t wakePort, void *callback, void *refcon) argument
880 setAsyncReference64(OSAsyncReference64 asyncRef, mach_port_t wakePort, mach_vm_address_t callback, io_user_reference_t refcon) argument
890 setAsyncReference64(OSAsyncReference64 asyncRef, mach_port_t wakePort, mach_vm_address_t callback, io_user_reference_t refcon, task_t task) argument
H A DIOPMrootDomain.cpp372 uintptr_t refcon;
3558 uintptr_t refcon,
3564 func, target, refcon, handle);
3578 // * refcon - caller may provide an void *, which PM will pass as an
3592 uintptr_t refcon,
3609 refcon, supportedPowerSources, settings, &pmsh);
8203 pmso->refcon = refcon_arg;
8246 (*func)(target, type, object, refcon);
3554 registerPMSettingController( const OSSymbol * settings[], IOPMSettingControllerCallback func, OSObject *target, uintptr_t refcon, OSObject **handle) argument
3587 registerPMSettingController( const OSSymbol * settings[], uint32_t supportedPowerSources, IOPMSettingControllerCallback func, OSObject *target, uintptr_t refcon, OSObject **handle) argument
/xnu-2422.115.4/iokit/IOKit/pwr_mgt/
H A DRootDomain.h127 OSObject *val, uintptr_t refcon);
222 @param refcon Will be passed to caller in callback; for caller's use.
232 uintptr_t refcon,
243 @param refcon Will be passed to caller in callback; for caller's use.
254 uintptr_t refcon,

Completed in 115 milliseconds