Lines Matching refs:handler

151     @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 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>addMatchingNotification</code> does not consume a reference on the matching dictionary when the notification is removed, unlike addNotification.
691 @param handler A C function callback to deliver notifications.
699 IOServiceMatchingNotificationHandler handler,
1031 @abstract Registers a C function interrupt handler for a device supplying interrupts.
1032 @discussion This method installs a C function interrupt handler to be called at primary interrupt time for a device's interrupt. Only one handler may be installed per interrupt source. IOInterruptEventSource provides a work loop based abstraction for interrupt delivery that may be more appropriate for work loop based drivers.
1034 @param target An object instance to be passed to the interrupt handler.
1035 @param handler The C function to be called at primary interrupt time when the interrupt occurs. The handler should process the interrupt by clearing the interrupt, or by disabling the source.
1036 @param refCon A reference constant for the handler's use.
1037 @result An IOReturn code.<br><code>kIOReturnNoInterrupt</code> is returned if the source is not valid; <code>kIOReturnNoResources</code> is returned if the interrupt already has an installed handler. */
1040 IOInterruptAction handler,
1044 @abstract Removes a C function interrupt handler for a device supplying hardware interrupts.
1045 @discussion This method removes a C function interrupt handler previously installed with @link registerInterrupt registerInterrupt@/link.
1128 IOServiceInterestHandler handler,
1152 @param handler An instance of an IOUserClient object to represent the connection, which will be released when the connection is closed, or zero if the connection was not opened.
1158 IOUserClient ** handler );
1161 UInt32 type, IOUserClient ** handler );
1220 IOServiceMatchingNotificationHandler handler,
1226 IOServiceNotificationHandler handler,
1275 IOServiceMatchingNotificationHandler handler,
1281 IOServiceMatchingNotificationHandler handler,