Home
last modified time | relevance | path

Searched refs:action (Results 1 – 25 of 216) sorted by relevance

123456789

/linux-2.4.37.9/arch/sparc/kernel/
Dirq.c103 struct irqaction * action; in get_irq_list() local
114 action = *(i + irq_action); in get_irq_list()
115 if (!action) in get_irq_list()
126 (action->flags & SA_INTERRUPT) ? '+' : ' ', in get_irq_list()
127 action->name); in get_irq_list()
128 for (action=action->next; action; action = action->next) { in get_irq_list()
130 (action->flags & SA_INTERRUPT) ? " +" : "", in get_irq_list()
131 action->name); in get_irq_list()
140 struct irqaction * action; in free_irq() local
151 action = *(cpu_irq + irq_action); in free_irq()
[all …]
Dsun4d_irq.c58 struct irqaction *action; member
78 struct irqaction * action; in sun4d_get_irq_list() local
86 action = *(i + irq_action); in sun4d_get_irq_list()
87 if (!action) in sun4d_get_irq_list()
92 if ((action = sbus_actions [(j << 5) + (sbusl << 2) + k].action)) in sun4d_get_irq_list()
106 (action->flags & SA_INTERRUPT) ? '+' : ' ', in sun4d_get_irq_list()
107 action->name); in sun4d_get_irq_list()
108 action = action->next; in sun4d_get_irq_list()
110 for (; action; action = action->next) { in sun4d_get_irq_list()
112 (action->flags & SA_INTERRUPT) ? " +" : "", in sun4d_get_irq_list()
[all …]
/linux-2.4.37.9/arch/mips/baget/
Dirq.c147 struct irqaction * action; in get_irq_list() local
150 action = irq_action[i]; in get_irq_list()
151 if (!action) in get_irq_list()
155 (action->flags & SA_INTERRUPT) ? '+' : ' ', in get_irq_list()
156 action->name); in get_irq_list()
157 for (action=action->next; action; action = action->next) { in get_irq_list()
159 (action->flags & SA_INTERRUPT) ? " +" : "", in get_irq_list()
160 action->name); in get_irq_list()
177 struct irqaction *action; in do_IRQ() local
185 action = *(irq + irq_action); in do_IRQ()
[all …]
/linux-2.4.37.9/arch/parisc/kernel/
Dirq.c130 action: cpu_irq_actions,
229 if (!region || !region->action) in get_irq_list()
233 struct irqaction *action = &region->action[i]; in get_irq_list() local
236 if (!action->handler) in get_irq_list()
251 p += sprintf(p, " %s", action->name); in get_irq_list()
253 while ((action = action->next)) in get_irq_list()
254 p += sprintf(p, ", %s", action->name); in get_irq_list()
256 for ( ;action; action = action->next) { in get_irq_list()
259 min = max = action->cr16_hist[0]; in get_irq_list()
262 int hist = action->cr16_hist[i]; in get_irq_list()
[all …]
/linux-2.4.37.9/arch/sh/kernel/
Dirq.c90 struct irqaction * action; in get_irq_list() local
99 action = irq_desc[i].action; in get_irq_list()
100 if (!action) in get_irq_list()
105 p += sprintf(p, " %s", action->name); in get_irq_list()
107 for (action=action->next; action; action = action->next) in get_irq_list()
108 p += sprintf(p, ", %s", action->name); in get_irq_list()
122 int handle_IRQ_event(unsigned int irq, struct pt_regs * regs, struct irqaction * action) in handle_IRQ_event() argument
131 if (!(action->flags & SA_INTERRUPT)) in handle_IRQ_event()
135 status |= action->flags; in handle_IRQ_event()
136 action->handler(irq, action->dev_id, regs); in handle_IRQ_event()
[all …]
/linux-2.4.37.9/arch/sh64/kernel/
Dirq.c106 struct irqaction * action; in get_irq_list() local
115 action = irq_desc[i].action; in get_irq_list()
116 if (!action) in get_irq_list()
122 p += sprintf(p, " %s", action->name); in get_irq_list()
124 for (action=action->next; action; action = action->next) in get_irq_list()
125 p += sprintf(p, ", %s", action->name); in get_irq_list()
147 int handle_IRQ_event(unsigned int irq, struct pt_regs * regs, struct irqaction * action) in handle_IRQ_event() argument
156 if (!(action->flags & SA_INTERRUPT)) in handle_IRQ_event()
160 status |= action->flags; in handle_IRQ_event()
161 action->handler(irq, action->dev_id, regs); in handle_IRQ_event()
[all …]
/linux-2.4.37.9/arch/arm/kernel/
Dirq.c133 struct irqaction * action; in get_irq_list() local
137 action = irq_desc[i].action; in get_irq_list()
138 if (!action) in get_irq_list()
141 p += sprintf(p, " %s", action->name); in get_irq_list()
142 for (action = action->next; action; action = action->next) { in get_irq_list()
143 p += sprintf(p, ", %s", action->name); in get_irq_list()
188 __do_irq(unsigned int irq, struct irqaction *action, struct pt_regs *regs) in __do_irq() argument
194 if (!(action->flags & SA_INTERRUPT)) in __do_irq()
199 status |= action->flags; in __do_irq()
200 action->handler(irq, action->dev_id, regs); in __do_irq()
[all …]
/linux-2.4.37.9/arch/cris/kernel/
Dirq.c230 struct irqaction * action; in get_irq_list() local
233 action = irq_action[i]; in get_irq_list()
234 if (!action) in get_irq_list()
238 (action->flags & SA_INTERRUPT) ? '+' : ' ', in get_irq_list()
239 action->name); in get_irq_list()
240 for (action = action->next; action; action = action->next) { in get_irq_list()
242 (action->flags & SA_INTERRUPT) ? " +" : "", in get_irq_list()
243 action->name); in get_irq_list()
259 struct irqaction *action; in do_IRQ() local
266 action = irq_action[irq]; in do_IRQ()
[all …]
/linux-2.4.37.9/arch/sparc64/kernel/
Dirq.c98 #define put_ino_in_irqaction(action, irq) \ argument
99 action->flags &= 0xffffffffffffUL; \
101 action->flags |= 0xdeadUL << 48; \
103 action->flags |= __irq_ino(irq) << 48;
104 #define get_ino_in_irqaction(action) (action->flags >> 48) argument
106 #define put_smpaff_in_irqaction(action, smpaff) (action)->mask = (smpaff) argument
107 #define get_smpaff_in_irqaction(action) ((action)->mask) argument
112 struct irqaction *action; in get_irq_list() local
118 if(!(action = *(i + irq_action))) in get_irq_list()
128 len += sprintf(buf + len, " %s:%lx", action->name, \ in get_irq_list()
[all …]
/linux-2.4.37.9/arch/alpha/kernel/
Dirq.c75 struct irqaction *action) in handle_IRQ_event() argument
86 if (!(action->flags & SA_INTERRUPT)) in handle_IRQ_event()
91 status |= action->flags; in handle_IRQ_event()
92 action->handler(irq, action->dev_id, regs); in handle_IRQ_event()
93 action = action->next; in handle_IRQ_event()
94 } while (action); in handle_IRQ_event()
197 p = &desc->action; in setup_irq()
433 struct irqaction * action; in request_irq() local
454 action = (struct irqaction *) in request_irq()
456 if (!action) in request_irq()
[all …]
/linux-2.4.37.9/arch/mips64/kernel/
Dirq.c82 struct irqaction * action; in get_irq_list() local
91 action = irq_desc[i].action; in get_irq_list()
92 if (!action) in get_irq_list()
103 p += sprintf(p, " %s", action->name); in get_irq_list()
105 for (action=action->next; action; action = action->next) in get_irq_list()
106 p += sprintf(p, ", %s", action->name); in get_irq_list()
292 int handle_IRQ_event(unsigned int irq, struct pt_regs * regs, struct irqaction * action) in handle_IRQ_event() argument
301 if (!(action->flags & SA_INTERRUPT)) in handle_IRQ_event()
305 status |= action->flags; in handle_IRQ_event()
306 action->handler(irq, action->dev_id, regs); in handle_IRQ_event()
[all …]
/linux-2.4.37.9/arch/mips/kernel/
Dirq.c82 struct irqaction * action; in get_irq_list() local
91 action = irq_desc[i].action; in get_irq_list()
92 if (!action) in get_irq_list()
103 p += sprintf(p, " %s", action->name); in get_irq_list()
105 for (action=action->next; action; action = action->next) in get_irq_list()
106 p += sprintf(p, ", %s", action->name); in get_irq_list()
292 int handle_IRQ_event(unsigned int irq, struct pt_regs * regs, struct irqaction * action) in handle_IRQ_event() argument
301 if (!(action->flags & SA_INTERRUPT)) in handle_IRQ_event()
305 status |= action->flags; in handle_IRQ_event()
306 action->handler(irq, action->dev_id, regs); in handle_IRQ_event()
[all …]
/linux-2.4.37.9/arch/ppc/kernel/
Dirq.c148 p = &desc->action; in setup_irq()
185 p = &desc->action; in free_irq()
187 struct irqaction * action = *p; in free_irq() local
188 if (action) { in free_irq()
190 p = &action->next; in free_irq()
191 if (action->dev_id != dev_id) in free_irq()
195 *pp = action->next; in free_irq()
196 if (!desc->action) { in free_irq()
207 irq_kfree(action); in free_irq()
220 struct irqaction *action; in request_irq() local
[all …]
/linux-2.4.37.9/arch/i386/kernel/
Dirq.c138 struct irqaction * action; in show_interrupts() local
146 action = irq_desc[i].action; in show_interrupts()
147 if (!action) in show_interrupts()
158 seq_printf(p, " %s", action->name); in show_interrupts()
160 for (action=action->next; action; action = action->next) in show_interrupts()
161 seq_printf(p, ", %s", action->name); in show_interrupts()
438 int handle_IRQ_event(unsigned int irq, struct pt_regs * regs, struct irqaction * action) in handle_IRQ_event() argument
447 if (!(action->flags & SA_INTERRUPT)) in handle_IRQ_event()
451 status |= action->flags; in handle_IRQ_event()
452 action->handler(irq, action->dev_id, regs); in handle_IRQ_event()
[all …]
/linux-2.4.37.9/arch/x86_64/kernel/
Dirq.c161 struct irqaction * action; in show_interrupts() local
169 action = irq_desc[i].action; in show_interrupts()
170 if (!action) in show_interrupts()
181 seq_printf(p, " %s", action->name); in show_interrupts()
183 for (action=action->next; action; action = action->next) in show_interrupts()
184 seq_printf(p, ", %s", action->name); in show_interrupts()
463 int handle_IRQ_event(unsigned int irq, struct pt_regs * regs, struct irqaction * action) in handle_IRQ_event() argument
472 if (!(action->flags & SA_INTERRUPT)) in handle_IRQ_event()
476 status |= action->flags; in handle_IRQ_event()
477 action->handler(irq, action->dev_id, regs); in handle_IRQ_event()
[all …]
/linux-2.4.37.9/arch/ia64/kernel/
Dirq.c158 struct irqaction * action; in get_irq_list() local
169 action = idesc->action; in get_irq_list()
170 if (!action) in get_irq_list()
181 p += sprintf(p, " %s", action->name); in get_irq_list()
183 for (action=action->next; action; action = action->next) in get_irq_list()
184 p += sprintf(p, ", %s", action->name); in get_irq_list()
486 int handle_IRQ_event(unsigned int irq, struct pt_regs * regs, struct irqaction * action) in handle_IRQ_event() argument
494 if (!(action->flags & SA_INTERRUPT)) in handle_IRQ_event()
498 status |= action->flags; in handle_IRQ_event()
499 action->handler(irq, action->dev_id, regs); in handle_IRQ_event()
[all …]
/linux-2.4.37.9/drivers/acpi/utilities/
Dutdelete.c297 u32 action) in acpi_ut_update_ref_count() argument
316 switch (action) { in acpi_ut_update_ref_count()
369 ACPI_DEBUG_PRINT ((ACPI_DB_ERROR, "Unknown action (%X)\n", action)); in acpi_ut_update_ref_count()
413 u16 action) in acpi_ut_update_object_reference() argument
437 state = acpi_ut_create_update_state (object, action); in acpi_ut_update_object_reference()
441 action = state->update.value; in acpi_ut_update_object_reference()
452 if (tmp && (tmp->common.reference_count <= 1) && action == REF_DECREMENT) in acpi_ut_update_object_reference()
454 acpi_ut_update_ref_count (tmp, action); in acpi_ut_update_object_reference()
457 if (tmp && (tmp->common.reference_count <= 1) && action == REF_DECREMENT) in acpi_ut_update_object_reference()
459 acpi_ut_update_ref_count (tmp, action); in acpi_ut_update_object_reference()
[all …]
/linux-2.4.37.9/arch/ppc64/kernel/
Dirq.c415 p = &desc->action; in setup_irq()
453 p = &desc->action; in do_free_irq()
455 struct irqaction * action = *p; in do_free_irq() local
456 if (action) { in do_free_irq()
458 p = &action->next; in do_free_irq()
459 if (action->dev_id != dev_id) in do_free_irq()
463 *pp = action->next; in do_free_irq()
464 if (!desc->action) { in do_free_irq()
475 irq_kfree(action); in do_free_irq()
488 struct irqaction *action; in request_irq() local
[all …]
/linux-2.4.37.9/drivers/isdn/pcbit/
Dedss1.c278 struct fsm_entry * action; in pcbit_fsm_event() local
286 for (action = fsm_table; action->init != 0xff; action++) in pcbit_fsm_event()
287 if (action->init == chan->fsm_state && action->event == event) in pcbit_fsm_event()
290 if (action->init == 0xff) { in pcbit_fsm_event()
303 chan->fsm_state = action->final; in pcbit_fsm_event()
305 pcbit_state_change(dev, chan, action->init, event, action->final); in pcbit_fsm_event()
321 if (action->callb) in pcbit_fsm_event()
322 action->callb(dev, chan, data); in pcbit_fsm_event()
/linux-2.4.37.9/arch/ppc/amiga/
Dcia.c141 struct irqaction *action; in cia_handler() local
152 action = desc->action; in cia_handler()
153 action->handler(irq, action->dev_id, fp); in cia_handler()
164 struct irqaction *action; in cia_init_IRQ() local
171 action = &amiga_sys_irqaction[base->handler_irq-IRQ_AMIGA_AUTO]; in cia_init_IRQ()
172 action->handler = cia_handler; in cia_init_IRQ()
173 action->dev_id = base; in cia_init_IRQ()
174 action->name = base->name; in cia_init_IRQ()
Damiints.c191 struct irqaction *action = desc->action; in amiga_do_irq() local
194 action->handler(irq, action->dev_id, fp); in amiga_do_irq()
200 struct irqaction *action; in amiga_do_irq_list() local
206 for (action = desc->action; action; action = action->next) in amiga_do_irq_list()
207 action->handler(irq, action->dev_id, fp); in amiga_do_irq_list()
/linux-2.4.37.9/fs/lockd/
Dsvcsubs.c151 nlm_traverse_locks(struct nlm_host *host, struct nlm_file *file, int action) in nlm_traverse_locks() argument
166 if (action == NLM_ACT_MARK) in nlm_traverse_locks()
168 else if (action == NLM_ACT_CHECK) in nlm_traverse_locks()
170 else if (action == NLM_ACT_UNLOCK) { in nlm_traverse_locks()
195 nlm_inspect_file(struct nlm_host *host, struct nlm_file *file, int action) in nlm_inspect_file() argument
197 if (action == NLM_ACT_CHECK) { in nlm_inspect_file()
202 if (nlmsvc_traverse_blocks(host, file, action) in nlm_inspect_file()
203 || nlmsvc_traverse_shares(host, file, action)) in nlm_inspect_file()
206 return nlm_traverse_locks(host, file, action); in nlm_inspect_file()
213 nlm_traverse_files(struct nlm_host *host, int action) in nlm_traverse_files() argument
[all …]
/linux-2.4.37.9/arch/mips/mips-boards/atlas/
Datlas_int.c102 struct irqaction *action; in atlas_hw0_irqdispatch() local
113 action = irq_desc[irq].action; in atlas_hw0_irqdispatch()
118 if (action == NULL) { in atlas_hw0_irqdispatch()
126 action->handler(irq, action->dev_id, regs); in atlas_hw0_irqdispatch()
152 irq_desc[i].action = 0; in init_IRQ()
/linux-2.4.37.9/arch/mips/dec/
Decc-berr.c67 int action = MIPS_BE_FATAL; in dec_ecc_be_backend() local
78 return action; in dec_ecc_be_backend()
101 action = MIPS_BE_FIXUP; in dec_ecc_be_backend()
153 action = MIPS_BE_DISCARD; in dec_ecc_be_backend()
186 if (action != MIPS_BE_FIXUP) in dec_ecc_be_backend()
190 if (action != MIPS_BE_FIXUP && erraddr & KN0X_EAR_ECCERR) in dec_ecc_be_backend()
193 return action; in dec_ecc_be_backend()
203 int action = dec_ecc_be_backend(regs, 0, 1); in dec_ecc_be_interrupt() local
205 if (action == MIPS_BE_DISCARD) in dec_ecc_be_interrupt()
/linux-2.4.37.9/arch/mips/lasat/
Dinterrupt.c128 struct irqaction *action; in lasat_hw0_irqdispatch() local
139 action = irq_desc[irq].action; in lasat_hw0_irqdispatch()
144 if (action == NULL) { in lasat_hw0_irqdispatch()
152 action->handler(irq, action->dev_id, regs); in lasat_hw0_irqdispatch()
188 irq_desc[i].action = 0; in init_IRQ()

123456789