Lines Matching refs:suspend_np
87 struct device_node *suspend_np; in of_get_regulation_constraints() local
266 suspend_np = of_get_child_by_name(np, regulator_states[i]); in of_get_regulation_constraints()
267 if (!suspend_np) in of_get_regulation_constraints()
270 of_node_put(suspend_np); in of_get_regulation_constraints()
274 if (!of_property_read_u32(suspend_np, "regulator-mode", in of_get_regulation_constraints()
289 if (of_property_read_bool(suspend_np, in of_get_regulation_constraints()
292 else if (of_property_read_bool(suspend_np, in of_get_regulation_constraints()
296 if (!of_property_read_u32(suspend_np, in of_get_regulation_constraints()
300 if (!of_property_read_u32(suspend_np, in of_get_regulation_constraints()
304 if (!of_property_read_u32(suspend_np, in of_get_regulation_constraints()
310 if (of_property_read_bool(suspend_np, in of_get_regulation_constraints()
317 of_node_put(suspend_np); in of_get_regulation_constraints()
319 suspend_np = NULL; in of_get_regulation_constraints()