Home
last modified time | relevance | path

Searched refs:s16 (Results 1 – 25 of 455) sorted by relevance

12345678910>>...19

/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_qmath.c26 s16 qm_muls16(s16 op1, s16 op2) in qm_muls16()
29 if (op1 == (s16) 0x8000 && op2 == (s16) 0x8000) in qm_muls16()
34 return (s16) (result >> 15); in qm_muls16()
59 s16 qm_add16(s16 op1, s16 op2) in qm_add16()
61 s16 result; in qm_add16()
64 result = (s16) 0x7fff; in qm_add16()
66 result = (s16) 0xffff8000; in qm_add16()
68 result = (s16) temp; in qm_add16()
78 s16 qm_sub16(s16 op1, s16 op2) in qm_sub16()
80 s16 result; in qm_sub16()
[all …]
Dphy_qmath.h13 s16 qm_muls16(s16 op1, s16 op2);
17 s16 qm_add16(s16 op1, s16 op2);
19 s16 qm_sub16(s16 op1, s16 op2);
23 s16 qm_shl16(s16 op, int shift);
25 s16 qm_shr16(s16 op, int shift);
27 s16 qm_norm32(s32 op);
29 void qm_log10(s32 N, s16 qN, s16 *log10N, s16 *qLog10N);
Dphy_int.h293 s16 pre_badplcp_cnt;
294 s16 bphy_pre_badplcp_cnt;
306 s16 crsminpwr_index;
360 s16 a0;
361 s16 b0;
362 s16 a1;
363 s16 b1;
393 s16 pwrdet_2g_a1;
394 s16 pwrdet_2g_b0;
395 s16 pwrdet_2g_b1;
[all …]
Dphy_lcn.h39 s16 lcnphy_pa0b0;
40 s16 lcnphy_pa0b1;
41 s16 lcnphy_pa0b2;
68 s16 lcnphy_ofdmgainidxtableoffset;
69 s16 lcnphy_dsssgainidxtableoffset;
90 s16 lcnphy_cck_dig_filt_type;
91 s16 lcnphy_ofdm_dig_filt_type;
/drivers/iio/temperature/
Dmlx90632.c286 s16 *ambient_new_raw, s16 *ambient_old_raw) in mlx90632_read_ambient_raw()
294 *ambient_new_raw = (s16)read_tmp; in mlx90632_read_ambient_raw()
299 *ambient_old_raw = (s16)read_tmp; in mlx90632_read_ambient_raw()
306 s16 *object_new_raw, s16 *object_old_raw) in mlx90632_read_object_raw()
310 s16 read; in mlx90632_read_object_raw()
323 read = (s16)read_tmp; in mlx90632_read_object_raw()
328 *object_new_raw = (read + (s16)read_tmp) / 2; in mlx90632_read_object_raw()
333 read = (s16)read_tmp; in mlx90632_read_object_raw()
338 *object_old_raw = (read + (s16)read_tmp) / 2; in mlx90632_read_object_raw()
344 s16 *ambient_new_raw, s16 *ambient_old_raw, in mlx90632_read_all_channel()
[all …]
/drivers/staging/media/atomisp/pci/isp/kernels/csc/csc_1.0/
Dia_css_csc_param.h23 s16 m00;
24 s16 m01;
25 s16 m02;
26 s16 m10;
27 s16 m11;
28 s16 m12;
29 s16 m20;
30 s16 m21;
31 s16 m22;
/drivers/video/fbdev/
Dsticore.h77 s16 power; /* power calculation (in Watts) */
85 s16 onscreen_x; /* screen width in pixels */
86 s16 onscreen_y; /* screen height in pixels */
87 s16 offscreen_x; /* offset width in pixels */
88 s16 offscreen_y; /* offset height in pixels */
89 s16 total_x; /* frame buffer width in pixels */
90 s16 total_y; /* frame buffer height in pixels */
164 s16 onscreen_x; /* screen width in pixels */
165 s16 onscreen_y; /* screen height in pixels */
166 s16 offscreen_x; /* offscreen width in pixels */
[all …]
/drivers/hid/amd-sfh-hid/hid_descriptor/
Damd_sfh_hid_desc.h40 s16 accel_sensitivity_max;
41 s16 accel_sensitivity_min;
58 s16 gyro_sensitivity_max;
59 s16 gyro_sensitivity_min;
74 s16 heading_min;
75 s16 heading_max;
77 s16 flux_min;
78 s16 flux_max;
93 s16 als_sensitivity_max;
94 s16 als_sensitivity_min;
/drivers/media/test-drivers/vicodec/
Dcodec-fwht.c55 rlc(const s16 *in, __be16 *output, int blocktype) in rlc()
57 s16 block[8 * 8]; in rlc()
58 s16 *wp = block; in rlc()
115 derlc(const __be16 **rlc_in, s16 *dwht_out, const __be16 *end_of_input) in derlc()
121 s16 block[8 * 8 + 16]; in derlc()
122 s16 *wp = block; in derlc()
138 s16 in; in derlc()
196 static void quantize_intra(s16 *coeff, s16 *de_coeff, u16 qp) in quantize_intra()
212 static void dequantize_intra(s16 *coeff) in dequantize_intra()
222 static void quantize_inter(s16 *coeff, s16 *de_coeff, u16 qp) in quantize_inter()
[all …]
/drivers/media/dvb-frontends/drx39xyj/
Ddrxj.h293 s16 peak_filter; /* -8 .. 15 */
334 s16 coef0; /* -256 .. 255 */
335 s16 coef1; /* -256 .. 255 */
336 s16 coef2; /* -256 .. 255 */
337 s16 coef3; /* -256 .. 255 */};
384 s16 video_agc_gain; /* -75 .. 1972 in 0.1 dB steps */
385 s16 audio_agc_gain; /* -4 .. 1020 in 0.1 dB steps */
465 s16 atv_top_equ0[DRXJ_COEF_IDX_MAX]; /*< shadow of ATV_TOP_EQU0__A */
466 s16 atv_top_equ1[DRXJ_COEF_IDX_MAX]; /*< shadow of ATV_TOP_EQU1__A */
467 s16 atv_top_equ2[DRXJ_COEF_IDX_MAX]; /*< shadow of ATV_TOP_EQU2__A */
[all …]
/drivers/usb/gadget/function/
Du_uac1.h41 s16 p_volume_min;
42 s16 p_volume_max;
43 s16 p_volume_res;
47 s16 c_volume_min;
48 s16 c_volume_max;
49 s16 c_volume_res;
Du_uac2.h48 s16 p_volume_min;
49 s16 p_volume_max;
50 s16 p_volume_res;
54 s16 c_volume_min;
55 s16 c_volume_max;
56 s16 c_volume_res;
Du_audio.h29 s16 volume_min; /* min volume in 1/256 dB */
30 s16 volume_max; /* max volume in 1/256 dB */
31 s16 volume_res; /* volume resolution in 1/256 dB */
114 int u_audio_get_volume(struct g_audio *g_audio, int playback, s16 *val);
115 int u_audio_set_volume(struct g_audio *g_audio, int playback, s16 val);
/drivers/net/wireless/broadcom/b43/
Dphy_g.h159 s16 max_lb_gain; /* Maximum Loopback gain in hdB */
160 s16 trsw_rx_gain; /* TRSW RX gain in hdB */
161 s16 lna_lod_gain; /* LNA lod */
162 s16 lna_gain; /* LNA */
163 s16 pga_gain; /* PGA */
178 s16 nrssi[2];
204 s16 pab0, s16 pab1, s16 pab2);
/drivers/media/dvb-frontends/
Dstb0899_priv.h164 s16 derot_freq; /* Current derotator frequency (Hz) */
165 s16 derot_percent;
167 s16 direction; /* Current derotator search direction */
168 s16 derot_step; /* Derotator step (binary value) */
169 s16 t_derot; /* Derotator time constant (ms) */
170 s16 t_data; /* Data recovery time constant (ms) */
171 s16 sub_dir; /* Direction of the next sub range */
173 s16 t_agc1; /* Agc1 time constant (ms) */
174 s16 t_agc2; /* Agc2 time constant (ms) */
185 s16 step_size; /* Carrier frequency search step size */
Dmxl692_defs.h437 s16 timing_offset;
454 s16 i_value[12];
455 s16 q_value[12];
460 s16 ffe_taps[MXL_EAGLE_QAM_FFE_TAPS_LENGTH];
461 s16 spur_taps[MXL_EAGLE_QAM_SPUR_TAPS_LENGTH];
462 s16 dfe_taps[MXL_EAGLE_QAM_DFE_TAPS_LENGTH];
484 s16 timing_offset;
495 s16 snr_db_tenths;
496 s16 timing_offset;
512 s16 ffe_taps[MXL_EAGLE_ATSC_FFE_TAPS_LENGTH];
[all …]
/drivers/iio/magnetometer/
Dbmc150_magn.c362 static s32 bmc150_magn_compensate_x(struct bmc150_magn_trim_regs *tregs, s16 x, in bmc150_magn_compensate_x()
365 s16 val; in bmc150_magn_compensate_x()
374 val = ((s16)(((u16)((((s32)xyz1) << 14) / rhall)) - ((u16)0x4000))); in bmc150_magn_compensate_x()
375 val = ((s16)((((s32)x) * ((((((((s32)tregs->xy2) * ((((s32)val) * in bmc150_magn_compensate_x()
377 ((s32)(((s16)tregs->xy1) << 7)))) >> 9) + ((s32)0x100000)) * in bmc150_magn_compensate_x()
378 ((s32)(((s16)tregs->x2) + ((s16)0xA0)))) >> 12)) >> 13)) + in bmc150_magn_compensate_x()
379 (((s16)tregs->x1) << 3); in bmc150_magn_compensate_x()
384 static s32 bmc150_magn_compensate_y(struct bmc150_magn_trim_regs *tregs, s16 y, in bmc150_magn_compensate_y()
387 s16 val; in bmc150_magn_compensate_y()
396 val = ((s16)(((u16)((((s32)xyz1) << 14) / rhall)) - ((u16)0x4000))); in bmc150_magn_compensate_y()
[all …]
/drivers/staging/media/atomisp/pci/isp/kernels/eed1_8/
Dia_css_eed1_8.host.c36 static const s16 chgrinv_x[NUMBER_OF_CHGRINV_POINTS] = {
41 static const s16 chgrinv_a[NUMBER_OF_CHGRINV_POINTS] = {
46 static const s16 chgrinv_b[NUMBER_OF_CHGRINV_POINTS] = {
51 static const s16 chgrinv_c[NUMBER_OF_CHGRINV_POINTS] = {
56 static const s16 tcinv_x[NUMBER_OF_TCINV_POINTS] = {
60 static const s16 tcinv_a[NUMBER_OF_TCINV_POINTS] = {
64 static const s16 tcinv_b[NUMBER_OF_TCINV_POINTS] = {
68 static const s16 tcinv_c[NUMBER_OF_TCINV_POINTS] = {
72 static const s16 fcinv_x[NUMBER_OF_FCINV_POINTS] = {
76 static const s16 fcinv_a[NUMBER_OF_FCINV_POINTS] = {
[all …]
/drivers/staging/media/ipu3/
Dipu3-tables.h34 s16 x[IMGU_XNR3_VMEM_LUT_LEN];
35 s16 a[IMGU_XNR3_VMEM_LUT_LEN];
36 s16 b[IMGU_XNR3_VMEM_LUT_LEN];
37 s16 c[IMGU_XNR3_VMEM_LUT_LEN];
44 extern const s16 imgu_css_gdc_lut[IMGU_GDC_LUT_UNIT][IMGU_GDC_LUT_LEN];
/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/
Dia_css_sdis2_types.h34 s16 *odd_real; /** real part of the odd coefficients*/
35 s16 *odd_imag; /** imaginary part of the odd coefficients*/
36 s16 *even_real;/** real part of the even coefficients*/
37 s16 *even_imag;/** imaginary part of the even coefficients*/
/drivers/dma/bestcomm/
Dfec.c45 s16 incr_bytes;
47 s16 incr_dst;
49 s16 incr_dst_ma;
66 s16 incr_bytes;
68 s16 incr_src;
70 s16 incr_src_ma;
135 inc->incr_bytes = -(s16)sizeof(u32); /* These should be in the */ in bcom_fec_rx_reset()
236 inc->incr_bytes = -(s16)sizeof(u32); /* These should be in the */ in bcom_fec_tx_reset()
/drivers/mtd/nand/raw/atmel/
Dpmecc.c172 s16 *partial_syn;
173 s16 *si;
174 s16 *lmu;
175 s16 *smu;
371 user->partial_syn = (s16 *)PTR_ALIGN(user + 1, sizeof(u16)); in atmel_pmecc_create_user()
451 s16 *alpha_to = user->gf_tables->alpha_to; in atmel_pmecc_substitute()
452 s16 *index_of = user->gf_tables->index_of; in atmel_pmecc_substitute()
453 s16 *partial_syn = user->partial_syn; in atmel_pmecc_substitute()
454 s16 *si; in atmel_pmecc_substitute()
463 memset(&si[1], 0, sizeof(s16) * ((2 * strength) - 1)); in atmel_pmecc_substitute()
[all …]
/drivers/media/pci/ddbridge/
Dddbridge-mci.h194 s16 channel_power;
196 s16 band_power;
201 s16 signal_to_noise;
202 s16 rsvd2;
214 s16 i;
215 s16 q;
/drivers/staging/media/av7110/
Ddvb_filter.h161 s16 vbv_delay;
199 s16 last_frame_centre_horizontal_offset;
200 s16 last_frame_centre_vertical_offset;
210 s16 frame_centre_horizontal_offset[OFF_SIZE];
212 s16 frame_centre_vertical_offset[OFF_SIZE];
214 s16 temporal_reference[2];
/drivers/net/wireless/ath/ath5k/
Dphy.c1550 static void ath5k_hw_update_nfcal_hist(struct ath5k_hw *ah, s16 noise_floor) in ath5k_hw_update_nfcal_hist()
1561 static s16
1564 s16 sort[ATH5K_NF_CAL_HIST_MAX]; in ath5k_hw_get_median_noise_floor()
1565 s16 tmp; in ath5k_hw_get_median_noise_floor()
1598 s16 nf, threshold; in ath5k_hw_update_noise_floor()
2417 static s16
2418 ath5k_get_interpolated_value(s16 target, s16 x_left, s16 x_right, in ath5k_get_interpolated_value()
2419 s16 y_left, s16 y_right) in ath5k_get_interpolated_value()
2421 s16 ratio, result; in ath5k_get_interpolated_value()
2455 static s16
[all …]

12345678910>>...19