Searched refs:handler (Results 1 - 25 of 36) sorted by relevance

12

/darwin-on-arm/xnu/pexpert/i386/
H A Dpe_interrupt.c40 IOInterruptHandler handler; member in struct:i386_interrupt_handler
61 void *, vector->target, IOInterruptHandler, vector->handler,
65 vector->handler(vector->target, NULL, vector->nub, interrupt);
69 void *, vector->target, IOInterruptHandler, vector->handler,
77 IOInterruptHandler handler,
85 vector->handler = handler;
74 PE_install_interrupt_handler(void *nub, __unused int source, void *target, IOInterruptHandler handler, void *refCon) argument
/darwin-on-arm/xnu/iokit/Drivers/KernelBuiltIn/ARM/AppleARMPlatform/
H A DAppleARMNMI.cpp72 IOInterruptAction handler = OSMemberFunctionCast(IOInterruptAction, local
74 provider->registerInterrupt(0, this, handler, 0);
H A DIOCPU.h135 virtual IOReturn registerInterrupt(IOService * nub, int source, void *target, IOInterruptHandler handler, void *refCon);
/darwin-on-arm/xnu/iokit/Examples/drvGenericInterruptController/
H A DGenericInterruptController.cpp51 IOInterruptAction handler; local
87 // register the interrupt handler so it can receive interrupts.
88 handler = getInterruptHandlerAddress();
89 provider->registerInterrupt(0, this, handler, 0);
150 // Call the handler if it exists.
152 vector->handler(vector->target, vector->refCon,
/darwin-on-arm/xnu/tools/tests/libMicro/apple/
H A Dlmbench_lat_sig_catch.c81 void handler(int s) { } function
192 sa.sa_handler = handler;
H A Dlmbench_lat_sig_install.c81 void handler(int s) { } function
213 sa.sa_handler = handler;
H A Dlmbench_lat_sig_send.c81 void handler(int s) { } function
H A Dlmbench_lat_sig_prot.c91 void handler(int s) { } function
/darwin-on-arm/xnu/iokit/IOKit/
H A DIOInterruptController.h55 IOInterruptHandler handler; member in struct:IOInterruptVector
82 IOInterruptHandler handler,
135 IOInterruptHandler handler,
H A DIOService.h151 @param newService The IOService object the notification is delivering. It is retained for the duration of the handler's invocation and doesn't need to be released by the handler. */
164 @param provider The IOService object who is delivering the notification. It is retained for the duration of the handler's invocation and doesn't need to be released by the handler.
659 @abstract Deprecated use addMatchingNotification(). Adds a persistant notification handler to be notified of IOService events.
660 @discussion IOService will deliver notifications of changes in state of an IOService object to registered clients. The type of notification is specified by a symbol, for example <code>gIOMatchedNotification</code> or <code>gIOTerminatedNotification</code>, and notifications will only include IOService objects that match the supplied matching dictionary. Notifications are ordered by a priority set with <code>addNotification</code>. When the notification is installed, its handler will be called with each of any currently existing IOService objects that are in the correct state (eg. registered) and match the supplied matching dictionary, avoiding races between finding preexisting and new IOService events. The notification request is identified by an instance of an IONotifier object, through which it can be enabled, disabled, or removed. <code>addNotification</code> consumes a retain count on the matching dictionary when the notification is removed.
668 @param handler A C function callback to deliver notifications.
676 IOServiceNotificationHandler handler,
682 @abstract Adds a persistant notification handler to be notified of IOService events.
683 @discussion IOService will deliver notifications of changes in state of an IOService object to registered clients. The type of notification is specified by a symbol, for example <code>gIOMatchedNotification</code> or <code>gIOTerminatedNotification</code>, and notifications will only include IOService objects that match the supplied matching dictionary. Notifications are ordered by a priority set with <code>addNotification</code>. When the notification is installed, its handler wil
[all...]
H A DIOCPU.h138 IOInterruptHandler handler,
/darwin-on-arm/xnu/iokit/Drivers/platform/drvAppleNMI/
H A DAppleNMI.cpp76 IOInterruptAction handler = OSMemberFunctionCast(IOInterruptAction, local
78 provider->registerInterrupt(0, this, handler, 0);
/darwin-on-arm/xnu/iokit/Kernel/
H A DIOInterruptController.cpp56 IOInterruptHandler handler,
143 vector->handler,
168 vector->handler = (IOInterruptHandler)vector->sharedController->getInterruptHandlerAddress();
193 handler, refCon);
199 vector->handler = handler;
251 vector->handler = 0;
475 IOInterruptHandler handler,
521 vector->handler = handler;
54 registerInterrupt(IOService *nub, int source, void *target, IOInterruptHandler handler, void *refCon) argument
472 registerInterrupt(IOService *nub, int source, void *target, IOInterruptHandler handler, void *refCon) argument
[all...]
H A DIOServicePrivate.h92 IOServiceMatchingNotificationHandler handler; member in class:_IOServiceNotifier
116 IOServiceInterestHandler handler; member in class:_IOServiceInterestNotifier
H A DIOCPU.cpp686 IOInterruptHandler handler = OSMemberFunctionCast( local
689 ml_install_interrupt_handler(cpu, cpu->getCPUNumber(), this, handler, 0);
699 IOInterruptHandler handler,
718 vector->handler = handler;
781 vector->handler(vector->target, vector->refCon,
696 registerInterrupt(IOService *nub, int source, void *target, IOInterruptHandler handler, void *refCon) argument
H A DIOService.cpp1391 ret = (*notify->handler)( notify->target, notify->ref,
1501 IOServiceInterestHandler handler, void * target, void * ref )
1522 notify->handler = handler;
1588 // to exit the handler
2582 ret = (*notify->handler)(notify->target, notify->ref, this, notify);
3745 IOServiceNotificationHandler handler; member in struct:_IOServiceMatchingNotificationHandlerRef
3759 IOServiceMatchingNotificationHandler handler, void * target, void * ref,
3775 notify->handler = handler;
1500 registerInterest( const OSSymbol * typeOfInterest, IOServiceInterestHandler handler, void * target, void * ref ) argument
3757 setNotification( const OSSymbol * type, OSDictionary * matching, IOServiceMatchingNotificationHandler handler, void * target, void * ref, SInt32 priority ) argument
3809 doInstallNotification( const OSSymbol * type, OSDictionary * matching, IOServiceMatchingNotificationHandler handler, void * target, void * ref, SInt32 priority, OSIterator ** existing ) argument
3850 installNotification(const OSSymbol * type, OSDictionary * matching, IOServiceNotificationHandler handler, void * target, void * refCon, SInt32 priority, OSIterator ** existing ) argument
3871 installNotification( const OSSymbol * type, OSDictionary * matching, IOServiceMatchingNotificationHandler handler, void * target, void * ref, SInt32 priority, OSIterator ** existing ) argument
3889 addNotification( const OSSymbol * type, OSDictionary * matching, IOServiceNotificationHandler handler, void * target, void * refCon, SInt32 priority ) argument
3910 addMatchingNotification( const OSSymbol * type, OSDictionary * matching, IOServiceMatchingNotificationHandler handler, void * target, void * ref, SInt32 priority ) argument
5425 registerInterrupt(int source, OSObject *target, IOInterruptAction handler, void *refCon) argument
[all...]
/darwin-on-arm/xnu/bsd/sys/
H A Dsysctl.h211 * be hidden behind it, expanded by the handler.
299 #define SYSCTL_OID(parent, nbr, name, kind, a1, a2, handler, fmt, descr) \
302 nbr, kind|CTLFLAG_OID2, a1, a2, #name, handler, fmt, descr, SYSCTL_OID_VERSION, 0 }; \
306 #define SYSCTL_NODE(parent, nbr, name, access, handler, descr) \
309 (void*)&sysctl_##parent##_##name##_children, 0, handler, \
361 #define SYSCTL_PROC(parent, nbr, name, access, ptr, arg, handler, fmt, descr) \
363 ptr, arg, handler, fmt, descr)
/darwin-on-arm/xnu/osfmk/arm/
H A Dmachine_routines.c280 IOInterruptHandler handler, void *refCon)
291 datap->handler = handler;
279 ml_install_interrupt_handler(void *nub, int source, void *target, IOInterruptHandler handler, void *refCon) argument
H A Dcpu_data.h131 IOInterruptHandler handler; /* for IOKit */ member in struct:cpu_data
H A Dmachine_routines.h77 IOInterruptHandler handler, void *refCon);
/darwin-on-arm/xnu/osfmk/chud/
H A Dchud_thread.c555 /* external handler */
565 void (*handler)(thread_t) = chudxnu_thread_ast_handler;
566 if( handler )
567 handler( thread );
574 /* Get and set bits on the thread and trigger an AST handler */
579 /* FIXME: only call this on current thread from an interrupt handler for now... */
/darwin-on-arm/xnu/osfmk/i386/
H A Dmachine_routines.h78 IOInterruptHandler handler,
/darwin-on-arm/xnu/pexpert/pexpert/
H A Dpexpert.h123 void *target, IOInterruptHandler handler, void *refCon);
/darwin-on-arm/xnu/bsd/dev/dtrace/
H A Ddtrace_glue.c351 timer_call_add_cyclic(wrap_timer_call_t *wrapTC, cyc_handler_t *handler, cyc_time_t *when) argument
356 wrapTC->hdlr = *handler;
395 cyclic_timer_add(cyc_handler_t *handler, cyc_time_t *when) argument
401 return timer_call_add_cyclic( wrapTC, handler, when );
507 cyclic_add(cyc_handler_t *handler, cyc_time_t *when) argument
516 wrapTC->hdlr = *handler;
/darwin-on-arm/xnu/iokit/IOKit/pwr_mgt/
H A DRootDomain.h134 IOServiceInterestHandler handler,
258 IOServiceInterestHandler handler,

Completed in 80 milliseconds

12