Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/amd/display/dc/dcn32/
H A Ddcn32_mpc.c378 curve += 2; in mpc32_program_shaper_luta_settings()
385 curve += 2; in mpc32_program_shaper_luta_settings()
392 curve += 2; in mpc32_program_shaper_luta_settings()
399 curve += 2; in mpc32_program_shaper_luta_settings()
406 curve += 2; in mpc32_program_shaper_luta_settings()
413 curve += 2; in mpc32_program_shaper_luta_settings()
420 curve += 2; in mpc32_program_shaper_luta_settings()
428 curve += 2; in mpc32_program_shaper_luta_settings()
435 curve += 2; in mpc32_program_shaper_luta_settings()
442 curve += 2; in mpc32_program_shaper_luta_settings()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dpp/dcn20/
H A Ddcn20_dpp_cm.c666 curve += 2; in dpp20_program_shaper_luta_settings()
673 curve += 2; in dpp20_program_shaper_luta_settings()
680 curve += 2; in dpp20_program_shaper_luta_settings()
687 curve += 2; in dpp20_program_shaper_luta_settings()
694 curve += 2; in dpp20_program_shaper_luta_settings()
701 curve += 2; in dpp20_program_shaper_luta_settings()
708 curve += 2; in dpp20_program_shaper_luta_settings()
715 curve += 2; in dpp20_program_shaper_luta_settings()
722 curve += 2; in dpp20_program_shaper_luta_settings()
729 curve += 2; in dpp20_program_shaper_luta_settings()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dpp/dcn30/
H A Ddcn30_dpp.c935 curve += 2; in dpp3_program_shaper_luta_settings()
942 curve += 2; in dpp3_program_shaper_luta_settings()
949 curve += 2; in dpp3_program_shaper_luta_settings()
956 curve += 2; in dpp3_program_shaper_luta_settings()
963 curve += 2; in dpp3_program_shaper_luta_settings()
970 curve += 2; in dpp3_program_shaper_luta_settings()
977 curve += 2; in dpp3_program_shaper_luta_settings()
984 curve += 2; in dpp3_program_shaper_luta_settings()
991 curve += 2; in dpp3_program_shaper_luta_settings()
998 curve += 2; in dpp3_program_shaper_luta_settings()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_mpc.c505 curve += 2; in mpc3_program_shaper_luta_settings()
512 curve += 2; in mpc3_program_shaper_luta_settings()
519 curve += 2; in mpc3_program_shaper_luta_settings()
526 curve += 2; in mpc3_program_shaper_luta_settings()
533 curve += 2; in mpc3_program_shaper_luta_settings()
540 curve += 2; in mpc3_program_shaper_luta_settings()
547 curve += 2; in mpc3_program_shaper_luta_settings()
555 curve += 2; in mpc3_program_shaper_luta_settings()
562 curve += 2; in mpc3_program_shaper_luta_settings()
569 curve += 2; in mpc3_program_shaper_luta_settings()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dce110/
H A Ddce110_opp_regamma_v.c198 curve[0].offset, in regamma_config_regions_and_segments()
210 curve[1].offset, 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()
243 curve[1].offset, in regamma_config_regions_and_segments()
258 curve += 2; in regamma_config_regions_and_segments()
290 curve += 2; in regamma_config_regions_and_segments()
322 curve += 2; in regamma_config_regions_and_segments()
354 curve += 2; in regamma_config_regions_and_segments()
386 curve += 2; in regamma_config_regions_and_segments()
[all …]
/linux/drivers/crypto/intel/keembay/
H A Dkeembay-ocs-ecc.c391 rc = kmb_ecc_do_scalar_op(ecc_dev, w, curve->a, pk->x, curve, in kmb_ocs_ecc_is_pubkey_valid_partial()
398 rc = kmb_ecc_do_scalar_op(ecc_dev, w, w, curve->b, curve, in kmb_ocs_ecc_is_pubkey_valid_partial()
441 rc = kmb_ecc_point_mult(ecc_dev, nQ, pk, curve->n, curve); in kmb_ocs_ecc_is_pubkey_valid_full()
498 nbits = vli_num_bits(curve->n, curve->g.ndigits); in kmb_ecc_gen_privkey()
579 const struct ecc_curve *curve = tctx->curve; in kmb_ecc_do_shared_secret() local
661 const struct ecc_curve *curve = tctx->curve; in kmb_ecc_do_public_key() local
677 curve); in kmb_ecc_do_public_key()
726 const struct ecc_curve *curve = tctx->curve; in kmb_ocs_ecdh_generate_public_key() local
729 if (!tctx->curve) in kmb_ocs_ecdh_generate_public_key()
751 const struct ecc_curve *curve = tctx->curve; in kmb_ocs_ecdh_compute_shared_secret() local
[all …]
/linux/crypto/
H A Decc.c1220 apply_z(x1, y1, z, curve); in xycz_initial_double()
1224 apply_z(x2, y2, z, curve); in xycz_initial_double()
1232 const struct ecc_curve *curve) in xycz_add() argument
1339 u64 *curve_prime = curve->p; in ecc_point_mult()
1348 num_bits = curve->nbits + 2; in ecc_point_mult()
1460 apply_z(tx, ty, z, curve); in ecc_point_mult_shamir()
1467 apply_z(rx, ry, z, curve); in ecc_point_mult_shamir()
1584 ecc_point_mult(pk, &curve->g, private_key, NULL, curve, ndigits); in ecc_make_pub_key()
1625 vli_mod_mult_fast(w, curve->a, pk->x, curve); /* a·x */ in ecc_is_pubkey_valid_partial()
1626 vli_mod_add(w, w, curve->b, curve->p, pk->ndigits); /* a·x + b */ in ecc_is_pubkey_valid_partial()
[all …]
H A 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
115 vli_mod_inv(s1, s, curve->n, ndigits); in _ecdsa_verify()
121 ecc_point_mult_shamir(&res, u1, &curve->g, u2, &ctx->pub_key, curve); in _ecdsa_verify()
143 .curve = ctx->curve, in ecdsa_verify()
191 ctx->curve = ecc_get_curve(curve_id); in ecdsa_ecc_ctx_init()
192 if (!ctx->curve) in ecdsa_ecc_ctx_init()
[all …]
H A Decrdsa.c92 if (!ctx->curve || 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()
134 vli_sub(_r, ctx->curve->n, r, ndigits); in ecrdsa_verify()
139 ctx->curve); in ecrdsa_verify()
141 vli_sub(cc.x, cc.x, ctx->curve->n, ndigits); in ecrdsa_verify()
158 ctx->curve = get_curve_by_oid(ctx->curve_oid); in ecrdsa_param_curve()
[all …]
H A Decrdsa_params.asn12 curve OBJECT IDENTIFIER ({ ecrdsa_param_curve }),
/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_transform.c1483 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()
1504 REGAMMA_CNTLA_EXP_REGION1_LUT_OFFSET, curve[1].offset, in regamma_config_regions_and_segments()
1506 curve += 2; in regamma_config_regions_and_segments()
1513 curve += 2; in regamma_config_regions_and_segments()
1520 curve += 2; in regamma_config_regions_and_segments()
1527 curve += 2; in regamma_config_regions_and_segments()
1534 curve += 2; in regamma_config_regions_and_segments()
1541 curve += 2; in regamma_config_regions_and_segments()
[all …]
/linux/Documentation/hwmon/
H A Dnzxt-kraken3.rst25 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 Dlm63.rst82 (you cannot define your custom PWM/temperature curve), and mode change isn't
H A Dw83793.rst96 trip points, defining a PWM/temperature curve which the chip will follow.
/linux/include/crypto/internal/
H A Decc.h145 int ecc_is_pubkey_valid_partial(const struct ecc_curve *curve,
159 int ecc_is_pubkey_valid_full(const struct ecc_curve *curve,
291 const struct ecc_curve *curve);
/linux/drivers/gpu/drm/amd/display/modules/color/
H A Dcolor_gamma.c1210 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()
2047 curve = kvcalloc(MAX_HW_POINTS + _EXTRA_POINTS, sizeof(*curve), in mod_color_calculate_degamma_params()
2049 if (!curve) in mod_color_calculate_degamma_params()
2060 build_de_pq(curve, in mod_color_calculate_degamma_params()
2068 build_degamma(curve, in mod_color_calculate_degamma_params()
2073 build_hlg_degamma(curve, in mod_color_calculate_degamma_params()
2082 curve[i].g = curve[i].r; in mod_color_calculate_degamma_params()
2083 curve[i].b = curve[i].r; in mod_color_calculate_degamma_params()
[all …]
/linux/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c1286 if (unlikely(!curve)) in hpre_ecdh_fill_curve()
1293 fill_curve_param(p, curve->p, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
1294 fill_curve_param(a, curve->a, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
1295 fill_curve_param(b, curve->b, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
1296 fill_curve_param(x, curve->g.x, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
1297 fill_curve_param(y, curve->g.y, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
1298 fill_curve_param(n, curve->n, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
1702 fill_curve_param(p, curve->p, len, curve->g.ndigits); in hpre_curve25519_fill_curve()
1703 fill_curve_param(p + sz, curve->a, len, curve->g.ndigits); in hpre_curve25519_fill_curve()
1705 fill_curve_param(p + shift + sz, curve->g.x, len, curve->g.ndigits); in hpre_curve25519_fill_curve()
[all …]
/linux/Documentation/ABI/testing/
H A 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.
H A Dsysfs-bus-iio-isl2950132 Then a least squares curve fit to a second order
/linux/Documentation/devicetree/bindings/crypto/
H A Dintel,keembay-ocs-ecc.yaml15 Cryptography (ECC) device provides hardware acceleration for elliptic curve
/linux/drivers/hwmon/
H A Dnzxt-kraken3.c30 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 Dvidioc-dv-timings-cap.rst149 (CVT) or the 'Secondary GTF' curve (GTF).
/linux/Documentation/devicetree/bindings/iio/temperature/
H A Dadi,ltc2983.yaml242 adi,rtd-curve:
244 RTD curve and the corresponding Callendar-VanDusen constants.
/linux/Documentation/security/tpm/
H A Dtpm-security.rst89 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/certs/
H A DKconfig35 Use an elliptic curve key (NIST P384) for module signing. Use

12