Lines Matching refs:fwspec
978 struct irq_fwspec *fwspec, in gic_irq_domain_translate() argument
982 if (is_of_node(fwspec->fwnode)) { in gic_irq_domain_translate()
983 if (fwspec->param_count < 3) in gic_irq_domain_translate()
987 *hwirq = fwspec->param[1] + 16; in gic_irq_domain_translate()
993 if (!fwspec->param[0]) in gic_irq_domain_translate()
996 *type = fwspec->param[2] & IRQ_TYPE_SENSE_MASK; in gic_irq_domain_translate()
1000 if (is_fwnode_irqchip(fwspec->fwnode)) { in gic_irq_domain_translate()
1001 if(fwspec->param_count != 2) in gic_irq_domain_translate()
1004 *hwirq = fwspec->param[0]; in gic_irq_domain_translate()
1005 *type = fwspec->param[1]; in gic_irq_domain_translate()
1024 struct irq_fwspec *fwspec = arg; in gic_irq_domain_alloc() local
1026 ret = gic_irq_domain_translate(domain, fwspec, &hwirq, &type); in gic_irq_domain_alloc()