/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn20/ |
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-6.12.1/drivers/gpu/drm/amd/display/dc/mpc/dcn32/ |
D | dcn32_mpc.c | 349 const struct gamma_curve *curve; in mpc32_program_shaper_luta_settings() local 372 curve = params->arr_curve_points; 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() 383 MPCC_MCM_SHAPER_RAMA_EXP_REGION1_LUT_OFFSET, curve[1].offset, in mpc32_program_shaper_luta_settings() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn30/ |
D | dcn30_dpp.c | 899 const struct gamma_curve *curve; in dpp3_program_shaper_luta_settings() local 924 curve = params->arr_curve_points; in dpp3_program_shaper_luta_settings() 926 CM_SHAPER_RAMA_EXP_REGION0_LUT_OFFSET, curve[0].offset, in dpp3_program_shaper_luta_settings() 927 CM_SHAPER_RAMA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num, in dpp3_program_shaper_luta_settings() 928 CM_SHAPER_RAMA_EXP_REGION1_LUT_OFFSET, curve[1].offset, in dpp3_program_shaper_luta_settings() 929 CM_SHAPER_RAMA_EXP_REGION1_NUM_SEGMENTS, curve[1].segments_num); in dpp3_program_shaper_luta_settings() 931 curve += 2; in dpp3_program_shaper_luta_settings() 933 CM_SHAPER_RAMA_EXP_REGION2_LUT_OFFSET, curve[0].offset, in dpp3_program_shaper_luta_settings() 934 CM_SHAPER_RAMA_EXP_REGION2_NUM_SEGMENTS, curve[0].segments_num, in dpp3_program_shaper_luta_settings() 935 CM_SHAPER_RAMA_EXP_REGION3_LUT_OFFSET, curve[1].offset, in dpp3_program_shaper_luta_settings() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/mpc/dcn30/ |
D | dcn30_mpc.c | 475 const struct gamma_curve *curve; in mpc3_program_shaper_luta_settings() local 498 curve = params->arr_curve_points; 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() 503 MPC_RMU_SHAPER_RAMA_EXP_REGION1_NUM_SEGMENTS, curve[1].segments_num); in mpc3_program_shaper_luta_settings() 505 curve += 2; in mpc3_program_shaper_luta_settings() 507 MPC_RMU_SHAPER_RAMA_EXP_REGION0_LUT_OFFSET, curve[0].offset, in mpc3_program_shaper_luta_settings() 508 MPC_RMU_SHAPER_RAMA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num, in mpc3_program_shaper_luta_settings() 509 MPC_RMU_SHAPER_RAMA_EXP_REGION1_LUT_OFFSET, curve[1].offset, in mpc3_program_shaper_luta_settings() [all …]
|
/linux-6.12.1/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.12.1/drivers/crypto/intel/keembay/ |
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-6.12.1/crypto/ |
D | ecc.c | 957 const struct ecc_curve *curve) in vli_mmod_fast() argument 960 const u64 *curve_prime = curve->p; in vli_mmod_fast() 961 const unsigned int ndigits = curve->g.ndigits; in vli_mmod_fast() 964 if (strncmp(curve->name, "nist_", 5) != 0) { in vli_mmod_fast() 1016 const struct ecc_curve *curve) in vli_mod_mult_fast() argument 1020 vli_mult(product, left, right, curve->g.ndigits); in vli_mod_mult_fast() 1021 vli_mmod_fast(result, product, curve); in vli_mod_mult_fast() 1026 const struct ecc_curve *curve) in vli_mod_square_fast() argument 1030 vli_square(product, left, curve->g.ndigits); in vli_mod_square_fast() 1031 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 74 sig->curve->g.ndigits); in ecdsa_get_signature_r() 83 sig->curve->g.ndigits); in ecdsa_get_signature_s() 88 const struct ecc_curve *curve = ctx->curve; in _ecdsa_verify() local 89 unsigned int ndigits = curve->g.ndigits; in _ecdsa_verify() 98 if (vli_is_zero(r, ndigits) || vli_cmp(r, curve->n, ndigits) >= 0 || in _ecdsa_verify() 99 vli_is_zero(s, ndigits) || vli_cmp(s, curve->n, ndigits) >= 0) in _ecdsa_verify() 107 vli_mod_inv(s1, s, curve->n, ndigits); in _ecdsa_verify() 109 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.12.1/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_transform.c | 1483 const struct gamma_curve *curve; in regamma_config_regions_and_segments() local 1499 curve = params->arr_curve_points; in regamma_config_regions_and_segments() 1502 REGAMMA_CNTLA_EXP_REGION0_LUT_OFFSET, curve[0].offset, in regamma_config_regions_and_segments() 1503 REGAMMA_CNTLA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num, in regamma_config_regions_and_segments() 1504 REGAMMA_CNTLA_EXP_REGION1_LUT_OFFSET, curve[1].offset, in regamma_config_regions_and_segments() 1505 REGAMMA_CNTLA_EXP_REGION1_NUM_SEGMENTS, curve[1].segments_num); in regamma_config_regions_and_segments() 1506 curve += 2; in regamma_config_regions_and_segments() 1509 REGAMMA_CNTLA_EXP_REGION0_LUT_OFFSET, curve[0].offset, in regamma_config_regions_and_segments() 1510 REGAMMA_CNTLA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num, in regamma_config_regions_and_segments() 1511 REGAMMA_CNTLA_EXP_REGION1_LUT_OFFSET, curve[1].offset, in regamma_config_regions_and_segments() [all …]
|
/linux-6.12.1/Documentation/hwmon/ |
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)
|
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.12.1/include/crypto/internal/ |
D | ecc.h | 148 int ecc_is_pubkey_valid_partial(const struct ecc_curve *curve, 162 int ecc_is_pubkey_valid_full(const struct ecc_curve *curve, 294 const struct ecc_curve *curve);
|
/linux-6.12.1/drivers/gpu/drm/amd/display/modules/color/ |
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-6.12.1/drivers/crypto/hisilicon/hpre/ |
D | hpre_crypto.c | 1285 const struct ecc_curve *curve = ecc_get_curve(ctx->curve_id); in hpre_ecdh_fill_curve() local 1288 if (unlikely(!curve)) in hpre_ecdh_fill_curve() 1295 fill_curve_param(p, curve->p, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve() 1296 fill_curve_param(a, curve->a, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve() 1297 fill_curve_param(b, curve->b, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve() 1298 fill_curve_param(x, curve->g.x, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve() 1299 fill_curve_param(y, curve->g.y, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve() 1300 fill_curve_param(n, curve->n, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve() 1685 const struct ecc_curve *curve; in hpre_curve25519_fill_curve() local 1701 curve = ecc_get_curve25519(); in hpre_curve25519_fill_curve() [all …]
|
/linux-6.12.1/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
|
/linux-6.12.1/drivers/media/platform/rockchip/rkisp1/ |
D | rkisp1-params.c | 1265 unsigned int addr, const u8 *curve) in rkisp1_compand_write_px_curve() argument 1285 val |= (*curve++ & 0x1f) << (i * 5); in rkisp1_compand_write_px_curve() 1295 const u32 curve[RKISP1_CIF_ISP_COMPAND_NUM_POINTS]) in rkisp1_compand_write_curve_mem() 1299 rkisp1_write(params->rkisp1, reg_data, curve[i]); in rkisp1_compand_write_curve_mem() 1971 const struct rkisp1_ext_params_compand_curve_config *curve = in rkisp1_ext_params_compand_expand() local 1974 if (curve->header.flags & RKISP1_EXT_PARAMS_FL_BLOCK_DISABLE) { in rkisp1_ext_params_compand_expand() 1980 rkisp1_compand_expand_config(params, &curve->config); in rkisp1_ext_params_compand_expand() 1982 if ((curve->header.flags & RKISP1_EXT_PARAMS_FL_BLOCK_ENABLE) && in rkisp1_ext_params_compand_expand() 1983 !(params->enabled_blocks & BIT(curve->header.type))) in rkisp1_ext_params_compand_expand() 1991 const struct rkisp1_ext_params_compand_curve_config *curve = in rkisp1_ext_params_compand_compress() local [all …]
|
/linux-6.12.1/drivers/hwmon/ |
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-6.12.1/Documentation/userspace-api/media/v4l/ |
D | vidioc-dv-timings-cap.rst | 149 (CVT) or the 'Secondary GTF' curve (GTF).
|
/linux-6.12.1/Documentation/security/tpm/ |
D | tpm-security.rst | 89 elliptic curve key from the null seed using the standard storage seed 186 pair (assume elliptic curve in this case) and wraps the private key
|
/linux-6.12.1/certs/ |
D | Kconfig | 35 Use an elliptic curve key (NIST P384) for module signing. Use
|