| /linux/scripts/kconfig/ |
| H A D | menu.c | 18 struct menu rootmenu = { .type = M_MENU }; 19 static struct menu **last_entry_ptr; 28 struct menu *menu_next(struct menu *menu, struct menu *root) in menu_next() argument 30 if (menu->list) in menu_next() 31 return menu->list; in menu_next() 33 while (menu != root && !menu->next) in menu_next() 34 menu = menu->parent; in menu_next() 36 if (menu == root) in menu_next() 39 return menu->next; in menu_next() 42 void menu_warn(const struct menu *menu, const char *fmt, ...) in menu_warn() argument [all …]
|
| H A D | lkc.h | 75 struct menu *menu_next(struct menu *menu, struct menu *root); 76 #define menu_for_each_sub_entry(menu, root) \ argument 77 for (menu = menu_next(root, root); menu; menu = menu_next(menu, root)) 78 #define menu_for_each_entry(menu) \ argument 79 menu_for_each_sub_entry(menu, &rootmenu) 81 void menu_warn(const struct menu *menu, const char *fmt, ...); 82 struct menu *menu_add_menu(void); 94 extern struct menu rootmenu; 96 bool menu_is_empty(struct menu *menu); 97 bool menu_is_visible(struct menu *menu); [all …]
|
| H A D | nconf.c | 267 static struct menu *current_menu; 287 static void selected_conf(struct menu *menu, struct menu *active_menu); 288 static void conf(struct menu *menu); 289 static void conf_choice(struct menu *menu); 290 static void conf_string(struct menu *menu); 293 static void show_help(struct menu *menu); 298 typedef void (*function_key_handler_t)(int *key, struct menu *menu); 299 static void handle_f1(int *key, struct menu *current_item); 300 static void handle_f2(int *key, struct menu *current_item); 301 static void handle_f3(int *key, struct menu *current_item); [all …]
|
| H A D | mconf.c | 287 static struct menu *current_menu; 294 static void conf(struct menu *menu, struct menu *active_menu); 373 static void show_help(struct menu *menu) in show_help() argument 378 menu_get_ext_help(menu, &help); in show_help() 380 show_helptext(menu_get_prompt(menu), str_get(&help)); in show_help() 455 static void build_conf(struct menu *menu) in build_conf() argument 459 struct menu *child; in build_conf() 469 visible = menu_is_visible(menu); in build_conf() 470 if (show_all_options && !menu_has_prompt(menu)) in build_conf() 475 sym = menu->sym; in build_conf() [all …]
|
| H A D | conf.c | 20 static void conf(struct menu *menu); 21 static void check_conf(struct menu *menu); 48 static struct menu *rootEntry; 50 static void print_help(struct menu *menu) in print_help() argument 54 menu_get_ext_help(menu, &help); in print_help() 122 static void randomize_choice_values(struct menu *choice) in randomize_choice_values() 124 struct menu *menu; in randomize_choice_values() local 133 menu_for_each_sub_entry(menu, choice) { in randomize_choice_values() 134 struct symbol *sym = menu->sym; in randomize_choice_values() 143 menu_for_each_sub_entry(menu, choice) { in randomize_choice_values() [all …]
|
| H A D | parser.y | 31 struct menu *current_menu, *current_entry, *current_choice; 40 struct menu *menu; member 96 %type <menu> if_entry menu_entry choice_entry 346 menu: T_MENU T_WORD_QUOTE T_EOL 353 menu_entry: menu menu_option_list 500 static int transitional_check_sanity(const struct menu *menu) 504 if (!menu->sym || !(menu->sym->flags & SYMBOL_TRANS)) 508 if ((menu->dep && !expr_is_yes(menu->dep)) || 509 (menu->visibility && !expr_is_yes(menu->visibility))) { 511 menu->filename, menu->lineno, [all …]
|
| H A D | qconf.cc | 110 sym = menu->sym; in updateMenu() 111 prompt = menu_get_prompt(menu); in updateMenu() 113 switch (menu->type) { in updateMenu() 119 if (sym && list->rootEntry == menu) in updateMenu() 134 sym = sym_calc_choice(menu); in updateMenu() 196 if (!menu) in testUpdateMenu() 199 if (menu->type == M_CHOICE) in testUpdateMenu() 200 sym_calc_choice(menu); in testUpdateMenu() 202 sym_calc_value(menu->sym); in testUpdateMenu() 204 if (menu->flags & MENU_CHANGED) { in testUpdateMenu() [all …]
|
| H A D | qconf.h | 49 ConfigItem* findConfigItem(struct menu *); 65 void setRootMenu(struct menu *menu); 76 void menuChanged(struct menu *menu); 77 void menuSelected(struct menu *menu); 78 void itemSelected(struct menu *menu); 80 void gotFocus(struct menu *); 93 bool menuSkip(struct menu *); 95 void updateMenuList(ConfigItem *parent, struct menu*); 96 void updateMenuList(struct menu *menu); 103 struct menu *rootEntry; [all …]
|
| H A D | gconf.c | 45 static struct menu *browsed; // browsed menu for SINGLE/SPLIT view 46 static struct menu *selected; // selected entry 55 static void display_tree(GtkTreeStore *store, struct menu *menu); 85 static void text_insert_help(struct menu *menu) in text_insert_help() argument 89 menu_get_ext_help(menu, &help); in text_insert_help() 90 text_insert_msg(menu_get_prompt(menu), str_get(&help)); in text_insert_help() 95 GtkTreeIter *parent, struct menu *match) in _select_menu() 102 struct menu *menu; in _select_menu() local 104 gtk_tree_model_get(model, &iter, COL_MENU, &menu, -1); in _select_menu() 106 if (menu == match) { in _select_menu() [all …]
|
| H A D | symbol.c | 80 struct menu *sym_get_prompt_menu(const struct symbol *sym) in sym_get_prompt_menu() 82 struct menu *m; in sym_get_prompt_menu() 98 struct menu *sym_get_choice_menu(const struct symbol *sym) in sym_get_choice_menu() 100 struct menu *menu = NULL; in sym_get_choice_menu() local 106 menu = sym_get_prompt_menu(sym); in sym_get_choice_menu() 107 if (!menu) in sym_get_choice_menu() 111 menu = menu->parent; in sym_get_choice_menu() 112 } while (menu && !menu->sym); in sym_get_choice_menu() 114 if (menu && menu->sym && sym_is_choice(menu->sym)) in sym_get_choice_menu() 115 return menu; in sym_get_choice_menu() [all …]
|
| H A D | confdata.c | 408 struct menu *choice; in conf_read_simple() 761 struct menu *menu; in conf_write_defconfig() local 770 menu_for_each_entry(menu) { in conf_write_defconfig() 771 struct menu *choice; in conf_write_defconfig() 773 sym = menu->sym; in conf_write_defconfig() 808 struct menu *menu; in conf_write() local 847 menu = rootmenu.list; in conf_write() 848 while (menu) { in conf_write() 849 sym = menu->sym; in conf_write() 851 if (!menu_is_visible(menu)) in conf_write() [all …]
|
| H A D | expr.h | 194 struct menu *menu; /* the menu the property are associated with member 226 struct menu { struct 230 struct menu *next; argument 233 struct menu *parent; argument 236 struct menu *list; argument 292 struct menu *target;
|
| H A D | lkc_proto.h | 31 void choice_set_value(struct menu *choice, struct symbol *sym); 37 struct menu *sym_get_prompt_menu(const struct symbol *sym); 38 struct menu *sym_get_choice_menu(const struct symbol *sym);
|
| H A D | internal.h | 20 struct menu; 22 extern struct menu *current_menu, *current_entry;
|
| /linux/tools/perf/ui/browsers/ |
| H A D | header.c | 32 static int list_menu__run(struct ui_browser *menu) in list_menu__run() argument 43 if (ui_browser__show(menu, "Header information", "Press 'q' to exit") < 0) in list_menu__run() 47 key = ui_browser__run(menu, 0); in list_menu__run() 51 offset = (unsigned long)menu->priv; in list_menu__run() 53 menu->priv = (void *)offset; in list_menu__run() 56 offset = (unsigned long)menu->priv; in list_menu__run() 59 menu->priv = (void *)offset; in list_menu__run() 64 ui_browser__help_window(menu, help); in list_menu__run() 72 ui_browser__warn_unhandled_hotkey(menu, key, 0, ", use 'h'/'?'/F1 to see actions"); in list_menu__run() 79 ui_browser__hide(menu); in list_menu__run() [all …]
|
| /linux/scripts/kconfig/lxdialog/ |
| H A D | menubox.c | 84 do_print_item(menu, item_str(), choice, selected, !item_is_tag(':')); \ 170 WINDOW *dialog, *menu; in dialog_menu() local 213 menu = subwin(dialog, menu_height, menu_width, in dialog_menu() 215 keypad(menu, TRUE); in dialog_menu() 252 wnoutrefresh(menu); in dialog_menu() 258 wmove(menu, choice, item_x + 1); in dialog_menu() 259 wrefresh(menu); in dialog_menu() 262 key = wgetch(menu); in dialog_menu() 296 do_scroll(menu, &scroll, -1); in dialog_menu() 308 do_scroll(menu, &scroll, 1); in dialog_menu() [all …]
|
| /linux/tools/perf/ui/tui/ |
| H A D | util.c | 26 static int popup_menu__run(struct ui_browser *menu, int *keyp) in popup_menu__run() argument 30 if (ui_browser__show(menu, " ", "ESC: exit, ENTER|->: Select option") < 0) in popup_menu__run() 34 key = ui_browser__run(menu, 0); in popup_menu__run() 39 key = menu->index; in popup_menu__run() 50 key = menu->nr_entries; in popup_menu__run() 59 ui_browser__hide(menu); in popup_menu__run() 65 struct ui_browser menu = { in ui__popup_menu() local 72 return popup_menu__run(&menu, keyp); in ui__popup_menu()
|
| /linux/tools/perf/Documentation/ |
| H A D | cat-texi.perl | 6 my @menu = (); 15 push @menu, $1; 36 for (@menu) {
|
| /linux/arch/riscv/ |
| H A D | Kconfig.vendor | 1 menu "Vendor extensions" 6 menu "Andes" 19 menu "MIPS" 32 menu "SiFive" 45 menu "T-Head"
|
| /linux/Documentation/sphinx-static/ |
| H A D | theme_rtd_colors.css | 13 .wy-menu-vertical li.current a { 17 .wy-menu-vertical li.on a, .wy-menu-vertical li.current > a {
|
| /linux/drivers/cpuidle/ |
| H A D | Kconfig | 2 menu "CPU Idle" 54 menu "ARM CPU Idle Drivers" 59 menu "MIPS CPU Idle Drivers" 64 menu "POWERPC CPU Idle Drivers" 69 menu "RISC-V CPU Idle Drivers"
|
| /linux/scripts/kconfig/tests/err_recursive_dep/ |
| H A D | Kconfig | 55 # menu 57 menu "menu depending on its content"
|
| /linux/Documentation/admin-guide/ |
| H A D | svga.rst | 35 ASK_VGA - Display a video mode menu upon startup (see below). 37 0..35 - Menu item number (when you have used the menu to view the list of 38 modes available on your adapter, you can specify the menu item you want 44 0x.... - Hexadecimal video mode ID (also displayed on the menu, see below 51 The ASK_VGA mode causes the kernel to offer a video mode menu upon 54 menu, if you press <SPACE> or wait 30 seconds, the kernel will boot up in 57 The menu looks like:: 74 "0 0F00 80x25" means that the first menu item (the menu items are numbered 89 The modes displayed on the menu are partially sorted: The list starts with 113 by entering its mode directly if you know it even if it isn't shown on the menu. [all …]
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | ext-ctrls-image-process.rst | 26 ``V4L2_CID_LINK_FREQ (integer menu)`` 44 ``V4L2_CID_TEST_PATTERN (menu)`` 49 ``V4L2_CID_DEINTERLACING_MODE (menu)`` 50 The video deinterlacing mode (such as Bob, Weave, ...). The menu items are
|
| /linux/Documentation/kbuild/ |
| H A D | kconfig-language.rst | 52 A menu entry can have a number of attributes. Not all of them are 71 Every menu entry can have at most one prompt, which is used to display 83 Default values are not limited to the menu entry where they are 123 This defines a dependency for this menu entry. If multiple 125 are applied to all other options within this menu entry (which also 151 another symbol. The value of the current menu symbol is used as the 168 selected by the logical AND of the value of the current menu symbol 216 will be the logical AND of the value of the current menu symbol and <expr>. 219 - limiting menu display: "visible if" <expr> 221 This attribute is only applicable to menu blocks, if the condition is [all …]
|