Home
last modified time | relevance | path

Searched refs:int16_t (Results 1 – 25 of 135) sorted by relevance

123456

/linux-6.6.21/drivers/misc/echo/
Dfir.h44 const int16_t *coeffs;
45 int16_t *history;
57 int16_t *history;
71 static inline const int16_t *fir16_create(struct fir16_state_t *fir, in fir16_create()
72 const int16_t *coeffs, int taps) in fir16_create()
77 fir->history = kcalloc(taps, sizeof(int16_t), GFP_KERNEL); in fir16_create()
83 memset(fir->history, 0, fir->taps * sizeof(int16_t)); in fir16_flush()
91 static inline int16_t fir16(struct fir16_state_t *fir, int16_t sample) in fir16()
110 return (int16_t) (y >> 15); in fir16()
113 static inline const int16_t *fir32_create(struct fir32_state_t *fir, in fir32_create()
[all …]
Decho.h118 int16_t tx;
119 int16_t rx;
120 int16_t clean;
121 int16_t clean_nlp;
131 int16_t adapt;
133 int16_t shift;
152 int16_t *fir_taps16[2];
172 int16_t *snapshot;
Doslec.h70 int16_t oslec_update(struct oslec_state *ec, int16_t tx, int16_t rx);
79 int16_t oslec_hpf_tx(struct oslec_state *ec, int16_t tx);
Decho.c127 ec->fir_taps16[1][i] += (int16_t) ((exp + (1 << 14)) >> 15); in lms_adapt_bg()
131 ec->fir_taps16[1][i] += (int16_t) ((exp + (1 << 14)) >> 15); in lms_adapt_bg()
147 const int16_t *history; in oslec_create()
158 kcalloc(ec->taps, sizeof(int16_t), GFP_KERNEL); in oslec_create()
163 kcalloc(ec->taps, sizeof(int16_t), GFP_KERNEL); in oslec_create()
180 ec->snapshot = kcalloc(ec->taps, sizeof(int16_t), GFP_KERNEL); in oslec_create()
247 memset(ec->fir_taps16[i], 0, ec->taps * sizeof(int16_t)); in oslec_flush()
256 memcpy(ec->snapshot, ec->fir_taps16[0], ec->taps * sizeof(int16_t)); in oslec_snapshot()
262 int16_t oslec_update(struct oslec_state *ec, int16_t tx, int16_t rx) in oslec_update()
443 ec->taps * sizeof(int16_t)); in oslec_update()
[all …]
/linux-6.6.21/drivers/staging/media/atomisp/pci/isp/kernels/csc/csc_1.0/
Dia_css_csc.host.c41 to->m_shift = (int16_t)from->fraction_bits; in ia_css_encode_cc()
42 to->m00 = (int16_t)from->matrix[0]; in ia_css_encode_cc()
43 to->m01 = (int16_t)from->matrix[1]; in ia_css_encode_cc()
44 to->m02 = (int16_t)from->matrix[2]; in ia_css_encode_cc()
45 to->m10 = (int16_t)from->matrix[3]; in ia_css_encode_cc()
46 to->m11 = (int16_t)from->matrix[4]; in ia_css_encode_cc()
47 to->m12 = (int16_t)from->matrix[5]; in ia_css_encode_cc()
48 to->m20 = (int16_t)from->matrix[6]; in ia_css_encode_cc()
49 to->m21 = (int16_t)from->matrix[7]; in ia_css_encode_cc()
50 to->m22 = (int16_t)from->matrix[8]; in ia_css_encode_cc()
/linux-6.6.21/include/xen/interface/
Dgrant_table.h288 int16_t status; /* GNTST_* */
311 int16_t status; /* GNTST_* */
329 int16_t status; /* GNTST_* */
342 int16_t status; /* GNTST_* */
361 int16_t status;
401 int16_t status;
418 int16_t status; /* GNTST_* */
439 int16_t status; /* GNTST_* */
472 int16_t status; /* GNTST_* */
498 int16_t status; /* GNTST_* */
/linux-6.6.21/drivers/gpu/drm/radeon/
Dsmu7_discrete.h437 int16_t TempMin;
438 int16_t TempMed;
439 int16_t TempMax;
440 int16_t Slope1;
441 int16_t Slope2;
442 int16_t FdoMin;
443 int16_t HystUp;
444 int16_t HystDown;
445 int16_t HystSlope;
446 int16_t TempRespLim;
[all …]
Dsislands_smc.h252 int16_t temp_min;
253 int16_t temp_med;
254 int16_t temp_max;
255 int16_t slope1;
256 int16_t slope2;
257 int16_t fdo_min;
258 int16_t hys_up;
259 int16_t hys_down;
260 int16_t hys_slope;
261 int16_t temp_resp_lim;
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/pm/powerplay/inc/
Dsmu7_discrete.h438 int16_t TempMin;
439 int16_t TempMed;
440 int16_t TempMax;
441 int16_t Slope1;
442 int16_t Slope2;
443 int16_t FdoMin;
444 int16_t HystUp;
445 int16_t HystDown;
446 int16_t HystSlope;
447 int16_t TempRespLim;
[all …]
Dsmu71_discrete.h380 int16_t TempMin;
381 int16_t TempMed;
382 int16_t TempMax;
383 int16_t Slope1;
384 int16_t Slope2;
385 int16_t FdoMin;
386 int16_t HystUp;
387 int16_t HystDown;
388 int16_t HystSlope;
389 int16_t TempRespLim;
[all …]
Dsmu73_discrete.h363 int16_t TempMin;
364 int16_t TempMed;
365 int16_t TempMax;
366 int16_t Slope1;
367 int16_t Slope2;
368 int16_t FdoMin;
369 int16_t HystUp;
370 int16_t HystDown;
371 int16_t HystSlope;
372 int16_t TempRespLim;
[all …]
Dsmu74_discrete.h230 int16_t m2;
378 int16_t TempMin;
379 int16_t TempMed;
380 int16_t TempMax;
381 int16_t Slope1;
382 int16_t Slope2;
383 int16_t FdoMin;
384 int16_t HystUp;
385 int16_t HystDown;
386 int16_t HystSlope;
[all …]
Dsmu72_discrete.h383 int16_t TempMin;
384 int16_t TempMed;
385 int16_t TempMax;
386 int16_t Slope1;
387 int16_t Slope2;
388 int16_t FdoMin;
389 int16_t HystUp;
390 int16_t HystDown;
391 int16_t HystSlope;
392 int16_t TempRespLim;
[all …]
Dsmu75_discrete.h383 int16_t TempMin;
384 int16_t TempMed;
385 int16_t TempMax;
386 int16_t Slope1;
387 int16_t Slope2;
388 int16_t FdoMin;
389 int16_t HystUp;
390 int16_t HystDown;
391 int16_t HystSlope;
392 int16_t TempRespLim;
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/pm/legacy-dpm/
Dsislands_smc.h248 int16_t temp_min;
249 int16_t temp_med;
250 int16_t temp_max;
251 int16_t slope1;
252 int16_t slope2;
253 int16_t fdo_min;
254 int16_t hys_up;
255 int16_t hys_down;
256 int16_t hys_slope;
257 int16_t temp_resp_lim;
[all …]
/linux-6.6.21/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_util.h59 int16_t sharpen_level1;
60 int16_t sharpen_level2;
68 int16_t adjust_a[DPU_MAX_DE_CURVES];
69 int16_t adjust_b[DPU_MAX_DE_CURVES];
70 int16_t adjust_c[DPU_MAX_DE_CURVES];
211 int16_t sharpen_level1;
212 int16_t sharpen_level2;
220 int16_t adjust_a[DPU_MAX_DE_CURVES];
221 int16_t adjust_b[DPU_MAX_DE_CURVES];
222 int16_t adjust_c[DPU_MAX_DE_CURVES];
/linux-6.6.21/arch/mips/include/asm/octeon/
Dcvmx-fau.h82 int16_t value:15;
200 static inline int16_t cvmx_fau_fetch_and_add16(cvmx_fau_reg_16_t reg, in cvmx_fau_fetch_and_add16()
201 int16_t value) in cvmx_fau_fetch_and_add16()
281 cvmx_fau_tagwait_fetch_and_add16(cvmx_fau_reg_16_t reg, int16_t value) in cvmx_fau_tagwait_fetch_and_add16()
404 int16_t value) in cvmx_fau_async_fetch_and_add16()
491 int16_t value) in cvmx_fau_async_tagwait_fetch_and_add16()
551 static inline void cvmx_fau_atomic_add16(cvmx_fau_reg_16_t reg, int16_t value) in cvmx_fau_atomic_add16()
601 static inline void cvmx_fau_atomic_write16(cvmx_fau_reg_16_t reg, int16_t value) in cvmx_fau_atomic_write16()
/linux-6.6.21/drivers/net/wireless/ath/ath9k/
Deeprom.c37 int16_t ath9k_hw_interpolate(u16 target, u16 srcLeft, u16 srcRight, in ath9k_hw_interpolate()
38 int16_t targetLeft, int16_t targetRight) in ath9k_hw_interpolate()
40 int16_t rv; in ath9k_hw_interpolate()
45 rv = (int16_t) (((target - srcLeft) * targetRight + in ath9k_hw_interpolate()
473 int16_t ss; in ath9k_hw_get_gain_boundaries_pdadcs()
485 int16_t vpdStep; in ath9k_hw_get_gain_boundaries_pdadcs()
486 int16_t tmpVal; in ath9k_hw_get_gain_boundaries_pdadcs()
489 int16_t minDelta = 0; in ath9k_hw_get_gain_boundaries_pdadcs()
612 ss = (int16_t)(0 - (minPwrT4[i] / 2)); in ath9k_hw_get_gain_boundaries_pdadcs()
616 ss = (int16_t)((pPdGainBoundaries[i - 1] - in ath9k_hw_get_gain_boundaries_pdadcs()
[all …]
Dar9003_aic.c56 static int16_t ar9003_aic_find_valid(bool *cal_sram_valid, in ar9003_aic_find_valid()
59 int16_t i; in ar9003_aic_find_valid()
82 static int16_t ar9003_aic_find_index(u8 type, int16_t value) in ar9003_aic_find_index()
84 int16_t i = -1; in ar9003_aic_find_index()
272 int16_t i; in ar9003_aic_cal_post_process()
312 int16_t start_idx, end_idx; in ar9003_aic_cal_post_process()
391 int16_t rot_dir_path_att_db, rot_quad_path_att_db; in ar9003_aic_cal_post_process()
413 (int16_t)ATH_AIC_MIN_ROT_DIR_ATT_DB), in ar9003_aic_cal_post_process()
417 (int16_t)ATH_AIC_MIN_ROT_QUAD_ATT_DB), in ar9003_aic_cal_post_process()
544 int16_t i; in ar9003_aic_start_normal()
Dcalib.c24 static int16_t ath9k_hw_get_nf_hist_mid(int16_t *nfCalBuffer) in ath9k_hw_get_nf_hist_mid()
26 int16_t nfval; in ath9k_hw_get_nf_hist_mid()
27 int16_t sort[ATH9K_NF_CAL_HIST_MAX]; in ath9k_hw_get_nf_hist_mid()
89 int16_t *nfarray) in ath9k_hw_update_nfcal_hist_buffer()
155 int16_t *nft) in ath9k_hw_get_nf_thresh()
407 int16_t nf, nfThresh; in ath9k_hw_getnf()
408 int16_t nfarray[NUM_NF_READINGS] = { 0 }; in ath9k_hw_getnf()
/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/
Dsmu13_driver_if_v13_0_0.h699 int16_t VoltageOffsetPerZoneBoundary[PP_NUM_OD_VF_CURVE_POINTS];
704 int16_t GfxclkFmin; // MHz
705 int16_t GfxclkFmax; // MHz
710 int16_t Ppt; // %
711 int16_t Tdc;
737 int16_t VoltageOffsetPerZoneBoundary;
742 int16_t GfxclkFmin; // MHz
743 int16_t GfxclkFmax; // MHz
748 int16_t Ppt; // %
749 int16_t Tdc;
[all …]
Dsmu13_driver_if_v13_0_7.h709 int16_t VoltageOffsetPerZoneBoundary[PP_NUM_OD_VF_CURVE_POINTS];
714 int16_t GfxclkFmin; // MHz
715 int16_t GfxclkFmax; // MHz
720 int16_t Ppt; // %
721 int16_t Tdc;
748 int16_t VoltageOffsetPerZoneBoundary;
753 int16_t GfxclkFmin; // MHz
754 int16_t GfxclkFmax; // MHz
759 int16_t Ppt; // %
760 int16_t Tdc;
[all …]
Dsmu13_driver_if_aldebaran.h342 int16_t GFX_Guardband_Voltage_Cold[8]; // mV [signed]
343 int16_t GFX_Guardband_Voltage_Mid[8]; // mV [signed]
344 int16_t GFX_Guardband_Voltage_Hot[8]; // mV [signed]
347 int16_t SOC_Guardband_Voltage_Cold[8]; // mV [signed]
348 int16_t SOC_Guardband_Voltage_Mid[8]; // mV [signed]
349 int16_t SOC_Guardband_Voltage_Hot[8]; // mV [signed]
353 int16_t DcBtcMin; // mV [signed]
354 int16_t DcBtcMax; // mV [signed]
355 int16_t DcBtcGb; // mV [signed]
/linux-6.6.21/drivers/iio/imu/inv_icm42600/
Dinv_icm42600_temp.c16 static int inv_icm42600_temp_read(struct inv_icm42600_state *st, int16_t *temp) in inv_icm42600_temp_read()
34 *temp = (int16_t)be16_to_cpup(raw); in inv_icm42600_temp_read()
51 int16_t temp; in inv_icm42600_temp_read_raw()
/linux-6.6.21/drivers/w1/slaves/
Dw1_ds2438.c93 static int w1_ds2438_get_temperature(struct w1_slave *sl, int16_t *temperature) in w1_ds2438_get_temperature()
124 *temperature = (((int16_t) w1_buf[DS2438_TEMP_MSB]) << 8) | ((uint16_t) w1_buf[DS2438_TEMP_LSB]); in w1_ds2438_get_temperature()
271 static int w1_ds2438_get_current(struct w1_slave *sl, int16_t *voltage) in w1_ds2438_get_current()
280 *voltage = (((int16_t) w1_buf[DS2438_CURRENT_MSB]) << 8) | ((int16_t) w1_buf[DS2438_CURRENT_LSB]); in w1_ds2438_get_current()
318 int16_t voltage; in iad_read()
418 int16_t temp; in temperature_read()

123456