Home
last modified time | relevance | path

Searched full:uv (Results 1 – 25 of 257) sorted by relevance

1234567891011

/freebsd/sys/contrib/openzfs/module/lua/
H A Dlfunc.c38 UpVal *uv = &luaC_newobj(L, LUA_TUPVAL, sizeof(UpVal), NULL, 0)->uv; in luaF_newupval() local
39 uv->v = &uv->u.value; in luaF_newupval()
40 setnilvalue(uv->v); in luaF_newupval()
41 return uv; in luaF_newupval()
49 UpVal *uv; in luaF_findupval() local
62 uv = &luaC_newobj(L, LUA_TUPVAL, sizeof(UpVal), pp, 0)->uv; in luaF_findupval()
63 uv->v = level; /* current value lives in the stack */ in luaF_findupval()
64 uv->u.l.prev = &g->uvhead; /* double link it in `uvhead' list */ in luaF_findupval()
65 uv->u.l.next = g->uvhead.u.l.next; in luaF_findupval()
66 uv->u.l.next->u.l.prev = uv; in luaF_findupval()
[all …]
/freebsd/contrib/libfido2/tools/
H A Dtest.sh15 # - can be executed with UV=1 to run additional UV tests;
176 if [ "x${UV}" != "x" ]; then
177 get_assert no.tld "-t uv=true" wrap-cred /dev/null wrap-assert
179 get_assert no.tld "-t uv=true -t pin=true" wrap-cred /dev/null wrap-assert
181 get_assert no.tld "-t uv=true -t pin=false" wrap-cred /dev/null wrap-assert
183 get_assert no.tld "-t uv=false" wrap-cred /dev/null wrap-assert
185 get_assert no.tld "-t uv=false -t pin=true" wrap-cred /dev/null wrap-assert
187 get_assert no.tld "-t uv=false -t pin=false" wrap-cred /dev/null wrap-assert
189 get_assert no.tld "-t up=true -t uv=true" wrap-cred /dev/null wrap-assert
191 get_assert no.tld "-t up=true -t uv=true -t pin=true" wrap-cred /dev/null wrap-assert
[all …]
H A Dtoken.c202 printf("platform uv attempt(s): %d\n", (int)uv_attempts); in print_uv_attempts()
214 printf("uv modality: 0x%x (", (int)uv_modality); in print_uv_modality()
416 printf("uv retries: undefined\n"); in token_info()
418 printf("uv retries: %d\n", retrycnt); in token_info()
420 /* print platform uv attempts */ in token_info()
423 /* print supported uv mechanisms */ in token_info()
508 int uv = 0; in token_set() local
549 uv = 1; in token_set()
577 if (ea || uv) in token_set()
587 if (uv) in token_set()
[all …]
H A Dassert_get.c21 fido_opt_t uv; member
66 else if (!strcmp(key, "uv")) in parse_toggle()
67 k = &opt->uv; in parse_toggle()
111 fprintf(stderr, "uv=%s\n", opt2str(opt->uv)); in prepare_assert()
127 if ((r = fido_assert_set_uv(assert, opt->uv)) != FIDO_OK) in prepare_assert()
227 opt.up = opt.uv = opt.pin = FIDO_OPT_OMIT; in assert_get()
259 /* -v implies both pin and uv for historical reasons */ in assert_get()
261 opt.uv = FIDO_OPT_TRUE; in assert_get()
/freebsd/contrib/lua/src/
H A Dlfunc.c52 UpVal *uv = gco2upv(o); in luaF_initupvals() local
53 uv->v.p = &uv->u.value; /* make it closed */ in luaF_initupvals()
54 setnilvalue(uv->v.p); in luaF_initupvals()
55 cl->upvals[i] = uv; in luaF_initupvals()
56 luaC_objbarrier(L, cl, uv); in luaF_initupvals()
67 UpVal *uv = gco2upv(o); in newupval() local
69 uv->v.p = s2v(level); /* current value lives in the stack */ in newupval()
70 uv->u.open.next = next; /* link it to list of open upvalues */ in newupval()
71 uv->u.open.previous = prev; in newupval()
73 next->u.open.previous = &uv->u.open.next; in newupval()
[all …]
/freebsd/lib/msun/src/
H A De_hypotl.c21 union IEEEl2bits uv; \
23 uv.e = v; \
24 h = uv.bits.manh; \
25 l = uv.bits.manl; \
98 union IEEEl2bits uv; in hypotl() local
99 uv.e = t1; uv.bits.manl = 0; t1 = uv.e; in hypotl()
105 union IEEEl2bits uv; in hypotl() local
106 uv.e = y1; uv.bits.manl = 0; y1 = uv.e; in hypotl()
109 uv.e = t1; uv.bits.manl = 0; t1 = uv.e; in hypotl()
/freebsd/stand/efi/libefi/
H A Defienv.c38 CHAR16 *uv; in efi_getenv() local
43 uv = NULL; in efi_getenv()
44 if (utf8_to_ucs2(v, &uv, &ul) != 0) in efi_getenv()
47 rv = RS->GetVariable(uv, g, &attr, &dl, data); in efi_getenv()
50 free(uv); in efi_getenv()
75 CHAR16 *uv; in efi_setenv() local
78 uv = NULL; in efi_setenv()
79 if (utf8_to_ucs2(varname, &uv, &ul) != 0) in efi_setenv()
82 rv = RS->SetVariable(uv, guid, attr, len, data); in efi_setenv()
83 free(uv); in efi_setenv()
/freebsd/sys/contrib/openzfs/module/unicode/
H A Du8_textprep.c461 do_case_conv(int uv, uchar_t *u8s, uchar_t *s, int sz, boolean_t is_it_toupper) in do_case_conv() argument
505 b1 = u8_common_b1_tbl[uv][b1]; in do_case_conv()
509 b2 = u8_case_common_b2_tbl[uv][b1][b2]; in do_case_conv()
514 b3_tbl = u8_toupper_b3_tbl[uv][b2][b3].tbl_id; in do_case_conv()
518 start_id = u8_toupper_b4_tbl[uv][b3_tbl][b4]; in do_case_conv()
519 end_id = u8_toupper_b4_tbl[uv][b3_tbl][b4 + 1]; in do_case_conv()
525 b3_base = u8_toupper_b3_tbl[uv][b2][b3].base; in do_case_conv()
528 u8s[i++] = u8_toupper_final_tbl[uv][b3_base + start_id]; in do_case_conv()
531 b3_tbl = u8_tolower_b3_tbl[uv][b2][b3].tbl_id; in do_case_conv()
535 start_id = u8_tolower_b4_tbl[uv][b3_tbl][b4]; in do_case_conv()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A Driscv_vector.td45 def : RVVOutBuiltin<"Uv", "UvPCUe", type>;
92 def : RVVBuiltin<"Uv", "UvPCUePz", type>;
107 def : RVVOutBuiltin<"Uv", "UvPCUet", type>;
123 def: RVVOutOp1Builtin<"v", "vPCe" # eew_type # "Uv", type>;
125 def: RVVOutOp1Builtin<"Uv", "UvPCUe" # eew_type # "Uv", type>;
135 def: RVVOutOp1Builtin<"v", "vPCe" # eew64_type # "Uv", type>;
137 def: RVVOutOp1Builtin<"Uv", "UvPCUe" # eew64_type # "Uv", type>;
171 def : RVVBuiltin<"Uv", "0PUeUv", type>;
200 def : RVVBuiltin<"Uv", "0PUetUv", type>;
232 def : RVVBuiltin<"Uv", "0PUe" # eew_type # "UvUv", type>;
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A Dbit.h105 uint16_t UV = V; in byteswap()
109 return _byteswap_ushort(UV);
111 uint16_t Hi = UV << 8; in has_single_bit()
112 uint16_t Lo = UV >> 8; in has_single_bit()
116 uint32_t UV = V; in count()
118 return __builtin_bswap32(UV); in count()
120 return _byteswap_ulong(UV); in count()
122 uint32_t Byte0 = UV & 0x000000FF; in count()
123 uint32_t Byte1 = UV & 0x0000FF00; in count()
124 uint32_t Byte2 = UV in count()
69 uint16_t UV = V; byteswap() local
80 uint32_t UV = V; byteswap() local
93 uint64_t UV = V; byteswap() local
[all...]
/freebsd/sys/contrib/device-tree/Bindings/mfd/
H A Drohm,bd96801-pmic.yaml101 regulator-uv-error-microvolt = <230000>;
112 regulator-uv-error-microvolt = <18000>;
123 regulator-uv-warn-microvolt = <18000>;
134 regulator-uv-warn-microvolt = <18000>;
145 regulator-uv-error-microvolt = <34000>;
156 regulator-uv-error-microvolt = <34000>;
167 regulator-uv-error-microvolt = <34000>;
/freebsd/sys/arm64/nvidia/tegra210/
H A Dtegra210_cpufreq.c181 int uv, scale, min_uvolt, max_uvolt, step_uvolt; in freq_to_voltage() local
198 /* uV = (c2 * speedo / scale + c1) * speedo / scale + c0) */ in freq_to_voltage()
199 uv = DIV_ROUND_CLOSEST(ent->c2 * sc->speedo_value, scale); in freq_to_voltage()
200 uv = DIV_ROUND_CLOSEST((uv + ent->c1) * sc->speedo_value, scale) + in freq_to_voltage()
204 uv = ROUND_UP(uv, step_uvolt); in freq_to_voltage()
209 if (uv < min_uvolt) in freq_to_voltage()
210 uv = min_uvolt; in freq_to_voltage()
211 if (uv > max_uvolt) in freq_to_voltage()
212 uv = max_uvolt; in freq_to_voltage()
213 return (uv); in freq_to_voltage()
/freebsd/sys/contrib/device-tree/src/arm/
H A Dcros-adc-thermistors.dtsi15 pullup-uv = <1800000>;
22 pullup-uv = <1800000>;
29 pullup-uv = <1800000>;
36 pullup-uv = <1800000>;
/freebsd/sys/contrib/device-tree/Bindings/power/supply/
H A Drt9455_charger.txt15 - richtek,battery-regulation-voltage: integer, maximum battery voltage in uV.
17 devices, when the charger is in boost mode, in uV.
20 - richtek,min-input-voltage-regulation: integer, input voltage level in uV, used to
25 Default: 4500000 uV (4.5V)
H A Drichtek,rt9455.yaml37 description: maximum battery voltage in uV.
42 maximum voltage provided to consumer devices, when the charger is in boost mode, in uV.
47 input voltage level in uV, used to decrease voltage level when the over current of the
49 current provided by the power source. Defaults to 4500000 uV (4.5V).
H A Dqcom_smbb.txt50 Value type: <u32>; uV; range [2.1V : 3.6V]
57 Value type: <u32>; uV; range [3.24V : 5V]
64 Value type: <u32>; uV; range [3.24V : 5V]
78 Value type: <u32>; uV; range [3.24V : 5V]
85 Value type: <u32>; uV; range [4.2V : 9.6V]
/freebsd/contrib/libfido2/examples/
H A Dassert.c43 const unsigned char *sig_ptr, size_t sig_len, bool up, bool uv, int ext, in verify_assert() argument
155 if (uv && (r = fido_assert_set_uv(assert, FIDO_OPT_TRUE)) != FIDO_OK) in verify_assert()
179 bool uv = false; in main() local
197 while ((ch = getopt(argc, argv, "P:T:a:b:h:ps:t:uv")) != -1) { in main()
256 uv = true; in main()
301 if (uv && (r = fido_assert_set_uv(assert, FIDO_OPT_TRUE)) != FIDO_OK) in main()
323 /* when verifying, pin implies uv */ in main()
325 uv = true; in main()
329 fido_assert_sig_len(assert, 0), up, uv, ext, argv[0]); in main()
H A Dcred.c47 bool rk, bool uv, int ext, int cred_protect, const char *key_out, in verify_cred() argument
86 if (uv && (r = fido_cred_set_uv(cred, FIDO_OPT_TRUE)) != FIDO_OK) in verify_cred()
153 bool uv = false; in main()
234 uv = true; in main()
289 if (uv && (r = fido_cred_set_uv(cred, FIDO_OPT_TRUE)) != FIDO_OK) in main()
312 /* when verifying, pin implies uv */
314 uv = true;
318 fido_cred_attstmt_len(cred), rk, uv, ext, fido_cred_prot(cred),
147 bool uv = false; main() local
/freebsd/contrib/libfido2/src/
H A Dassert.c89 fido_opt_t uv = assert->uv; in fido_dev_get_assert_tx()
131 if (pin != NULL || (uv == FIDO_OPT_TRUE && in fido_dev_get_assert_tx()
138 uv = FIDO_OPT_OMIT; in fido_dev_get_assert_tx()
142 if (assert->up != FIDO_OPT_OMIT || uv != FIDO_OPT_OMIT) in fido_dev_get_assert_tx()
143 if ((argv[4] = cbor_encode_assert_opt(assert->up, uv)) == NULL) { in fido_dev_get_assert_tx()
333 if (pin != NULL || (assert->uv == FIDO_OPT_TRUE && in fido_dev_get_assert()
358 fido_check_flags(uint8_t flags, fido_opt_t up, fido_opt_t uv) in fido_check_flags()
361 fido_log_debug("%s: up=%d, uv=%d", __func__, up, uv); in fido_check_flags()
85 fido_opt_t uv = assert->uv; fido_dev_get_assert_tx() local
354 fido_check_flags(uint8_t flags,fido_opt_t up,fido_opt_t uv) fido_check_flags() argument
702 fido_assert_set_options(fido_assert_t * assert,bool up,bool uv) fido_assert_set_options() argument
719 fido_assert_set_uv(fido_assert_t * assert,fido_opt_t uv) fido_assert_set_uv() argument
[all...]
/freebsd/sys/contrib/device-tree/Bindings/opp/
H A Dti-omap5-opp-supply.txt34 volt: voltage in uV - reference voltage (OPP voltage)
36 - ti,absolute-max-voltage-uv: absolute maximum voltage for the OPP supply.
57 /* uV offset */
62 ti,absolute-max-voltage-uv = <1500000>;
H A Dqcom-opp.txt18 a certain fuse corner/level. A fuse corner/level contains e.g. ref uV,
19 min uV, and max uV.
/freebsd/sys/arm/nvidia/tegra124/
H A Dtegra124_cpufreq.c224 int uv, scale, min_uvolt, max_uvolt, step_uvolt; in freq_to_voltage() local
240 /* uV = (c2 * speedo / scale + c1) * speedo / scale + c0) */ in freq_to_voltage()
241 uv = DIV_ROUND_CLOSEST(ent->c2 * sc->speedo_value, scale); in freq_to_voltage()
242 uv = DIV_ROUND_CLOSEST((uv + ent->c1) * sc->speedo_value, scale) + in freq_to_voltage()
246 uv = ROUND_UP(uv, step_uvolt); in freq_to_voltage()
251 if (uv < min_uvolt) in freq_to_voltage()
252 uv = min_uvolt; in freq_to_voltage()
253 if (uv > max_uvolt) in freq_to_voltage()
254 uv = max_uvolt; in freq_to_voltage()
255 return (uv); in freq_to_voltage()
/freebsd/sys/contrib/device-tree/src/arm/nxp/imx/
H A Dimx6q-cm-fx6.dts185 /* kHz uV */
192 /* ARM kHz SOC-PU uV */
207 /* kHz uV */
214 /* ARM kHz SOC-PU uV */
229 /* kHz uV */
236 /* ARM kHz SOC-PU uV */
251 /* kHz uV */
258 /* ARM kHz SOC-PU uV */
/freebsd/contrib/libfido2/fuzz/
H A Dfuzz_assert.c37 uint8_t uv; member
82 if (unpack_byte(v[0], &p->uv) < 0 || in unpack()
122 (argv[0] = pack_byte(p->uv)) == NULL || in pack()
207 const char *rp_id, int ext, uint8_t up, uint8_t uv, const char *pin, in get_assert() argument
226 if (uv & 1) in get_assert()
255 const unsigned char *sig_ptr, size_t sig_len, uint8_t up, uint8_t uv, in verify_assert() argument
276 if (uv & 1) in verify_assert()
457 get_assert(assert, p->opt, &p->cdh, p->rp_id, p->ext, p->up, p->uv, in test()
469 fido_assert_sig_len(assert, i), p->up, p->uv, p->ext, pk); in test()
507 mutate_byte(&p->uv); in mutate()
[all...]
H A Dfuzz_cred.c39 uint8_t uv; member
91 unpack_byte(v[3], &p->uv) < 0 || in unpack()
133 (argv[3] = pack_byte(p->uv)) == NULL || in pack()
217 int ext, uint8_t rk, uint8_t uv, const char *pin, uint8_t excl_count, in make_cred() argument
247 if (uv & 1) in make_cred()
273 size_t authdata_raw_len, int ext, uint8_t rk, uint8_t uv, in verify_cred() argument
307 if (uv & 1) in verify_cred()
377 p->rk, p->uv, p->pin, p->excl_count, &p->excl_cred); in test_cred()
384 fido_cred_authdata_raw_len(cred), p->ext, p->rk, p->uv, in test_cred()
456 mutate_byte(&p->uv); in mutate()

1234567891011