Searched refs:curve (Results 1 - 14 of 14) sorted by relevance

/openbsd-current/sys/dev/pci/drm/amd/display/dc/dcn20/
H A Ddcn20_dpp_cm.c579 const struct gamma_curve *curve; local
604 curve = params->arr_curve_points;
606 CM_SHAPER_RAMA_EXP_REGION0_LUT_OFFSET, curve[0].offset,
607 CM_SHAPER_RAMA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num,
608 CM_SHAPER_RAMA_EXP_REGION1_LUT_OFFSET, curve[1].offset,
609 CM_SHAPER_RAMA_EXP_REGION1_NUM_SEGMENTS, curve[1].segments_num);
611 curve += 2;
613 CM_SHAPER_RAMA_EXP_REGION2_LUT_OFFSET, curve[0].offset,
614 CM_SHAPER_RAMA_EXP_REGION2_NUM_SEGMENTS, curve[0].segments_num,
615 CM_SHAPER_RAMA_EXP_REGION3_LUT_OFFSET, curve[
729 const struct gamma_curve *curve; local
[all...]
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dcn32/
H A Ddcn32_mpc.c344 const struct gamma_curve *curve; local
367 curve = params->arr_curve_points;
369 MPCC_MCM_SHAPER_RAMA_EXP_REGION0_LUT_OFFSET, curve[0].offset,
370 MPCC_MCM_SHAPER_RAMA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num,
371 MPCC_MCM_SHAPER_RAMA_EXP_REGION1_LUT_OFFSET, curve[1].offset,
372 MPCC_MCM_SHAPER_RAMA_EXP_REGION1_NUM_SEGMENTS, curve[1].segments_num);
374 curve += 2;
376 MPCC_MCM_SHAPER_RAMA_EXP_REGION0_LUT_OFFSET, curve[0].offset,
377 MPCC_MCM_SHAPER_RAMA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num,
378 MPCC_MCM_SHAPER_RAMA_EXP_REGION1_LUT_OFFSET, curve[
494 const struct gamma_curve *curve; local
[all...]
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dce110/
H A Ddce110_opp_regamma_v.c118 * build regamma curve by using predefined hw points
133 const struct gamma_curve *curve; local
192 curve = params->arr_curve_points;
198 curve[0].offset,
204 curve[0].segments_num,
210 curve[1].offset,
216 curve[1].segments_num,
226 curve += 2;
231 curve[0].offset,
237 curve[
[all...]
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dcn30/
H A Ddcn30_dpp.c863 const struct gamma_curve *curve; local
888 curve = params->arr_curve_points;
890 CM_SHAPER_RAMA_EXP_REGION0_LUT_OFFSET, curve[0].offset,
891 CM_SHAPER_RAMA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num,
892 CM_SHAPER_RAMA_EXP_REGION1_LUT_OFFSET, curve[1].offset,
893 CM_SHAPER_RAMA_EXP_REGION1_NUM_SEGMENTS, curve[1].segments_num);
895 curve += 2;
897 CM_SHAPER_RAMA_EXP_REGION2_LUT_OFFSET, curve[0].offset,
898 CM_SHAPER_RAMA_EXP_REGION2_NUM_SEGMENTS, curve[0].segments_num,
899 CM_SHAPER_RAMA_EXP_REGION3_LUT_OFFSET, curve[
1013 const struct gamma_curve *curve; local
[all...]
H A Ddcn30_mpc.c481 const struct gamma_curve *curve; local
504 curve = params->arr_curve_points;
506 MPC_RMU_SHAPER_RAMA_EXP_REGION0_LUT_OFFSET, curve[0].offset,
507 MPC_RMU_SHAPER_RAMA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num,
508 MPC_RMU_SHAPER_RAMA_EXP_REGION1_LUT_OFFSET, curve[1].offset,
509 MPC_RMU_SHAPER_RAMA_EXP_REGION1_NUM_SEGMENTS, curve[1].segments_num);
511 curve += 2;
513 MPC_RMU_SHAPER_RAMA_EXP_REGION0_LUT_OFFSET, curve[0].offset,
514 MPC_RMU_SHAPER_RAMA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num,
515 MPC_RMU_SHAPER_RAMA_EXP_REGION1_LUT_OFFSET, curve[
630 const struct gamma_curve *curve; local
[all...]
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dce/
H A Ddce_transform.c1483 const struct gamma_curve *curve; local
1499 curve = params->arr_curve_points;
1502 REGAMMA_CNTLA_EXP_REGION0_LUT_OFFSET, curve[0].offset,
1503 REGAMMA_CNTLA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num,
1504 REGAMMA_CNTLA_EXP_REGION1_LUT_OFFSET, curve[1].offset,
1505 REGAMMA_CNTLA_EXP_REGION1_NUM_SEGMENTS, curve[1].segments_num);
1506 curve += 2;
1509 REGAMMA_CNTLA_EXP_REGION0_LUT_OFFSET, curve[0].offset,
1510 REGAMMA_CNTLA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num,
1511 REGAMMA_CNTLA_EXP_REGION1_LUT_OFFSET, curve[
[all...]
/openbsd-current/lib/libcrypto/ec/
H A Dec_asn1.c121 X9_62_CURVE *curve; member in struct:ec_parameters_st
381 .offset = offsetof(ECPARAMETERS, curve),
382 .field_name = "curve",
605 ec_asn1_group2curve(const EC_GROUP *group, X9_62_CURVE *curve) argument
614 if (!group || !curve || !curve->a || !curve->b)
663 if (!ASN1_STRING_set(curve->a, a_buf, len_1) ||
664 !ASN1_STRING_set(curve->b, b_buf, len_2)) {
669 ASN1_BIT_STRING_free(curve
[all...]
H A Dec_curve.c67 * The elliptic curve binary polynomial software is originally written by
1809 .comment = "SECG/WTLS curve over a 112 bit prime field",
1823 .comment = "SECG curve over a 112 bit prime field",
1837 .comment = "SECG curve over a 128 bit prime field",
1851 .comment = "SECG curve over a 128 bit prime field",
1865 .comment = "SECG curve over a 160 bit prime field",
1877 .comment = "SECG curve over a 160 bit prime field",
1891 .comment = "SECG/WTLS curve over a 160 bit prime field",
1906 .comment = "SECG curve over a 192 bit prime field",
1918 .comment = "SECG curve ove
2334 ec_group_new_from_data(const struct ec_list_element *curve) argument
[all...]
/openbsd-current/usr.bin/ssh/
H A Dssh-ecdsa.c153 char *curve = NULL; local
157 if ((r = sshbuf_get_cstring(b, &curve, NULL)) != 0)
159 if (key->ecdsa_nid != sshkey_curve_name_to_nid(curve)) {
183 free(curve);
/openbsd-current/sys/dev/pci/drm/amd/display/modules/color/
H A Dcolor_gamma.c1047 * because the last point in the curve must be such that
1078 static bool build_degamma(struct pwl_float_data_ex *curve, argument
1099 curve[i].r = dc_fixpt_zero;
1100 curve[i].g = dc_fixpt_zero;
1101 curve[i].b = dc_fixpt_zero;
1106 curve[i].r = translate_to_linear_space_ex(
1108 curve[i].g = curve[i].r;
1109 curve[i].b = curve[
1882 struct pwl_float_data_ex *curve = NULL; local
[all...]
/openbsd-current/lib/libtls/
H A Dtls_config.c555 tls_config_set_ecdhecurve(struct tls_config *config, const char *curve) argument
557 if (curve == NULL ||
558 strcasecmp(curve, "none") == 0 ||
559 strcasecmp(curve, "auto") == 0) {
560 curve = TLS_ECDHE_CURVES;
561 } else if (strchr(curve, ',') != NULL || strchr(curve, ':') != NULL) {
563 "invalid ecdhe curve '%s'", curve);
567 return tls_config_set_ecdhecurves(config, curve);
[all...]
/openbsd-current/regress/usr.bin/ssh/unittests/sshkey/
H A Dmktestdata.sh60 sed 's/.*: //;s/ *$//' | tr -d '\n' > ${_outbase}.curve
61 for x in priv pub curve ; do
/openbsd-current/regress/lib/libcrypto/ec/
H A Dec_point_conversion.c112 test_random_points_on_curve(EC_builtin_curve *curve) argument
121 if ((group = EC_GROUP_new_by_curve_name(curve->nid)) == NULL)
123 OBJ_nid2sn(curve->nid));
/openbsd-current/regress/usr.bin/openssl/
H A Dappstest.sh335 for curve in $ec_curves ;
337 ecparam=$key_dir/ecparam_$curve.pem
339 echo -n "ec - $curve ... ecparam ... "
340 $openssl_bin ecparam -out $ecparam -name $curve -genkey \

Completed in 292 milliseconds