Lines Matching refs:step

142 static bool stm32mp1_check_step(enum stm32mp1_ddr_interact_step step,  in stm32mp1_check_step()  argument
145 if (step != expected) { in stm32mp1_check_step()
147 step, step_str[step], in stm32mp1_check_step()
157 enum stm32mp1_ddr_interact_step step, in stm32mp1_do_info() argument
164 printf("step = %d : %s\n", step, step_str[step]); in stm32mp1_do_info()
252 static void stm32mp1_do_param(enum stm32mp1_ddr_interact_step step, in stm32mp1_do_param() argument
266 if (!stm32mp1_check_step(step, STEP_DDR_RESET)) in stm32mp1_do_param()
288 static int stm32mp1_do_step(enum stm32mp1_ddr_interact_step step, in stm32mp1_do_step() argument
310 value <= step) { in stm32mp1_do_step()
313 step, step_str[step]); in stm32mp1_do_step()
322 return step; in stm32mp1_do_step()
383 enum stm32mp1_ddr_interact_step step, in stm32mp1_ddr_interactive() argument
391 if (next_step < 0 && step == STEP_DDR_RESET) { in stm32mp1_ddr_interactive()
410 log_debug("** step %d ** %s / %d\n", step, step_str[step], next_step); in stm32mp1_ddr_interactive()
415 if (step < 0 || step > ARRAY_SIZE(step_str)) { in stm32mp1_ddr_interactive()
416 printf("** step %d ** INVALID\n", step); in stm32mp1_ddr_interactive()
420 printf("%d:%s\n", step, step_str[step]); in stm32mp1_ddr_interactive()
422 if (next_step > step) in stm32mp1_ddr_interactive()
425 while (next_step == step) { in stm32mp1_ddr_interactive()
439 step, argc, argv); in stm32mp1_ddr_interactive()
452 stm32mp1_do_param(step, config, argc, argv); in stm32mp1_ddr_interactive()
468 next_step = step + 1; in stm32mp1_ddr_interactive()
472 next_step = stm32mp1_do_step(step, argc, argv); in stm32mp1_ddr_interactive()
477 if (!stm32mp1_check_step(step, STEP_DDR_READY)) in stm32mp1_ddr_interactive()
485 if (!stm32mp1_check_step(step, STEP_DDR_READY)) in stm32mp1_ddr_interactive()