Lines Matching refs:link
39 linkno = map->link; in pirq_reg_to_linkno()
67 if (linkno == map->link) { in pirq_linkno_to_reg()
80 bool pirq_check_irq_routed(struct udevice *dev, int link, u8 irq) in pirq_check_irq_routed() argument
87 pirq_linkno_to_reg(priv, link), &pirq); in pirq_check_irq_routed()
90 pirq_linkno_to_reg(priv, link)); in pirq_check_irq_routed()
101 int pirq_translate_link(struct udevice *dev, int link) in pirq_translate_link() argument
105 return pirq_reg_to_linkno(priv, link); in pirq_translate_link()
108 void pirq_assign_irq(struct udevice *dev, int link, u8 irq) in pirq_assign_irq() argument
118 pirq_linkno_to_reg(priv, link), irq); in pirq_assign_irq()
121 pirq_linkno_to_reg(priv, link)); in pirq_assign_irq()
144 slot->irq[pin - 1].link = pirq_linkno_to_reg(priv, pirq); in fill_irq_info()
209 map->link = fdt_addr_to_cpu(cell[0]); in create_pirq_routing_table()
288 if (slot->irq[pr.pin - 1].link) { in create_pirq_routing_table()
298 if (slot->irq[pr.pin - 1].link != in create_pirq_routing_table()