Home
last modified time | relevance | path

Searched refs:curve (Results 1 – 25 of 34) sorted by relevance

12

/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_dpp_cm.c579 const struct gamma_curve *curve; in dpp20_program_shaper_luta_settings() local
604 curve = params->arr_curve_points; in dpp20_program_shaper_luta_settings()
606 CM_SHAPER_RAMA_EXP_REGION0_LUT_OFFSET, curve[0].offset, in dpp20_program_shaper_luta_settings()
607 CM_SHAPER_RAMA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num, in dpp20_program_shaper_luta_settings()
608 CM_SHAPER_RAMA_EXP_REGION1_LUT_OFFSET, curve[1].offset, in dpp20_program_shaper_luta_settings()
609 CM_SHAPER_RAMA_EXP_REGION1_NUM_SEGMENTS, curve[1].segments_num); in dpp20_program_shaper_luta_settings()
611 curve += 2; in dpp20_program_shaper_luta_settings()
613 CM_SHAPER_RAMA_EXP_REGION2_LUT_OFFSET, curve[0].offset, in dpp20_program_shaper_luta_settings()
614 CM_SHAPER_RAMA_EXP_REGION2_NUM_SEGMENTS, curve[0].segments_num, in dpp20_program_shaper_luta_settings()
615 CM_SHAPER_RAMA_EXP_REGION3_LUT_OFFSET, curve[1].offset, in dpp20_program_shaper_luta_settings()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn32/
H A Ddcn32_mpc.c344 const struct gamma_curve *curve; in mpc32_program_shaper_luta_settings() local
367 curve = params->arr_curve_points; in mpc32_program_shaper_luta_settings()
369 MPCC_MCM_SHAPER_RAMA_EXP_REGION0_LUT_OFFSET, curve[0].offset, in mpc32_program_shaper_luta_settings()
370 MPCC_MCM_SHAPER_RAMA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num, in mpc32_program_shaper_luta_settings()
371 MPCC_MCM_SHAPER_RAMA_EXP_REGION1_LUT_OFFSET, curve[1].offset, in mpc32_program_shaper_luta_settings()
372 MPCC_MCM_SHAPER_RAMA_EXP_REGION1_NUM_SEGMENTS, curve[1].segments_num); in mpc32_program_shaper_luta_settings()
374 curve += 2; in mpc32_program_shaper_luta_settings()
376 MPCC_MCM_SHAPER_RAMA_EXP_REGION0_LUT_OFFSET, curve[0].offset, in mpc32_program_shaper_luta_settings()
377 MPCC_MCM_SHAPER_RAMA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num, in mpc32_program_shaper_luta_settings()
378 MPCC_MCM_SHAPER_RAMA_EXP_REGION1_LUT_OFFSET, curve[1].offset, in mpc32_program_shaper_luta_settings()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_mpc.c481 const struct gamma_curve *curve; in mpc3_program_shaper_luta_settings() local
504 curve = params->arr_curve_points; in mpc3_program_shaper_luta_settings()
506 MPC_RMU_SHAPER_RAMA_EXP_REGION0_LUT_OFFSET, curve[0].offset, in mpc3_program_shaper_luta_settings()
507 MPC_RMU_SHAPER_RAMA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num, in mpc3_program_shaper_luta_settings()
508 MPC_RMU_SHAPER_RAMA_EXP_REGION1_LUT_OFFSET, curve[1].offset, in mpc3_program_shaper_luta_settings()
509 MPC_RMU_SHAPER_RAMA_EXP_REGION1_NUM_SEGMENTS, curve[1].segments_num); in mpc3_program_shaper_luta_settings()
511 curve += 2; in mpc3_program_shaper_luta_settings()
513 MPC_RMU_SHAPER_RAMA_EXP_REGION0_LUT_OFFSET, curve[0].offset, in mpc3_program_shaper_luta_settings()
514 MPC_RMU_SHAPER_RAMA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num, in mpc3_program_shaper_luta_settings()
515 MPC_RMU_SHAPER_RAMA_EXP_REGION1_LUT_OFFSET, curve[1].offset, in mpc3_program_shaper_luta_settings()
[all …]
H A Ddcn30_dpp.c863 const struct gamma_curve *curve; in dpp3_program_shaper_luta_settings() local
888 curve = params->arr_curve_points; in dpp3_program_shaper_luta_settings()
890 CM_SHAPER_RAMA_EXP_REGION0_LUT_OFFSET, curve[0].offset, in dpp3_program_shaper_luta_settings()
891 CM_SHAPER_RAMA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num, in dpp3_program_shaper_luta_settings()
892 CM_SHAPER_RAMA_EXP_REGION1_LUT_OFFSET, curve[1].offset, in dpp3_program_shaper_luta_settings()
893 CM_SHAPER_RAMA_EXP_REGION1_NUM_SEGMENTS, curve[1].segments_num); in dpp3_program_shaper_luta_settings()
895 curve += 2; in dpp3_program_shaper_luta_settings()
897 CM_SHAPER_RAMA_EXP_REGION2_LUT_OFFSET, curve[0].offset, in dpp3_program_shaper_luta_settings()
898 CM_SHAPER_RAMA_EXP_REGION2_NUM_SEGMENTS, curve[0].segments_num, in dpp3_program_shaper_luta_settings()
899 CM_SHAPER_RAMA_EXP_REGION3_LUT_OFFSET, curve[1].offset, in dpp3_program_shaper_luta_settings()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce110/
H A Ddce110_opp_regamma_v.c133 const struct gamma_curve *curve; in regamma_config_regions_and_segments() local
192 curve = params->arr_curve_points; in regamma_config_regions_and_segments()
198 curve[0].offset, in regamma_config_regions_and_segments()
204 curve[0].segments_num, in regamma_config_regions_and_segments()
210 curve[1].offset, in regamma_config_regions_and_segments()
216 curve[1].segments_num, in regamma_config_regions_and_segments()
226 curve += 2; in regamma_config_regions_and_segments()
231 curve[0].offset, in regamma_config_regions_and_segments()
237 curve[0].segments_num, in regamma_config_regions_and_segments()
243 curve[1].offset, in regamma_config_regions_and_segments()
[all …]
/openbmc/linux/drivers/crypto/intel/keembay/
H A Dkeembay-ocs-ecc.c101 const struct ecc_curve *curve; member
224 const struct ecc_curve *curve) in kmb_ecc_point_mult() argument
227 u32 op_size = (curve->g.ndigits > ECC_CURVE_NIST_P256_DIGITS) ? in kmb_ecc_point_mult()
229 size_t nbytes = digits_to_bytes(curve->g.ndigits); in kmb_ecc_point_mult()
275 curve->p, nbytes); in kmb_ecc_point_mult()
279 curve->a, nbytes); in kmb_ecc_point_mult()
307 const struct ecc_curve *curve, in kmb_ecc_do_scalar_op() argument
333 curve->p, nbytes); in kmb_ecc_do_scalar_op()
350 const struct ecc_curve *curve, in kmb_ocs_ecc_is_pubkey_valid_partial() argument
358 if (WARN_ON(pk->ndigits != curve->g.ndigits)) in kmb_ocs_ecc_is_pubkey_valid_partial()
[all …]
/openbmc/linux/crypto/
H A Decc.c933 const struct ecc_curve *curve) in vli_mmod_fast() argument
936 const u64 *curve_prime = curve->p; in vli_mmod_fast()
937 const unsigned int ndigits = curve->g.ndigits; in vli_mmod_fast()
940 if (strncmp(curve->name, "nist_", 5) != 0) { in vli_mmod_fast()
989 const struct ecc_curve *curve) in vli_mod_mult_fast() argument
993 vli_mult(product, left, right, curve->g.ndigits); in vli_mod_mult_fast()
994 vli_mmod_fast(result, product, curve); in vli_mod_mult_fast()
999 const struct ecc_curve *curve) in vli_mod_square_fast() argument
1003 vli_square(product, left, curve->g.ndigits); in vli_mod_square_fast()
1004 vli_mmod_fast(result, product, curve); in vli_mod_square_fast()
[all …]
H A Decdsa.c18 const struct ecc_curve *curve; member
27 const struct ecc_curve *curve; member
69 sig->curve->g.ndigits); in ecdsa_get_signature_r()
78 sig->curve->g.ndigits); in ecdsa_get_signature_s()
83 const struct ecc_curve *curve = ctx->curve; in _ecdsa_verify() local
84 unsigned int ndigits = curve->g.ndigits; in _ecdsa_verify()
93 if (vli_is_zero(r, ndigits) || vli_cmp(r, curve->n, ndigits) >= 0 || in _ecdsa_verify()
94 vli_is_zero(s, ndigits) || vli_cmp(s, curve->n, ndigits) >= 0) in _ecdsa_verify()
102 vli_mod_inv(s1, s, curve->n, ndigits); in _ecdsa_verify()
104 vli_mod_mult_slow(u1, hash, s1, curve->n, ndigits); in _ecdsa_verify()
[all …]
H A Decrdsa.c38 const struct ecc_curve *curve; /* curve from oid */ member
92 if (!ctx->curve || in ecrdsa_verify()
97 req->dst_len != ctx->curve->g.ndigits * sizeof(u64) || in ecrdsa_verify()
98 ctx->pub_key.ndigits != ctx->curve->g.ndigits || in ecrdsa_verify()
116 vli_cmp(r, ctx->curve->n, ndigits) >= 0 || in ecrdsa_verify()
118 vli_cmp(s, ctx->curve->n, ndigits) >= 0) in ecrdsa_verify()
124 if (vli_cmp(e, ctx->curve->n, ndigits) >= 0) in ecrdsa_verify()
125 vli_sub(e, e, ctx->curve->n, ndigits); in ecrdsa_verify()
130 vli_mod_inv(v, e, ctx->curve->n, ndigits); in ecrdsa_verify()
133 vli_mod_mult_slow(z1, s, v, ctx->curve->n, ndigits); in ecrdsa_verify()
[all …]
H A Decrdsa_params.asn12 curve OBJECT IDENTIFIER ({ ecrdsa_param_curve }),
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_transform.c1483 const struct gamma_curve *curve; in regamma_config_regions_and_segments() local
1499 curve = params->arr_curve_points; in regamma_config_regions_and_segments()
1502 REGAMMA_CNTLA_EXP_REGION0_LUT_OFFSET, curve[0].offset, in regamma_config_regions_and_segments()
1503 REGAMMA_CNTLA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num, in regamma_config_regions_and_segments()
1504 REGAMMA_CNTLA_EXP_REGION1_LUT_OFFSET, curve[1].offset, in regamma_config_regions_and_segments()
1505 REGAMMA_CNTLA_EXP_REGION1_NUM_SEGMENTS, curve[1].segments_num); in regamma_config_regions_and_segments()
1506 curve += 2; in regamma_config_regions_and_segments()
1509 REGAMMA_CNTLA_EXP_REGION0_LUT_OFFSET, curve[0].offset, in regamma_config_regions_and_segments()
1510 REGAMMA_CNTLA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num, in regamma_config_regions_and_segments()
1511 REGAMMA_CNTLA_EXP_REGION1_LUT_OFFSET, curve[1].offset, in regamma_config_regions_and_segments()
[all …]
/openbmc/linux/include/crypto/internal/
H A Decc.h143 int ecc_is_pubkey_valid_partial(const struct ecc_curve *curve,
157 int ecc_is_pubkey_valid_full(const struct ecc_curve *curve,
289 const struct ecc_curve *curve);
/openbmc/linux/drivers/gpu/drm/amd/display/modules/color/
H A Dcolor_gamma.c1078 static bool build_degamma(struct pwl_float_data_ex *curve, in build_degamma() argument
1099 curve[i].r = dc_fixpt_zero; in build_degamma()
1100 curve[i].g = dc_fixpt_zero; in build_degamma()
1101 curve[i].b = dc_fixpt_zero; in build_degamma()
1106 curve[i].r = translate_to_linear_space_ex( in build_degamma()
1108 curve[i].g = curve[i].r; in build_degamma()
1109 curve[i].b = curve[i].r; in build_degamma()
1113 curve[i].r = dc_fixpt_one; in build_degamma()
1114 curve[i].g = dc_fixpt_one; in build_degamma()
1115 curve[i].b = dc_fixpt_one; in build_degamma()
[all …]
/openbmc/linux/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c1280 const struct ecc_curve *curve = ecc_get_curve(ctx->curve_id); in hpre_ecdh_fill_curve() local
1283 if (unlikely(!curve)) in hpre_ecdh_fill_curve()
1290 fill_curve_param(p, curve->p, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
1291 fill_curve_param(a, curve->a, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
1292 fill_curve_param(b, curve->b, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
1293 fill_curve_param(x, curve->g.x, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
1294 fill_curve_param(y, curve->g.y, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
1295 fill_curve_param(n, curve->n, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
1680 const struct ecc_curve *curve; in hpre_curve25519_fill_curve() local
1696 curve = ecc_get_curve25519(); in hpre_curve25519_fill_curve()
[all …]
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-class-backlight6 Description of the scale of the brightness curve.
12 backlights with a linear brightness curve.
17 The scale of the brightness curve is unknown.
H A Dsysfs-bus-iio-isl2950132 Then a least squares curve fit to a second order
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-security/trusted-services/corstone1000/psa-apitest/
H A D0001-corstone1000-port-crypto-config.patch39 * Comment macros to disable the curve
218 * Enable the elliptic curve DSA library.
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/
H A Dsblim-sfcb-1.4.8-default-ecdh-curve-name.patch20 ## If the value is set but the curve name is not recognized by the underlying
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/sblim-sfcb/
H A Dsblim-sfcb_1.4.9.bb24 file://sblim-sfcb-1.4.8-default-ecdh-curve-name.patch \
/openbmc/linux/Documentation/hwmon/
H A Dlm63.rst82 (you cannot define your custom PWM/temperature curve), and mode change isn't
H A Dw83793.rst96 trip points, defining a PWM/temperature curve which the chip will follow.
H A Dsysfs-interface.rst217 Define the PWM vs temperature curve.
220 Define the PWM vs temperature curve.
/openbmc/linux/Documentation/userspace-api/media/v4l/
H A Dvidioc-dv-timings-cap.rst149 (CVT) or the 'Secondary GTF' curve (GTF).
/openbmc/webui-vue/src/views/SecurityAndAccess/Certificates/
H A DModalGenerateCsr.vue263 label-for="key-curve-id"
266 id="key-curve-id"
/openbmc/linux/certs/
H A DKconfig34 Use an elliptic curve key (NIST P384) for module signing. Consider

12