Home
last modified time | relevance | path

Searched full:handlers (Results 1 – 25 of 932) sorted by relevance

12345678910>>...38

/linux/Documentation/driver-api/acpi/
H A Dscan_handlers.rst5 ACPI Scan Handlers
39 called ACPI scan handlers represented by the following structure::
49 take care of, list_node is the hook to the global list of ACPI scan handlers
57 available scan handlers. If a matching scan handler is found, its .attach()
72 callbacks from the scan handlers of all device nodes in the given namespace
73 scope (if they have scan handlers). Next, it unregisters all of the device
76 ACPI scan handlers can be added to the list maintained by the ACPI core with the
78 handler as an argument. The order in which scan handlers are added to the list
/linux/tools/testing/selftests/kvm/lib/riscv/
H A Dprocessor.c401 struct handlers { struct
407 struct handlers *handlers = (struct handlers *)exception_handlers; in route_exception() local
420 if (handlers && handlers->exception_handlers[vector][ec]) in route_exception()
421 return handlers->exception_handlers[vector][ec](regs); in route_exception()
436 vm->handlers = __vm_vaddr_alloc(vm, sizeof(struct handlers), in vm_init_vector_tables()
439 *(vm_vaddr_t *)addr_gva2hva(vm, (vm_vaddr_t)(&exception_handlers)) = vm->handlers; in vm_init_vector_tables()
444 struct handlers *handlers = addr_gva2hva(vm, vm->handlers); in vm_install_exception_handler() local
447 handlers->exception_handlers[0][vector] = handler; in vm_install_exception_handler()
452 struct handlers *handlers = addr_gva2hva(vm, vm->handlers); in vm_install_interrupt_handler() local
454 handlers->exception_handlers[1][0] = handler; in vm_install_interrupt_handler()
/linux/tools/testing/selftests/kvm/lib/arm64/
H A Dprocessor.c496 struct handlers { struct
509 struct handlers *handlers = (struct handlers *)exception_handlers; in route_exception() local
533 if (handlers && handlers->exception_handlers[vector][ec]) in route_exception()
534 return handlers->exception_handlers[vector][ec](regs); in route_exception()
542 vm->handlers = __vm_vaddr_alloc(vm, sizeof(struct handlers), in vm_init_descriptor_tables()
545 *(vm_vaddr_t *)addr_gva2hva(vm, (vm_vaddr_t)(&exception_handlers)) = vm->handlers; in vm_init_descriptor_tables()
551 struct handlers *handlers = addr_gva2hva(vm, vm->handlers); in vm_install_sync_handler() local
556 handlers->exception_handlers[vector][ec] = handler; in vm_install_sync_handler()
562 struct handlers *handlers = addr_gva2hva(vm, vm->handlers); in vm_install_exception_handler() local
566 handlers->exception_handlers[vector][0] = handler; in vm_install_exception_handler()
/linux/include/net/
H A Drtnetlink.h36 * struct rtnl_msg_handler - rtnetlink message type and handlers
56 int __rtnl_register_many(const struct rtnl_msg_handler *handlers, int n);
57 void __rtnl_unregister_many(const struct rtnl_msg_handler *handlers, int n);
59 #define rtnl_register_many(handlers) \ argument
60 __rtnl_register_many(handlers, ARRAY_SIZE(handlers))
61 #define rtnl_unregister_many(handlers) \ argument
62 __rtnl_unregister_many(handlers, ARRAY_SIZE(handlers))
/linux/arch/powerpc/platforms/powermac/
H A Dpfunc_core.c124 #define PMF_PARSE_CALL(name, cmd, handlers, p...) \ argument
128 if (handlers == NULL) \
130 if (handlers->name) \
131 return handlers->name(cmd->func, cmd->instdata, \
542 struct pmf_handlers *handlers; member
580 struct pmf_handlers *handlers, in pmf_parse_one() argument
596 handlers ? "executing" : "parsing"); in pmf_parse_one()
621 rc = pmf_parsers[ccode](&cmd, handlers); in pmf_parse_one()
630 if (handlers == NULL) in pmf_parse_one()
702 struct pmf_handlers *handlers, in pmf_register_driver() argument
[all …]
/linux/include/sound/
H A Dsoc-topology.h74 * Kcontrol operations - used to map handlers onto firmware based controls.
96 * DAPM widget event handlers - used to map handlers onto widgets.
160 /* vendor specific kcontrol handlers available for binding */
164 /* vendor specific bytes ext handlers available for binding */
184 /* Binds event handlers to dynamic widgets */
/linux/fs/xfs/
H A Dxfs_fsmap.c193 /* Compare two getfsmap device handlers. */
1160 struct xfs_getfsmap_dev handlers[XFS_GETFSMAP_DEVS]; in xfs_getfsmap() local
1181 /* Set up our device handlers. */ in xfs_getfsmap()
1182 memset(handlers, 0, sizeof(handlers)); in xfs_getfsmap()
1183 handlers[0].nr_sectors = XFS_FSB_TO_BB(mp, mp->m_sb.sb_dblocks); in xfs_getfsmap()
1184 handlers[0].dev = xfs_getfsmap_device(mp, XFS_DEV_DATA); in xfs_getfsmap()
1186 handlers[0].fn = xfs_getfsmap_datadev_rmapbt; in xfs_getfsmap()
1188 handlers[0].fn = xfs_getfsmap_datadev_bnobt; in xfs_getfsmap()
1190 handlers[1].nr_sectors = XFS_FSB_TO_BB(mp, in xfs_getfsmap()
1192 handlers[1].dev = xfs_getfsmap_device(mp, XFS_DEV_LOG); in xfs_getfsmap()
[all …]
/linux/fs/ext4/
H A Dfsmap.c64 /* Compare two getfsmap device handlers. */
707 struct ext4_getfsmap_dev handlers[EXT4_GETFSMAP_DEVS]; in ext4_getfsmap() local
720 /* Set up our device handlers. */ in ext4_getfsmap()
721 memset(handlers, 0, sizeof(handlers)); in ext4_getfsmap()
722 handlers[0].gfd_dev = new_encode_dev(sb->s_bdev->bd_dev); in ext4_getfsmap()
723 handlers[0].gfd_fn = ext4_getfsmap_datadev; in ext4_getfsmap()
725 handlers[1].gfd_dev = new_encode_dev( in ext4_getfsmap()
727 handlers[1].gfd_fn = ext4_getfsmap_logdev; in ext4_getfsmap()
730 sort(handlers, EXT4_GETFSMAP_DEVS, sizeof(struct ext4_getfsmap_dev), in ext4_getfsmap()
762 if (!handlers[i].gfd_fn) in ext4_getfsmap()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Drx.c942 * Setup the RX handlers for each of the reply types sent from the uCode
947 void (**handlers)(struct iwl_priv *priv, struct iwl_rx_cmd_buffer *rxb); in iwl_setup_rx_handlers() local
949 handlers = priv->rx_handlers; in iwl_setup_rx_handlers()
951 handlers[REPLY_ERROR] = iwlagn_rx_reply_error; in iwl_setup_rx_handlers()
952 handlers[CHANNEL_SWITCH_NOTIFICATION] = iwlagn_rx_csa; in iwl_setup_rx_handlers()
953 handlers[SPECTRUM_MEASURE_NOTIFICATION] = in iwl_setup_rx_handlers()
955 handlers[PM_SLEEP_NOTIFICATION] = iwlagn_rx_pm_sleep_notif; in iwl_setup_rx_handlers()
956 handlers[PM_DEBUG_STATISTIC_NOTIFIC] = in iwl_setup_rx_handlers()
958 handlers[BEACON_NOTIFICATION] = iwlagn_rx_beacon_notif; in iwl_setup_rx_handlers()
959 handlers[REPLY_ADD_STA] = iwl_add_sta_callback; in iwl_setup_rx_handlers()
[all …]
/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00lib.h58 * Radio control handlers.
64 * Initialization handlers.
70 * Configuration handlers.
87 * DOC: Queue handlers
273 * Firmware handlers.
289 * Debugfs handlers.
312 * Crypto handlers.
370 * RFkill handlers.
385 * LED handlers
H A Drt2x00.h513 * Interrupt handlers.
527 * Device init handlers.
537 * Device initialization/deinitialization handlers.
543 * queue initialization handlers
549 * Radio control handlers.
564 * Data queue handlers.
574 * TX control handlers
586 * RX control handlers
592 * Configuration handlers.
1091 * Chipset handlers
[all …]
/linux/fs/btrfs/
H A Dprops.c48 const struct hlist_head *handlers) in find_prop_handler() argument
52 if (!handlers) { in find_prop_handler()
55 handlers = find_prop_handlers_by_hash(hash); in find_prop_handler()
56 if (!handlers) in find_prop_handler()
60 hlist_for_each_entry(h, handlers, node) in find_prop_handler()
167 const struct hlist_head *handlers; in iterate_object_props() local
187 handlers = find_prop_handlers_by_hash(key.offset); in iterate_object_props()
188 if (!handlers) in iterate_object_props()
223 handler = find_prop_handler(name_buf, handlers); in iterate_object_props()
/linux/kernel/irq/
H A Dspurious.c51 * All handlers must agree on IRQF_SHARED, so we test just the in try_one_irq()
162 pr_err("handlers:\n"); in __report_bad_irq()
236 * because we need to look at the compound of all handlers in note_interrupt()
245 * The threaded handlers store whether they successfully in note_interrupt()
257 * shared primary handlers returned IRQ_HANDLED. If in note_interrupt()
276 * Check whether one of the threaded handlers in note_interrupt()
302 * None of the threaded handlers felt in note_interrupt()
314 * One of the primary handlers returned in note_interrupt()
316 * threaded handlers on the same line. Clear in note_interrupt()
/linux/Documentation/RCU/
H A DNMI-RCU.rst3 Using RCU to Protect Dynamic NMI Handlers
9 handlers, as well as dynamic irq handlers. This document describes
97 Since NMI handlers disable preemption, synchronize_rcu() is guaranteed
98 not to return until all ongoing NMI handlers exit. It is therefore safe
/linux/arch/powerpc/include/asm/
H A Dpmac_pfunc.h33 * A driver capable of interpreting commands provides a handlers
34 * structure filled with whatever handlers are implemented by this
35 * driver. Non implemented handlers are left NULL.
38 * and that gets passed back to the various handlers.
176 * Register/Unregister a function-capable driver and its handlers
179 struct pmf_handlers *handlers,
195 * Called by the handlers when an irq happens
H A Dexception-64s.h13 * Low-level exception handlers and MMU support
25 * the prologue to each of the exception handlers. They
30 * exception handlers (including pSeries LPAR) and iSeries LPAR
/linux/arch/powerpc/platforms/pseries/
H A Dio_event_irq.c25 * drivers can register their event handlers to receive events.
28 * their event handlers. Since multiple IO event types and scopes
29 * share an IO event interrupt, the event handlers are called one
30 * by one until the IO event is claimed by one of the handlers.
31 * The event handlers are expected to return NOTIFY_OK if the
/linux/Documentation/power/
H A Dsuspend-and-interrupts.rst21 interrupt handlers for shared IRQs that device drivers implementing them were
51 user of it. Thus, if the IRQ is shared, all of the interrupt handlers installed
90 already suspended. However, after suspend_device_irqs() interrupt handlers are
122 interrupts (interrupt handlers are invoked after suspend_device_irqs()) are
124 handlers are not invoked after suspend_device_irqs()).
127 to individual interrupt handlers, so sharing an IRQ between a system wakeup
/linux/arch/xtensa/kernel/
H A Dvectors.S151 * specify a particular fixup handler but wants to use the default handlers:
157 * register a valid fixup handler and cannot use the default handlers.
168 * The fixup handlers are special handlers:
187 * - Fixup handlers can jump to the default kernel and user exception
188 * handlers. Before it jumps, though, it has to setup a exception frame
370 * The tricky part here is that overflow8 and overflow12 handlers
375 * handlers save a0 in their very first instruction. If DEPC was past
684 /* Window overflow and underflow handlers.
685 * The handlers must be 64 bytes apart, first starting with the underflow
686 * handlers underflow-4 to underflow-12, then the overflow handlers
[all …]
/linux/drivers/acpi/acpica/
H A Devsci.c27 * DESCRIPTION: Dispatch the SCI to all host-installed SCI handlers.
39 /* Are there any host-installed SCI handlers? */ in acpi_ev_sci_dispatch()
47 /* Invoke all host-installed SCI handlers */ in acpi_ev_sci_dispatch()
100 /* Invoke all host-installed SCI handlers */ in acpi_ev_sci_xrupt_handler()
173 * taken. Remove all host-installed SCI handlers.
202 /* Free all host-installed SCI handlers */ in acpi_ev_remove_all_sci_handlers()
H A Ddbdisply.c33 * Used for Handlers command, in acpi_db_display_handlers.
926 * DESCRIPTION: Display the currently installed global handlers
937 /* Operation region handlers */ in acpi_db_display_handlers()
939 acpi_os_printf("\nOperation Region Handlers at the namespace root:\n"); in acpi_db_display_handlers()
973 /* Find all handlers for user-defined space_IDs */ in acpi_db_display_handlers()
997 /* Fixed event handlers */ in acpi_db_display_handlers()
999 acpi_os_printf("\nFixed Event Handlers:\n"); in acpi_db_display_handlers()
1015 /* Miscellaneous global handlers */ in acpi_db_display_handlers()
1017 acpi_os_printf("\nMiscellaneous Global Handlers:\n"); in acpi_db_display_handlers()
1031 /* Other handlers that are installed throughout the namespace */ in acpi_db_display_handlers()
[all …]
/linux/Documentation/core-api/
H A Dgenericirq.rst32 Originally, Russell King identified different types of handlers to build
51 This split implementation of high-level IRQ handlers allows us to
77 demultiplexing handlers which can be found in embedded platforms on
104 2. High-level IRQ flow handlers
154 High-level IRQ flow handlers
173 The interrupt flow handlers (either pre-defined or architecture
359 - ``irq_eoi`` - Optional, required for EOI flow handlers
/linux/drivers/iio/
H A DTODO11 property handlers.
14 to state struct and using property handlers and readers.
/linux/arch/um/os-Linux/
H A Dsignal.c96 * handlers. This will mark signals_pending by itself in sig_handler()
184 static void (*handlers[_NSIG])(int sig, struct siginfo *si, mcontext_t *mc) = { variable
205 (*handlers[sig])(sig, (struct siginfo *)si, mc); in hard_handler()
303 * handlers expect them off when they are called. They will in unblock_signals()
306 * tracing that happens inside the handlers we call for the in unblock_signals()
442 * we need to run time-travel handlers even in unblock_signals_hard()
/linux/arch/xtensa/include/asm/
H A Dtraps.h34 /* Fast user exception handlers */
36 /* Fast kernel exception handlers */
38 /* Default C-Handlers */

12345678910>>...38