Lines Matching refs:np
819 struct device_node *np, struct pinctrl_map **map, unsigned *num_maps)
827 grp = st_pctl_find_group_by_name(info, np->name);
830 np->name);
840 parent = of_get_parent(np);
850 new_map[0].data.mux.group = np->name;
1038 struct device_node *np)
1041 for_each_child_of_node(np, child) {
1137 struct device_node *np)
1158 of_property_read_u32(np, "st,retime-pin-mask", &pc->rt_pin_mask);
1168 static int st_pctl_dt_parse_groups(struct device_node *np,
1178 pins = of_get_child_by_name(np, "st,pins");
1190 pr_warn("Invalid st,pins in %s node\n", np->name);
1196 grp->name = np->name;
1240 static int st_pctl_parse_functions(struct device_node *np,
1249 func->name = np->name;
1250 func->ngroups = of_get_child_count(np);
1261 for_each_child_of_node(np, child) {
1453 int bank_nr, struct device_node *np)
1458 int bank_num = of_alias_get_id(np, "gpio");
1462 if (of_address_to_resource(np, 0, &res))
1472 bank->gpio_chip.of_node = np;
1476 of_property_read_string(np, "st,bank-name", &range->name);
1509 if (of_irq_to_resource(np, 0, &irq_res)) {
1525 dev_info(dev, "No IRQ support for %s bank\n", np->full_name);
1557 struct device_node *np = pdev->dev.of_node;
1563 st_pctl_dt_child_count(info, np);
1585 info->regmap = syscon_regmap_lookup_by_phandle(np, "st,syscfg");
1590 info->data = of_match_node(st_pctl_of_match, np)->data;
1616 for_each_child_of_node(np, child) {