| /linux/drivers/gpu/drm/amd/display/dc/mpc/dcn32/ |
| H A D | dcn32_mpc.c | 348 const struct gamma_curve *curve; in mpc32_program_shaper_luta_settings() local 371 curve = params->arr_curve_points; in mpc32_program_shaper_luta_settings() 372 if (curve) { in mpc32_program_shaper_luta_settings() 374 MPCC_MCM_SHAPER_RAMA_EXP_REGION0_LUT_OFFSET, curve[0].offset, in mpc32_program_shaper_luta_settings() 375 MPCC_MCM_SHAPER_RAMA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num, in mpc32_program_shaper_luta_settings() 376 MPCC_MCM_SHAPER_RAMA_EXP_REGION1_LUT_OFFSET, curve[1].offset, in mpc32_program_shaper_luta_settings() 377 MPCC_MCM_SHAPER_RAMA_EXP_REGION1_NUM_SEGMENTS, curve[1].segments_num); in mpc32_program_shaper_luta_settings() 379 curve += 2; in mpc32_program_shaper_luta_settings() 381 MPCC_MCM_SHAPER_RAMA_EXP_REGION0_LUT_OFFSET, curve[0].offset, in mpc32_program_shaper_luta_settings() 382 MPCC_MCM_SHAPER_RAMA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num, in mpc32_program_shaper_luta_settings() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/dpp/dcn20/ |
| H A D | dcn20_dpp_cm.c | 634 const struct gamma_curve *curve; in dpp20_program_shaper_luta_settings() local 659 curve = params->arr_curve_points; in dpp20_program_shaper_luta_settings() 661 CM_SHAPER_RAMA_EXP_REGION0_LUT_OFFSET, curve[0].offset, in dpp20_program_shaper_luta_settings() 662 CM_SHAPER_RAMA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num, in dpp20_program_shaper_luta_settings() 663 CM_SHAPER_RAMA_EXP_REGION1_LUT_OFFSET, curve[1].offset, in dpp20_program_shaper_luta_settings() 664 CM_SHAPER_RAMA_EXP_REGION1_NUM_SEGMENTS, curve[1].segments_num); in dpp20_program_shaper_luta_settings() 666 curve += 2; in dpp20_program_shaper_luta_settings() 668 CM_SHAPER_RAMA_EXP_REGION2_LUT_OFFSET, curve[0].offset, in dpp20_program_shaper_luta_settings() 669 CM_SHAPER_RAMA_EXP_REGION2_NUM_SEGMENTS, curve[0].segments_num, in dpp20_program_shaper_luta_settings() 670 CM_SHAPER_RAMA_EXP_REGION3_LUT_OFFSET, curve[1].offset, in dpp20_program_shaper_luta_settings() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/dpp/dcn30/ |
| H A D | dcn30_dpp.c | 916 const struct gamma_curve *curve; in dpp3_program_shaper_luta_settings() local 941 curve = params->arr_curve_points; in dpp3_program_shaper_luta_settings() 943 CM_SHAPER_RAMA_EXP_REGION0_LUT_OFFSET, curve[0].offset, in dpp3_program_shaper_luta_settings() 944 CM_SHAPER_RAMA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num, in dpp3_program_shaper_luta_settings() 945 CM_SHAPER_RAMA_EXP_REGION1_LUT_OFFSET, curve[1].offset, in dpp3_program_shaper_luta_settings() 946 CM_SHAPER_RAMA_EXP_REGION1_NUM_SEGMENTS, curve[1].segments_num); in dpp3_program_shaper_luta_settings() 948 curve += 2; in dpp3_program_shaper_luta_settings() 950 CM_SHAPER_RAMA_EXP_REGION2_LUT_OFFSET, curve[0].offset, in dpp3_program_shaper_luta_settings() 951 CM_SHAPER_RAMA_EXP_REGION2_NUM_SEGMENTS, curve[0].segments_num, in dpp3_program_shaper_luta_settings() 952 CM_SHAPER_RAMA_EXP_REGION3_LUT_OFFSET, curve[1].offset, in dpp3_program_shaper_luta_settings() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/mpc/dcn30/ |
| H A D | dcn30_mpc.c | 492 const struct gamma_curve *curve; in mpc3_program_shaper_luta_settings() local 515 curve = params->arr_curve_points; in mpc3_program_shaper_luta_settings() 517 MPC_RMU_SHAPER_RAMA_EXP_REGION0_LUT_OFFSET, curve[0].offset, in mpc3_program_shaper_luta_settings() 518 MPC_RMU_SHAPER_RAMA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num, in mpc3_program_shaper_luta_settings() 519 MPC_RMU_SHAPER_RAMA_EXP_REGION1_LUT_OFFSET, curve[1].offset, in mpc3_program_shaper_luta_settings() 520 MPC_RMU_SHAPER_RAMA_EXP_REGION1_NUM_SEGMENTS, curve[1].segments_num); in mpc3_program_shaper_luta_settings() 522 curve += 2; in mpc3_program_shaper_luta_settings() 524 MPC_RMU_SHAPER_RAMA_EXP_REGION0_LUT_OFFSET, curve[0].offset, in mpc3_program_shaper_luta_settings() 525 MPC_RMU_SHAPER_RAMA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num, in mpc3_program_shaper_luta_settings() 526 MPC_RMU_SHAPER_RAMA_EXP_REGION1_LUT_OFFSET, curve[1].offset, in mpc3_program_shaper_luta_settings() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/dce110/ |
| H A 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/drivers/crypto/intel/keembay/ |
| H A D | keembay-ocs-ecc.c | 101 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 …]
|
| /linux/crypto/ |
| H A D | ecc.c | 948 const struct ecc_curve *curve) in vli_mmod_fast() argument 951 const u64 *curve_prime = curve->p; in vli_mmod_fast() 952 const unsigned int ndigits = curve->g.ndigits; in vli_mmod_fast() 955 if (strncmp(curve->name, "nist_", 5) != 0) { in vli_mmod_fast() 1007 const struct ecc_curve *curve) in vli_mod_mult_fast() argument 1011 vli_mult(product, left, right, curve->g.ndigits); in vli_mod_mult_fast() 1012 vli_mmod_fast(result, product, curve); in vli_mod_mult_fast() 1017 const struct ecc_curve *curve) in vli_mod_square_fast() argument 1021 vli_square(product, left, curve->g.ndigits); in vli_mod_square_fast() 1022 vli_mmod_fast(result, product, curve); in vli_mod_square_fast() [all …]
|
| H A D | ecrdsa.c | 37 const struct ecc_curve *curve; /* curve from oid */ member 90 if (!ctx->curve || in ecrdsa_verify() 96 dlen != ctx->curve->g.ndigits * sizeof(u64) || in ecrdsa_verify() 97 ctx->pub_key.ndigits != ctx->curve->g.ndigits || in ecrdsa_verify() 108 vli_cmp(r, ctx->curve->n, ndigits) >= 0 || in ecrdsa_verify() 110 vli_cmp(s, ctx->curve->n, ndigits) >= 0) in ecrdsa_verify() 116 if (vli_cmp(e, ctx->curve->n, ndigits) >= 0) in ecrdsa_verify() 117 vli_sub(e, e, ctx->curve->n, ndigits); in ecrdsa_verify() 122 vli_mod_inv(v, e, ctx->curve->n, ndigits); in ecrdsa_verify() 125 vli_mod_mult_slow(z1, s, v, ctx->curve->n, ndigits); in ecrdsa_verify() [all …]
|
| H A D | ecdsa.c | 15 const struct ecc_curve *curve; member 25 const struct ecc_curve *curve = ctx->curve; in _ecdsa_verify() local 26 unsigned int ndigits = curve->g.ndigits; in _ecdsa_verify() 35 if (vli_is_zero(r, ndigits) || vli_cmp(r, curve->n, ndigits) >= 0 || in _ecdsa_verify() 36 vli_is_zero(s, ndigits) || vli_cmp(s, curve->n, ndigits) >= 0) in _ecdsa_verify() 44 vli_mod_inv(s1, s, curve->n, ndigits); in _ecdsa_verify() 46 vli_mod_mult_slow(u1, hash, s1, curve->n, ndigits); in _ecdsa_verify() 48 vli_mod_mult_slow(u2, r, s1, curve->n, ndigits); in _ecdsa_verify() 50 ecc_point_mult_shamir(&res, u1, &curve->g, u2, &ctx->pub_key, curve); in _ecdsa_verify() 53 if (unlikely(vli_cmp(res.x, curve->n, ndigits) == 1)) in _ecdsa_verify() [all …]
|
| H A D | ecrdsa_params.asn1 | 2 curve OBJECT IDENTIFIER ({ ecrdsa_param_curve }),
|
| /linux/drivers/gpu/drm/amd/display/dc/dce/ |
| H A D | dce_transform.c | 1488 const struct gamma_curve *curve; in regamma_config_regions_and_segments() local 1504 curve = params->arr_curve_points; in regamma_config_regions_and_segments() 1507 REGAMMA_CNTLA_EXP_REGION0_LUT_OFFSET, curve[0].offset, in regamma_config_regions_and_segments() 1508 REGAMMA_CNTLA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num, in regamma_config_regions_and_segments() 1509 REGAMMA_CNTLA_EXP_REGION1_LUT_OFFSET, curve[1].offset, in regamma_config_regions_and_segments() 1510 REGAMMA_CNTLA_EXP_REGION1_NUM_SEGMENTS, curve[1].segments_num); in regamma_config_regions_and_segments() 1511 curve += 2; in regamma_config_regions_and_segments() 1514 REGAMMA_CNTLA_EXP_REGION0_LUT_OFFSET, curve[0].offset, in regamma_config_regions_and_segments() 1515 REGAMMA_CNTLA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num, in regamma_config_regions_and_segments() 1516 REGAMMA_CNTLA_EXP_REGION1_LUT_OFFSET, curve[1].offset, in regamma_config_regions_and_segments() [all …]
|
| /linux/Documentation/hwmon/ |
| H A D | nzxt-kraken3.rst | 25 control (either as a fixed value or through a temp-PWM curve). The Z-series and 30 for the manual control mode and 2 is for the liquid temp to PWM curve mode. 36 If in curve mode, setting point values should be done in moderation - the devices 39 in an another mode, and then apply them by switching to curve. 62 2 Curve control mode (applies the temp-PWM duty curve based on coolant temp) 73 pwm1_enable Pump duty control mode (0: disabled, 1: manual, 2: curve) 75 pwm2_enable Fan duty control mode (0: disabled, 1: manual, 2: curve)
|
| H A D | lm63.rst | 82 (you cannot define your custom PWM/temperature curve), and mode change isn't
|
| H A D | w83793.rst | 96 trip points, defining a PWM/temperature curve which the chip will follow.
|
| /linux/drivers/gpu/drm/amd/display/modules/color/ |
| H A D | color_gamma.c | 1180 static bool build_degamma(struct pwl_float_data_ex *curve, in build_degamma() argument 1201 curve[i].r = dc_fixpt_zero; in build_degamma() 1202 curve[i].g = dc_fixpt_zero; in build_degamma() 1203 curve[i].b = dc_fixpt_zero; in build_degamma() 1208 curve[i].r = translate_to_linear_space_ex( in build_degamma() 1210 curve[i].g = curve[i].r; in build_degamma() 1211 curve[i].b = curve[i].r; in build_degamma() 1215 curve[i].r = dc_fixpt_one; in build_degamma() 1216 curve[i].g = dc_fixpt_one; in build_degamma() 1217 curve[i].b = dc_fixpt_one; in build_degamma() [all …]
|
| /linux/include/crypto/internal/ |
| H A D | ecc.h | 160 int ecc_is_pubkey_valid_partial(const struct ecc_curve *curve, 174 int ecc_is_pubkey_valid_full(const struct ecc_curve *curve, 306 const struct ecc_curve *curve);
|
| /linux/drivers/crypto/hisilicon/hpre/ |
| H A D | hpre_crypto.c | 1234 const struct ecc_curve *curve = ecc_get_curve(ctx->curve_id); in hpre_ecdh_fill_curve() local 1237 if (unlikely(!curve)) in hpre_ecdh_fill_curve() 1244 fill_curve_param(p, curve->p, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve() 1245 fill_curve_param(a, curve->a, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve() 1246 fill_curve_param(b, curve->b, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve() 1247 fill_curve_param(x, curve->g.x, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve() 1248 fill_curve_param(y, curve->g.y, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve() 1249 fill_curve_param(n, curve->n, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
|
| /linux/Documentation/gpu/rfc/ |
| H A D | color_pipeline.rst | 125 * enumerated curve 145 /* 1D enumerated curve */ 147 … "TYPE": immutable enum {1D enumerated curve, 1D LUT, 3x3 matrix, 3x4 matrix, 3D LUT, etc.} = 1D e… 154 …├─ "TYPE": immutable enum {1D enumerated curve, 1D LUT, 3x3 matrix, 3x4 matrix, 3D LUT, etc.} = 1D… 162 …├─ "TYPE": immutable enum {1D enumerated curve, 1D LUT, 3x3 matrix, 3x4 matrix, 3D LUT, etc.} = 3D… 248 ├─ "TYPE" (immutable) = 1D enumerated curve 260 ├─ "TYPE" (immutable) = 1D enumerated curve 277 ├─ "TYPE" (immutable) = 1D enumerated curve
|
| /linux/Documentation/ABI/testing/ |
| H A 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.
|
| H A D | sysfs-bus-iio-isl29501 | 32 Then a least squares curve fit to a second order
|
| /linux/drivers/hwmon/ |
| H A D | nzxt-kraken3.c | 30 enum pwm_enable { off, manual, curve } __packed; enumerator 465 priv->channel_info[channel].mode = curve; in kraken3_write() 499 if (priv->channel_info[dev_attr->nr].mode == curve) { in kraken3_fan_curve_pwm_store()
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | vidioc-dv-timings-cap.rst | 149 (CVT) or the 'Secondary GTF' curve (GTF).
|
| /linux/Documentation/gpu/amdgpu/ |
| H A D | debugging.rst | 98 curve of brightness values that better match display characteristics.
|
| /linux/drivers/staging/fbtft/ |
| H A D | Kconfig | 12 and gamma curve configuration.
|
| /linux/Documentation/wmi/devices/ |
| H A D | lenovo-wmi-gamezone.rst | 19 The Gamezone Data WMI interface provides platform-profile and fan curve 46 user modifications to Package Power Tracking (PPT) and fan curve settings.
|