• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sparc/kernel/

Lines Matching defs:action

160 	struct irqaction *action;
165 /* Used to protect the IRQ action lists */
171 struct irqaction * action;
184 action = sparc_irq[i].action;
185 if (!action)
197 (action->flags & IRQF_DISABLED) ? '+' : ' ',
198 action->name);
199 for (action=action->next; action; action = action->next) {
201 (action->flags & IRQF_DISABLED) ? " +" : "",
202 action->name);
213 struct irqaction * action;
232 actionp = &sparc_irq[cpu_irq].action;
233 action = *actionp;
235 if (!action->handler) {
240 for (; action; action = action->next) {
241 if (action->dev_id == dev_id)
243 actionp = &action->next;
245 if (!action) {
249 } else if (action->flags & IRQF_SHARED) {
253 if (action->flags & SA_STATIC_ALLOC)
259 irq, action->name);
263 *actionp = action->next;
271 kfree(action);
273 if (!sparc_irq[cpu_irq].action)
304 struct irqaction * action;
308 action = sparc_irq[cpu_irq].action;
313 if (action) {
316 if (action->handler)
317 printk("[%s:%d:0x%x] ", action->name,
318 (int) i, (unsigned int) action->handler);
327 struct irqaction * action;
341 action = sparc_irq[irq].action;
345 if (!action || !action->handler)
347 action->handler(irq, action->dev_id);
348 action = action->next;
349 } while (action);
365 struct irqaction *action;
386 action = sparc_irq[cpu_irq].action;
387 if(action) {
388 if(action->flags & IRQF_SHARED)
404 action = &static_irqaction[static_irq_count++];
410 if (action == NULL)
411 action = kmalloc(sizeof(struct irqaction),
414 if (!action) {
437 action->flags = irqflags;
438 action->name = devname;
439 action->dev_id = NULL;
440 action->next = NULL;
442 sparc_irq[cpu_irq].action = action;
511 struct irqaction * action, **actionp;
534 actionp = &sparc_irq[cpu_irq].action;
535 action = *actionp;
536 if (action) {
537 if (!(action->flags & IRQF_SHARED) || !(irqflags & IRQF_SHARED)) {
541 if ((action->flags & IRQF_DISABLED) != (irqflags & IRQF_DISABLED)) {
546 for ( ; action; action = *actionp)
547 actionp = &action->next;
555 action = &static_irqaction[static_irq_count++];
560 if (action == NULL)
561 action = kmalloc(sizeof(struct irqaction),
564 if (!action) {
569 action->handler = handler;
570 action->flags = irqflags;
571 action->name = devname;
572 action->next = NULL;
573 action->dev_id = dev_id;
575 *actionp = action;