Lines Matching defs:agent
495 struct sih_agent *agent;
503 agent = container_of(work, struct sih_agent, mask_work);
507 if (agent->imr_change_pending) {
508 sih = agent->sih;
510 imr.word = cpu_to_le32(agent->imr << 8);
511 agent->imr_change_pending = false;
528 struct sih_agent *agent;
534 agent = container_of(work, struct sih_agent, edge_work);
538 edge_change = agent->edge_change;
539 agent->edge_change = 0;
540 sih = edge_change ? agent->sih : NULL;
561 struct irq_desc *d = irq_to_desc(i + agent->irq_base);
567 i + agent->irq_base);
680 struct sih_agent *agent = get_irq_data(irq);
681 const struct sih *sih = agent->sih;
702 generic_handle_irq(agent->irq_base + irq);
718 struct sih_agent *agent;
739 agent = kzalloc(sizeof *agent, GFP_KERNEL);
740 if (!agent)
745 agent->irq_base = irq_base;
746 agent->sih = sih;
747 agent->imr = ~0;
748 INIT_WORK(&agent->mask_work, twl4030_sih_do_mask);
749 INIT_WORK(&agent->edge_work, twl4030_sih_do_edge);
756 set_irq_chip_data(irq, agent);
765 set_irq_data(irq, agent);