/netbsd/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce110/ |
H A D | amdgpu_dce110_opp_regamma_v.c | 146 params->arr_points[0].custom_float_x, in regamma_config_regions_and_segments() 163 params->arr_points[0].custom_float_slope, in regamma_config_regions_and_segments() 174 params->arr_points[1].custom_float_x, in regamma_config_regions_and_segments() 185 params->arr_points[1].custom_float_slope, in regamma_config_regions_and_segments() 191 params->arr_points[1].custom_float_y, in regamma_config_regions_and_segments() 199 curve = params->arr_curve_points; in regamma_config_regions_and_segments() 459 const struct pwl_params *params) in program_pwl() argument 480 params->rgb_resulted; in program_pwl() 482 while (i != params->hw_points_num) { in program_pwl() 502 const struct pwl_params *params) in dce110_opp_program_regamma_pwl_v() argument [all …]
|
/netbsd/crypto/external/bsd/openssl/dist/providers/implementations/rands/ |
H A D | test_rng.c | 80 const OSSL_PARAM params[]) in test_rng_instantiate() argument 84 if (!test_rng_set_ctx_params(t, params) || strength > t->strength) in test_rng_instantiate() 140 static int test_rng_get_ctx_params(void *vtest, OSSL_PARAM params[]) in test_rng_get_ctx_params() argument 145 p = OSSL_PARAM_locate(params, OSSL_RAND_PARAM_STATE); in test_rng_get_ctx_params() 149 p = OSSL_PARAM_locate(params, OSSL_RAND_PARAM_STRENGTH); in test_rng_get_ctx_params() 153 p = OSSL_PARAM_locate(params, OSSL_RAND_PARAM_MAX_REQUEST); in test_rng_get_ctx_params() 178 if (params == NULL) in test_rng_set_ctx_params() 181 p = OSSL_PARAM_locate_const(params, OSSL_RAND_PARAM_STRENGTH); in test_rng_set_ctx_params() 185 p = OSSL_PARAM_locate_const(params, OSSL_RAND_PARAM_TEST_ENTROPY); in test_rng_set_ctx_params() 196 p = OSSL_PARAM_locate_const(params, OSSL_RAND_PARAM_TEST_NONCE); in test_rng_set_ctx_params() [all …]
|
H A D | drbg.c | 86 OSSL_PARAM params[2] = { OSSL_PARAM_END, OSSL_PARAM_END }; in get_parent_strength() local 100 res = drbg->parent_get_ctx_params(parent, params); in get_parent_strength() 111 OSSL_PARAM params[2] = { OSSL_PARAM_END, OSSL_PARAM_END }; in get_parent_reseed_count() local 120 if (!drbg->parent_get_ctx_params(parent, params)) in get_parent_reseed_count() 864 p = OSSL_PARAM_locate(params, OSSL_RAND_PARAM_STATE); in ossl_drbg_get_ctx_params() 868 p = OSSL_PARAM_locate(params, OSSL_RAND_PARAM_STRENGTH); in ossl_drbg_get_ctx_params() 872 p = OSSL_PARAM_locate(params, OSSL_RAND_PARAM_MAX_REQUEST); in ossl_drbg_get_ctx_params() 892 p = OSSL_PARAM_locate(params, OSSL_DRBG_PARAM_MAX_PERSLEN); in ossl_drbg_get_ctx_params() 896 p = OSSL_PARAM_locate(params, OSSL_DRBG_PARAM_MAX_ADINLEN); in ossl_drbg_get_ctx_params() 904 p = OSSL_PARAM_locate(params, OSSL_DRBG_PARAM_RESEED_TIME); in ossl_drbg_get_ctx_params() [all …]
|
/netbsd/crypto/external/bsd/openssl/dist/providers/implementations/macs/ |
H A D | cmac_prov.c | 117 size_t keylen, const OSSL_PARAM params[]) in cmac_init() argument 121 if (!ossl_prov_is_running() || !cmac_set_ctx_params(macctx, params)) in cmac_init() 159 static int cmac_get_ctx_params(void *vmacctx, OSSL_PARAM params[]) in cmac_get_ctx_params() argument 163 if ((p = OSSL_PARAM_locate(params, OSSL_MAC_PARAM_SIZE)) != NULL in cmac_get_ctx_params() 167 if ((p = OSSL_PARAM_locate(params, OSSL_MAC_PARAM_BLOCK_SIZE)) != NULL in cmac_get_ctx_params() 189 static int cmac_set_ctx_params(void *vmacctx, const OSSL_PARAM params[]) in cmac_set_ctx_params() argument 195 if (params == NULL) in cmac_set_ctx_params() 198 if (!ossl_prov_cipher_load_from_params(&macctx->cipher, params, ctx)) in cmac_set_ctx_params() 201 if ((p = OSSL_PARAM_locate_const(params, OSSL_MAC_PARAM_KEY)) != NULL) { in cmac_set_ctx_params()
|
/netbsd/crypto/external/bsd/openssl/dist/crypto/ |
H A D | self_test_core.c | 30 OSSL_PARAM params[4]; member 88 st->params[n++] = in self_test_setparams() 91 st->params[n++] = in self_test_setparams() 94 st->params[n++] = in self_test_setparams() 98 st->params[n++] = OSSL_PARAM_construct_end(); in self_test_setparams() 131 (void)st->cb(st->params, st->cb_arg); in OSSL_SELF_TEST_onbegin() 145 (void)st->cb(st->params, st->cb_arg); in OSSL_SELF_TEST_onend() 166 if (!st->cb(st->params, st->cb_arg)) { in OSSL_SELF_TEST_oncorrupt_byte()
|
/netbsd/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
H A D | sanitizer_stoptheworld_fuchsia.cpp | 31 } params = {callback, argument}; in StopTheWorld() local 35 auto params = reinterpret_cast<Params *>(data); in StopTheWorld() local 36 params->callback(SuspendedThreadsListFuchsia(), params->argument); in StopTheWorld() 38 ¶ms); in StopTheWorld()
|
/netbsd/external/bsd/wpa/dist/wpa_supplicant/ |
H A D | wpa_supplicant.c | 2968 os_memset(¶ms, 0, sizeof(params)); in wpas_update_fils_connect_params() 3002 os_memset(¶ms, 0, sizeof(params)); in wpas_update_mbo_connect_params() 3059 os_memset(¶ms, 0, sizeof(params)); in wpas_start_assoc_cb() 3280 params.uapsd = -1; in wpas_start_assoc_cb() 4732 if (!params->htcaps || !params->htcaps_mask) in wpa_supplicant_apply_ht_overrides() 6381 if (params == NULL) in wpa_supplicant_init() 6424 global->params.daemonize = params->daemonize; in wpa_supplicant_init() 6425 global->params.wait_for_monitor = params->wait_for_monitor; in wpa_supplicant_init() 6426 global->params.dbus_ctrl_interface = params->dbus_ctrl_interface; in wpa_supplicant_init() 6428 global->params.pid_file = os_strdup(params->pid_file); in wpa_supplicant_init() [all …]
|
H A D | mesh_mpm.c | 441 os_memset(¶ms, 0, sizeof(params)); in wpa_mesh_set_plink_state() 442 params.addr = sta->addr; in wpa_mesh_set_plink_state() 443 params.plink_state = state; in wpa_mesh_set_plink_state() 445 params.set = 1; in wpa_mesh_set_plink_state() 665 os_memset(¶ms, 0, sizeof(params)); in mesh_mpm_auth_peer() 666 params.addr = sta->addr; in mesh_mpm_auth_peer() 668 params.set = 1; in mesh_mpm_auth_peer() 765 os_memset(¶ms, 0, sizeof(params)); in mesh_mpm_add_peer() 768 params.addr = addr; in mesh_mpm_add_peer() 770 params.aid = sta->aid; in mesh_mpm_add_peer() [all …]
|
H A D | autoscan_exponential.c | 25 const char *params) in autoscan_exponential_get_params() argument 29 if (params == NULL) in autoscan_exponential_get_params() 32 data->base = atoi(params); in autoscan_exponential_get_params() 34 pos = os_strchr(params, ':'); in autoscan_exponential_get_params() 46 const char *params) in autoscan_exponential_init() argument 54 if (autoscan_exponential_get_params(data, params) < 0) { in autoscan_exponential_init()
|
H A D | main_none.c | 18 struct wpa_params params; in main() local 21 memset(¶ms, 0, sizeof(params)); in main() 22 params.wpa_debug_level = MSG_INFO; in main() 24 global = wpa_supplicant_init(¶ms); in main()
|
/netbsd/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/xilinx/ |
H A D | zynqmp-zc1751-xm015-dc1.dts | 103 ceva,p0-cominit-params = /bits/ 8 <0x1B 0x4D 0x18 0x28>; 104 ceva,p0-comwake-params = /bits/ 8 <0x06 0x19 0x08 0x0E>; 105 ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>; 106 ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>; 107 ceva,p1-cominit-params = /bits/ 8 <0x1B 0x4D 0x18 0x28>; 108 ceva,p1-comwake-params = /bits/ 8 <0x06 0x19 0x08 0x0E>; 109 ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>; 110 ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
|
H A D | zynqmp-zc1751-xm017-dc3.dts | 117 ceva,p0-cominit-params = /bits/ 8 <0x1B 0x4D 0x18 0x28>; 118 ceva,p0-comwake-params = /bits/ 8 <0x06 0x19 0x08 0x0E>; 119 ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>; 120 ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>; 121 ceva,p1-cominit-params = /bits/ 8 <0x1B 0x4D 0x18 0x28>; 122 ceva,p1-comwake-params = /bits/ 8 <0x06 0x19 0x08 0x0E>; 123 ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>; 124 ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>;
|
/netbsd/external/bsd/wpa/dist/src/ap/ |
H A D | hw_features.c | 372 if (params->freqs == NULL) in ieee80211n_scan_channels_2g4() 383 params->freqs[pos++] = chan->freq; in ieee80211n_scan_channels_2g4() 389 struct wpa_driver_scan_params *params) in ieee80211n_scan_channels_5g() argument 413 if (params->freqs == NULL) in ieee80211n_scan_channels_5g() 424 params->freqs[pos++] = chan->freq; in ieee80211n_scan_channels_5g() 433 struct wpa_driver_scan_params params; in ap_ht40_scan_retry() local 436 os_memset(¶ms, 0, sizeof(params)); in ap_ht40_scan_retry() 444 os_free(params.freqs); in ap_ht40_scan_retry() 476 struct wpa_driver_scan_params params; in ieee80211n_check_40mhz() local 486 os_memset(¶ms, 0, sizeof(params)); in ieee80211n_check_40mhz() [all …]
|
/netbsd/crypto/external/bsd/openssl/dist/providers/implementations/kdfs/ |
H A D | tls1_prf.c | 137 const OSSL_PARAM params[]) in kdf_tls1_prf_derive() argument 141 if (!ossl_prov_is_running() || !kdf_tls1_prf_set_ctx_params(ctx, params)) in kdf_tls1_prf_derive() 167 static int kdf_tls1_prf_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in kdf_tls1_prf_set_ctx_params() argument 173 if (params == NULL) in kdf_tls1_prf_set_ctx_params() 176 if ((p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_DIGEST)) != NULL) { in kdf_tls1_prf_set_ctx_params() 178 if (!ossl_prov_macctx_load_from_params(&ctx->P_hash, params, in kdf_tls1_prf_set_ctx_params() 181 || !ossl_prov_macctx_load_from_params(&ctx->P_sha1, params, in kdf_tls1_prf_set_ctx_params() 187 if (!ossl_prov_macctx_load_from_params(&ctx->P_hash, params, in kdf_tls1_prf_set_ctx_params() 201 if ((p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_SEED)) != NULL) { in kdf_tls1_prf_set_ctx_params() 232 static int kdf_tls1_prf_get_ctx_params(void *vctx, OSSL_PARAM params[]) in kdf_tls1_prf_get_ctx_params() argument [all …]
|
H A D | sshkdf.c | 100 const OSSL_PARAM params[]) in kdf_sshkdf_derive() argument 105 if (!ossl_prov_is_running() || !kdf_sshkdf_set_ctx_params(ctx, params)) in kdf_sshkdf_derive() 135 static int kdf_sshkdf_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in kdf_sshkdf_set_ctx_params() argument 141 if (params == NULL) in kdf_sshkdf_set_ctx_params() 144 if (!ossl_prov_digest_load_from_params(&ctx->digest, params, provctx)) in kdf_sshkdf_set_ctx_params() 147 if ((p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_KEY)) != NULL) in kdf_sshkdf_set_ctx_params() 151 if ((p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_SSHKDF_XCGHASH)) in kdf_sshkdf_set_ctx_params() 156 if ((p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_SSHKDF_SESSION_ID)) in kdf_sshkdf_set_ctx_params() 161 if ((p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_SSHKDF_TYPE)) in kdf_sshkdf_set_ctx_params() 194 static int kdf_sshkdf_get_ctx_params(void *vctx, OSSL_PARAM params[]) in kdf_sshkdf_get_ctx_params() argument [all …]
|
H A D | x942kdf.c | 398 const OSSL_PARAM params[]) in x942kdf_derive() argument 407 if (!ossl_prov_is_running() || !x942kdf_set_ctx_params(ctx, params)) in x942kdf_derive() 469 static int x942kdf_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in x942kdf_set_ctx_params() argument 477 if (params == NULL) in x942kdf_set_ctx_params() 482 p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_SECRET); in x942kdf_set_ctx_params() 484 p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_KEY); in x942kdf_set_ctx_params() 488 p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_X942_ACVPINFO); in x942kdf_set_ctx_params() 495 p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_UKM); in x942kdf_set_ctx_params() 521 p = OSSL_PARAM_locate_const(params, OSSL_KDF_PARAM_CEK_ALG); in x942kdf_set_ctx_params() 562 static int x942kdf_get_ctx_params(void *vctx, OSSL_PARAM params[]) in x942kdf_get_ctx_params() argument [all …]
|
/netbsd/external/bsd/openldap/dist/servers/slapd/overlays/ |
H A D | otp.c | 595 Entry *params = NULL; in otp_hotp() local 616 ¶ms ) ) { in otp_hotp() 645 be_entry_release_r( op, params ); in otp_hotp() 646 params = NULL; in otp_hotp() 672 if ( params ) { in otp_hotp() 673 be_entry_release_r( op, params ); in otp_hotp() 682 Entry *params = NULL; in otp_totp() local 703 ¶ms ) ) { in otp_totp() 749 be_entry_release_r( op, params ); in otp_totp() 750 params = NULL; in otp_totp() [all …]
|
/netbsd/crypto/external/bsd/openssl/dist/providers/implementations/ciphers/ |
H A D | cipher_aes_xts.c | 70 const OSSL_PARAM params[], int enc) in aes_xts_init() argument 94 return aes_xts_set_ctx_params(ctx, params); in aes_xts_init() 99 const OSSL_PARAM params[]) in aes_xts_einit() argument 101 return aes_xts_init(vctx, key, keylen, iv, ivlen, params, 1); in aes_xts_einit() 106 const OSSL_PARAM params[]) in aes_xts_dinit() argument 108 return aes_xts_init(vctx, key, keylen, iv, ivlen, params, 0); in aes_xts_dinit() 231 static int aes_xts_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in aes_xts_set_ctx_params() argument 236 if (params == NULL) in aes_xts_set_ctx_params() 239 p = OSSL_PARAM_locate_const(params, OSSL_CIPHER_PARAM_KEYLEN); in aes_xts_set_ctx_params() 257 static int aes_##kbits##_##lcmode##_get_params(OSSL_PARAM params[]) \ [all …]
|
/netbsd/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/clk/ |
H A D | nouveau_nvkm_subdev_clk_gk20a.c | 123 min_vco_f = clk->params->min_vco; in gk20a_pllg_calc_mnp() 124 best_m = clk->params->max_m; in gk20a_pllg_calc_mnp() 125 best_n = clk->params->min_n; in gk20a_pllg_calc_mnp() 126 best_pl = clk->params->min_pl; in gk20a_pllg_calc_mnp() 149 for (m = clk->params->min_m; m <= clk->params->max_m; m++) { in gk20a_pllg_calc_mnp() 152 if (u_f < clk->params->min_u) in gk20a_pllg_calc_mnp() 154 if (u_f > clk->params->max_u) in gk20a_pllg_calc_mnp() 160 if (n > clk->params->max_n) in gk20a_pllg_calc_mnp() 166 if (n < clk->params->min_n) in gk20a_pllg_calc_mnp() 168 if (n > clk->params->max_n) in gk20a_pllg_calc_mnp() [all …]
|
/netbsd/crypto/external/bsd/openssl/dist/apps/ |
H A D | dsaparam.c | 70 EVP_PKEY *params = NULL, *pkey = NULL; in dsaparam_main() local 180 params = app_paramgen(ctx, "DSA"); in dsaparam_main() 182 params = load_keyparams(infile, informat, 1, "DSA", "DSA parameters"); in dsaparam_main() 184 if (params == NULL) { in dsaparam_main() 190 EVP_PKEY_print_params(out, params, 0, NULL); in dsaparam_main() 198 i = i2d_KeyParams_bio(out, params); in dsaparam_main() 200 i = PEM_write_bio_Parameters(out, params); in dsaparam_main() 208 ctx = EVP_PKEY_CTX_new_from_pkey(app_get0_libctx(), params, in dsaparam_main() 234 EVP_PKEY_free(params); in dsaparam_main()
|
/netbsd/crypto/external/bsd/openssl/dist/providers/implementations/exchange/ |
H A D | ecdh_exch.c | 102 int ecdh_init(void *vpecdhctx, void *vecdh, const OSSL_PARAM params[]) in ecdh_init() argument 115 return ecdh_set_ctx_params(pecdhctx, params) in ecdh_init() 228 int ecdh_set_ctx_params(void *vpecdhctx, const OSSL_PARAM params[]) in ecdh_set_ctx_params() argument 237 if (params == NULL) in ecdh_set_ctx_params() 276 p = OSSL_PARAM_locate_const(params, in ecdh_set_ctx_params() 303 p = OSSL_PARAM_locate_const(params, OSSL_EXCHANGE_PARAM_KDF_UKM); in ecdh_set_ctx_params() 336 int ecdh_get_ctx_params(void *vpecdhctx, OSSL_PARAM params[]) in ecdh_get_ctx_params() argument 357 p = OSSL_PARAM_locate(params, OSSL_EXCHANGE_PARAM_KDF_TYPE); in ecdh_get_ctx_params() 376 p = OSSL_PARAM_locate(params, OSSL_EXCHANGE_PARAM_KDF_DIGEST); in ecdh_get_ctx_params() 384 p = OSSL_PARAM_locate(params, OSSL_EXCHANGE_PARAM_KDF_OUTLEN); in ecdh_get_ctx_params() [all …]
|
/netbsd/sys/external/bsd/drm2/dist/drm/amd/display/dc/inc/hw/ |
H A D | dpp.h | 178 const struct pwl_params *params); 182 const struct pwl_params *params); 186 const struct pwl_params *params, 191 struct dc_bias_and_scale *params); 202 const struct pwl_params *params); 241 const struct pwl_params *params); 244 const struct pwl_params *params); 247 struct tetrahedral_params *params);
|
/netbsd/sys/arch/aarch64/aarch64/ |
H A D | syscall.c | 99 register_t *params = (void *)tf->tf_reg; in EMULNAME() local 108 params++; in EMULNAME() 122 code = *params++; in EMULNAME() 142 memcpy(args, params, nargs * sizeof(params[0])); in EMULNAME() 147 params = args; in EMULNAME() 152 error = sy_invoke(callp, l, params, rval, code); in EMULNAME()
|
/netbsd/external/bsd/wpa/dist/src/drivers/ |
H A D | driver_nl80211_android.c | 76 struct wpa_driver_scan_params *params) in android_pno_start() argument 91 while (i < WEXT_PNO_AMOUNT && (size_t) i < params->num_ssids) { in android_pno_start() 98 params->ssids[i].ssid, in android_pno_start() 99 params->ssids[i].ssid_len); in android_pno_start() 101 buf[bp++] = params->ssids[i].ssid_len; in android_pno_start() 102 os_memcpy(&buf[bp], params->ssids[i].ssid, in android_pno_start() 103 params->ssids[i].ssid_len); in android_pno_start() 104 bp += params->ssids[i].ssid_len; in android_pno_start()
|
/netbsd/crypto/external/bsd/openssl/dist/test/ |
H A D | provider_pkey_test.c | 186 OSSL_PARAM *params = NULL; in test_pkey_eq() local 196 if (!TEST_ptr(params = fake_rsa_key_params(0)) in test_pkey_eq() 201 params)) in test_pkey_eq() 207 OSSL_PARAM_free(params); in test_pkey_eq() 208 params = NULL; in test_pkey_eq() 211 if (!TEST_ptr(params = fake_rsa_key_params(0)) in test_pkey_eq() 216 params)) in test_pkey_eq() 222 OSSL_PARAM_free(params); in test_pkey_eq() 223 params = NULL; in test_pkey_eq() 236 OSSL_PARAM_free(params); in test_pkey_eq()
|