Lines Matching refs:action

93         desc->action  = NULL;  in init_irq_data()
110 desc->action = NULL; in init_local_irq_data()
148 ASSERT(desc->action != NULL); in irq_get_guest_info()
150 return desc->action->dev_id; in irq_get_guest_info()
168 struct irqaction *action; in request_irq() local
182 action = xmalloc(struct irqaction); in request_irq()
183 if ( !action ) in request_irq()
186 action->handler = handler; in request_irq()
187 action->name = devname; in request_irq()
188 action->dev_id = dev_id; in request_irq()
189 action->free_on_release = 1; in request_irq()
191 retval = setup_irq(irq, irqflags, action); in request_irq()
193 xfree(action); in request_irq()
202 struct irqaction *action; in do_IRQ() local
221 if ( !desc->action ) in do_IRQ()
251 action = desc->action; in do_IRQ()
257 action->handler(irq, action->dev_id, regs); in do_IRQ()
258 action = action->next; in do_IRQ()
259 } while ( action ); in do_IRQ()
276 struct irqaction *action, **action_ptr; in release_irq() local
282 action_ptr = &desc->action; in release_irq()
285 action = *action_ptr; in release_irq()
286 if ( !action ) in release_irq()
293 if ( action->dev_id == dev_id ) in release_irq()
296 action_ptr = &action->next; in release_irq()
300 *action_ptr = action->next; in release_irq()
303 if ( !desc->action ) in release_irq()
314 if ( action->free_on_release ) in release_irq()
315 xfree(action); in release_irq()
329 if ( desc->action != NULL && (!test_bit(_IRQF_SHARED, &desc->status) || !shared) ) in __setup_irq()
337 new->next = desc->action; in __setup_irq()
339 desc->action = new; in __setup_irq()
366 disabled = (desc->action == NULL); in setup_irq()
417 struct irqaction *action; in route_irq_to_guest() local
445 action = xmalloc(struct irqaction); in route_irq_to_guest()
446 if ( !action ) in route_irq_to_guest()
452 xfree(action); in route_irq_to_guest()
459 action->dev_id = info; in route_irq_to_guest()
460 action->name = devname; in route_irq_to_guest()
461 action->free_on_release = 1; in route_irq_to_guest()
480 if ( desc->action != NULL ) in route_irq_to_guest()
508 retval = __setup_irq(desc, 0, action); in route_irq_to_guest()
526 xfree(action); in route_irq_to_guest()