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
109 opp_table_np = of_get_parent(opp_np); in _find_table_of_opp_np()
155 struct device_node *opp_np) in _opp_table_alloc_required_tables() argument
162 np = of_get_next_available_child(opp_np, NULL); in _opp_table_alloc_required_tables()
214 struct device_node *np, *opp_np; in _of_init_opp_table() local
234 opp_np = _opp_of_get_opp_desc_node(np, index); in _of_init_opp_table()
237 if (!opp_np) in _of_init_opp_table()
240 if (of_property_read_bool(opp_np, "opp-shared")) in _of_init_opp_table()
245 opp_table->np = opp_np; in _of_init_opp_table()
247 _opp_table_alloc_required_tables(opp_table, dev, opp_np); in _of_init_opp_table()
248 of_node_put(opp_np); in _of_init_opp_table()
329 struct device_node *np, *opp_np; in _bandwidth_supported() local
337 opp_np = _opp_of_get_opp_desc_node(np, 0); in _bandwidth_supported()
340 opp_np = of_node_get(opp_table->np); in _bandwidth_supported()
344 if (!opp_np) in _bandwidth_supported()
348 np = of_get_next_available_child(opp_np, NULL); in _bandwidth_supported()
349 of_node_put(opp_np); in _bandwidth_supported()