Searched refs:suspend_np (Results 1 – 1 of 1) sorted by relevance
34 struct device_node *suspend_np; in of_get_regulation_constraints() local131 suspend_np = of_get_child_by_name(np, regulator_states[i]); in of_get_regulation_constraints()132 if (!suspend_np || !suspend_state) in of_get_regulation_constraints()135 if (!of_property_read_u32(suspend_np, "regulator-mode", in of_get_regulation_constraints()150 if (of_property_read_bool(suspend_np, in of_get_regulation_constraints()153 else if (of_property_read_bool(suspend_np, in of_get_regulation_constraints()157 if (!of_property_read_u32(suspend_np, in of_get_regulation_constraints()161 of_node_put(suspend_np); in of_get_regulation_constraints()163 suspend_np = NULL; in of_get_regulation_constraints()