Searched refs:selected (Results 1 - 25 of 42) sorted by last modified time

12

/linux-master/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_tc_flower.c21 bool selected; member in struct:sparx5_wildcard_rule
440 if (!mru->selected) {
441 mru->selected = true;
458 if (!mru->selected)
470 if (!mru->selected)
479 mru->selected = false; /* mark as done */
557 if (!multi->rule[idx].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"
640 int selected; local
665 selected = item_activate_selected();
668 if (selected) {
677 if (selected) {
[all...]
/linux-master/scripts/kconfig/lxdialog/
H A Dutil.c416 void print_button(WINDOW * win, const char *label, int y, int x, int selected) argument
421 wattrset(win, selected ? dlg.button_active.atr
426 wattrset(win, selected ? dlg.button_label_active.atr
430 wattrset(win, selected ? dlg.button_key_active.atr
433 wattrset(win, selected ? dlg.button_label_active.atr
436 wattrset(win, selected ? dlg.button_active.atr
617 item_cur->node.selected = val;
676 return (item_cur->node.selected != 0);
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 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 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 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...]
/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;
H A Dfcoe_ctlr.c182 temp->selected = 0; /* default to unselected */
343 printk(KERN_INFO "libfcoe: host%d: FIP selected "
516 * fcoe_ctlr_send_keep_alive() - Send a keep-alive to the selected FCF
1334 "selected yet\n");
1342 * If we've selected an FCF check that the CVL is from there to avoid
1606 * Returns the selected FCF, or NULL if none are usable.
1610 * If there is already a selected FCF, this will choose a better one or
1765 LIBFCOE_FIP_DBG(fip, "No FCF selected - defer send\n");
2421 * Our selected address is never a "recorded" one, so
3225 fcf_dev->selected
[all...]
/linux-master/tools/perf/util/
H A Dstat-display.c640 os->evsel->priv != os->evsel->evlist->selected->priv)
1558 evlist->selected = evlist__first(evlist);
H A Devlist.c133 * @evlist: selected event list
1312 evlist->selected = evsel;
H A Devlist.h67 struct evsel *selected; member in struct:evlist
H A Dauxtrace.c2335 bool selected; member in struct:sym_args
2354 (args->selected && ++(args->cnt) == args->idx) ||
2355 (!args->global && !args->selected));
2365 if (args->selected) {
2417 .selected = idx > 0,
/linux-master/tools/perf/
H A Dbuiltin-top.c599 if (t->evlist->selected != NULL)
600 t->sym_evsel = t->evlist->selected;
/linux-master/drivers/spi/
H A Dspi-nxp-fspi.c392 int selected; member in struct:nxp_fspi
692 * Mark FLSHxxCR0 as zero initially and then assign value only to the selected
707 * Return, if previously selected target device is same as current
710 if (f->selected == spi_get_chipselect(spi, 0))
725 dev_dbg(f->dev, "Target device [CS:%x] selected\n", spi_get_chipselect(spi, 0));
744 f->selected = spi_get_chipselect(spi, 0);
1100 f->selected = -1;
/linux-master/drivers/power/supply/
H A Dab8500_fg.c1946 int selected; local
1960 selected = BATT_OK_MIN + cbp_sel0 * BATT_OK_INCREMENT;
1962 if (selected != sel0)
1964 sel0, selected, cbp_sel0);
1966 selected = BATT_OK_MIN + cbp_sel1 * BATT_OK_INCREMENT;
1968 if (selected != sel1)
1970 sel1, selected, cbp_sel1);
/linux-master/drivers/platform/x86/
H A Dthinkpad_acpi.c6974 "driver auto-selected brightness_mode=%d\n",
7731 "driver auto-selected volume_mode=%d\n",
9862 int selected, battery, ret = 0; local
9867 selected = power_supply_charge_behaviour_parse(available, buf);
9869 if (selected < 0)
9870 return selected;
9872 switch (selected) {
9896 dev_err(dev, "Unexpected charge behaviour: %d\n", selected);
/linux-master/drivers/md/bcache/
H A Dsysfs.c158 size_t selected)
165 i == selected ? "[%s] " : "%s ", list[i]);
155 bch_snprint_string_list(char *buf, size_t size, const char * const list[], size_t selected) argument
/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/bpf/bpftool/
H A Dprog.c1972 bool selected; member in struct:profile_metric
2068 if (!metrics[i].selected)
2070 metrics[i].selected = true;
2116 if (!metrics[m].selected)
2140 if (!metrics[m].selected)
2163 if (!metrics[m].selected)
2168 if (r >= 0 && metrics[r].selected &&
2314 if (!metrics[m].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;
/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/gpu/drm/i915/gt/uc/
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...]
H A Dintel_guc_slpc.c53 slpc->selected = __guc_slpc_selected(guc);

Completed in 564 milliseconds

12