Home
last modified time | relevance | path

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

12

/linux-6.15/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-6.15/drivers/gpu/drm/amd/display/dc/mpc/dcn32/
H A Ddcn32_mpc.c379 curve += 2; in mpc32_program_shaper_luta_settings()
386 curve += 2; in mpc32_program_shaper_luta_settings()
393 curve += 2; in mpc32_program_shaper_luta_settings()
400 curve += 2; in mpc32_program_shaper_luta_settings()
407 curve += 2; in mpc32_program_shaper_luta_settings()
414 curve += 2; in mpc32_program_shaper_luta_settings()
421 curve += 2; in mpc32_program_shaper_luta_settings()
429 curve += 2; in mpc32_program_shaper_luta_settings()
436 curve += 2; in mpc32_program_shaper_luta_settings()
443 curve += 2; in mpc32_program_shaper_luta_settings()
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/dpp/dcn30/
H A Ddcn30_dpp.c932 curve += 2; in dpp3_program_shaper_luta_settings()
939 curve += 2; in dpp3_program_shaper_luta_settings()
946 curve += 2; in dpp3_program_shaper_luta_settings()
953 curve += 2; in dpp3_program_shaper_luta_settings()
960 curve += 2; in dpp3_program_shaper_luta_settings()
967 curve += 2; in dpp3_program_shaper_luta_settings()
974 curve += 2; in dpp3_program_shaper_luta_settings()
981 curve += 2; in dpp3_program_shaper_luta_settings()
988 curve += 2; in dpp3_program_shaper_luta_settings()
995 curve += 2; in dpp3_program_shaper_luta_settings()
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dc/mpc/dcn30/
H A Ddcn30_mpc.c522 curve += 2; in mpc3_program_shaper_luta_settings()
529 curve += 2; in mpc3_program_shaper_luta_settings()
536 curve += 2; in mpc3_program_shaper_luta_settings()
543 curve += 2; in mpc3_program_shaper_luta_settings()
550 curve += 2; in mpc3_program_shaper_luta_settings()
557 curve += 2; in mpc3_program_shaper_luta_settings()
564 curve += 2; in mpc3_program_shaper_luta_settings()
572 curve += 2; in mpc3_program_shaper_luta_settings()
579 curve += 2; in mpc3_program_shaper_luta_settings()
586 curve += 2; in mpc3_program_shaper_luta_settings()
[all …]
/linux-6.15/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-6.15/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-6.15/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 Decrdsa.c90 if (!ctx->curve || 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()
126 vli_sub(_r, ctx->curve->n, r, ndigits); in ecrdsa_verify()
131 ctx->curve); in ecrdsa_verify()
133 vli_sub(cc.x, cc.x, ctx->curve->n, ndigits); in ecrdsa_verify()
150 ctx->curve = get_curve_by_oid(ctx->curve_oid); in ecrdsa_param_curve()
[all …]
H A Decdsa.c15 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()
44 vli_mod_inv(s1, s, curve->n, ndigits); in _ecdsa_verify()
50 ecc_point_mult_shamir(&res, u1, &curve->g, u2, &ctx->pub_key, curve); in _ecdsa_verify()
55 vli_sub(res.x, res.x, curve->n, ndigits); in _ecdsa_verify()
92 ctx->curve = ecc_get_curve(curve_id); in ecdsa_ecc_ctx_init()
93 if (!ctx->curve) in ecdsa_ecc_ctx_init()
114 ctx->curve->g.ndigits); in ecdsa_ecc_ctx_reset()
144 if (ndigits != ctx->curve->g.ndigits) in ecdsa_set_pub_key()
[all …]
H A Decrdsa_params.asn12 curve OBJECT IDENTIFIER ({ ecrdsa_param_curve }),
/linux-6.15/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-6.15/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-6.15/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()
1740 curve = kvcalloc(MAX_HW_POINTS + _EXTRA_POINTS, sizeof(*curve), in mod_color_calculate_degamma_params()
1742 if (!curve) in mod_color_calculate_degamma_params()
1753 build_de_pq(curve, in mod_color_calculate_degamma_params()
1761 build_degamma(curve, in mod_color_calculate_degamma_params()
1766 build_hlg_degamma(curve, in mod_color_calculate_degamma_params()
1775 curve[i].g = curve[i].r; in mod_color_calculate_degamma_params()
1776 curve[i].b = curve[i].r; in mod_color_calculate_degamma_params()
[all …]
/linux-6.15/include/crypto/internal/
H A Decc.h160 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-6.15/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c1292 if (unlikely(!curve)) in hpre_ecdh_fill_curve()
1299 fill_curve_param(p, curve->p, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
1300 fill_curve_param(a, curve->a, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
1301 fill_curve_param(b, curve->b, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
1302 fill_curve_param(x, curve->g.x, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
1303 fill_curve_param(y, curve->g.y, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
1304 fill_curve_param(n, curve->n, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
1711 fill_curve_param(p, curve->p, len, curve->g.ndigits); in hpre_curve25519_fill_curve()
1712 fill_curve_param(p + sz, curve->a, len, curve->g.ndigits); in hpre_curve25519_fill_curve()
1714 fill_curve_param(p + shift + sz, curve->g.x, len, curve->g.ndigits); in hpre_curve25519_fill_curve()
[all …]
/linux-6.15/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-6.15/Documentation/devicetree/bindings/crypto/
H A Dintel,keembay-ocs-ecc.yaml15 Cryptography (ECC) device provides hardware acceleration for elliptic curve
/linux-6.15/drivers/media/platform/rockchip/rkisp1/
H A Drkisp1-params.c1265 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()
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
2000 rkisp1_compand_compress_config(params, &curve->config); in rkisp1_ext_params_compand_compress()
[all …]
/linux-6.15/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-6.15/Documentation/userspace-api/media/v4l/
H A Dvidioc-dv-timings-cap.rst149 (CVT) or the 'Secondary GTF' curve (GTF).
/linux-6.15/Documentation/devicetree/bindings/iio/temperature/
H A Dadi,ltc2983.yaml242 adi,rtd-curve:
244 RTD curve and the corresponding Callendar-VanDusen constants.
/linux-6.15/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

12