Home
last modified time | relevance | path

Searched full:curves (Results 1 – 25 of 55) sorted by relevance

123

/linux-6.12.1/drivers/staging/fbtft/
Dfb_hx8353d.c112 static int set_gamma(struct fbtft_par *par, u32 *curves) in set_gamma() argument
115 curves[0], curves[1], curves[2], curves[3], in set_gamma()
116 curves[4], curves[5], curves[6], curves[7], in set_gamma()
117 curves[8], curves[9], curves[10], curves[11], in set_gamma()
118 curves[12], curves[13], curves[14], curves[15], in set_gamma()
119 curves[16], curves[17], curves[18]); in set_gamma()
Dfb_st7789v.c297 * set_gamma() - set gamma curves
300 * @curves: gamma curves
302 * Before the gamma curves are applied, they are preprocessed with a bitmask
304 * This implies that the curves input parameter might be changed by this
310 static int set_gamma(struct fbtft_par *par, u32 *curves) in set_gamma() argument
319 * gamma curves. in set_gamma()
341 curves[c + j] &= gamma_par_mask[j]; in set_gamma()
343 curves[c + 0], curves[c + 1], curves[c + 2], in set_gamma()
344 curves[c + 3], curves[c + 4], curves[c + 5], in set_gamma()
345 curves[c + 6], curves[c + 7], curves[c + 8], in set_gamma()
[all …]
Dfbtft-sysfs.c20 int fbtft_gamma_parse_str(struct fbtft_par *par, u32 *curves, in fbtft_gamma_parse_str() argument
30 if (!str || !curves) in fbtft_gamma_parse_str()
52 dev_err(par->info->device, "Gamma: Too many curves\n"); in fbtft_gamma_parse_str()
71 curves[_count] = val; in fbtft_gamma_parse_str()
82 dev_err(par->info->device, "Gamma: Too few curves\n"); in fbtft_gamma_parse_str()
93 sprintf_gamma(struct fbtft_par *par, u32 *curves, char *buf) in sprintf_gamma() argument
102 "%04x ", curves[i * par->gamma.num_values + j]); in sprintf_gamma()
128 memcpy(par->gamma.curves, tmp_curves, in store_gamma_curve()
142 return sprintf_gamma(par, par->gamma.curves, buf); in show_gamma_curve()
207 if (par->gamma.curves && par->fbtftops.set_gamma) in fbtft_sysfs_init()
[all …]
Dfb_ssd1305.c37 if (par->gamma.curves[0] == 0) { in init_display()
40 par->gamma.curves[0] = 0xCF; in init_display()
42 par->gamma.curves[0] = 0x8F; in init_display()
142 static int set_gamma(struct fbtft_par *par, u32 *curves) in set_gamma() argument
144 curves[0] &= 0xFF; in set_gamma()
147 write_reg(par, curves[0]); in set_gamma()
Dfb_ssd1306.c36 if (par->gamma.curves[0] == 0) { in init_display()
39 par->gamma.curves[0] = 0xCF; in init_display()
41 par->gamma.curves[0] = 0x8F; in init_display()
159 static int set_gamma(struct fbtft_par *par, u32 *curves) in set_gamma() argument
162 curves[0] &= 0xFF; in set_gamma()
166 write_reg(par, curves[0]); in set_gamma()
Dfb_ssd1325.c101 static int set_gamma(struct fbtft_par *par, u32 *curves) in set_gamma() argument
106 if (i > 0 && curves[i] < 1) { in set_gamma()
112 if (curves[i] > 7) { in set_gamma()
122 write_reg(par, (curves[i] & 0xFF)); in set_gamma()
Dfb_pcd8544.c131 static int set_gamma(struct fbtft_par *par, u32 *curves) in set_gamma() argument
134 curves[0] &= 0x7F; in set_gamma()
137 write_reg(par, 0x80 | curves[0]); in set_gamma()
Dfb_tls8204.c124 static int set_gamma(struct fbtft_par *par, u32 *curves) in set_gamma() argument
127 curves[0] &= 0x7F; in set_gamma()
130 write_reg(par, 0x80 | curves[0]); in set_gamma()
Dfb_ssd1351.c119 static int set_gamma(struct fbtft_par *par, u32 *curves) in set_gamma() argument
125 if (i > 0 && curves[i] < 2) { in set_gamma()
128 i, curves[i]); in set_gamma()
131 acc += curves[i]; in set_gamma()
Dfb_sh1106.c97 static int set_gamma(struct fbtft_par *par, u32 *curves) in set_gamma() argument
100 curves[0] &= 0xFF; in set_gamma()
103 write_reg(par, 0x81, curves[0]); in set_gamma()
Dfbtft.h84 int (*set_gamma)(struct fbtft_par *par, u32 *curves);
100 * @gamma_num: Number of Gamma curves
181 * @gamma.curves: Pointer to Gamma curve array
183 * @gamma.num_curves: Number of Gamma curves
224 u32 *curves; member
Dfb_ssd1331.c131 static int set_gamma(struct fbtft_par *par, u32 *curves) in set_gamma() argument
137 if (i > 0 && curves[i] < 2) { in set_gamma()
143 acc += curves[i]; in set_gamma()
Dinternal.h10 int fbtft_gamma_parse_str(struct fbtft_par *par, u32 *curves,
Dfb_st7735r.c136 #define CURVE(num, idx) curves[(num) * par->gamma.num_values + (idx)]
137 static int set_gamma(struct fbtft_par *par, u32 *curves) in set_gamma() argument
Dfb_ili9341.c114 #define CURVE(num, idx) curves[(num) * par->gamma.num_values + (idx)]
115 static int set_gamma(struct fbtft_par *par, u32 *curves) in set_gamma() argument
Dfb_ssd1289.c122 #define CURVE(num, idx) curves[(num) * par->gamma.num_values + (idx)]
123 static int set_gamma(struct fbtft_par *par, u32 *curves) in set_gamma() argument
/linux-6.12.1/crypto/
Decrdsa_defs.h22 * EC-RDSA uses its own set of curves.
24 * cp256{a,b,c} curves first defined for GOST R 34.10-2001 in RFC 4357 (as
26 * proposed for use in R 50.1.114-2016 and RFC 7836 as the 256-bit curves.
134 /* tc512{a,b} curves first recommended in 2013 and then standardized in
/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-bus-iio-isl2950134 resultant curves have the form ax^2 + bx + c.
36 From those two curves, a and b coefficients shall be
/linux-6.12.1/Documentation/hwmon/
Dnzxt-kraken3.rst34 The temperature of the curves relates to the fixed [20-59] range, correlating to
37 require complete curves to be sent for each change; they can lock up or discard
76 temp[1-2]_auto_point[1-40]_pwm Temp-PWM duty curves (for pump and fan), related to coolant temp
/linux-6.12.1/include/crypto/
Decdh.h17 * The ECC curves known to the ECDH implementation are specified in this
25 /* Curves IDs */
/linux-6.12.1/drivers/net/wireless/ath/ath5k/
Dphy.c2492 /* Keep the right boundary so that it works for both curves */ in ath5k_get_linear_pcdac_min()
2512 * one curves on hw so we can go up to 128 (which is the max step we
2844 * For RF5112 we have 4 XPD -eXternal Power Detector- curves
2846 * use the higher (3) and the lower (0) curves. Each curve again has 0.5dB
2909 * ath5k_combine_linear_pcdac_curves() - Combine available PCDAC Curves
2913 * @pdcurves: Number of pd curves
2915 * Combine available XPD Curves and fill Linear Power to PCDAC table on RF5112
2916 * RFX112 can have up to 2 curves (one for low txpower range and one for
2938 * we don't need to set this, if we have 2 curves and in ath5k_combine_linear_pcdac_curves()
2946 * two curves the first is the high power curve in ath5k_combine_linear_pcdac_curves()
[all …]
Deeprom.c890 * For RF5112 we have 4 XPD -eXternal Power Detector- curves
892 * use the higher (3) and the lower (0) curves. Each curve has 0.5dB
1030 /* Count how many curves we have and in ath5k_eeprom_read_pcal_info_5112()
1032 * available curves we have on each count). in ath5k_eeprom_read_pcal_info_5112()
1033 * Curves are stored from lower (x0) to in ath5k_eeprom_read_pcal_info_5112()
1135 * instead of a PCDAC and 4 pd gain curves for each calibrated channel.
1139 * To recreate the curves we read here the points and interpolate
1140 * later. Note that in most cases only 2 (higher and lower) curves are
1142 * 4 curves on eeprom. The final curve (higher power) has an extra
1293 /* Count how many curves we have and in ath5k_eeprom_read_pcal_info_2413()
[all …]
/linux-6.12.1/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_util.h211 * @adjust_a: Mapping curves A coefficients
212 * @adjust_b: Mapping curves B coefficients
213 * @adjust_c: Mapping curves C coefficients
/linux-6.12.1/include/linux/power/
Dtwl4030_madc_battery.h13 * Usually we can assume 100% @ 4.15V and 0% @ 3.3V but curves differ for
/linux-6.12.1/Documentation/devicetree/bindings/crypto/
Dintel,keembay-ocs-ecc.yaml16 cryptography using the NIST P-256 and NIST P-384 elliptic curves.

123