Searched refs:item_count (Results 1 - 8 of 8) sorted by relevance

/u-boot/drivers/core/
H A Dacpi.c78 static int item_count; variable
143 if (item_count == MAX_ACPI_ITEMS) {
148 item = &acpi_item[item_count];
162 item_count++;
181 for (i = 0; i < item_count; i++) {
200 for (i = 0; i < item_count; i++) {
365 item_count = 0;
/u-boot/scripts/kconfig/lxdialog/
H A Dmenubox.c190 max_choice = MIN(menu_height, item_count());
241 (scroll >= 0) && (scroll + max_choice <= item_count())) {
248 if (choice >= item_count() - max_choice / 2)
249 scroll = first_item = item_count() - max_choice;
262 print_arrows(dialog, item_count(), scroll,
293 if (item_count() != 0 &&
314 (scroll + max_choice < item_count())) {
337 if (scroll + max_choice < item_count()) {
351 print_arrows(dialog, item_count(), scroll,
H A Dchecklist.c127 max_choice = MIN(list_height, item_count());
186 print_arrows(dialog, choice, item_count(), scroll,
222 print_arrows(dialog, choice, item_count(),
233 if (scroll + choice >= item_count() - 1)
250 print_arrows(dialog, choice, item_count(),
H A Ddialog.h170 int item_count(void);
H A Dutil.c656 int item_count(void) function
/u-boot/drivers/smem/
H A Dmsm_smem.c261 * @item_count: max accepted item number
272 u32 item_count; member in struct:qcom_smem
450 if (WARN_ON(item >= __smem->item_count))
569 if (WARN_ON(item >= __smem->item_count))
894 smem->item_count = qcom_smem_get_item_count(smem);
897 smem->item_count = SMEM_ITEM_COUNT;
/u-boot/scripts/kconfig/
H A Dnconf.c938 if (toprow >= item_count(curses_menu)-mwin_max_lines)
939 toprow = item_count(curses_menu)-mwin_max_lines;
H A Dmconf.c671 if (item_count() != 0) {

Completed in 87 milliseconds