Lines Matching full:dn
106 static int bcm7120_l2_intc_init_one(struct device_node *dn, in bcm7120_l2_intc_init_one() argument
114 parent_irq = irq_of_parse_and_map(dn, irq); in bcm7120_l2_intc_init_one()
150 static int __init bcm7120_l2_intc_iomap_7120(struct device_node *dn, in bcm7120_l2_intc_iomap_7120() argument
155 data->map_base[0] = of_iomap(dn, 0); in bcm7120_l2_intc_iomap_7120()
166 ret = of_property_read_u32_array(dn, "brcm,int-fwd-mask", in bcm7120_l2_intc_iomap_7120()
174 data->map_mask_prop = of_get_property(dn, "brcm,int-map-mask", &ret); in bcm7120_l2_intc_iomap_7120()
184 static int __init bcm7120_l2_intc_iomap_3380(struct device_node *dn, in bcm7120_l2_intc_iomap_3380() argument
191 void __iomem *en = of_iomap(dn, map_idx + 0); in bcm7120_l2_intc_iomap_3380()
192 void __iomem *stat = of_iomap(dn, map_idx + 1); in bcm7120_l2_intc_iomap_3380()
215 static int __init bcm7120_l2_intc_probe(struct device_node *dn, in bcm7120_l2_intc_probe() argument
234 pdev = of_find_device_by_node(dn); in bcm7120_l2_intc_probe()
255 ret = iomap_regs_fn(dn, data); in bcm7120_l2_intc_probe()
259 data->can_wake = of_property_read_bool(dn, "brcm,irq-can-wake"); in bcm7120_l2_intc_probe()
262 ret = bcm7120_l2_intc_init_one(dn, data, irq, valid_mask); in bcm7120_l2_intc_probe()
267 data->domain = irq_domain_add_linear(dn, IRQS_PER_WORD * data->n_words, in bcm7120_l2_intc_probe()
282 dn->full_name, handle_level_irq, clr, in bcm7120_l2_intc_probe()
328 intc_name, dn, data->num_parent_irqs); in bcm7120_l2_intc_probe()
346 static int __init bcm7120_l2_intc_probe_7120(struct device_node *dn, in bcm7120_l2_intc_probe_7120() argument
349 return bcm7120_l2_intc_probe(dn, parent, bcm7120_l2_intc_iomap_7120, in bcm7120_l2_intc_probe_7120()
353 static int __init bcm7120_l2_intc_probe_3380(struct device_node *dn, in bcm7120_l2_intc_probe_3380() argument
356 return bcm7120_l2_intc_probe(dn, parent, bcm7120_l2_intc_iomap_3380, in bcm7120_l2_intc_probe_3380()