Home
last modified time | relevance | path

Searched refs:hist_add_idx (Results 1 – 1 of 1) sorted by relevance

/openbmc/u-boot/common/
H A Dcli_readline.c76 static int hist_add_idx; variable
83 #define add_idx_minus_one() ((hist_add_idx == 0) ? hist_max : hist_add_idx-1)
90 hist_add_idx = 0; in hist_init()
105 hist_add_idx = 0; in cread_add_to_hist()
107 if (hist_add_idx > hist_max) in cread_add_to_hist()
108 hist_max = hist_add_idx; in cread_add_to_hist()
142 if (hist_cur == hist_add_idx) in hist_next()
148 if (hist_cur == hist_add_idx) in hist_next()
164 i = hist_add_idx + 1; in cread_print_hist_list()
168 if (i == hist_add_idx) in cread_print_hist_list()
[all …]