/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_dpp_cm.c | 579 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 …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn32/ |
D | dcn32_mpc.c | 344 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 …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_dpp.c | 860 const struct gamma_curve *curve; in dpp3_program_shaper_luta_settings() local 885 curve = params->arr_curve_points; in dpp3_program_shaper_luta_settings() 887 CM_SHAPER_RAMA_EXP_REGION0_LUT_OFFSET, curve[0].offset, in dpp3_program_shaper_luta_settings() 888 CM_SHAPER_RAMA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num, in dpp3_program_shaper_luta_settings() 889 CM_SHAPER_RAMA_EXP_REGION1_LUT_OFFSET, curve[1].offset, in dpp3_program_shaper_luta_settings() 890 CM_SHAPER_RAMA_EXP_REGION1_NUM_SEGMENTS, curve[1].segments_num); in dpp3_program_shaper_luta_settings() 892 curve += 2; in dpp3_program_shaper_luta_settings() 894 CM_SHAPER_RAMA_EXP_REGION2_LUT_OFFSET, curve[0].offset, in dpp3_program_shaper_luta_settings() 895 CM_SHAPER_RAMA_EXP_REGION2_NUM_SEGMENTS, curve[0].segments_num, in dpp3_program_shaper_luta_settings() 896 CM_SHAPER_RAMA_EXP_REGION3_LUT_OFFSET, curve[1].offset, in dpp3_program_shaper_luta_settings() [all …]
|
D | dcn30_mpc.c | 481 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 …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_opp_regamma_v.c | 133 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 …]
|
/linux-6.1.9/drivers/crypto/keembay/ |
D | keembay-ocs-ecc.c | 106 const struct ecc_curve *curve; member 229 const struct ecc_curve *curve) in kmb_ecc_point_mult() argument 232 u32 op_size = (curve->g.ndigits > ECC_CURVE_NIST_P256_DIGITS) ? in kmb_ecc_point_mult() 234 size_t nbytes = digits_to_bytes(curve->g.ndigits); in kmb_ecc_point_mult() 280 curve->p, nbytes); in kmb_ecc_point_mult() 284 curve->a, nbytes); in kmb_ecc_point_mult() 312 const struct ecc_curve *curve, in kmb_ecc_do_scalar_op() argument 338 curve->p, nbytes); in kmb_ecc_do_scalar_op() 355 const struct ecc_curve *curve, in kmb_ocs_ecc_is_pubkey_valid_partial() argument 363 if (WARN_ON(pk->ndigits != curve->g.ndigits)) in kmb_ocs_ecc_is_pubkey_valid_partial() [all …]
|
/linux-6.1.9/crypto/ |
D | ecc.c | 911 const struct ecc_curve *curve) in vli_mmod_fast() argument 914 const u64 *curve_prime = curve->p; in vli_mmod_fast() 915 const unsigned int ndigits = curve->g.ndigits; in vli_mmod_fast() 918 if (strncmp(curve->name, "nist_", 5) != 0) { in vli_mmod_fast() 967 const struct ecc_curve *curve) in vli_mod_mult_fast() argument 971 vli_mult(product, left, right, curve->g.ndigits); in vli_mod_mult_fast() 972 vli_mmod_fast(result, product, curve); in vli_mod_mult_fast() 977 const struct ecc_curve *curve) in vli_mod_square_fast() argument 981 vli_square(product, left, curve->g.ndigits); in vli_mod_square_fast() 982 vli_mmod_fast(result, product, curve); in vli_mod_square_fast() [all …]
|
D | ecdsa.c | 18 const struct ecc_curve *curve; member 27 const struct ecc_curve *curve; member 82 sig->curve->g.ndigits); in ecdsa_get_signature_r() 91 sig->curve->g.ndigits); in ecdsa_get_signature_s() 96 const struct ecc_curve *curve = ctx->curve; in _ecdsa_verify() local 97 unsigned int ndigits = curve->g.ndigits; in _ecdsa_verify() 106 if (vli_is_zero(r, ndigits) || vli_cmp(r, curve->n, ndigits) >= 0 || in _ecdsa_verify() 107 vli_is_zero(s, ndigits) || vli_cmp(s, curve->n, ndigits) >= 0) in _ecdsa_verify() 115 vli_mod_inv(s1, s, curve->n, ndigits); in _ecdsa_verify() 117 vli_mod_mult_slow(u1, hash, s1, curve->n, ndigits); in _ecdsa_verify() [all …]
|
D | ecrdsa.c | 38 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 …]
|
D | ecrdsa_params.asn1 | 2 curve OBJECT IDENTIFIER ({ ecrdsa_param_curve }),
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_transform.c | 1484 const struct gamma_curve *curve; in regamma_config_regions_and_segments() local 1500 curve = params->arr_curve_points; in regamma_config_regions_and_segments() 1503 REGAMMA_CNTLA_EXP_REGION0_LUT_OFFSET, curve[0].offset, in regamma_config_regions_and_segments() 1504 REGAMMA_CNTLA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num, in regamma_config_regions_and_segments() 1505 REGAMMA_CNTLA_EXP_REGION1_LUT_OFFSET, curve[1].offset, in regamma_config_regions_and_segments() 1506 REGAMMA_CNTLA_EXP_REGION1_NUM_SEGMENTS, curve[1].segments_num); in regamma_config_regions_and_segments() 1507 curve += 2; in regamma_config_regions_and_segments() 1510 REGAMMA_CNTLA_EXP_REGION0_LUT_OFFSET, curve[0].offset, in regamma_config_regions_and_segments() 1511 REGAMMA_CNTLA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num, in regamma_config_regions_and_segments() 1512 REGAMMA_CNTLA_EXP_REGION1_LUT_OFFSET, curve[1].offset, in regamma_config_regions_and_segments() [all …]
|
/linux-6.1.9/include/crypto/internal/ |
D | ecc.h | 133 int ecc_is_pubkey_valid_partial(const struct ecc_curve *curve, 147 int ecc_is_pubkey_valid_full(const struct ecc_curve *curve, 279 const struct ecc_curve *curve);
|
/linux-6.1.9/drivers/gpu/drm/amd/display/modules/color/ |
D | color_gamma.c | 1079 static bool build_degamma(struct pwl_float_data_ex *curve, in build_degamma() argument 1100 curve[i].r = dc_fixpt_zero; in build_degamma() 1101 curve[i].g = dc_fixpt_zero; in build_degamma() 1102 curve[i].b = dc_fixpt_zero; in build_degamma() 1107 curve[i].r = translate_to_linear_space_ex( in build_degamma() 1109 curve[i].g = curve[i].r; in build_degamma() 1110 curve[i].b = curve[i].r; in build_degamma() 1114 curve[i].r = dc_fixpt_one; in build_degamma() 1115 curve[i].g = dc_fixpt_one; in build_degamma() 1116 curve[i].b = dc_fixpt_one; in build_degamma() [all …]
|
/linux-6.1.9/drivers/crypto/hisilicon/hpre/ |
D | hpre_crypto.c | 1265 const struct ecc_curve *curve = ecc_get_curve(ctx->curve_id); in hpre_ecdh_fill_curve() local 1268 if (unlikely(!curve)) in hpre_ecdh_fill_curve() 1275 fill_curve_param(p, curve->p, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve() 1276 fill_curve_param(a, curve->a, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve() 1277 fill_curve_param(b, curve->b, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve() 1278 fill_curve_param(x, curve->g.x, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve() 1279 fill_curve_param(y, curve->g.y, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve() 1280 fill_curve_param(n, curve->n, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve() 1653 const struct ecc_curve *curve; in hpre_curve25519_fill_curve() local 1669 curve = ecc_get_curve25519(); in hpre_curve25519_fill_curve() [all …]
|
/linux-6.1.9/Documentation/ABI/testing/ |
D | sysfs-class-backlight | 6 Description of the scale of the brightness curve. 12 backlights with a linear brightness curve. 17 The scale of the brightness curve is unknown.
|
D | sysfs-bus-iio-isl29501 | 32 Then a least squares curve fit to a second order
|
D | sysfs-class-hwmon | 332 Define the PWM vs temperature curve. 343 Define the PWM vs temperature curve.
|
/linux-6.1.9/Documentation/devicetree/bindings/crypto/ |
D | intel,keembay-ocs-ecc.yaml | 15 Cryptography (ECC) device provides hardware acceleration for elliptic curve
|
/linux-6.1.9/Documentation/hwmon/ |
D | lm63.rst | 82 (you cannot define your custom PWM/temperature curve), and mode change isn't
|
D | w83793.rst | 96 trip points, defining a PWM/temperature curve which the chip will follow.
|
D | sysfs-interface.rst | 217 Define the PWM vs temperature curve. 220 Define the PWM vs temperature curve.
|
/linux-6.1.9/Documentation/userspace-api/media/v4l/ |
D | vidioc-dv-timings-cap.rst | 149 (CVT) or the 'Secondary GTF' curve (GTF).
|
/linux-6.1.9/Documentation/devicetree/bindings/iio/temperature/ |
D | adi,ltc2983.yaml | 230 adi,rtd-curve: 232 This property set the RTD curve used and the corresponding
|
/linux-6.1.9/certs/ |
D | Kconfig | 34 Use an elliptic curve key (NIST P384) for module signing. Consider
|
/linux-6.1.9/Documentation/devicetree/bindings/cpu/ |
D | idle-states.yaml | 172 The graph curve with X-axis values = { x | 0 < x < 1ms } has a steep slope 175 The graph curve in the area delimited by X-axis values = {x | x > 1ms } has 221 However, the lower power consumption (i.e. shallower energy curve slope) of
|