Searched refs:prompt (Results 1 - 62 of 62) sorted by relevance

/linux-4.1.27/include/linux/
H A Dinitrd.h7 /* 1 = prompt for ramdisk, 0 = don't prompt */
H A Dhil.h262 #define HIL_IDD_IOD_PROMPT 0x80 /* Generic prompt/ack */
/linux-4.1.27/scripts/kconfig/
H A Dzconf.y81 %type <string> prompt
166 if (current_entry->prompt)
167 current_entry->prompt->type = P_MENU;
169 zconfprint("warning: menuconfig statement without prompt");
192 config_option: T_PROMPT prompt if_expr T_EOL
195 printd(DEBUG_PARSE, "%s:%d:prompt\n", zconf_curname(), zconf_lineno());
237 | T_EQUAL prompt { $$ = $2; }
276 choice_option: T_PROMPT prompt if_expr T_EOL
279 printd(DEBUG_PARSE, "%s:%d:prompt\n", zconf_curname(), zconf_lineno());
344 mainmenu_stmt: T_MAINMENU prompt nl
351 menu: T_MENU prompt T_EOL
381 source_stmt: T_SOURCE prompt T_EOL
389 comment: T_COMMENT prompt T_EOL
442 /* prompt statement */
446 | prompt if_expr
451 prompt: T_WORD label
496 rootmenu.prompt = menu_add_prompt(P_MENU, "Linux Kernel Configuration", NULL);
506 rootmenu.prompt->text = _(rootmenu.prompt->text);
507 rootmenu.prompt->text = sym_expand_string_value(rootmenu.prompt->text);
633 fputs(" prompt ", out);
691 else if ((prop = menu->prompt)) {
718 if (menu->prompt && menu->prompt->type == P_MENU)
H A Dmenu.c128 static struct property *menu_add_prop(enum prop_type type, char *prompt, struct expr *expr, struct expr *dep) menu_add_prop() argument
136 if (prompt) { menu_add_prop()
137 if (isspace(*prompt)) { menu_add_prop()
139 while (isspace(*prompt)) menu_add_prop()
140 prompt++; menu_add_prop()
142 if (current_entry->prompt && current_entry != &rootmenu) menu_add_prop()
143 prop_warn(prop, "prompt redefined"); menu_add_prop()
171 current_entry->prompt = prop; menu_add_prop()
173 prop->text = prompt; menu_add_prop()
178 struct property *menu_add_prompt(enum prop_type type, char *prompt, struct expr *dep) menu_add_prompt() argument
180 return menu_add_prop(type, prompt, NULL, dep); menu_add_prompt()
309 } else if (parent->prompt) menu_finalize()
310 parentdep = parent->prompt->visible.expr; menu_finalize()
322 prop = menu->prompt; menu_finalize()
342 basedep = parent->prompt ? parent->prompt->visible.expr : NULL; menu_finalize()
347 dep = menu->prompt ? menu->prompt->visible.expr : menu->dep; menu_finalize()
380 if (!menu->prompt) menu_finalize()
381 menu_warn(menu, "choice value must have a prompt"); menu_finalize()
415 if (menu->list && (!menu->prompt || !menu->prompt->text)) { menu_finalize()
431 if (sym_is_choice(sym) && !parent->prompt) menu_finalize()
432 menu_warn(parent, "choice must have a prompt"); menu_finalize()
439 if (sym && !sym_is_optional(sym) && parent->prompt) { menu_finalize()
441 expr_alloc_and(parent->prompt->visible.expr, menu_finalize()
448 if (!menu->prompt) menu_has_prompt()
475 if (!menu->prompt) menu_is_visible()
486 visible = menu->prompt->visible.tri; menu_is_visible()
488 visible = menu->prompt->visible.tri = expr_calc_value(menu->prompt->visible.expr); menu_is_visible()
509 if (menu->prompt) menu_get_prompt()
510 return menu->prompt->text; menu_get_prompt()
526 type = menu->prompt ? menu->prompt->type : 0; menu_get_parent_menu()
H A Dexpr.h123 * prompt "foo prompt"
131 P_PROMPT, /* prompt "foo prompt" or "BAZ Value" */
133 P_MENU, /* prompt associated with a menuconfig option */
146 const char *text; /* the prompt value - P_PROMPT, P_MENU, P_COMMENT */
170 struct property *prompt; member in struct:menu
H A Dnconf.c633 "%s - %s", config_filename, rootmenu.prompt->text); set_config_filename()
746 prop = menu->prompt; build_conf()
749 const char *prompt = menu_get_prompt(menu); build_conf() local
751 ptype = menu->prompt ? menu->prompt->type : P_UNKNOWN; build_conf()
755 prompt = _(prompt); build_conf()
760 indent + 1, ' ', prompt); build_conf()
764 indent + 1, ' ', prompt, build_conf()
771 if (prompt) { build_conf()
776 _(prompt)); build_conf()
780 if (prompt) { build_conf()
784 _(prompt)); build_conf()
906 if (menu->prompt && menu->prompt->type == P_MENU) { build_conf()
948 static void show_menu(const char *prompt, const char *instructions, show_menu() argument
965 mvwprintw(main_window, 0, 3, " %s ", prompt); show_menu()
1069 const char *prompt = menu_get_prompt(menu); conf() local
1087 show_menu(prompt ? _(prompt) : _("Main Menu"), conf()
1180 else if (submenu->prompt && conf()
1181 submenu->prompt->type == P_MENU) conf()
1234 const char *prompt = _(menu_get_prompt(menu)); conf_choice() local
1271 show_menu(prompt ? _(prompt) : _("Choice Menu"), conf_choice()
1351 const char *prompt = menu_get_prompt(menu); conf_string() local
1371 prompt ? _(prompt) : _("Main Menu"), conf_string()
H A Dqconf.cc125 QString prompt; updateMenu() local
132 prompt = ".."; updateMenu()
137 prop = menu->prompt; updateMenu()
138 prompt = _(menu_get_prompt(menu)); updateMenu()
224 prompt = QString("%1: %2").arg(prompt).arg(data); updateMenu()
226 prompt = QString("(%2) %1").arg(prompt).arg(data); updateMenu()
230 prompt += _(" (NEW)"); updateMenu()
232 setText(promptColIdx, prompt); updateMenu()
442 type = menu->prompt ? menu->prompt->type : P_UNKNOWN; updateSelection()
474 rootEntry->sym && rootEntry->prompt) { updateList()
563 type = menu && menu->prompt ? menu->prompt->type : P_UNKNOWN; setRootMenu()
620 type = child->prompt ? child->prompt->type : P_UNKNOWN; updateMenuList()
637 if (!child->sym && !child->list && !child->prompt) updateMenuList()
692 type = menu->prompt ? menu->prompt->type : P_UNKNOWN; keyPressEvent()
751 ptype = menu->prompt ? menu->prompt->type : P_UNKNOWN; contentsMouseReleaseEvent()
802 ptype = menu->prompt ? menu->prompt->type : P_UNKNOWN; contentsMouseDoubleClickEvent()
1023 if (_menu->prompt) { menuInfo()
1025 head += print_filter(_(_menu->prompt->text)); menuInfo()
1054 } else if (_menu->prompt) { menuInfo()
1056 head += print_filter(_(_menu->prompt->text)); menuInfo()
1059 if (_menu->prompt->visible.expr) { menuInfo()
1061 expr_print(_menu->prompt->visible.expr, expr_print_help, &debug, E_NONE); menuInfo()
1090 debug += QString().sprintf("prompt: <a href=\"m%p\">", prop->menu); debug_info()
1284 rootmenu.prompt->text, ConfigMainWindow()
1736 if (child->prompt && child->prompt->type == P_MENU) { fixup_rootmenu()
H A Dmconf.c303 "%s - %s", config_filename, rootmenu.prompt->text); set_config_filename()
487 prop = menu->prompt; build_conf()
490 const char *prompt = menu_get_prompt(menu); build_conf() local
494 prompt = _(prompt); build_conf()
498 indent + 1, ' ', prompt); build_conf()
501 indent + 1, ' ', prompt, build_conf()
509 if (prompt) { build_conf()
511 item_make(" %*c*** %s ***", indent + 1, ' ', _(prompt)); build_conf()
517 if (prompt) { build_conf()
519 item_make("---%*c%s", indent + 1, ' ', _(prompt)); build_conf()
632 if (menu->prompt->type == P_MENU) { build_conf()
648 const char *prompt = menu_get_prompt(menu); conf() local
668 res = dialog_menu(prompt ? _(prompt) : _("Main Menu"), conf()
698 else if (submenu->prompt->type == P_MENU) conf()
802 const char *prompt = _(menu_get_prompt(menu)); conf_choice() local
829 res = dialog_checklist(prompt ? _(prompt) : _("Main Menu"), conf_choice()
863 const char *prompt = menu_get_prompt(menu); conf_string() local
883 res = dialog_inputbox(prompt ? _(prompt) : _("Main Menu"), conf_string()
H A Dnconf.h91 const char *title, const char *prompt,
H A Dconf.c139 printf("%*s%s ", indent - 1, "", _(menu->prompt->text)); conf_string()
172 printf("%*s%s ", indent - 1, "", _(menu->prompt->text)); conf_sym()
364 prop = menu->prompt; conf()
366 const char *prompt; conf() local
379 prompt = menu_get_prompt(menu); conf()
380 if (prompt) conf()
383 indent, '*', _(prompt), conf()
H A Dgconf.c188 gtk_window_set_title(GTK_WINDOW(main_wnd), rootmenu.prompt->text); init_main_window()
371 const char *prompt = _(menu_get_prompt(menu)); text_insert_help() local
382 gtk_text_buffer_insert_with_tags(buffer, &end, prompt, -1, tag1, text_insert_help()
712 ptype = current->prompt ? current->prompt->type : P_UNKNOWN; on_back_clicked()
910 ptype = menu->prompt ? menu->prompt->type : P_UNKNOWN; on_treeview2_button_press_event()
1063 ptype = menu->prompt ? menu->prompt->type : P_UNKNOWN; fill_row()
1347 prop = child->prompt; display_tree()
1433 if (child->prompt && child->prompt->type == P_MENU) { fixup_rootmenu()
H A Dnconf.gui.c358 const char *title, const char *prompt, dialog_inputbox()
379 prompt_lines = get_line_no(prompt); dialog_inputbox()
381 const char *line = get_line(prompt, i); dialog_inputbox()
411 fill_window(prompt_win, prompt); dialog_inputbox()
357 dialog_inputbox(WINDOW *main_window, const char *title, const char *prompt, const char *init, char **resultp, int *result_len) dialog_inputbox() argument
H A Dstreamline_config.pl241 # note if the config has a prompt
475 # when a config has no prompt and requires another config to be
563 # If the config has no prompt, then we need to check if a config
579 # config has no prompt and must be selected.
H A Dkxgettext.c185 if (child->prompt != NULL) menu_build_message_list()
H A Dlkc.h106 struct property *menu_add_prompt(enum prop_type type, char *prompt, struct expr *dep);
H A Dsymbol.c214 /* any prompt visible? */ sym_calc_visibility()
1323 return "prompt"; prop_get_type_name()
H A Dconfdata.c659 rootmenu.prompt->text); conf_write_heading()
/linux-4.1.27/drivers/net/wireless/libertas_tf/
H A Ddeb_defs.h89 static inline void lbtf_deb_hex(unsigned int grp, const char *prompt, u8 *buf, int len) lbtf_deb_hex() argument
96 snprintf(newprompt, sizeof(newprompt), DRV_NAME " %s: ", prompt); lbtf_deb_hex()
97 print_hex_dump_bytes(prompt, DUMP_PREFIX_NONE, buf, len); lbtf_deb_hex()
101 #define lbtf_deb_hex(grp, prompt, buf, len) do {} while (0)
/linux-4.1.27/arch/mips/sni/
H A Dreset.c24 /* XXX This ends up at the ARC firmware prompt ... */ sni_machine_restart()
/linux-4.1.27/scripts/kconfig/lxdialog/
H A Ddialog.h173 char str[MAXITEMSTR]; /* prompt displayed */
223 void print_autowrap(WINDOW * win, const char *prompt, int width, int y, int x);
231 int dialog_yesno(const char *title, const char *prompt, int height, int width);
232 int dialog_msgbox(const char *title, const char *prompt, int height,
241 int dialog_menu(const char *title, const char *prompt,
243 int dialog_checklist(const char *title, const char *prompt, int height,
245 int dialog_inputbox(const char *title, const char *prompt, int height,
H A Dyesno.c42 int dialog_yesno(const char *title, const char *prompt, int height, int width) dialog_yesno() argument
74 print_autowrap(dialog, prompt, width - 2, 1, 3); dialog_yesno()
H A Dchecklist.c117 int dialog_checklist(const char *title, const char *prompt, int height, dialog_checklist() argument
163 print_autowrap(dialog, prompt, width - 2, 1, 3);
H A Dinputbox.c44 int dialog_inputbox(const char *title, const char *prompt, int height, int width, dialog_inputbox() argument
85 print_autowrap(dialog, prompt, width - 2, 1, 3); dialog_inputbox()
H A Dmenubox.c184 int dialog_menu(const char *title, const char *prompt, dialog_menu() argument
227 print_autowrap(dialog, prompt, width - 2, 1, 3); dialog_menu()
H A Dutil.c382 void print_autowrap(WINDOW * win, const char *prompt, int width, int y, int x) print_autowrap() argument
388 strcpy(tempstr, prompt); print_autowrap()
392 if (prompt_len <= width - x * 2) { /* If prompt is short */ print_autowrap()
/linux-4.1.27/kernel/debug/kdb/
H A Dkdb_io.c426 * Print the prompt string and read a command from the
432 * prompt Pointer to string to use as prompt string
439 * substituted for %d, %x or %o in the prompt.
442 char *kdb_getstr(char *buffer, size_t bufsize, const char *prompt) kdb_getstr() argument
444 if (prompt && kdb_prompt_str != prompt) kdb_getstr()
445 strncpy(kdb_prompt_str, prompt, CMD_BUFLEN); kdb_getstr()
618 * The "[nn]kdb> " prompt should vkdb_printf()
621 * The "[nn]more " prompt should also be vkdb_printf()
686 * prompt) and it has completed. Clear the flag. vkdb_printf()
730 * kdb_nextline to control when the more prompt should vkdb_printf()
820 "more prompt, input ignored\n"); vkdb_printf()
H A Dkdb_main.c1362 * control and will issue the kdb prompt, the others will spin
/linux-4.1.27/arch/mips/boot/compressed/
H A Ddecompress.c108 /* Display standard Linux/MIPS boot prompt */ decompress_kernel()
/linux-4.1.27/drivers/net/wireless/libertas/
H A Ddefs.h93 static inline void lbs_deb_hex(unsigned int grp, const char *prompt, lbs_deb_hex() argument
106 printk(DRV_NAME " %s: ", prompt); lbs_deb_hex()
115 #define lbs_deb_hex(grp,prompt,buf,len) do {} while (0)
/linux-4.1.27/arch/tile/include/uapi/arch/
H A Dsim.h34 * at the tile-monitor prompt. Typing "sim help" at that prompt provides
191 * Type 'sim help' at the tile-monitor prompt to learn what commands
196 * prefix used at the tile-monitor prompt; for example, you might call
/linux-4.1.27/arch/mips/include/asm/
H A Dswitch_to.h56 * force prompt migration - we're already switching the current CPU to a
/linux-4.1.27/arch/arm/include/uapi/asm/
H A Dsetup.h65 __u32 flags; /* bit 0 = load, bit 1 = prompt */
/linux-4.1.27/init/
H A Ddo_mounts_rd.c27 int __initdata rd_prompt = 1;/* 1 = prompt for RAM disk, 0 = don't prompt */
/linux-4.1.27/arch/m32r/kernel/
H A Dsetup.c50 extern int rd_prompt; /* 1 = prompt for ramdisk, 0 = don't prompt */
/linux-4.1.27/drivers/net/can/usb/peak_usb/
H A Dpcan_usb_core.h143 void pcan_dump_mem(char *prompt, void *p, int l);
H A Dpcan_usb_core.c59 void pcan_dump_mem(char *prompt, void *p, int l) pcan_dump_mem() argument
62 PCAN_USB_DRIVER_NAME, prompt ? prompt : "memory", l); pcan_dump_mem()
/linux-4.1.27/drivers/staging/rtl8723au/include/
H A Drtw_io.h56 For prompt mode accessing, caller shall free io_req
/linux-4.1.27/include/asm-generic/
H A Dbug.h60 * significant issues that need prompt attention if they should ever
/linux-4.1.27/drivers/net/ethernet/arc/
H A Demac_main.c91 * Issue "ethtool ethX" under linux prompt to execute this function.
109 * Issue e.g. "ethtool -s ethX speed 1000" under linux prompt to execute this
129 * Issue "ethtool -i ethX" under linux prompt to execute this function.
/linux-4.1.27/drivers/s390/char/
H A Dtty3270.c88 struct string *prompt; /* Output string for input area. */ member in struct:tty3270
140 line = tp->prompt; tty3270_update_prompt()
173 tp->prompt = line; tty3270_create_prompt()
387 if (raw3270_request_add_data(wrq, tp->prompt->string, tty3270_update()
388 tp->prompt->len) == 0) tty3270_update()
819 free_string(&tp->freemem, tp->prompt); tty3270_resize_work()
/linux-4.1.27/drivers/staging/rtl8712/
H A Drtl871x_io.h52 For prompt mode accessing, caller shall free io_req
/linux-4.1.27/arch/sparc/include/asm/
H A Dopenprom.h62 /* Arguments sent to the kernel from the boot prompt. */
H A Doplib_32.h70 * When the user gives the 'sync' command at the prom prompt while the
/linux-4.1.27/arch/sparc/kernel/
H A Dsetup_32.c65 /* Typing sync at the prom prompt calls the function pointed to by
/linux-4.1.27/drivers/acpi/acpica/
H A Dacdebug.h257 acpi_status acpi_db_user_commands(char prompt, union acpi_parse_object *op);
/linux-4.1.27/kernel/
H A DMakefile195 @echo >>x509.genkey "prompt = no"
/linux-4.1.27/arch/m68k/include/asm/
H A Dopenprom.h70 /* Arguments sent to the kernel from the boot prompt. */
H A Doplib.h113 * When the user gives the 'sync' command at the prom prompt while the
/linux-4.1.27/tools/power/acpi/tools/acpidump/
H A Dapfiles.c85 /* If file exists, prompt for overwrite */ ap_open_output_file()
/linux-4.1.27/drivers/net/ethernet/xilinx/
H A Dxilinx_axienet_main.c1074 * Issue "ethtool ethX" under linux prompt to execute this function.
1094 * Issue e.g. "ethtool -s ethX speed 1000" under linux prompt to execute this
1113 * Issue "ethtool -i ethX" under linux prompt to execute this function.
1219 * paths. Issue "ethtool -A ethX tx on|off" under linux prompt to execute this
1255 * count on Tx and Rx paths. Issue "ethtool -c ethX" under linux prompt to
1279 * prompt to execute this function.
/linux-4.1.27/tools/testing/ktest/
H A Dktest.pl484 my ($cancel, $prompt) = @_;
490 print "$prompt [y/n/C] ";
492 print "$prompt [Y/n] ";
521 my ($prompt) = @_;
523 return read_prompt 0, $prompt;
527 my ($prompt) = @_;
529 return read_prompt 1, $prompt;
2068 fail "failed - never got a boot prompt." and return 0;
/linux-4.1.27/drivers/ide/
H A Dide-gd.c128 off when the shutdown process reaches the firmware prompt,
/linux-4.1.27/drivers/video/console/
H A Dmdacon.c26 * Paul G. (03/2001) Fix mdacon= boot prompt to use __setup().
/linux-4.1.27/drivers/usb/wusbcore/
H A Dcbaf.c72 * CMD may choose to prompt the user before associating with a new
/linux-4.1.27/drivers/net/irda/
H A Dvlsi_ir.h288 * ignore the prompt and continue
/linux-4.1.27/kernel/time/
H A Dtick-sched.c141 * waiting on the login prompt. We also increment the "start of tick_sched_handle()
/linux-4.1.27/drivers/char/pcmcia/
H A Dcm4000_cs.c880 /* slow down warning, but prompt immediately after insertion */
/linux-4.1.27/drivers/tty/
H A Disicom.c61 * prompt.
/linux-4.1.27/scripts/
H A Dget_maintainer.pl1704 Enter selections at the prompt until you are satisfied that the selected
/linux-4.1.27/drivers/net/wan/
H A Dcosa.c1518 * This function resets the device and reads the initial prompt cosa_reset_and_read_id()
/linux-4.1.27/fs/ecryptfs/
H A Dcrypto.c1180 * retrieved via a prompt. Exactly what happens at this point should
/linux-4.1.27/drivers/scsi/aic7xxx/
H A Daic79xx_osm.c262 * NOTE: you can't actually pass -1 on the lilo prompt. So, to set this

Completed in 1760 milliseconds