| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/ |
| D | dcn20_dpp_cm.c | 579 const struct gamma_curve *curve; in dpp20_program_shaper_luta_settings() local 604 curve = params->arr_curve_points; in dpp20_program_shaper_luta_settings() 606 CM_SHAPER_RAMA_EXP_REGION0_LUT_OFFSET, curve[0].offset, in dpp20_program_shaper_luta_settings() 607 CM_SHAPER_RAMA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num, in dpp20_program_shaper_luta_settings() 608 CM_SHAPER_RAMA_EXP_REGION1_LUT_OFFSET, curve[1].offset, in dpp20_program_shaper_luta_settings() 609 CM_SHAPER_RAMA_EXP_REGION1_NUM_SEGMENTS, curve[1].segments_num); in dpp20_program_shaper_luta_settings() 611 curve += 2; in dpp20_program_shaper_luta_settings() 613 CM_SHAPER_RAMA_EXP_REGION2_LUT_OFFSET, curve[0].offset, in dpp20_program_shaper_luta_settings() 614 CM_SHAPER_RAMA_EXP_REGION2_NUM_SEGMENTS, curve[0].segments_num, in dpp20_program_shaper_luta_settings() 615 CM_SHAPER_RAMA_EXP_REGION3_LUT_OFFSET, curve[1].offset, in dpp20_program_shaper_luta_settings() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/ |
| D | dcn30_dpp.c | 783 const struct gamma_curve *curve; in dpp3_program_shaper_luta_settings() local 808 curve = params->arr_curve_points; in dpp3_program_shaper_luta_settings() 810 CM_SHAPER_RAMA_EXP_REGION0_LUT_OFFSET, curve[0].offset, in dpp3_program_shaper_luta_settings() 811 CM_SHAPER_RAMA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num, in dpp3_program_shaper_luta_settings() 812 CM_SHAPER_RAMA_EXP_REGION1_LUT_OFFSET, curve[1].offset, in dpp3_program_shaper_luta_settings() 813 CM_SHAPER_RAMA_EXP_REGION1_NUM_SEGMENTS, curve[1].segments_num); in dpp3_program_shaper_luta_settings() 815 curve += 2; in dpp3_program_shaper_luta_settings() 817 CM_SHAPER_RAMA_EXP_REGION2_LUT_OFFSET, curve[0].offset, in dpp3_program_shaper_luta_settings() 818 CM_SHAPER_RAMA_EXP_REGION2_NUM_SEGMENTS, curve[0].segments_num, in dpp3_program_shaper_luta_settings() 819 CM_SHAPER_RAMA_EXP_REGION3_LUT_OFFSET, curve[1].offset, in dpp3_program_shaper_luta_settings() [all …]
|
| D | dcn30_mpc.c | 468 const struct gamma_curve *curve; in mpc3_program_shaper_luta_settings() local 491 curve = params->arr_curve_points; in mpc3_program_shaper_luta_settings() 493 MPC_RMU_SHAPER_RAMA_EXP_REGION0_LUT_OFFSET, curve[0].offset, in mpc3_program_shaper_luta_settings() 494 MPC_RMU_SHAPER_RAMA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num, in mpc3_program_shaper_luta_settings() 495 MPC_RMU_SHAPER_RAMA_EXP_REGION1_LUT_OFFSET, curve[1].offset, in mpc3_program_shaper_luta_settings() 496 MPC_RMU_SHAPER_RAMA_EXP_REGION1_NUM_SEGMENTS, curve[1].segments_num); in mpc3_program_shaper_luta_settings() 498 curve += 2; 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() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce110/ |
| D | dce110_opp_regamma_v.c | 120 * build regamma curve by using predefined hw points 135 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() [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/fbtft/ |
| D | fb_hx8340bn.c | 145 * Gamma Curve selection, GC (only GC0 can be customized): 151 #define CURVE(num, idx) curves[(num) * par->gamma.num_values + (idx)] macro 164 CURVE(i, j) &= mask[i * par->gamma.num_values + j]; in set_gamma() 167 write_reg(par, MIPI_DCS_SET_GAMMA_CURVE, 1 << CURVE(1, 14)); in set_gamma() 169 if (CURVE(1, 14)) in set_gamma() 173 (CURVE(0, 8) << 4) | CURVE(0, 7), in set_gamma() 174 (CURVE(0, 10) << 4) | CURVE(0, 9), in set_gamma() 175 (CURVE(0, 12) << 4) | CURVE(0, 11), in set_gamma() 176 CURVE(0, 2), in set_gamma() 177 (CURVE(0, 4) << 4) | CURVE(0, 3), in set_gamma() [all …]
|
| D | fb_s6d1121.c | 119 #define CURVE(num, idx) curves[(num) * par->gamma.num_values + (idx)] macro 132 CURVE(i, j) &= mask[i * par->gamma.num_values + j]; in set_gamma() 134 write_reg(par, 0x0030, CURVE(0, 1) << 8 | CURVE(0, 0)); in set_gamma() 135 write_reg(par, 0x0031, CURVE(0, 3) << 8 | CURVE(0, 2)); in set_gamma() 136 write_reg(par, 0x0032, CURVE(0, 5) << 8 | CURVE(0, 3)); in set_gamma() 137 write_reg(par, 0x0033, CURVE(0, 7) << 8 | CURVE(0, 6)); in set_gamma() 138 write_reg(par, 0x0034, CURVE(0, 9) << 8 | CURVE(0, 8)); in set_gamma() 139 write_reg(par, 0x0035, CURVE(0, 11) << 8 | CURVE(0, 10)); in set_gamma() 141 write_reg(par, 0x0036, CURVE(1, 1) << 8 | CURVE(1, 0)); in set_gamma() 142 write_reg(par, 0x0037, CURVE(1, 3) << 8 | CURVE(1, 2)); in set_gamma() [all …]
|
| D | fb_ssd1289.c | 125 #define CURVE(num, idx) curves[(num) * par->gamma.num_values + (idx)] macro 137 CURVE(i, j) &= mask[i * par->gamma.num_values + j]; in set_gamma() 139 write_reg(par, 0x0030, CURVE(0, 5) << 8 | CURVE(0, 4)); in set_gamma() 140 write_reg(par, 0x0031, CURVE(0, 7) << 8 | CURVE(0, 6)); in set_gamma() 141 write_reg(par, 0x0032, CURVE(0, 9) << 8 | CURVE(0, 8)); in set_gamma() 142 write_reg(par, 0x0033, CURVE(0, 3) << 8 | CURVE(0, 2)); in set_gamma() 143 write_reg(par, 0x0034, CURVE(1, 5) << 8 | CURVE(1, 4)); in set_gamma() 144 write_reg(par, 0x0035, CURVE(1, 7) << 8 | CURVE(1, 6)); in set_gamma() 145 write_reg(par, 0x0036, CURVE(1, 9) << 8 | CURVE(1, 8)); in set_gamma() 146 write_reg(par, 0x0037, CURVE(1, 3) << 8 | CURVE(1, 2)); in set_gamma() [all …]
|
| D | fb_st7735r.c | 136 #define CURVE(num, idx) curves[(num) * par->gamma.num_values + (idx)] macro 144 CURVE(i, j) &= 0x3f; in set_gamma() 148 CURVE(i, 0), CURVE(i, 1), in set_gamma() 149 CURVE(i, 2), CURVE(i, 3), in set_gamma() 150 CURVE(i, 4), CURVE(i, 5), in set_gamma() 151 CURVE(i, 6), CURVE(i, 7), in set_gamma() 152 CURVE(i, 8), CURVE(i, 9), in set_gamma() 153 CURVE(i, 10), CURVE(i, 11), in set_gamma() 154 CURVE(i, 12), CURVE(i, 13), in set_gamma() 155 CURVE(i, 14), CURVE(i, 15)); in set_gamma() [all …]
|
| D | fb_hx8347d.c | 95 #define CURVE(num, idx) curves[(num) * par->gamma.num_values + (idx)] macro 108 acc += CURVE(i, j); in set_gamma() 109 CURVE(i, j) &= mask[j]; in set_gamma() 116 write_reg(par, 0x40 + (i * 0x10), CURVE(i, 0)); in set_gamma() 117 write_reg(par, 0x41 + (i * 0x10), CURVE(i, 1)); in set_gamma() 118 write_reg(par, 0x42 + (i * 0x10), CURVE(i, 2)); in set_gamma() 119 write_reg(par, 0x43 + (i * 0x10), CURVE(i, 3)); in set_gamma() 120 write_reg(par, 0x44 + (i * 0x10), CURVE(i, 4)); in set_gamma() 121 write_reg(par, 0x45 + (i * 0x10), CURVE(i, 5)); in set_gamma() 122 write_reg(par, 0x46 + (i * 0x10), CURVE(i, 6)); in set_gamma() [all …]
|
| D | fb_ili9320.c | 213 #define CURVE(num, idx) curves[(num) * par->gamma.num_values + (idx)] macro 225 CURVE(i, j) &= mask[i * par->gamma.num_values + j]; in set_gamma() 227 write_reg(par, 0x0030, CURVE(0, 5) << 8 | CURVE(0, 4)); in set_gamma() 228 write_reg(par, 0x0031, CURVE(0, 7) << 8 | CURVE(0, 6)); in set_gamma() 229 write_reg(par, 0x0032, CURVE(0, 9) << 8 | CURVE(0, 8)); in set_gamma() 230 write_reg(par, 0x0035, CURVE(0, 3) << 8 | CURVE(0, 2)); in set_gamma() 231 write_reg(par, 0x0036, CURVE(0, 1) << 8 | CURVE(0, 0)); in set_gamma() 233 write_reg(par, 0x0037, CURVE(1, 5) << 8 | CURVE(1, 4)); in set_gamma() 234 write_reg(par, 0x0038, CURVE(1, 7) << 8 | CURVE(1, 6)); in set_gamma() 235 write_reg(par, 0x0039, CURVE(1, 9) << 8 | CURVE(1, 8)); in set_gamma() [all …]
|
| D | fb_ili9341.c | 114 #define CURVE(num, idx) curves[(num) * par->gamma.num_values + (idx)] macro 121 CURVE(i, 0), CURVE(i, 1), CURVE(i, 2), in set_gamma() 122 CURVE(i, 3), CURVE(i, 4), CURVE(i, 5), in set_gamma() 123 CURVE(i, 6), CURVE(i, 7), CURVE(i, 8), in set_gamma() 124 CURVE(i, 9), CURVE(i, 10), CURVE(i, 11), in set_gamma() 125 CURVE(i, 12), CURVE(i, 13), CURVE(i, 14)); in set_gamma() 130 #undef CURVE
|
| D | fb_ili9163.c | 84 /* default gamma curve 3 */ in init_display() 191 #define CURVE(num, idx) curves[(num) * par->gamma.num_values + (idx)] macro 202 CURVE(i, j) &= mask[i * par->gamma.num_values + j]; in gamma_adj() 205 CURVE(0, 0), in gamma_adj() 206 CURVE(0, 1), in gamma_adj() 207 CURVE(0, 2), in gamma_adj() 208 CURVE(0, 3), in gamma_adj() 209 CURVE(0, 4), in gamma_adj() 210 CURVE(0, 5), in gamma_adj() 211 CURVE(0, 6), in gamma_adj() [all …]
|
| D | fb_ili9325.c | 204 #define CURVE(num, idx) curves[(num) * par->gamma.num_values + (idx)] macro 216 CURVE(i, j) &= mask[i * par->gamma.num_values + j]; in set_gamma() 218 write_reg(par, 0x0030, CURVE(0, 5) << 8 | CURVE(0, 4)); in set_gamma() 219 write_reg(par, 0x0031, CURVE(0, 7) << 8 | CURVE(0, 6)); in set_gamma() 220 write_reg(par, 0x0032, CURVE(0, 9) << 8 | CURVE(0, 8)); in set_gamma() 221 write_reg(par, 0x0035, CURVE(0, 3) << 8 | CURVE(0, 2)); in set_gamma() 222 write_reg(par, 0x0036, CURVE(0, 1) << 8 | CURVE(0, 0)); in set_gamma() 224 write_reg(par, 0x0037, CURVE(1, 5) << 8 | CURVE(1, 4)); in set_gamma() 225 write_reg(par, 0x0038, CURVE(1, 7) << 8 | CURVE(1, 6)); in set_gamma() 226 write_reg(par, 0x0039, CURVE(1, 9) << 8 | CURVE(1, 8)); in set_gamma() [all …]
|
| /kernel/linux/linux-5.10/crypto/ |
| D | ecc.h | 40 * struct ecc_point - elliptic curve point in affine coordinates 55 * struct ecc_curve - definition of elliptic curve 57 * @name: Short name of the curve. 58 * @g: Generator point of the curve. 59 * @p: Prime number, if Barrett's reduction is used for this curve 63 * @n: Order of the curve group. 64 * @a: Curve parameter a. 65 * @b: Curve parameter b. 92 * ecc_get_curve() - Get a curve given its curve_id 93 * @curve_id: Id of the curve [all …]
|
| D | ecrdsa.c | 3 * Elliptic Curve (Russian) Digital Signature Algorithm for Cryptographic API 38 const struct ecc_curve *curve; /* curve from oid */ member 88 * Digest value, digest algorithm, and curve (modulus) should have the in ecrdsa_verify() 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() [all …]
|
| D | ecc.c | 550 * Handbook of Elliptic and Hyperelliptic Curve Cryptography. 900 const struct ecc_curve *curve) in vli_mmod_fast() argument 903 const u64 *curve_prime = curve->p; in vli_mmod_fast() 904 const unsigned int ndigits = curve->g.ndigits; in vli_mmod_fast() 907 if (strncmp(curve->name, "nist_", 5) != 0) { in vli_mmod_fast() 942 * Assumes that mod is big enough curve order. 956 const struct ecc_curve *curve) in vli_mod_mult_fast() argument 960 vli_mult(product, left, right, curve->g.ndigits); in vli_mod_mult_fast() 961 vli_mmod_fast(result, product, curve); in vli_mod_mult_fast() 966 const struct ecc_curve *curve) in vli_mod_square_fast() argument [all …]
|
| D | ecdsa.c | 18 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 97 unsigned int ndigits = curve->g.ndigits; in _ecdsa_verify() 106 if (vli_is_zero(r, ndigits) || vli_cmp(r, curve->n, ndigits) >= 0 || in _ecdsa_verify() 107 vli_is_zero(s, ndigits) || vli_cmp(s, curve->n, ndigits) >= 0) in _ecdsa_verify() 115 vli_mod_inv(s1, s, curve->n, ndigits); in _ecdsa_verify() 117 vli_mod_mult_slow(u1, hash, s1, curve->n, ndigits); in _ecdsa_verify() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce/ |
| D | dce_transform.c | 1497 const struct gamma_curve *curve; in regamma_config_regions_and_segments() local 1513 curve = params->arr_curve_points; in regamma_config_regions_and_segments() 1516 REGAMMA_CNTLA_EXP_REGION0_LUT_OFFSET, curve[0].offset, in regamma_config_regions_and_segments() 1517 REGAMMA_CNTLA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num, in regamma_config_regions_and_segments() 1518 REGAMMA_CNTLA_EXP_REGION1_LUT_OFFSET, curve[1].offset, in regamma_config_regions_and_segments() 1519 REGAMMA_CNTLA_EXP_REGION1_NUM_SEGMENTS, curve[1].segments_num); in regamma_config_regions_and_segments() 1520 curve += 2; in regamma_config_regions_and_segments() 1523 REGAMMA_CNTLA_EXP_REGION0_LUT_OFFSET, curve[0].offset, in regamma_config_regions_and_segments() 1524 REGAMMA_CNTLA_EXP_REGION0_NUM_SEGMENTS, curve[0].segments_num, in regamma_config_regions_and_segments() 1525 REGAMMA_CNTLA_EXP_REGION1_LUT_OFFSET, curve[1].offset, in regamma_config_regions_and_segments() [all …]
|
| /kernel/linux/linux-5.10/tools/perf/pmu-events/arch/s390/cf_z15/ |
| D | crypto6.json | 7 …"PublicDescription": "This counter counts the total number of the elliptic-curve cryptography (ECC… 14 …er of CPU cycles when the ECC coprocessor is busy performing the elliptic-curve cryptography (ECC)… 21 …"PublicDescription": "This counter counts the total number of the elliptic-curve cryptography (ECC… 28 …is counter counts the total number of CPU cycles blocked for the elliptic-curve cryptography (ECC)…
|
| /kernel/linux/linux-5.10/net/sched/ |
| D | sch_hfsc.c | 42 * "A Hierarchical Fair Service Curve Algorithm for Link-Sharing, 48 * upperlimit service curve. the link-sharing scheduler does not schedule 72 * kernel internal service curve representation: 77 * The service curve parameters are converted to the internal 93 /* runtime service curve */ 144 class's own upperlimit curve) */ 155 struct internal_sc cl_rsc; /* internal real-time service curve */ 156 struct internal_sc cl_fsc; /* internal fair service curve */ 157 struct internal_sc cl_usc; /* internal upperlimit service curve */ 158 struct runtime_sc cl_deadline; /* deadline curve */ [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/color/ |
| D | color_gamma.c | 1016 static bool build_degamma(struct pwl_float_data_ex *curve, in build_degamma() argument 1037 curve[i].r = dc_fixpt_zero; in build_degamma() 1038 curve[i].g = dc_fixpt_zero; in build_degamma() 1039 curve[i].b = dc_fixpt_zero; in build_degamma() 1044 curve[i].r = translate_to_linear_space_ex( in build_degamma() 1046 curve[i].g = curve[i].r; in build_degamma() 1047 curve[i].b = curve[i].r; in build_degamma() 1051 curve[i].r = dc_fixpt_one; in build_degamma() 1052 curve[i].g = dc_fixpt_one; in build_degamma() 1053 curve[i].b = dc_fixpt_one; in build_degamma() [all …]
|
| /kernel/linux/linux-5.10/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.
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | mpi.h | 171 /* Models describing an elliptic curve */ 197 enum gcry_mpi_ec_models model; /* The model describing this curve. */ 198 enum ecc_dialects dialect; /* The ECC dialect used with the curve. */ 216 const char *name; /* Name of the curve. */ 235 /* int nist_nbits; /\* If this is a NIST curve, the # of bits. *\/ */ 240 /* Curve specific computation routines for the field. */
|
| /kernel/linux/linux-5.10/drivers/staging/media/rkisp1/uapi/ |
| D | rkisp1-config.h | 34 /* Gamma Out Curve */ 274 * struct rkisp1_cif_isp_gamma_corr_curve - gamma curve point definition y-axis (output). 276 * The reset values define a linear curve which has the same effect as bypass. Reset values are: 279 * @gamma_y: the values for the y-axis of gamma curve points. Each value is 12 bit. 286 * struct rkisp1_cif_isp_gamma_curve_x_axis_pnts - De-Gamma Curve definition x increments 291 * @gamma_dx0: gamma curve sample points definitions. Bits 0:2 for sample 1. Bit 3 unused. 293 * @gamma_dx1: gamma curve sample points definitions. Bits 0:2 for sample 9. Bit 3 unused. 304 * @curve_r: gamma curve point definition axis for red 305 * @curve_g: gamma curve point definition axis for green 306 * @curve_b: gamma curve point definition axis for blue [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/ath/ath5k/ |
| D | eeprom.c | 628 * For RF5111 we have an XPD -eXternal Power Detector- curve 629 * for each calibrated channel. Each curve has 0,5dB Power steps 631 * exponential function. To recreate the curve we read 11 points 639 * 10% of the pcdac curve -until the curve reaches its maximum- 642 * the pcdac steps based on eeprom version and curve min/max so that we 737 /* Only one curve for RF5111 in ath5k_eeprom_convert_pcal_info_5111() 758 /* Allocate pd points for this curve */ in ath5k_eeprom_convert_pcal_info_5111() 892 * use the higher (3) and the lower (0) curves. Each curve has 0.5dB 894 * linear function. To recreate the curve and pass the power values 934 /* Lowest gain curve (max power) */ in ath5k_eeprom_convert_pcal_info_5112() [all …]
|