Lines Matching refs:opp_np

79 					  struct device_node *opp_np)  in _find_opp_of_np()  argument
86 if (opp->np == opp_np) { in _find_opp_of_np()
105 static struct opp_table *_find_table_of_opp_np(struct device_node *opp_np) in _find_table_of_opp_np() argument
110 opp_table_np = of_get_parent(opp_np); in _find_table_of_opp_np()
163 struct device_node *opp_np) in _opp_table_alloc_required_tables() argument
171 np = of_get_next_available_child(opp_np, NULL); in _opp_table_alloc_required_tables()
225 struct device_node *np, *opp_np; in _of_init_opp_table() local
245 opp_np = _opp_of_get_opp_desc_node(np, index); in _of_init_opp_table()
248 if (!opp_np) in _of_init_opp_table()
251 if (of_property_read_bool(opp_np, "opp-shared")) in _of_init_opp_table()
256 opp_table->np = opp_np; in _of_init_opp_table()
258 _opp_table_alloc_required_tables(opp_table, dev, opp_np); in _of_init_opp_table()
373 struct device_node *required_np, *opp_np, *required_table_np; in lazy_link_required_opp_table() local
383 opp_np = of_get_next_available_child(opp_table->np, NULL); in lazy_link_required_opp_table()
393 required_np = of_parse_required_opp(opp_np, i); in lazy_link_required_opp_table()
420 of_node_put(opp_np); in lazy_link_required_opp_table()
436 struct device_node *np, *opp_np; in _bandwidth_supported() local
444 opp_np = _opp_of_get_opp_desc_node(np, 0); in _bandwidth_supported()
447 opp_np = of_node_get(opp_table->np); in _bandwidth_supported()
451 if (!opp_np) in _bandwidth_supported()
455 np = of_get_next_available_child(opp_np, NULL); in _bandwidth_supported()
456 of_node_put(opp_np); in _bandwidth_supported()
1427 struct device_node *opp_np, *np; in dev_pm_opp_of_has_required_opp() local
1430 opp_np = _opp_of_get_opp_desc_node(dev->of_node, 0); in dev_pm_opp_of_has_required_opp()
1431 if (!opp_np) in dev_pm_opp_of_has_required_opp()
1434 np = of_get_next_available_child(opp_np, NULL); in dev_pm_opp_of_has_required_opp()
1435 of_node_put(opp_np); in dev_pm_opp_of_has_required_opp()