Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn20/
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 …]
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_dpp.c810 const struct gamma_curve *curve; in dpp3_program_shaper_luta_settings() local
835 curve = params->arr_curve_points; in dpp3_program_shaper_luta_settings()
837 CM_SHAPER_RAMA_EXP_REGION0_LUT_OFFSET, curve[0].offset, in dpp3_program_shaper_luta_settings()
838 CM_SHAPER_RAMA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num, in dpp3_program_shaper_luta_settings()
839 CM_SHAPER_RAMA_EXP_REGION1_LUT_OFFSET, curve[1].offset, in dpp3_program_shaper_luta_settings()
840 CM_SHAPER_RAMA_EXP_REGION1_NUM_SEGMENTS, curve[1].segments_num); in dpp3_program_shaper_luta_settings()
842 curve += 2; in dpp3_program_shaper_luta_settings()
844 CM_SHAPER_RAMA_EXP_REGION2_LUT_OFFSET, curve[0].offset, in dpp3_program_shaper_luta_settings()
845 CM_SHAPER_RAMA_EXP_REGION2_NUM_SEGMENTS, curve[0].segments_num, in dpp3_program_shaper_luta_settings()
846 CM_SHAPER_RAMA_EXP_REGION3_LUT_OFFSET, curve[1].offset, in dpp3_program_shaper_luta_settings()
[all …]
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 …]
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_opp_regamma_v.c135 const struct gamma_curve *curve; in regamma_config_regions_and_segments() local
194 curve = params->arr_curve_points; in regamma_config_regions_and_segments()
200 curve[0].offset, in regamma_config_regions_and_segments()
206 curve[0].segments_num, in regamma_config_regions_and_segments()
212 curve[1].offset, in regamma_config_regions_and_segments()
218 curve[1].segments_num, in regamma_config_regions_and_segments()
228 curve += 2; in regamma_config_regions_and_segments()
233 curve[0].offset, in regamma_config_regions_and_segments()
239 curve[0].segments_num, in regamma_config_regions_and_segments()
245 curve[1].offset, in regamma_config_regions_and_segments()
[all …]
/Linux-v5.15/crypto/
Decc.c908 const struct ecc_curve *curve) in vli_mmod_fast() argument
911 const u64 *curve_prime = curve->p; in vli_mmod_fast()
912 const unsigned int ndigits = curve->g.ndigits; in vli_mmod_fast()
915 if (strncmp(curve->name, "nist_", 5) != 0) { in vli_mmod_fast()
964 const struct ecc_curve *curve) in vli_mod_mult_fast() argument
968 vli_mult(product, left, right, curve->g.ndigits); in vli_mod_mult_fast()
969 vli_mmod_fast(result, product, curve); in vli_mod_mult_fast()
974 const struct ecc_curve *curve) in vli_mod_square_fast() argument
978 vli_square(product, left, curve->g.ndigits); in vli_mod_square_fast()
979 vli_mmod_fast(result, product, curve); in vli_mod_square_fast()
[all …]
Decdsa.c18 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 …]
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) == 1 || in ecrdsa_verify()
118 vli_cmp(s, ctx->curve->n, ndigits) == 1) in ecrdsa_verify()
124 if (vli_cmp(e, ctx->curve->n, ndigits) == 1) 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 …]
Decc.h133 int ecc_is_pubkey_valid_partial(const struct ecc_curve *curve,
147 int ecc_is_pubkey_valid_full(const struct ecc_curve *curve,
244 const struct ecc_curve *curve);
Decrdsa_params.asn12 curve OBJECT IDENTIFIER ({ ecrdsa_param_curve }),
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dce/
Ddce_transform.c1484 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-v5.15/drivers/gpu/drm/amd/display/modules/color/
Dcolor_gamma.c1076 static bool build_degamma(struct pwl_float_data_ex *curve, in build_degamma() argument
1097 curve[i].r = dc_fixpt_zero; in build_degamma()
1098 curve[i].g = dc_fixpt_zero; in build_degamma()
1099 curve[i].b = dc_fixpt_zero; in build_degamma()
1104 curve[i].r = translate_to_linear_space_ex( in build_degamma()
1106 curve[i].g = curve[i].r; in build_degamma()
1107 curve[i].b = curve[i].r; in build_degamma()
1111 curve[i].r = dc_fixpt_one; in build_degamma()
1112 curve[i].g = dc_fixpt_one; in build_degamma()
1113 curve[i].b = dc_fixpt_one; in build_degamma()
[all …]
/Linux-v5.15/drivers/crypto/hisilicon/hpre/
Dhpre_crypto.c1262 const struct ecc_curve *curve = ecc_get_curve(ctx->curve_id); in hpre_ecdh_fill_curve() local
1265 if (unlikely(!curve)) in hpre_ecdh_fill_curve()
1272 fill_curve_param(p, curve->p, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
1273 fill_curve_param(a, curve->a, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
1274 fill_curve_param(b, curve->b, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
1275 fill_curve_param(x, curve->g.x, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
1276 fill_curve_param(y, curve->g.y, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
1277 fill_curve_param(n, curve->n, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
1650 const struct ecc_curve *curve; in hpre_curve25519_fill_curve() local
1666 curve = ecc_get_curve25519(); in hpre_curve25519_fill_curve()
[all …]
/Linux-v5.15/Documentation/ABI/testing/
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.
Dsysfs-bus-iio-isl2950132 Then a least squares curve fit to a second order
/Linux-v5.15/Documentation/hwmon/
Dlm63.rst82 (you cannot define your custom PWM/temperature curve), and mode change isn't
Dw83793.rst96 trip points, defining a PWM/temperature curve which the chip will follow.
Dsysfs-interface.rst405 Define the PWM vs temperature curve.
413 Define the PWM vs temperature curve.
/Linux-v5.15/Documentation/userspace-api/media/v4l/
Dvidioc-dv-timings-cap.rst149 (CVT) or the 'Secondary GTF' curve (GTF).
Dvidioc-g-dv-timings.rst257 'Secondary GTF' curve (GTF). In both cases the horizontal and/or
/Linux-v5.15/certs/
DKconfig36 Use an elliptic curve key (NIST P384) for module signing. Consider
/Linux-v5.15/Documentation/input/devices/
Dsentelic.rst710 0xc0 2 finger curve, counter clockwise
711 0xc4 2 finger curve, clockwise