Home
last modified time | relevance | path

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

/Linux-v5.10/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.10/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_dpp.c783 const struct gamma_curve *curve; in dpp3_program_shaper_luta_settings() local
808 curve = params->arr_curve_points; in dpp3_program_shaper_luta_settings()
810 CM_SHAPER_RAMA_EXP_REGION0_LUT_OFFSET, curve[0].offset, in dpp3_program_shaper_luta_settings()
811 CM_SHAPER_RAMA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num, in dpp3_program_shaper_luta_settings()
812 CM_SHAPER_RAMA_EXP_REGION1_LUT_OFFSET, curve[1].offset, in dpp3_program_shaper_luta_settings()
813 CM_SHAPER_RAMA_EXP_REGION1_NUM_SEGMENTS, curve[1].segments_num); in dpp3_program_shaper_luta_settings()
815 curve += 2; in dpp3_program_shaper_luta_settings()
817 CM_SHAPER_RAMA_EXP_REGION2_LUT_OFFSET, curve[0].offset, in dpp3_program_shaper_luta_settings()
818 CM_SHAPER_RAMA_EXP_REGION2_NUM_SEGMENTS, curve[0].segments_num, in dpp3_program_shaper_luta_settings()
819 CM_SHAPER_RAMA_EXP_REGION3_LUT_OFFSET, curve[1].offset, in dpp3_program_shaper_luta_settings()
[all …]
Ddcn30_mpc.c468 const struct gamma_curve *curve; in mpc3_program_shaper_luta_settings() local
491 curve = params->arr_curve_points; in mpc3_program_shaper_luta_settings()
493 MPC_RMU_SHAPER_RAMA_EXP_REGION0_LUT_OFFSET, curve[0].offset, in mpc3_program_shaper_luta_settings()
494 MPC_RMU_SHAPER_RAMA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num, in mpc3_program_shaper_luta_settings()
495 MPC_RMU_SHAPER_RAMA_EXP_REGION1_LUT_OFFSET, curve[1].offset, in mpc3_program_shaper_luta_settings()
496 MPC_RMU_SHAPER_RAMA_EXP_REGION1_NUM_SEGMENTS, curve[1].segments_num); in mpc3_program_shaper_luta_settings()
498 curve += 2; in mpc3_program_shaper_luta_settings()
500 MPC_RMU_SHAPER_RAMA_EXP_REGION0_LUT_OFFSET, curve[0].offset, in mpc3_program_shaper_luta_settings()
501 MPC_RMU_SHAPER_RAMA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num, in mpc3_program_shaper_luta_settings()
502 MPC_RMU_SHAPER_RAMA_EXP_REGION1_LUT_OFFSET, curve[1].offset, in mpc3_program_shaper_luta_settings()
[all …]
/Linux-v5.10/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.10/crypto/
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.c1144 u64 *initial_z, const struct ecc_curve *curve, in ecc_point_mult() argument
1152 u64 *curve_prime = curve->p; in ecc_point_mult()
1157 carry = vli_add(sk[0], scalar, curve->n, ndigits); in ecc_point_mult()
1158 vli_add(sk[1], sk[0], curve->n, ndigits); in ecc_point_mult()
1208 const struct ecc_curve *curve) in ecc_point_add() argument
1213 unsigned int ndigits = curve->g.ndigits; in ecc_point_add()
1217 vli_mod_sub(z, result->x, p->x, curve->p, ndigits); in ecc_point_add()
1220 xycz_add(px, py, result->x, result->y, curve->p, ndigits); in ecc_point_add()
1221 vli_mod_inv(z, z, curve->p, ndigits); in ecc_point_add()
1222 apply_z(result->x, result->y, z, curve->p, ndigits); in ecc_point_add()
[all …]
Decc.h147 int ecc_is_pubkey_valid_partial(const struct ecc_curve *curve,
161 int ecc_is_pubkey_valid_full(const struct ecc_curve *curve,
258 const struct ecc_curve *curve);
Decrdsa_params.asn12 curve OBJECT IDENTIFIER ({ ecrdsa_param_curve }),
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dce/
Ddce_transform.c1498 const struct gamma_curve *curve; in regamma_config_regions_and_segments() local
1514 curve = params->arr_curve_points; in regamma_config_regions_and_segments()
1517 REGAMMA_CNTLA_EXP_REGION0_LUT_OFFSET, curve[0].offset, in regamma_config_regions_and_segments()
1518 REGAMMA_CNTLA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num, in regamma_config_regions_and_segments()
1519 REGAMMA_CNTLA_EXP_REGION1_LUT_OFFSET, curve[1].offset, in regamma_config_regions_and_segments()
1520 REGAMMA_CNTLA_EXP_REGION1_NUM_SEGMENTS, curve[1].segments_num); in regamma_config_regions_and_segments()
1521 curve += 2; in regamma_config_regions_and_segments()
1524 REGAMMA_CNTLA_EXP_REGION0_LUT_OFFSET, curve[0].offset, in regamma_config_regions_and_segments()
1525 REGAMMA_CNTLA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num, in regamma_config_regions_and_segments()
1526 REGAMMA_CNTLA_EXP_REGION1_LUT_OFFSET, curve[1].offset, in regamma_config_regions_and_segments()
[all …]
/Linux-v5.10/drivers/gpu/drm/amd/display/modules/color/
Dcolor_gamma.c1016 static bool build_degamma(struct pwl_float_data_ex *curve, in build_degamma() argument
1037 curve[i].r = dc_fixpt_zero; in build_degamma()
1038 curve[i].g = dc_fixpt_zero; in build_degamma()
1039 curve[i].b = dc_fixpt_zero; in build_degamma()
1044 curve[i].r = translate_to_linear_space_ex( in build_degamma()
1046 curve[i].g = curve[i].r; in build_degamma()
1047 curve[i].b = curve[i].r; in build_degamma()
1051 curve[i].r = dc_fixpt_one; in build_degamma()
1052 curve[i].g = dc_fixpt_one; in build_degamma()
1053 curve[i].b = dc_fixpt_one; in build_degamma()
[all …]
/Linux-v5.10/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.10/Documentation/userspace-api/media/v4l/
Dvidioc-dv-timings-cap.rst149 (CVT) or the 'Secondary GTF' curve (GTF).
Dvidioc-g-dv-timings.rst251 'Secondary GTF' curve (GTF). In both cases the horizontal and/or
/Linux-v5.10/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.rst397 Define the PWM vs temperature curve.
405 Define the PWM vs temperature curve.
/Linux-v5.10/Documentation/input/devices/
Dsentelic.rst710 0xc0 2 finger curve, counter clockwise
711 0xc4 2 finger curve, clockwise