Searched refs:selected (Results 1 - 25 of 43) sorted by relevance

12

/linux-master/scripts/kconfig/lxdialog/
H A Dyesno.c14 static void print_buttons(WINDOW * dialog, int height, int width, int selected) argument
19 print_button(dialog, " Yes ", y, x, selected == 0);
20 print_button(dialog, " No ", y, x + 13, selected == 1);
22 wmove(dialog, y, x + 1 + 13 * selected);
H A Dmenubox.c21 * *) Formerly if I selected something my scrolling would be broken because
36 * lxdialog, it sets the scrolling so that the selected item is in the
54 int selected, int hotkey)
67 wattrset(win, selected ? dlg.item_selected.atr : dlg.item.atr);
70 wattrset(win, selected ? dlg.tag_key_selected.atr
74 if (selected) {
81 #define print_item(index, choice, selected) \
84 do_print_item(menu, item_str(), choice, selected, !item_is_tag(':')); \
134 static void print_buttons(WINDOW * win, int height, int width, int selected) argument
139 print_button(win, "Select", y, x, selected
53 do_print_item(WINDOW * win, const char *item, int line_y, int selected, int hotkey) argument
163 dialog_menu(const char *title, const char *prompt, const void *selected, int *s_scroll) argument
[all...]
H A Dchecklist.c18 static void print_item(WINDOW * win, int choice, int selected) argument
33 wattrset(win, selected ? dlg.check_selected.atr
38 wattrset(win, selected ? dlg.tag_selected.atr : dlg.tag.atr);
40 wattrset(win, selected ? dlg.item_selected.atr : dlg.item.atr);
42 if (selected) {
88 static void print_buttons(WINDOW * dialog, int height, int width, int selected) argument
93 print_button(dialog, "Select", y, x, selected == 0);
94 print_button(dialog, " Help ", y, x + 14, selected == 1);
96 wmove(dialog, y, x + 1 + 14 * selected);
H A Ddialog.h137 int selected; /* Set to 1 by dialog_*() function if selected. */ member in struct:dialog_item
185 void print_button(WINDOW * win, const char *label, int y, int x, int selected);
199 const void *selected, int *s_scroll);
H A Dinputbox.c16 static void print_buttons(WINDOW * dialog, int height, int width, int selected) argument
21 print_button(dialog, " Ok ", y, x, selected == 0);
22 print_button(dialog, " Help ", y, x + 14, selected == 1);
24 wmove(dialog, y, x + 1 + 14 * selected);
109 if (button == -1) { /* Input box selected */
234 button = 1; /* Indicates "Help" button is selected */
238 button = -1; /* Indicates input box is selected */
244 button = 0; /* Indicates "OK" button is selected */
254 button = 0; /* Indicates "OK" button is selected */
258 button = 1; /* Indicates "Help" button is selected */
[all...]
H A Dutil.c407 void print_button(WINDOW * win, const char *label, int y, int x, int selected) argument
412 wattrset(win, selected ? dlg.button_active.atr
417 wattrset(win, selected ? dlg.button_label_active.atr
421 wattrset(win, selected ? dlg.button_key_active.atr
424 wattrset(win, selected ? dlg.button_label_active.atr
427 wattrset(win, selected ? dlg.button_active.atr
608 item_cur->node.selected = val;
667 return (item_cur->node.selected != 0);
/linux-master/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_slpc_types.h20 bool selected; member in struct:intel_guc_slpc
H A Dintel_guc_slpc.h24 return guc->slpc.selected;
H A Dintel_uc_fw.c845 struct intel_uc_fw_file *selected = &uc_fw->file_selected; local
854 ret = check_mtl_huc_guc_compatibility(gt, selected);
859 if (!wanted->ver.major || !selected->ver.major)
863 if (selected->ver.major != wanted->ver.major) {
865 intel_uc_fw_type_repr(uc_fw->type), selected->path,
866 selected->ver.major, selected->ver.minor,
871 if (selected->ver.minor < wanted->ver.minor)
873 else if ((selected->ver.minor == wanted->ver.minor) &&
874 (selected
[all...]
/linux-master/include/scsi/
H A Dfcoe_sysfs.h98 u8 selected; member in struct:fcoe_fcf_device
/linux-master/drivers/parport/
H A Ddaisy.c272 int selected; local
274 selected = port->daisy;
277 if (selected != daisy) {
/linux-master/scripts/
H A Dget_maintainer.pl7 # Print selected MAINTAINERS information for
1779 my %selected;
1786 $selected{$count} = 1;
1811 $sel = "*" if ($selected{$count});
1895 $selected{$nr - 1} = !$selected{$nr - 1};
1900 $selected{$i} = $toggle;
1904 $selected{$i} = !$selected{$i};
1909 $selected{
[all...]
/linux-master/drivers/clk/starfive/
H A Dclk-starfive-jh7110-pll.c332 const struct jh7110_pll_preset *selected = &info->presets[0]; local
348 selected = val;
351 req->rate = selected->freq;
/linux-master/drivers/crypto/marvell/cesa/
H A Dcesa.h741 struct mv_cesa_engine *selected = NULL; local
749 selected = engine;
753 atomic_add(weight, &selected->load);
755 return selected;
/linux-master/scripts/kconfig/
H A Dmconf.c37 " { } can be built in or modularized (selected by other feature)\n"
38 " - - are selected by other feature,\n"
233 "configuration options you have selected at that time.\n"
273 " selected if this symbol is selected (y or m)\n"
274 "o The 'Selected by' line tells what symbol has selected this symbol\n"
620 int selected; local
645 selected = item_activate_selected();
648 if (selected) {
657 if (selected) {
[all...]
/linux-master/fs/bcachefs/
H A Dprintbuf.c403 size_t selected)
408 bch2_prt_printf(out, i == selected ? "[%s] " : "%s ", list[i]);
401 bch2_prt_string_option(struct printbuf *out, const char * const list[], size_t selected) argument
/linux-master/drivers/spi/
H A Dspi-fsl-qspi.c274 int selected; member in struct:fsl_qspi
530 if (q->selected == spi_get_chipselect(spi, 0))
546 q->selected = spi_get_chipselect(spi, 0);
554 q->ahb_addr + q->selected * q->devtype_data->ahb_buf_size,
661 q->selected * q->devtype_data->ahb_buf_size + addr_offset,
794 q->selected = -1;
/linux-master/drivers/media/i2c/
H A Dtvaudio.c330 int mode, selected; local
358 selected = V4L2_TUNER_MODE_MONO;
362 selected = V4L2_TUNER_MODE_LANG1;
367 selected = V4L2_TUNER_MODE_LANG1;
369 selected = V4L2_TUNER_MODE_STEREO;
373 selected = V4L2_TUNER_MODE_LANG2;
375 selected = V4L2_TUNER_MODE_STEREO;
379 selected = V4L2_TUNER_MODE_LANG1_LANG2;
381 selected = V4L2_TUNER_MODE_STEREO;
383 desc->setaudmode(chip, selected);
[all...]
/linux-master/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_tc_flower.c21 bool selected; member in struct:sparx5_wildcard_rule
444 if (!mru->selected) {
445 mru->selected = true;
462 if (!mru->selected)
474 if (!mru->selected)
483 mru->selected = false; /* mark as done */
561 if (!multi->rule[idx].selected)
/linux-master/arch/arm/mm/
H A Dmmu.c143 int i, selected = -1; local
149 selected = i;
154 if (selected == -1)
164 if (cpu_architecture() >= CPU_ARCH_ARMv6 && selected != cachepolicy) {
170 if (selected != cachepolicy) {
171 unsigned long cr = __clear_cr(cache_policies[selected].cr_mask);
172 cachepolicy = selected;
/linux-master/tools/perf/arch/x86/util/
H A Diostat.c403 struct iio_root_port *rp = evlist->selected->priv;
462 perf_device = evlist->selected->priv;
/linux-master/tools/bpf/bpftool/
H A Dprog.c1975 bool selected; member in struct:profile_metric
2071 if (!metrics[i].selected)
2073 metrics[i].selected = true;
2119 if (!metrics[m].selected)
2143 if (!metrics[m].selected)
2166 if (!metrics[m].selected)
2171 if (r >= 0 && metrics[r].selected &&
2317 if (!metrics[m].selected)
/linux-master/drivers/media/platform/marvell/
H A Dmcam-core.h19 * base them entirely on which videobuf2 options have been selected.
35 #error One of the vb2 buffer modes must be selected in the config
/linux-master/drivers/scsi/fcoe/
H A Dfcoe_sysfs.c93 ((x)->selected)
516 fcoe_fcf_rd_attr(selected, "%u\n", 20);
1021 fcf->selected = new_fcf->selected;
/linux-master/drivers/block/
H A Damiflop.c281 static volatile int selected = -1; /* currently selected drive */ variable
401 if (drive == selected)
404 selected = drive;
426 if (drive != selected) {
427 printk(KERN_WARNING "Deselecting drive %d while %d was selected!\n",drive,selected);
434 selected = -1;
681 post_write_timer_drive = selected;

Completed in 278 milliseconds

12