Lines Matching refs:opp_np
76 struct device_node *opp_np) in _find_opp_of_np() argument
83 if (opp->np == opp_np) { in _find_opp_of_np()
102 static struct opp_table *_find_table_of_opp_np(struct device_node *opp_np) in _find_table_of_opp_np() argument
107 opp_table_np = of_get_parent(opp_np); in _find_table_of_opp_np()
157 struct device_node *opp_np) in _opp_table_alloc_required_tables() argument
165 np = of_get_next_available_child(opp_np, NULL); in _opp_table_alloc_required_tables()
211 struct device_node *np, *opp_np; in _of_init_opp_table() local
231 opp_np = _opp_of_get_opp_desc_node(np, index); in _of_init_opp_table()
234 if (!opp_np) in _of_init_opp_table()
237 if (of_property_read_bool(opp_np, "opp-shared")) in _of_init_opp_table()
242 opp_table->np = opp_np; in _of_init_opp_table()
244 _opp_table_alloc_required_tables(opp_table, dev, opp_np); in _of_init_opp_table()
363 struct device_node *required_np, *opp_np, *required_table_np; in lazy_link_required_opp_table() local
373 opp_np = of_get_next_available_child(opp_table->np, NULL); in lazy_link_required_opp_table()
383 required_np = of_parse_required_opp(opp_np, i); in lazy_link_required_opp_table()
410 of_node_put(opp_np); in lazy_link_required_opp_table()
426 struct device_node *np, *opp_np; in _bandwidth_supported() local
434 opp_np = _opp_of_get_opp_desc_node(np, 0); in _bandwidth_supported()
437 opp_np = of_node_get(opp_table->np); in _bandwidth_supported()
441 if (!opp_np) in _bandwidth_supported()
445 np = of_get_next_available_child(opp_np, NULL); in _bandwidth_supported()
446 of_node_put(opp_np); in _bandwidth_supported()