Lines Matching refs:of_node
312 struct device_node **of_node, in act8865_pdata_from_dt() argument
321 np = of_get_child_by_name(dev->of_node, "regulators"); in act8865_pdata_from_dt()
363 of_node[i] = matches[i].of_node; in act8865_pdata_from_dt()
371 struct device_node **of_node, in act8865_pdata_from_dt() argument
411 struct device_node **of_node; in act8865_pmic_probe() local
419 if (dev->of_node && !pdata) { in act8865_pmic_probe()
455 of_node = devm_kzalloc(dev, sizeof(struct device_node *) * in act8865_pmic_probe()
457 if (!of_node) in act8865_pmic_probe()
460 if (dev->of_node && !pdata) { in act8865_pmic_probe()
461 ret = act8865_pdata_from_dt(dev, of_node, &pdata_of, type); in act8865_pmic_probe()
486 if (of_device_is_system_power_controller(dev->of_node)) { in act8865_pmic_probe()
505 config.of_node = of_node[i]; in act8865_pmic_probe()
517 devm_kfree(dev, of_node); in act8865_pmic_probe()