Lines Matching refs:virq
159 static int spider_host_map(struct irq_domain *h, unsigned int virq, in spider_host_map() argument
162 irq_set_chip_data(virq, h->host_data); in spider_host_map()
163 irq_set_chip_and_handler(virq, &spider_pic, handle_level_irq); in spider_host_map()
166 irq_set_irq_type(virq, IRQ_TYPE_NONE); in spider_host_map()
213 unsigned int virq; in spider_find_cascade_and_node() local
224 virq = irq_of_parse_and_map(of_node, 0); in spider_find_cascade_and_node()
225 if (virq) in spider_find_cascade_and_node()
226 return virq; in spider_find_cascade_and_node()
263 virq = irq_create_mapping(NULL, in spider_find_cascade_and_node()
267 if (!virq) in spider_find_cascade_and_node()
269 return virq; in spider_find_cascade_and_node()
277 int i, virq; in spider_init_one() local
303 virq = spider_find_cascade_and_node(pic); in spider_init_one()
304 if (!virq) in spider_init_one()
306 irq_set_handler_data(virq, pic); in spider_init_one()
307 irq_set_chained_handler(virq, spider_irq_cascade); in spider_init_one()