Lines Matching defs:np
358 struct device_node *np, struct resource *res)
362 of_property_count_u32_elems(np, "brcm,gpio-bank-widths");
435 struct device_node *np = dev->of_node;
439 irq_domain_add_linear(np, priv->num_gpios,
447 if (of_property_read_bool(np, "wakeup-source")) {
590 struct device_node *np = dev->of_node;
616 if (of_property_read_bool(np, "interrupt-controller")) {
624 if (brcmstb_gpio_sanity_check_banks(dev, np, res))
639 of_property_for_each_u32(np, "brcm,gpio-bank-widths", prop, p,
687 gc->label = devm_kasprintf(dev, GFP_KERNEL, "%pOF", np);