Home
last modified time | relevance | path

Searched refs:menu (Results 1 – 25 of 163) sorted by relevance

1234567

/u-boot/scripts/kconfig/
A Dmenu.c49 struct menu *menu; in menu_add_entry() local
51 menu = xmalloc(sizeof(*menu)); in menu_add_entry()
52 memset(menu, 0, sizeof(*menu)); in menu_add_entry()
311 for (menu = parent->list; menu; menu = menu->next) { in menu_finalize()
319 for (menu = parent->list; menu; menu = menu->next) { in menu_finalize()
340 for (menu = parent->list; menu; menu = menu->next) { in menu_finalize()
420 for (menu = parent->list; menu; menu = menu->next) in menu_finalize()
451 for (menu = parent->next; menu; menu = menu->next) { in menu_finalize()
495 for (menu = parent->list; menu; menu = menu->next) { in menu_finalize()
674 struct menu *menu_get_root_menu(struct menu *menu) in menu_get_root_menu() argument
[all …]
A Dlkc_proto.h16 extern struct menu rootmenu;
18 bool menu_is_empty(struct menu *menu);
19 bool menu_is_visible(struct menu *menu);
20 bool menu_has_prompt(struct menu *menu);
21 const char * menu_get_prompt(struct menu *menu);
22 struct menu * menu_get_root_menu(struct menu *menu);
23 struct menu * menu_get_parent_menu(struct menu *menu);
24 bool menu_has_help(struct menu *menu);
25 const char * menu_get_help(struct menu *menu);
27 void menu_get_ext_help(struct menu *menu, struct gstr *help);
A Dmconf.c283 static void conf(struct menu *menu, struct menu *active_menu);
284 static void conf_choice(struct menu *menu);
285 static void conf_string(struct menu *menu);
293 static void show_help(struct menu *menu);
465 static void build_conf(struct menu *menu) in build_conf() argument
485 sym = menu->sym; in build_conf()
643 static void conf(struct menu *menu, struct menu *active_menu) in conf() argument
661 build_conf(menu); in conf()
784 static void show_help(struct menu *menu) in show_help() argument
795 static void conf_choice(struct menu *menu) in conf_choice() argument
[all …]
A Dnconf.c279 static void conf(struct menu *menu);
280 static void conf_choice(struct menu *menu);
281 static void conf_string(struct menu *menu);
284 static void show_help(struct menu *menu);
735 static void build_conf(struct menu *menu) in build_conf() argument
908 if (menu->prompt && menu->prompt->type == P_MENU) { in build_conf()
1068 static void conf(struct menu *menu) in conf() argument
1218 static void show_help(struct menu *menu) in show_help() argument
1222 if (!menu) in show_help()
1231 static void conf_choice(struct menu *menu) in conf_choice() argument
[all …]
A Dconf.c20 static void conf(struct menu *menu);
21 static void check_conf(struct menu *menu);
46 static void print_help(struct menu *menu) in print_help() argument
129 static int conf_string(struct menu *menu) in conf_string() argument
162 static int conf_sym(struct menu *menu) in conf_sym() argument
229 static int conf_choice(struct menu *menu) in conf_choice() argument
235 sym = menu->sym; in conf_choice()
238 conf_sym(menu); in conf_choice()
344 static void conf(struct menu *menu) in conf() argument
353 sym = menu->sym; in conf()
[all …]
A Dqconf.cc399 struct menu *menu; in updateSelection() local
409 menu = item->menu; in updateSelection()
493 struct menu* menu; in changeValue() local
496 menu = item->menu; in changeValue()
711 struct menu *menu; in keyPressEvent() local
733 menu = item->menu; in keyPressEvent()
772 struct menu *menu; in mouseReleaseEvent() local
780 menu = item->menu; in mouseReleaseEvent()
833 struct menu *menu; in mouseDoubleClickEvent() local
842 menu = item->menu; in mouseDoubleClickEvent()
[all …]
A Dqconf.h64 void setRootMenu(struct menu *menu);
72 void menuChanged(struct menu *menu);
73 void menuSelected(struct menu *menu);
75 void gotFocus(struct menu *);
103 bool menuSkip(struct menu *);
117 struct menu *rootEntry;
187 struct menu *menu; variable
249 void setInfo(struct menu *menu);
267 struct menu *_menu;
299 void changeMenu(struct menu *);
[all …]
A Dgconf.c73 static void display_tree(struct menu *menu);
77 static gchar **fill_row(struct menu *menu);
786 struct menu *menu; in renderer_edited() local
887 struct menu *menu; in on_treeview2_button_press_event() local
944 struct menu *menu; in on_treeview2_key_press_event() local
986 struct menu *menu; in on_treeview2_cursor_changed() local
1005 struct menu *menu; in on_treeview1_button_press_event() local
1037 static gchar **fill_row(struct menu *menu) in fill_row() argument
1224 struct menu *menu; in gtktree_iter_find_node() local
1334 static void display_tree(struct menu *menu) in display_tree() argument
[all …]
A Dzconf.y42 struct menu *menu; member
646 static void print_symbol(FILE *out, struct menu *menu) in print_symbol() argument
676 if (prop->menu != menu) in print_symbol()
741 struct menu *menu; in zconfdump() local
744 while (menu) { in zconfdump()
769 if (menu->list) in zconfdump()
770 menu = menu->list; in zconfdump()
772 menu = menu->next; in zconfdump()
773 else while ((menu = menu->parent)) { in zconfdump()
774 if (menu->prompt && menu->prompt->type == P_MENU) in zconfdump()
[all …]
A Dconfdata.c706 struct menu *menu; in conf_write_defconfig() local
759 menu = menu->list; in conf_write_defconfig()
762 menu = menu->next; in conf_write_defconfig()
764 while ((menu = menu->parent)) { in conf_write_defconfig()
766 menu = menu->next; in conf_write_defconfig()
780 struct menu *menu; in conf_write() local
825 while (menu) { in conf_write()
846 menu = menu->list; in conf_write()
850 menu = menu->next; in conf_write()
851 else while ((menu = menu->parent)) { in conf_write()
[all …]
A Dnconf.gui.c254 MENU *menu; in btn_dialog() local
294 menu = new_menu(btns); in btn_dialog()
308 set_menu_win(menu, win); in btn_dialog()
309 set_menu_sub(menu, menu_win); in btn_dialog()
311 menu_opts_off(menu, O_SHOWDESC); in btn_dialog()
313 menu_opts_on(menu, O_ONEVALUE); in btn_dialog()
314 menu_opts_on(menu, O_NONCYCLIC); in btn_dialog()
315 set_menu_mark(menu, ""); in btn_dialog()
316 post_menu(menu); in btn_dialog()
349 unpost_menu(menu); in btn_dialog()
[all …]
A Dexpr.h198 struct menu *menu; /* the menu the property are associated with member
220 struct menu { struct
222 struct menu *next; argument
225 struct menu *parent; argument
228 struct menu *list; argument
280 struct menu *target;
A Dlkc.h85 void menu_warn(struct menu *menu, const char *fmt, ...);
86 struct menu *menu_add_menu(void);
95 void menu_finalize(struct menu *parent);
/u-boot/cmd/
A Dbootmenu.c127 --menu->delay; in bootmenu_autoboot_loop()
238 if (menu->active < menu->count - 1) in bootmenu_choice_entry()
275 free(menu); in bootmenu_destroy()
291 if (!menu) in bootmenu_create()
335 entry->menu = menu; in bootmenu_create()
372 entry->menu = menu; in bootmenu_create()
386 if ((menu->active >= menu->count)||(menu->active < 0)) { //ensure active menuitem is inside menu in bootmenu_create()
391 return menu; in bootmenu_create()
406 menu = entry->menu; in menu_display_statusline()
432 struct menu *menu; in bootmenu_show() local
[all …]
/u-boot/doc/develop/
A Dmenus.rst11 To use the menu code, enable CONFIG_MENU, and include "menu.h" where
27 #include "menu.h"
30 * Consumers of the menu interfaces will use a struct menu * as the
31 * handle for a menu. struct menu is only fully defined in menu.c,
35 struct menu;
51 * menu_item_add() - Adds or replaces a menu item
74 int menu_destroy(struct menu *m);
77 * menu_display_statusline(struct menu *m);
80 void menu_display_statusline(struct menu *m);
90 #include "menu.h"
[all …]
/u-boot/include/
A Dmenu.h9 struct menu;
11 struct menu *menu_create(char *title, int timeout, int prompt,
12 void (*display_statusline)(struct menu *),
16 int menu_default_set(struct menu *m, char *item_key);
17 int menu_get_choice(struct menu *m, void **choice);
18 int menu_item_add(struct menu *m, char *item_key, void *item_data);
19 int menu_destroy(struct menu *m);
20 int menu_default_choice(struct menu *m, void **choice);
/u-boot/common/
A Dmenu.c34 struct menu { struct
39 void (*display_statusline)(struct menu *); argument
55 static inline void *menu_items_iter(struct menu *m, in menu_items_iter()
80 static inline void *menu_item_print(struct menu *m, in menu_item_print()
98 static inline void *menu_item_destroy(struct menu *m, in menu_item_destroy()
114 static inline void menu_display(struct menu *m) in menu_display()
237 int menu_default_set(struct menu *m, char *item_key) in menu_default_set()
269 int menu_get_choice(struct menu *m, void **choice) in menu_get_choice()
364 void (*display_statusline)(struct menu *), in menu_create() argument
369 struct menu *m; in menu_create()
[all …]
/u-boot/doc/usage/
A Dbootmenu.rst7 The "bootmenu" command uses U-Boot menu interfaces and provides
10 the items. Current active menu item is highlighted and can be
12 menu entry invokes an U-Boot command (or a list of commands)
13 associated with this menu entry.
16 an ANSI terminal is required for proper menu rendering and item
19 The assembling of the menu is done via a set of environment variables
27 menu entry will be selected automatically
30 is the boot menu entry number, starting from zero
33 is the text of the menu entry shown on the console
37 are commands which will be executed when a menu
[all …]
/u-boot/scripts/kconfig/lxdialog/
A Dmenubox.c178 WINDOW *dialog, *menu; in dialog_menu() local
223 keypad(menu, TRUE); in dialog_menu()
260 wnoutrefresh(menu); in dialog_menu()
267 wrefresh(menu); in dialog_menu()
270 key = wgetch(menu); in dialog_menu()
324 scrollok(menu, TRUE); in dialog_menu()
355 wrefresh(menu); in dialog_menu()
368 wrefresh(menu); in dialog_menu()
382 delwin(menu); in dialog_menu()
416 delwin(menu); in dialog_menu()
[all …]
/u-boot/scripts/kconfig/tests/err_recursive_dep/
A DKconfig55 # menu
57 menu "menu depending on its content"
/u-boot/drivers/crypto/
A DKconfig1 menu "Hardware crypto devices"
/u-boot/scripts/kconfig/tests/no_write_if_dep_unmet/
A Dexpected_config3 # Main menu
/u-boot/arch/powerpc/cpu/mpc83xx/sysio/
A DKconfig1 menu "System I/O configuration"
/u-boot/doc/
A DREADME.pxe117 menu title <string> - sets a title for the menu of labels being displayed.
119 menu include <path> - use tftp to retrieve the pxe file at <path>, which
138 menu default - set this label as the default label to boot; this is
188 ------------/tftpboot/pxelinux.cfg/menus/base.menu-----------
189 menu title Linux selections
193 menu label Default Install Image
205 menu label Locally installed kernel
211 menu include pxelinux.cfg/menus/base.menu
239 - U-Boot's pxe doesn't provide the full menu implementation that PXELINUX
240 does, only a simple text based menu using the commands described in
[all …]
/u-boot/arch/powerpc/cpu/mpc83xx/initreg/
A DKconfig1 menu "Initial register configuration"

Completed in 40 milliseconds

1234567