Home
last modified time | relevance | path

Searched refs:handler (Results 1 – 25 of 549) sorted by relevance

12345678910>>...22

/linux-2.4.37.9/drivers/acpi/events/
Devxface.c73 acpi_event_handler handler, in acpi_install_fixed_event_handler() argument
95 if (NULL != acpi_gbl_fixed_event_handlers[event].handler) { in acpi_install_fixed_event_handler()
102 acpi_gbl_fixed_event_handlers[event].handler = handler; in acpi_install_fixed_event_handler()
111 acpi_gbl_fixed_event_handlers[event].handler = NULL; in acpi_install_fixed_event_handler()
116 "Enabled fixed event %X, Handler=%p\n", event, handler)); in acpi_install_fixed_event_handler()
142 acpi_event_handler handler) in acpi_remove_fixed_event_handler() argument
167 acpi_gbl_fixed_event_handlers[event].handler = NULL; in acpi_remove_fixed_event_handler()
204 acpi_notify_handler handler, in acpi_install_notify_handler() argument
219 (!handler) || in acpi_install_notify_handler()
247 acpi_gbl_system_notify.handler) || in acpi_install_notify_handler()
[all …]
Devxfregn.c75 acpi_adr_space_handler handler, in acpi_install_address_space_handler() argument
122 if (handler == ACPI_DEFAULT_HANDLER) { in acpi_install_address_space_handler()
127 handler = acpi_ex_system_memory_space_handler; in acpi_install_address_space_handler()
132 handler = acpi_ex_system_io_space_handler; in acpi_install_address_space_handler()
137 handler = acpi_ex_pci_config_space_handler; in acpi_install_address_space_handler()
142 handler = acpi_ex_cmos_space_handler; in acpi_install_address_space_handler()
147 handler = acpi_ex_pci_bar_space_handler; in acpi_install_address_space_handler()
152 handler = acpi_ex_data_table_space_handler; in acpi_install_address_space_handler()
176 handler_obj = obj_desc->device.handler; in acpi_install_address_space_handler()
184 if (handler_obj->address_space.handler == handler) { in acpi_install_address_space_handler()
[all …]
/linux-2.4.37.9/drivers/input/
Dinput.c178 handle->handler->event(handle, type, code, value); in input_event()
208 handle->hnext = handle->handler->handle; in input_link_handle()
210 handle->handler->handle = handle; in input_link_handle()
222 handleptr = &handle->handler->handle; in input_unlink_handle()
230 struct input_handler *handler = input_handler; in input_register_device() local
263 while (handler) { in input_register_device()
264 if ((handle = handler->connect(handler, dev))) in input_register_device()
266 handler = handler->next; in input_register_device()
289 handle->handler->disconnect(handle); in input_unregister_device()
307 void input_register_handler(struct input_handler *handler) in input_register_handler() argument
[all …]
/linux-2.4.37.9/arch/s390/kernel/
Ds390_ext.c25 int register_external_interrupt(__u16 code, ext_int_handler_t handler) { in register_external_interrupt() argument
33 p->handler = handler; in register_external_interrupt()
40 int register_early_external_interrupt(__u16 code, ext_int_handler_t handler, in register_early_external_interrupt() argument
47 p->handler = handler; in register_early_external_interrupt()
54 int unregister_external_interrupt(__u16 code, ext_int_handler_t handler) { in unregister_external_interrupt() argument
62 if (p->code == code && p->handler == handler) in unregister_external_interrupt()
77 int unregister_early_external_interrupt(__u16 code, ext_int_handler_t handler, in unregister_early_external_interrupt() argument
82 if (p == NULL || p->code != code || p->handler != handler) in unregister_early_external_interrupt()
/linux-2.4.37.9/arch/s390x/kernel/
Ds390_ext.c25 int register_external_interrupt(__u16 code, ext_int_handler_t handler) { in register_external_interrupt() argument
33 p->handler = handler; in register_external_interrupt()
40 int register_early_external_interrupt(__u16 code, ext_int_handler_t handler, in register_early_external_interrupt() argument
47 p->handler = handler; in register_early_external_interrupt()
54 int unregister_external_interrupt(__u16 code, ext_int_handler_t handler) { in unregister_external_interrupt() argument
62 if (p->code == code && p->handler == handler) in unregister_external_interrupt()
77 int unregister_early_external_interrupt(__u16 code, ext_int_handler_t handler, in unregister_early_external_interrupt() argument
82 if (p == NULL || p->code != code || p->handler != handler) in unregister_early_external_interrupt()
/linux-2.4.37.9/include/asm-ppc/
Dhw_irq.h25 #define mask_irq(irq) ({if (irq_desc[irq].handler && irq_desc[irq].handler->disable) irq_desc[irq].
26 #define unmask_irq(irq) ({if (irq_desc[irq].handler && irq_desc[irq].handler->enable) irq_desc[irq]…
27 #define ack_irq(irq) ({if (irq_desc[irq].handler && irq_desc[irq].handler->ack) irq_desc[irq].handl…
/linux-2.4.37.9/include/asm-ppc64/
Dhw_irq.h76 if (desc->handler && desc->handler->disable) \
77 desc->handler->disable(irq); \
81 if (desc->handler && desc->handler->enable) \
82 desc->handler->enable(irq); \
86 if (desc->handler && desc->handler->ack) \
87 desc->handler->ack(irq); \
/linux-2.4.37.9/arch/m68k/kernel/
Dints.c63 void (*handler) (int, void *, struct pt_regs *),
93 irq_list[i].handler = (*mach_default_handler)[i]; in init_IRQ()
100 nodes[i].handler = NULL; in init_IRQ()
111 if (!node->handler) in new_irq_node()
124 void (*handler) (int, void *, struct pt_regs *), in request_irq()
127 return mach_request_irq(irq, handler, flags, devname, dev_id); in request_irq()
136 void (*handler)(int, void *, struct pt_regs *), in sys_request_irq()
160 irq_list[irq].handler = handler; in sys_request_irq()
178 irq_list[irq].handler = (*mach_default_handler)[irq]; in sys_free_irq()
218 void (*handler) (int, void *, struct pt_regs *), in dummy_request_irq()
[all …]
/linux-2.4.37.9/arch/m68k/atari/
Dataints.c113 void (*handler)(int, void *, struct pt_regs *); member
412 node->handler(irq, node->dev_id, fp); in atari_call_irq_list()
422 int atari_request_irq(unsigned int irq, void (*handler)(int, void *, struct pt_regs *), in atari_request_irq()
465 irq_handler[irq].handler = handler; in atari_request_irq()
487 if (irq_handler[irq].handler != atari_call_irq_list) { in atari_request_irq()
491 node->handler = irq_handler[irq].handler; in atari_request_irq()
496 irq_handler[irq].handler = atari_call_irq_list; in atari_request_irq()
503 node->handler = handler; in atari_request_irq()
537 if (irq_handler[irq].handler != atari_call_irq_list) { in atari_free_irq()
543 irq_handler[irq].handler = NULL; in atari_free_irq()
[all …]
/linux-2.4.37.9/arch/m68k/apollo/
Ddn_ints.c18 if(dn_irqs[irq-160].handler) { in dn_process_int()
19 dn_irqs[irq-160].handler(irq,dn_irqs[irq-160].dev_id,fp); in dn_process_int()
35 dn_irqs[i].handler=NULL; in dn_init_IRQ()
43 int dn_request_irq(unsigned int irq, void (*handler)(int, void *, struct pt_regs *), unsigned long … in dn_request_irq()
50 if(!dn_irqs[irq].handler) { in dn_request_irq()
51 dn_irqs[irq].handler=handler; in dn_request_irq()
81 dn_irqs[irq].handler=NULL; in dn_free_irq()
/linux-2.4.37.9/arch/alpha/kernel/
Dirq.c92 action->handler(irq, action->dev_id, regs); in handle_IRQ_event()
119 desc->handler->disable(irq); in disable_irq_nosync()
153 hw_resend_irq(desc->handler,irq); in enable_irq()
155 desc->handler->enable(irq); in enable_irq()
218 desc->handler->startup(irq); in setup_irq()
239 if (! irq_desc[irq].handler->set_affinity || irq_user_affinity[irq]) in select_smp_affinity()
247 irq_desc[irq].handler->set_affinity(irq, 1UL << cpu); in select_smp_affinity()
306 if (!irq_desc[irq].handler->set_affinity) in irq_affinity_write_proc()
325 irq_desc[irq].handler->set_affinity(irq, new_value); in irq_affinity_write_proc()
367 if (!root_irq_dir || (irq_desc[irq].handler == &no_irq_type)) in register_irq_proc()
[all …]
/linux-2.4.37.9/arch/sh/kernel/
Dirq.c104 p += sprintf(p, " %14s", irq_desc[i].handler->typename); in get_irq_list()
136 action->handler(irq, action->dev_id, regs); in handle_IRQ_event()
162 desc->handler->disable(irq); in disable_irq_nosync()
194 hw_resend_irq(desc->handler,irq); in enable_irq()
196 desc->handler->enable(irq); in enable_irq()
244 desc->handler->ack(irq); in do_IRQ()
298 desc->handler->end(irq); in do_IRQ()
307 void (*handler)(int, void *, struct pt_regs *), in request_irq()
317 if (!handler) in request_irq()
325 action->handler = handler; in request_irq()
[all …]
/linux-2.4.37.9/arch/sh64/kernel/
Dirq.c120 p += sprintf(p, " %14s", irq_desc[i].handler->typename); in get_irq_list()
161 action->handler(irq, action->dev_id, regs); in handle_IRQ_event()
199 desc->handler->disable(irq); in disable_irq_nosync()
248 hw_resend_irq(desc->handler,irq); in enable_irq()
250 desc->handler->enable(irq); in enable_irq()
299 desc->handler->ack(irq); in do_IRQ()
353 desc->handler->end(irq); in do_IRQ()
393 void (*handler)(int, void *, struct pt_regs *), in request_irq()
416 if (!handler) in request_irq()
424 action->handler = handler; in request_irq()
[all …]
/linux-2.4.37.9/drivers/acpi/namespace/
Dnsobject.c331 acpi_object_handler handler, in acpi_ns_attach_data() argument
345 (obj_desc->data.handler == handler)) { in acpi_ns_attach_data()
360 data_desc->data.handler = handler; in acpi_ns_attach_data()
393 acpi_object_handler handler) in acpi_ns_detach_data() argument
403 (obj_desc->data.handler == handler)) { in acpi_ns_detach_data()
441 acpi_object_handler handler, in acpi_ns_get_attached_data() argument
450 (obj_desc->data.handler == handler)) { in acpi_ns_get_attached_data()
/linux-2.4.37.9/arch/ppc/8xx_io/
Dcommproc.c51 void (*handler)(void *, struct pt_regs * regs); member
180 irq_desc[i].handler = &cpm_pic; in cpm_interrupt_init()
244 (*cpm_vecs[cpm_vec].handler)(dev_id, regs); in cpm_handler_helper()
259 cpm_install_handler(int cpm_vec, void (*handler)(void *, struct pt_regs *regs), in cpm_install_handler()
266 if (!handler) { in cpm_install_handler()
271 if (cpm_vecs[cpm_vec].handler != 0) in cpm_install_handler()
273 (uint)handler, (uint)cpm_vecs[cpm_vec].handler); in cpm_install_handler()
274 cpm_vecs[cpm_vec].handler = handler; in cpm_install_handler()
293 cpm_vecs[cpm_vec].handler = NULL; in cpm_free_handler()
/linux-2.4.37.9/arch/m68k/bvme6000/
Dbvmeints.c30 void (*handler)(int, void *, struct pt_regs *); member
53 irq_tab[i].handler = bvme6000_defhand; in bvme6000_init_IRQ()
62 void (*handler)(int, void *, struct pt_regs *), in bvme6000_request_irq()
75 return sys_request_irq(irq - VEC_SPUR, handler, flags, in bvme6000_request_irq()
90 irq_tab[irq].handler = handler; in bvme6000_request_irq()
113 irq_tab[irq].handler = bvme6000_defhand; in bvme6000_free_irq()
126 irq_tab[vec].handler(vec, irq_tab[vec].dev_id, fp); in bvme6000_process_int()
/linux-2.4.37.9/include/asm-s390/
Ds390_ext.h21 ext_int_handler_t handler; member
27 int register_external_interrupt(__u16 code, ext_int_handler_t handler);
28 int register_early_external_interrupt(__u16 code, ext_int_handler_t handler,
30 int unregister_external_interrupt(__u16 code, ext_int_handler_t handler);
31 int unregister_early_external_interrupt(__u16 code, ext_int_handler_t handler,
/linux-2.4.37.9/include/asm-s390x/
Ds390_ext.h21 ext_int_handler_t handler; member
27 int register_external_interrupt(__u16 code, ext_int_handler_t handler);
28 int register_early_external_interrupt(__u16 code, ext_int_handler_t handler,
30 int unregister_external_interrupt(__u16 code, ext_int_handler_t handler);
31 int unregister_early_external_interrupt(__u16 code, ext_int_handler_t handler,
/linux-2.4.37.9/include/acpi/
Dacpixf.h99 acpi_init_handler handler,
195 acpi_object_handler handler,
201 acpi_object_handler handler);
206 acpi_object_handler handler,
259 acpi_event_handler handler,
265 acpi_event_handler handler);
271 acpi_notify_handler handler,
278 acpi_notify_handler handler);
284 acpi_adr_space_handler handler,
292 acpi_adr_space_handler handler);
[all …]
/linux-2.4.37.9/arch/m68k/q40/
Dq40ints.c56 void (*handler)(int, void *, struct pt_regs *); member
86 irq_tab[i].handler = q40_defhand; in q40_init_IRQ()
107 void (*handler)(int, void *, struct pt_regs *), in q40_request_irq()
143 irq_tab[irq].handler = handler; in q40_request_irq()
152 sys_request_irq(4,handler,flags,devname,dev_id); in q40_request_irq()
153 sys_request_irq(6,handler,flags,devname,dev_id); in q40_request_irq()
181 irq_tab[irq].handler = q40_defhand; in q40_free_irq()
319 irq_tab[Q40_IRQ_FRAME].handler(Q40_IRQ_FRAME,irq_tab[Q40_IRQ_FRAME].dev_id,fp); in q40_irq2_handler()
337 if (irq_tab[irq].handler == q40_defhand ) { in q40_irq2_handler()
358 irq_tab[irq].handler(irq,irq_tab[irq].dev_id,fp); in q40_irq2_handler()
[all …]
/linux-2.4.37.9/arch/ppc/amiga/
Dints.c54 irq_list[i].handler = (*mach_default_handler)[i]; in m68k_init_IRQ()
61 nodes[i].handler = NULL; in m68k_init_IRQ()
72 if (!node->handler) in new_irq_node()
80 void (*handler)(int, void *, struct pt_regs *), in sys_request_irq()
104 irq_list[irq].handler = handler; in sys_request_irq()
122 irq_list[irq].handler = (*mach_default_handler)[irq]; in sys_free_irq()
133 irq_list[vec].handler(vec, irq_list[vec].dev_id, fp); in process_int()
/linux-2.4.37.9/arch/mips64/kernel/
Dirq.c102 p += sprintf(p, " %14s", irq_desc[i].handler->typename); in get_irq_list()
306 action->handler(irq, action->dev_id, regs); in handle_IRQ_event()
344 desc->handler->disable(irq); in disable_irq_nosync()
395 hw_resend_irq(desc->handler,irq); in enable_irq()
397 desc->handler->enable(irq); in enable_irq()
434 desc->handler->ack(irq); in do_IRQ()
488 desc->handler->end(irq); in do_IRQ()
529 void (*handler)(int, void *, struct pt_regs *), in request_irq()
552 if (!handler) in request_irq()
560 action->handler = handler; in request_irq()
[all …]
/linux-2.4.37.9/arch/mips/kernel/
Dirq.c102 p += sprintf(p, " %14s", irq_desc[i].handler->typename); in get_irq_list()
306 action->handler(irq, action->dev_id, regs); in handle_IRQ_event()
344 desc->handler->disable(irq); in disable_irq_nosync()
395 hw_resend_irq(desc->handler,irq); in enable_irq()
397 desc->handler->enable(irq); in enable_irq()
434 desc->handler->ack(irq); in do_IRQ()
488 desc->handler->end(irq); in do_IRQ()
529 void (*handler)(int, void *, struct pt_regs *), in request_irq()
552 if (!handler) in request_irq()
560 action->handler = handler; in request_irq()
[all …]
/linux-2.4.37.9/arch/m68k/mvme147/
D147ints.c30 void (*handler)(int, void *, struct pt_regs *); member
53 irq_tab[i].handler = mvme147_defhand; in mvme147_init_IRQ()
62 void (*handler)(int, void *, struct pt_regs *), in mvme147_request_irq()
81 irq_tab[irq].handler = handler; in mvme147_request_irq()
98 irq_tab[irq].handler = mvme147_defhand; in mvme147_free_irq()
111 irq_tab[vec].handler(vec, irq_tab[vec].dev_id, fp); in mvme147_process_int()
/linux-2.4.37.9/arch/m68k/mvme16x/
D16xints.c29 void (*handler)(int, void *, struct pt_regs *); member
53 irq_tab[i].handler = mvme16x_defhand; in mvme16x_init_IRQ()
62 void (*handler)(int, void *, struct pt_regs *), in mvme16x_request_irq()
82 irq_tab[irq-64].handler = handler; in mvme16x_request_irq()
100 irq_tab[irq-64].handler = mvme16x_defhand;; in mvme16x_free_irq()
113 irq_tab[vec-64].handler(vec, irq_tab[vec-64].dev_id, fp); in mvme16x_process_int()

12345678910>>...22