Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_dpp_cm.c427 const struct gamma_curve *curve; in dpp20_program_shaper_luta_settings() local
452 curve = params->arr_curve_points; in dpp20_program_shaper_luta_settings()
454 CM_SHAPER_RAMA_EXP_REGION0_LUT_OFFSET, curve[0].offset, in dpp20_program_shaper_luta_settings()
455 CM_SHAPER_RAMA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num, in dpp20_program_shaper_luta_settings()
456 CM_SHAPER_RAMA_EXP_REGION1_LUT_OFFSET, curve[1].offset, in dpp20_program_shaper_luta_settings()
457 CM_SHAPER_RAMA_EXP_REGION1_NUM_SEGMENTS, curve[1].segments_num); in dpp20_program_shaper_luta_settings()
459 curve += 2; in dpp20_program_shaper_luta_settings()
461 CM_SHAPER_RAMA_EXP_REGION2_LUT_OFFSET, curve[0].offset, in dpp20_program_shaper_luta_settings()
462 CM_SHAPER_RAMA_EXP_REGION2_NUM_SEGMENTS, curve[0].segments_num, in dpp20_program_shaper_luta_settings()
463 CM_SHAPER_RAMA_EXP_REGION3_LUT_OFFSET, curve[1].offset, in dpp20_program_shaper_luta_settings()
[all …]
/Linux-v5.4/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.4/crypto/
Decrdsa.c37 const struct ecc_curve *curve; /* curve from oid */ member
91 if (!ctx->curve || in ecrdsa_verify()
96 req->dst_len != ctx->curve->g.ndigits * sizeof(u64) || in ecrdsa_verify()
97 ctx->pub_key.ndigits != ctx->curve->g.ndigits || in ecrdsa_verify()
115 vli_cmp(r, ctx->curve->n, ndigits) == 1 || in ecrdsa_verify()
117 vli_cmp(s, ctx->curve->n, ndigits) == 1) in ecrdsa_verify()
123 if (vli_cmp(e, ctx->curve->n, ndigits) == 1) in ecrdsa_verify()
124 vli_sub(e, e, ctx->curve->n, ndigits); in ecrdsa_verify()
129 vli_mod_inv(v, e, ctx->curve->n, ndigits); in ecrdsa_verify()
132 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,
244 const struct ecc_curve *curve);
Decrdsa_params.asn12 curve OBJECT IDENTIFIER ({ ecrdsa_param_curve }),
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dce/
Ddce_transform.c1212 const struct gamma_curve *curve; in regamma_config_regions_and_segments() local
1228 curve = params->arr_curve_points; in regamma_config_regions_and_segments()
1231 REGAMMA_CNTLA_EXP_REGION0_LUT_OFFSET, curve[0].offset, in regamma_config_regions_and_segments()
1232 REGAMMA_CNTLA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num, in regamma_config_regions_and_segments()
1233 REGAMMA_CNTLA_EXP_REGION1_LUT_OFFSET, curve[1].offset, in regamma_config_regions_and_segments()
1234 REGAMMA_CNTLA_EXP_REGION1_NUM_SEGMENTS, curve[1].segments_num); in regamma_config_regions_and_segments()
1235 curve += 2; in regamma_config_regions_and_segments()
1238 REGAMMA_CNTLA_EXP_REGION0_LUT_OFFSET, curve[0].offset, in regamma_config_regions_and_segments()
1239 REGAMMA_CNTLA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num, in regamma_config_regions_and_segments()
1240 REGAMMA_CNTLA_EXP_REGION1_LUT_OFFSET, curve[1].offset, in regamma_config_regions_and_segments()
[all …]
/Linux-v5.4/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.4/drivers/gpu/drm/amd/display/modules/color/
Dcolor_gamma.c978 static bool build_degamma(struct pwl_float_data_ex *curve, in build_degamma() argument
999 curve[i].r = dc_fixpt_zero; in build_degamma()
1000 curve[i].g = dc_fixpt_zero; in build_degamma()
1001 curve[i].b = dc_fixpt_zero; in build_degamma()
1006 curve[i].r = translate_to_linear_space_ex( in build_degamma()
1008 curve[i].g = curve[i].r; in build_degamma()
1009 curve[i].b = curve[i].r; in build_degamma()
1013 curve[i].r = dc_fixpt_one; in build_degamma()
1014 curve[i].g = dc_fixpt_one; in build_degamma()
1015 curve[i].b = dc_fixpt_one; in build_degamma()
[all …]
/Linux-v5.4/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.rst383 Define the PWM vs temperature curve.
391 Define the PWM vs temperature curve.
/Linux-v5.4/Documentation/media/uapi/v4l/
Dvidioc-dv-timings-cap.rst160 (CVT) or the 'Secondary GTF' curve (GTF).
Dvidioc-g-dv-timings.rst254 'Secondary GTF' curve (GTF). In both cases the horizontal and/or
/Linux-v5.4/Documentation/devicetree/bindings/arm/
Didle-states.txt144 The graph curve with X-axis values = { x | 0 < x < 1ms } has a steep slope
147 The graph curve in the area delimited by X-axis values = {x | x > 1ms } has
193 However, the lower power consumption (i.e. shallower energy curve slope) of
/Linux-v5.4/Documentation/input/devices/
Dsentelic.rst710 0xc0 2 finger curve, counter clockwise
711 0xc4 2 finger curve, clockwise