• Home
  • Raw
  • Download

Lines Matching refs:entry

27 #define for_each_virq(entry, head) \  argument
28 for (entry = head; entry; entry = entry->next)
86 struct intc_virq_list *entry; in add_virq_to_pirq() local
90 for_each_virq(entry, irq_get_handler_data(irq)) { in add_virq_to_pirq()
91 if (entry->irq == virq) in add_virq_to_pirq()
93 last = &entry->next; in add_virq_to_pirq()
96 entry = kzalloc(sizeof(struct intc_virq_list), GFP_ATOMIC); in add_virq_to_pirq()
97 if (!entry) in add_virq_to_pirq()
100 entry->irq = virq; in add_virq_to_pirq()
103 *last = entry; in add_virq_to_pirq()
105 irq_set_handler_data(irq, entry); in add_virq_to_pirq()
115 struct intc_virq_list *entry, *vlist = irq_data_get_irq_handler_data(data); in intc_virq_handler() local
120 for_each_virq(entry, vlist) { in intc_virq_handler()
122 struct irq_desc *vdesc = irq_to_desc(entry->irq); in intc_virq_handler()
165 struct intc_subgroup_entry *entry; in intc_subgroup_init_one() local
171 entry = kmalloc(sizeof(*entry), GFP_NOWAIT); in intc_subgroup_init_one()
172 if (!entry) in intc_subgroup_init_one()
175 entry->pirq = pirq; in intc_subgroup_init_one()
176 entry->enum_id = subgroup->enum_ids[i]; in intc_subgroup_init_one()
177 entry->handle = intc_subgroup_data(subgroup, d, i); in intc_subgroup_init_one()
179 err = radix_tree_insert(&d->tree, entry->enum_id, entry); in intc_subgroup_init_one()
183 radix_tree_tag_set(&d->tree, entry->enum_id, in intc_subgroup_init_one()
216 struct intc_subgroup_entry *entry; in intc_subgroup_map() local
219 entry = radix_tree_deref_slot((void **)entries[i]); in intc_subgroup_map()
220 if (unlikely(!entry)) in intc_subgroup_map()
222 if (radix_tree_deref_retry(entry)) in intc_subgroup_map()
234 irq, entry->pirq); in intc_subgroup_map()
236 intc_irq_xlate_set(irq, entry->enum_id, d); in intc_subgroup_map()
238 irq_set_chip_and_handler_name(irq, irq_get_chip(entry->pirq), in intc_subgroup_map()
240 irq_set_chip_data(irq, irq_get_chip_data(entry->pirq)); in intc_subgroup_map()
242 irq_set_handler_data(irq, (void *)entry->handle); in intc_subgroup_map()
250 add_virq_to_pirq(entry->pirq, irq); in intc_subgroup_map()
251 irq_set_chained_handler(entry->pirq, intc_virq_handler); in intc_subgroup_map()
253 radix_tree_tag_clear(&d->tree, entry->enum_id, in intc_subgroup_map()