| /freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/json/ |
| H A D | tst.general.d.out | 4 sel |0| 9 sel |0| 11 sel |1| 13 sel |100| 15 sel |-1| 20 sel |0| 25 sel |0| 30 sel |0| 35 sel |0| 40 sel |0| [all …]
|
| /freebsd/tools/test/stress2/misc/ |
| H A D | ldt.sh | 65 s2ds(int sel) 68 return (LSEL(sel, SEL_UPL)); 72 readbyte(int sel, int offset) 81 : "=r"(res) : "r"(s2ds(sel)), "r"(offset)); 87 writebyte(int sel, int offset, unsigned char val) 95 : : "r"(s2ds(sel)), "r"(offset), "r"(val) : "memory"); 101 int sel; 125 if ((sel = i386_set_ldt(LDT_AUTO_ALLOC, descs, 1)) == -1) 127 else if (i386_get_ldt(sel, descsk, 1) == -1) { 129 sel = -1; [all …]
|
| /freebsd/contrib/bsddialog/lib/ |
| H A D | timebox.c | 99 int i, retval, sel; in bsddialog_timebox() local 123 sel = -1; in bsddialog_timebox() 127 drawsquare(conf, c[i].win, c[i].value, sel == i); in bsddialog_timebox() 153 sel = 0; in bsddialog_timebox() 158 sel++; in bsddialog_timebox() 159 focusbuttons = sel > 2 ? true : false; in bsddialog_timebox() 172 sel = 2; in bsddialog_timebox() 177 sel--; in bsddialog_timebox() 178 focusbuttons = sel < 0 ? true : false; in bsddialog_timebox() 186 c[sel].value = c[sel].value > 0 ? in bsddialog_timebox() [all …]
|
| H A D | datebox.c | 333 int retval, sel, yy, mm, dd; in bsddialog_calendar() local 360 sel = -1; in bsddialog_calendar() 363 drawsquare(conf, mm_win, RAISED, "%15s", mm, sel == 0); in bsddialog_calendar() 364 drawsquare(conf, yy_win, RAISED, "%15d", yy, sel == 1); in bsddialog_calendar() 365 print_calendar(conf, dd_win, yy, mm, dd, sel == 2); in bsddialog_calendar() 389 sel = 0; in bsddialog_calendar() 394 sel++; in bsddialog_calendar() 395 if (sel > 2) { in bsddialog_calendar() 397 sel = -1; in bsddialog_calendar() 409 sel = 0; in bsddialog_calendar() [all …]
|
| H A D | menubox.c | 69 int sel; /* current focus item, can be -1 */ member 473 if (m->ypad > m->sel && m->ypad > 0) in mixedlist_draw() 474 m->ypad = m->sel; in mixedlist_draw() 475 if ((int)(m->ypad + m->menurows) <= m->sel) in mixedlist_draw() 476 m->ypad = m->sel - m->menurows + 1; in mixedlist_draw() 529 m.sel = getfirst_with_default(m.nitems, m.pritems, ngroups, groups, in do_mixedlist() 531 if (m.sel >= 0) in do_mixedlist() 532 drawitem(d.conf, &m, m.sel, true); in do_mixedlist() 548 if (m.sel >= 0 && m.pritems[m.sel].type == MENUMODE) in do_mixedlist() 549 m.pritems[m.sel].on = true; in do_mixedlist() [all …]
|
| H A D | slider.c | 382 int retval, sel; in bsddialog_slider() local 426 sel = NULLWIN; in bsddialog_slider() 430 drawsquare(conf, start_win, RAISED, sel == START_WIN, "%15lu", *start); in bsddialog_slider() 431 drawsquare(conf, end_win, RAISED, sel == END_WIN, "%15lu", *end); in bsddialog_slider() 433 drawsquare(conf, step_win, RAISED, sel == STEP_WIN, "%15d", ctl.step); in bsddialog_slider() 435 end, sel == SLIDER_WIN); in bsddialog_slider() 459 sel = START_WIN; in bsddialog_slider() 464 sel++; in bsddialog_slider() 465 if ((sel + 1) > NWIN) { in bsddialog_slider() 467 sel = NULLWIN; in bsddialog_slider() [all …]
|
| H A D | formbox.c | 87 int sel; /* selected item in pritem, can be -1 */ member 381 f->sel = -1; in set_first_with_default() 384 f->sel = *focusitem; in set_first_with_default() 389 f->sel = i; in set_first_with_default() 649 if (f->sel != -1) { /* at least 1 writable item */ in form_draw() 654 curriteminview(f, &f->pritems[f->sel]); in form_draw() 657 DRAWITEM_TRICK(f, f->sel, focusinform); in form_draw() 658 } else if (f->sel == -1 && f->nitems > 0) { /* all read only */ in form_draw() 700 if (form.sel != -1) { in bsddialog_form() 703 item = &form.pritems[form.sel]; in bsddialog_form() [all …]
|
| /freebsd/contrib/openbsm/libbsm/ |
| H A D | bsm_flags.c | 56 char sel, sub; in getauditflagsbin() local 79 sel = AU_PRS_SUCCESS; in getauditflagsbin() 82 sel = AU_PRS_FAILURE; in getauditflagsbin() 85 sel = AU_PRS_BOTH; in getauditflagsbin() 89 SUB_FROM_MASK(masks, c.ac_class, sel); in getauditflagsbin() 91 ADD_TO_MASK(masks, c.ac_class, sel); in getauditflagsbin() 123 u_char sel; in getauditflagschar() local 137 sel = 0; in getauditflagschar() 143 sel |= ((c.ac_class & masks->am_success) == c.ac_class) ? in getauditflagschar() 145 sel |= ((c.ac_class & masks->am_failure) == c.ac_class) ? in getauditflagschar() [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/mmc/ |
| H A D | sdhci-am654.txt | 22 - ti,otap-del-sel-legacy 23 - ti,otap-del-sel-mmc-hs 24 - ti,otap-del-sel-sd-hs 25 - ti,otap-del-sel-sdr12 26 - ti,otap-del-sel-sdr25 27 - ti,otap-del-sel-sdr50 28 - ti,otap-del-sel-sdr104 29 - ti,otap-del-sel-ddr50 30 - ti,otap-del-sel-ddr52 31 - ti,otap-del-sel-hs200 [all …]
|
| /freebsd/sys/netpfil/ipfilter/netinet/ |
| H A D | ip_proxy.c | 1119 int sel, ch = 0, out, nlen; in ipf_proxy_fixseqack() local 1137 sel = aps->aps_sel[out]; in ipf_proxy_fixseqack() 1140 if ((aps->aps_seqmin[!sel] > aps->aps_seqmin[sel]) && in ipf_proxy_fixseqack() 1141 (seq1 > aps->aps_seqmin[!sel])) { in ipf_proxy_fixseqack() 1144 sel, !sel, seq1, in ipf_proxy_fixseqack() 1145 aps->aps_seqmin[!sel]); in ipf_proxy_fixseqack() 1146 sel = aps->aps_sel[out] = !sel; in ipf_proxy_fixseqack() 1149 if (aps->aps_seqoff[sel]) { in ipf_proxy_fixseqack() 1150 seq2 = aps->aps_seqmin[sel] - aps->aps_seqoff[sel]; in ipf_proxy_fixseqack() 1152 seq2 = aps->aps_seqoff[sel]; in ipf_proxy_fixseqack() [all …]
|
| H A D | ip_dstlist.c | 1065 ipf_dstnode_t *node, *sel; in ipf_dstlist_select() local 1082 sel = d->ipld_selected; in ipf_dstlist_select() 1083 if (sel == NULL) { in ipf_dstlist_select() 1084 sel = *d->ipld_dests; in ipf_dstlist_select() 1086 sel = sel->ipfd_next; in ipf_dstlist_select() 1087 if (sel == NULL) in ipf_dstlist_select() 1088 sel = *d->ipld_dests; in ipf_dstlist_select() 1094 sel = *d->ipld_dests; in ipf_dstlist_select() 1098 sel = d->ipld_selected; in ipf_dstlist_select() 1100 node = sel->ipfd_next; in ipf_dstlist_select() [all …]
|
| /freebsd/contrib/libedit/ |
| H A D | sig.c | 55 static EditLine *sel = NULL; variable 82 sel->el_signal->sig_no = signo; in sig_handler() 86 tty_rawmode(sel); in sig_handler() 87 if (ed_redisplay(sel, 0) == CC_REFRESH) in sig_handler() 88 re_refresh(sel); in sig_handler() 89 terminal__flush(sel); in sig_handler() 93 el_resize(sel); in sig_handler() 97 tty_cookedmode(sel); in sig_handler() 105 (void) sigaction(signo, &sel->el_signal->sig_action[i], NULL); in sig_handler() 106 sel->el_signal->sig_action[i].sa_handler = SIG_ERR; in sig_handler() [all …]
|
| /freebsd/sys/amd64/include/ |
| H A D | cpufunc.h | 552 u_short sel; in rfs() local 553 __asm __volatile("movw %%fs,%0" : "=rm" (sel)); in rfs() 554 return (sel); in rfs() 560 u_short sel; in rgs() local 561 __asm __volatile("movw %%gs,%0" : "=rm" (sel)); in rgs() 562 return (sel); in rgs() 568 u_short sel; in rss() local 569 __asm __volatile("movw %%ss,%0" : "=rm" (sel)); in rss() 570 return (sel); in rss() 576 u_short sel; in rcs() local [all …]
|
| /freebsd/usr.sbin/bhyve/amd64/ |
| H A D | task_switch.c | 95 #define SEL_START(sel) (((sel) & ~0x7)) argument 96 #define SEL_LIMIT(sel) (((sel) | 0x7)) argument 151 sel_exception(struct vcpu *vcpu, int vector, uint16_t sel, int ext) in sel_exception() argument 162 sel &= ~0x3; in sel_exception() 164 sel |= 0x1; in sel_exception() 165 vm_inject_fault(vcpu, vector, 1, sel); in sel_exception() 173 desc_table_limit_check(struct vcpu *vcpu, uint16_t sel) in desc_table_limit_check() argument 179 reg = ISLDT(sel) ? VM_REG_GUEST_LDTR : VM_REG_GUEST_GDTR; in desc_table_limit_check() 188 if (limit < SEL_LIMIT(sel)) in desc_table_limit_check() 204 uint16_t sel, struct user_segment_descriptor *desc, bool doread, in desc_table_rw() argument [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/net/ |
| H A D | cpsw-phy-sel.txt | 5 - compatible : Should be "ti,am3352-cpsw-phy-sel" for am335x platform and 6 "ti,dra7xx-cpsw-phy-sel" for dra7xx platform 7 "ti,am43xx-cpsw-phy-sel" for am43xx platform 18 phy_sel: cpsw-phy-sel@44e10650 { 19 compatible = "ti,am3352-cpsw-phy-sel"; 21 reg-names = "gmii-sel"; 25 phy_sel: cpsw-phy-sel@44e10650 { 26 compatible = "ti,am3352-cpsw-phy-sel"; 28 reg-names = "gmii-sel";
|
| /freebsd/contrib/libucl/tests/ |
| H A D | test_msgpack.c | 105 uint32_t sel; in main() local 141 sel = pcg32_random () % NTESTS; in main() 145 elt = tests[sel](); in main() 323 uint32_t cur_len, sel; in ucl_test_map() local 336 sel = pcg32_random () % NTESTS; in ucl_test_map() 337 if (tests[sel] != ucl_test_map && in ucl_test_map() 338 tests[sel] != ucl_test_array) { in ucl_test_map() 344 sel = pcg32_random () % NTESTS; in ucl_test_map() 348 cur = tests[sel](); in ucl_test_map() 355 cur = tests[sel](); in ucl_test_map() [all …]
|
| /freebsd/sys/dev/iicbus/pmic/ |
| H A D | fan53555.c | 166 fan53555_read_sel(struct fan53555_reg_sc *sc, uint8_t *sel) in fan53555_read_sel() argument 170 rv = fan53555_read(sc->base_dev, sc->live_reg, sel); in fan53555_read_sel() 173 *sel &= FAN53555_VSEL_MASK; in fan53555_read_sel() 178 fan53555_write_sel(struct fan53555_reg_sc *sc, uint8_t sel) in fan53555_write_sel() argument 187 reg |= sel; in fan53555_write_sel() 228 uint8_t sel; in fan53555_regnode_set_voltage() local 236 &sel); in fan53555_regnode_set_voltage() 240 rv = fan53555_write_sel(sc, sel); in fan53555_regnode_set_voltage() 241 dprintf(sc, "Regulator %s writing sel: 0x%02X\n", sc->name, sel); in fan53555_regnode_set_voltage() 243 fan53555_read_sel(sc, &sel); in fan53555_regnode_set_voltage() [all …]
|
| H A D | act8846_regulator.c | 241 act8846_read_sel(struct act8846_reg_sc *sc, uint8_t *sel) in act8846_read_sel() argument 245 rv = RD1(sc->base_sc, sc->def->voltage_reg, sel); in act8846_read_sel() 248 *sel &= sc->def->voltage_mask; in act8846_read_sel() 249 *sel >>= ffs(sc->def->voltage_mask) - 1; in act8846_read_sel() 254 act8846_write_sel(struct act8846_reg_sc *sc, uint8_t sel) in act8846_write_sel() argument 258 sel <<= ffs(sc->def->voltage_mask) - 1; in act8846_write_sel() 259 sel &= sc->def->voltage_mask; in act8846_write_sel() 262 sc->def->voltage_mask, sel); in act8846_write_sel() 297 uint8_t sel; in act8846_regnode_set_voltage() local 310 min_uvolt, max_uvolt, &sel); in act8846_regnode_set_voltage() [all …]
|
| /freebsd/sys/i386/include/ |
| H A D | cpufunc.h | 484 u_short sel; in rfs() local 485 __asm __volatile("movw %%fs,%0" : "=rm" (sel)); in rfs() 486 return (sel); in rfs() 500 u_short sel; in rgs() local 501 __asm __volatile("movw %%gs,%0" : "=rm" (sel)); in rgs() 502 return (sel); in rgs() 524 u_short sel; in rss() local 525 __asm __volatile("movw %%ss,%0" : "=rm" (sel)); in rss() 526 return (sel); in rss() 538 load_fs(u_short sel) in load_fs() argument [all …]
|
| /freebsd/contrib/arm-optimized-routines/string/arm/ |
| H A D | strlen-armv6t2.S | 65 sel data1a, const_0, const_m1 /* Select based on GE<0:3>. */ 67 sel data1b, data1a, const_m1 /* Only used if d1a == 0. */ 74 sel data1a, const_0, const_m1 /* Select based on GE<0:3>. */ 76 sel data1b, data1a, const_m1 /* Only used if d1a == 0. */ 83 sel data1a, const_0, const_m1 /* Select based on GE<0:3>. */ 85 sel data1b, data1a, const_m1 /* Only used if d1a == 0. */ 93 sel data1a, const_0, const_m1 /* Select based on GE<0:3>. */ 95 sel data1b, data1a, const_m1 /* Only used if d1a == 0. */
|
| /freebsd/sys/contrib/device-tree/Bindings/phy/ |
| H A D | ti-phy-gmii-sel.txt | 39 - compatible : Should be "ti,am3352-phy-gmii-sel" for am335x platform 40 "ti,dra7xx-phy-gmii-sel" for dra7xx/am57xx platform 41 "ti,am43xx-phy-gmii-sel" for am43xx platform 42 "ti,dm814-phy-gmii-sel" for dm814x platform 43 "ti,am654-phy-gmii-sel" for AM654x/J721E platform 50 phy_gmii_sel: phy-gmii-sel { 51 compatible = "ti,am3352-phy-gmii-sel";
|
| /freebsd/sys/i386/i386/ |
| H A D | db_interface.c | 91 int sel; in db_segsize() local 97 sel = tfp->tf_cs & 0xffff; in db_segsize() 98 if (sel == GSEL(GCODE_SEL, SEL_KPL)) in db_segsize() 101 if (ISLDT(sel)) { in db_segsize() 107 return (sdp[IDXSEL(sel)].sd_def32 == 0 ? 16 : 32); in db_segsize()
|
| /freebsd/crypto/openssl/crypto/asn1/ |
| H A D | tasn_utl.c | 31 int *sel = offset2ptr(*pval, it->utype); in ossl_asn1_get_choice_selector() local 33 return *sel; in ossl_asn1_get_choice_selector() 39 int *sel = offset2ptr(*pval, it->utype); in ossl_asn1_get_choice_selector_const() local 41 return *sel; in ossl_asn1_get_choice_selector_const() 51 int *sel, ret; in ossl_asn1_set_choice_selector() local 53 sel = offset2ptr(*pval, it->utype); in ossl_asn1_set_choice_selector() 54 ret = *sel; in ossl_asn1_set_choice_selector() 55 *sel = value; in ossl_asn1_set_choice_selector()
|
| /freebsd/sys/contrib/device-tree/src/arm64/freescale/ |
| H A D | fsl-lx2160a-tqmlx2160a-mblx2160a.dts | 114 ti,clk-output-sel = <DP83867_CLK_O_SEL_OFF>; 119 ti,clk-output-sel = <DP83867_CLK_O_SEL_OFF>; 124 ti,clk-output-sel = <DP83867_CLK_O_SEL_OFF>; 129 ti,clk-output-sel = <DP83867_CLK_O_SEL_OFF>; 134 ti,clk-output-sel = <DP83867_CLK_O_SEL_OFF>; 139 ti,clk-output-sel = <DP83867_CLK_O_SEL_OFF>; 148 ti,clk-output-sel = <DP83867_CLK_O_SEL_OFF>; 153 ti,clk-output-sel = <DP83867_CLK_O_SEL_OFF>; 160 ti,clk-output-sel = <DP83867_CLK_O_SEL_OFF>; 167 ti,clk-output-sel = <DP83867_CLK_O_SEL_OFF>;
|
| /freebsd/sys/contrib/device-tree/Bindings/sound/ |
| H A D | da7218.txt | 32 - dlg,mic1-amp-in-sel : Mic1 input source type 34 - dlg,mic2-amp-in-sel : Mic2 input source type 36 - dlg,dmic1-data-sel : DMIC1 channel select based on clock edge. 42 - dlg,dmic2-data-sel : DMic2 channel select based on clock edge. 86 dlg,mic1-amp-in-sel = "diff"; 87 dlg,mic2-amp-in-sel = "diff"; 89 dlg,dmic1-data-sel = "lrise_rfall"; 92 dlg,dmic2-data-sel = "lrise_rfall";
|