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

12

/u-boot/arch/x86/lib/
H A Dinterrupts.c40 interrupt_handler_t *handler; member in struct:irq_action
49 void irq_install_handler(int irq, interrupt_handler_t *handler, void *arg) argument
58 if (irq_handlers[irq].handler != NULL)
60 (ulong) handler,
61 (ulong) irq_handlers[irq].handler);
65 irq_handlers[irq].handler = handler;
92 irq_handlers[irq].handler = NULL;
110 if (irq_handlers[irq].handler) {
114 irq_handlers[irq].handler(irq_handler
[all...]
/u-boot/arch/powerpc/include/asm/
H A Dsigcontext.h10 unsigned long handler; member in struct:sigcontext_struct
/u-boot/drivers/xen/
H A Devents.c33 * struct _ev_action - represents a event handler.
38 void (*handler)(evtchn_port_t port, struct pt_regs *regs, void *data); member in struct:_ev_action
84 /* call the handler */
85 action->handler(port, regs, action->data);
91 void (*handler)(evtchn_port_t, struct pt_regs *, void *),
94 if (ev_actions[port].handler != default_handler)
100 ev_actions[port].handler = handler;
114 if (ev_actions[port].handler == default_handler)
115 debug("Default handler fo
90 bind_evtchn(evtchn_port_t port, void (*handler)(evtchn_port_t, struct pt_regs *, void *), void *data) argument
144 evtchn_alloc_unbound(domid_t pal, void (*handler)(evtchn_port_t, struct pt_regs *, void *), void *data, evtchn_port_t *port) argument
[all...]
/u-boot/arch/powerpc/cpu/mpc8xx/
H A Dinterrupts.c23 interrupt_handler_t *handler; member in struct:interrupt_action
90 if (irq_vecs[irq].handler != NULL) {
91 irq_vecs[irq].handler(irq_vecs[irq].arg);
107 * CPM interrupt handler
122 if (cpm_vecs[vec].handler != NULL) {
123 (*cpm_vecs[vec].handler) (cpm_vecs[vec].arg);
139 * need any special tests in the interrupt handler.
147 * Install and free an interrupt handler
149 void irq_install_handler(int vec, interrupt_handler_t *handler, void *arg) argument
156 if (cpm_vecs[vec].handler !
[all...]
/u-boot/arch/m68k/lib/
H A Dinterrupts.c23 interrupt_handler_t *handler; member in struct:interrupt_action
45 * Install and free an interrupt handler
47 void irq_install_handler(int vec, interrupt_handler_t * handler, void *arg) argument
55 irq_vecs[vec].handler = handler;
65 irq_vecs[vec].handler = NULL;
95 if (irq_vecs[vec].handler != NULL) {
96 irq_vecs[vec].handler (irq_vecs[vec].arg);
/u-boot/arch/nios2/cpu/
H A Dinterrupts.c20 interrupt_handler_t *handler; member in struct:irq_action
50 * priority. NOTE: There is ALWAYS a handler assigned
55 act->handler (act->arg);
90 act->handler = hdlr;
94 act->handler = def_hdlr;
107 /* Assign the default handler to all */
109 vecs[i].handler = def_hdlr;
131 if (act->handler != def_hdlr) {
134 (ulong)act->handler,
/u-boot/include/
H A Dirq_func.h19 void irq_install_handler(int vec, interrupt_handler_t *handler, void *arg);
H A Dos.h144 * os_set_alarm_handler() - set handler for SIGALRM
146 * @handler: The handler function. Pass NULL for SIG_DFL.
148 void os_set_alarm_handler(void (*handler)(int));
/u-boot/arch/powerpc/cpu/mpc83xx/
H A Dinterrupts.c20 interrupt_handler_t *handler; member in struct:irq_action
47 * Install and free an interrupt handler.
51 irq_install_handler(int irq, interrupt_handler_t * handler, void *arg) argument
/u-boot/include/xen/
H A Devents.h28 void (*handler)(evtchn_port_t, struct pt_regs *, void *),
/u-boot/cmd/
H A Dblkmap.c94 struct map_handler *handler; local
111 for (handler = map_handlers; handler->name; handler++) {
112 if (!strcmp(handler->name, argv[0]))
113 return handler->fn(&ctx, argc, argv);
H A Dini.c109 For each name=value pair parsed, call handler function with given user
111 of handler call). Handler should return nonzero on success, zero on error.
117 int (*handler)(void *, char *, char *, char *), void *user)
151 if (!handler(user, section, prev_name, start) && !error)
187 * Valid name[=:]value pair found, call handler
190 if (!handler(user, section, name, value) &&
/u-boot/arch/sandbox/include/asm/
H A Deth.h65 * A packet handler
98 * Set packet handler
100 * handler - The func ptr to call on send. If NULL, set to default handler
102 void sandbox_eth_set_tx_handler(int index, sandbox_eth_tx_hand_f *handler);
/u-boot/lib/efi_loader/
H A Defi_load_options.c29 struct efi_handler *handler; local
32 ret = efi_search_protocol(handle, &efi_guid_loaded_image, &handler);
36 loaded_image_info = handler->protocol_interface;
H A Defi_boottime.c577 * @handler: reference to the protocol
583 struct efi_handler **handler)
598 if (handler)
599 *handler = protocol;
618 struct efi_handler *handler; local
621 ret = efi_search_protocol(handle, protocol, &handler);
624 if (handler->protocol_interface != protocol_interface)
626 list_del(&handler->link);
627 free(handler);
1126 * @handler
581 efi_search_protocol(const efi_handle_t handle, const efi_guid_t *protocol_guid, struct efi_handler **handler) argument
1130 efi_create_open_info( struct efi_handler *handler) argument
1171 struct efi_handler *handler; local
1273 struct efi_handler *handler; local
1385 struct efi_handler *handler; local
1872 struct efi_handler *handler; local
2011 struct efi_handler *handler; local
2365 struct efi_handler *handler; local
2441 struct efi_handler *handler; local
2623 struct efi_handler *handler; local
3005 efi_protocol_open( struct efi_handler *handler, void **protocol_interface, void *agent_handle, void *controller_handle, uint32_t attributes) argument
3128 struct efi_handler *handler; local
3698 struct efi_handler *handler; local
3790 struct efi_handler *handler; local
[all...]
H A Defi_esrt.c322 struct efi_handler *handler; local
362 &handler);
369 fmp = handler->protocol_interface;
440 &handler);
447 fmp = handler->protocol_interface;
H A Defi_disk.c79 struct efi_handler *handler; local
83 ret = efi_search_protocol(handle, &efi_block_io_guid, &handler);
87 io = handler->protocol_interface;
326 struct efi_handler *handler; local
345 &handler);
350 return handler->protocol_interface;
428 struct efi_handler *handler; local
438 ret = efi_search_protocol(parent, &efi_block_io_guid, &handler);
448 ret = efi_protocol_open(handler, &protocol_interface, NULL,
612 struct efi_handler *handler; local
[all...]
H A Defi_dt_fixup.c57 struct efi_handler *handler; local
62 ret = efi_search_protocol(efi_root, &efi_guid_rng_protocol, &handler);
H A Defi_bootmgr.c115 struct efi_handler *handler; local
125 &handler);
129 dp = handler->protocol_interface;
792 struct efi_handler *handler; local
805 ret = efi_search_protocol(handles[i], &efi_block_io_guid, &handler);
806 blkio = handler->protocol_interface;
814 ret = efi_search_protocol(handles[i], &efi_guid_device_path, &handler);
817 ret = efi_protocol_open(handler, (void **)&device_path,
/u-boot/arch/sh/include/asm/
H A Dsystem.h236 extern void *set_exception_table_vec(unsigned int vec, void *handler);
238 static inline void *set_exception_table_evt(unsigned int evt, void *handler) argument
240 return set_exception_table_vec(evt >> 5, handler);
/u-boot/drivers/net/phy/
H A Dncsi.c641 void (*handler)(struct ncsi_rsp_pkt *pkt) = NULL;
658 handler = ncsi_rsp_sp;
662 handler = ncsi_rsp_dp;
666 handler = ncsi_rsp_cis;
670 handler = ncsi_rsp_gls;
674 handler = ncsi_rsp_gvi;
678 handler = ncsi_rsp_gc;
682 handler = ncsi_rsp_sma;
686 handler = ncsi_rsp_ebf;
690 handler
[all...]
/u-boot/arch/powerpc/cpu/mpc85xx/
H A Dinterrupts.c85 /* Install and free a interrupt handler. Not implemented yet. */
88 irq_install_handler(int vec, interrupt_handler_t *handler, void *arg) argument
/u-boot/scripts/kconfig/
H A Dnconf.c304 function_key_handler_t handler; member in struct:function_keys
313 .handler = handle_f1,
319 .handler = handle_f2,
325 .handler = handle_f3,
331 .handler = handle_f4,
337 .handler = handle_f5,
343 .handler = handle_f6,
349 .handler = handle_f7,
355 .handler = handle_f8,
361 .handler
[all...]
/u-boot/arch/arm/mach-omap2/
H A Dlowlevel_init.S80 @ IRQ handler
/u-boot/drivers/net/
H A Dsandbox.c283 * index - interface to set the handler for
284 * handler - The func ptr to call on send. If NULL, set to default handler
286 void sandbox_eth_set_tx_handler(int index, sandbox_eth_tx_hand_f *handler) argument
297 if (handler)
298 priv->tx_handler = handler;

Completed in 135 milliseconds

12