Home
last modified time | relevance | path

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

12345678910>>...28

/linux-6.6.21/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;
/linux-6.6.21/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;
/linux-6.6.21/drivers/iio/pressure/
Dbmp280.h312 s16 AC1;
313 s16 AC2;
314 s16 AC3;
318 s16 B1;
319 s16 B2;
320 s16 MB;
321 s16 MC;
322 s16 MD;
328 s16 T2;
329 s16 T3;
[all …]
/linux-6.6.21/arch/arm/mach-omap2/
Dprm.h136 bool (*was_any_context_lost_old)(u8 part, s16 inst, u16 idx);
137 void (*clear_context_loss_flags_old)(u8 part, s16 inst, u16 idx);
139 int (*assert_hardreset)(u8 shift, u8 part, s16 prm_mod, u16 offset);
140 int (*deassert_hardreset)(u8 shift, u8 st_shift, u8 part, s16 prm_mod,
142 int (*is_hardreset_asserted)(u8 shift, u8 part, s16 prm_mod,
145 int (*clear_mod_irqs)(s16 module, u8 regs, u32 wkst_mask);
153 int omap_prm_assert_hardreset(u8 shift, u8 part, s16 prm_mod, u16 offset);
154 int omap_prm_deassert_hardreset(u8 shift, u8 st_shift, u8 part, s16 prm_mod,
156 int omap_prm_is_hardreset_asserted(u8 shift, u8 part, s16 prm_mod, u16 offset);
157 extern bool prm_was_any_context_lost_old(u8 part, s16 inst, u16 idx);
[all …]
Dprm2xxx_3xxx.h53 static inline u32 omap2_prm_read_mod_reg(s16 module, u16 idx) in omap2_prm_read_mod_reg()
58 static inline void omap2_prm_write_mod_reg(u32 val, s16 module, u16 idx) in omap2_prm_write_mod_reg()
64 static inline u32 omap2_prm_rmw_mod_reg_bits(u32 mask, u32 bits, s16 module, in omap2_prm_rmw_mod_reg_bits()
65 s16 idx) in omap2_prm_rmw_mod_reg_bits()
78 static inline u32 omap2_prm_read_mod_bits_shift(s16 domain, s16 idx, u32 mask) in omap2_prm_read_mod_bits_shift()
89 static inline u32 omap2_prm_set_mod_reg_bits(u32 bits, s16 module, s16 idx) in omap2_prm_set_mod_reg_bits()
94 static inline u32 omap2_prm_clear_mod_reg_bits(u32 bits, s16 module, s16 idx) in omap2_prm_clear_mod_reg_bits()
100 int omap2_prm_is_hardreset_asserted(u8 shift, u8 part, s16 prm_mod, u16 offset);
101 int omap2_prm_assert_hardreset(u8 shift, u8 part, s16 prm_mod,
104 s16 prm_mod, u16 reset_offset,
Dcm2xxx_3xxx.h50 static inline u32 omap2_cm_read_mod_reg(s16 module, u16 idx) in omap2_cm_read_mod_reg()
55 static inline void omap2_cm_write_mod_reg(u32 val, s16 module, u16 idx) in omap2_cm_write_mod_reg()
61 static inline u32 omap2_cm_rmw_mod_reg_bits(u32 mask, u32 bits, s16 module, in omap2_cm_rmw_mod_reg_bits()
62 s16 idx) in omap2_cm_rmw_mod_reg_bits()
75 static inline u32 omap2_cm_read_mod_bits_shift(s16 domain, s16 idx, u32 mask) in omap2_cm_read_mod_bits_shift()
86 static inline u32 omap2_cm_set_mod_reg_bits(u32 bits, s16 module, s16 idx) in omap2_cm_set_mod_reg_bits()
91 static inline u32 omap2_cm_clear_mod_reg_bits(u32 bits, s16 module, s16 idx) in omap2_cm_clear_mod_reg_bits()
Dprminst44xx.h20 extern u32 omap4_prminst_read_inst_reg(u8 part, s16 inst, u16 idx);
21 extern void omap4_prminst_write_inst_reg(u32 val, u8 part, s16 inst, u16 idx);
23 s16 inst, u16 idx);
27 extern int omap4_prminst_is_hardreset_asserted(u8 shift, u8 part, s16 inst,
29 extern int omap4_prminst_assert_hardreset(u8 shift, u8 part, s16 inst,
32 s16 inst, u16 rstctrl_offs,
Dcm.h54 int (*split_idlest_reg)(struct clk_omap_reg *idlest_reg, s16 *prcm_inst,
56 int (*wait_module_ready)(u8 part, s16 prcm_mod, u16 idlest_reg,
58 int (*wait_module_idle)(u8 part, s16 prcm_mod, u16 idlest_reg,
65 extern int cm_split_idlest_reg(struct clk_omap_reg *idlest_reg, s16 *prcm_inst,
67 int omap_cm_wait_module_ready(u8 part, s16 prcm_mod, u16 idlest_reg,
69 int omap_cm_wait_module_idle(u8 part, s16 prcm_mod, u16 idlest_reg,
/linux-6.6.21/include/video/
Dsticore.h78 s16 power; /* power calculation (in Watts) */
86 s16 onscreen_x; /* screen width in pixels */
87 s16 onscreen_y; /* screen height in pixels */
88 s16 offscreen_x; /* offset width in pixels */
89 s16 offscreen_y; /* offset height in pixels */
90 s16 total_x; /* frame buffer width in pixels */
91 s16 total_y; /* frame buffer height in pixels */
165 s16 onscreen_x; /* screen width in pixels */
166 s16 onscreen_y; /* screen height in pixels */
167 s16 offscreen_x; /* offscreen width in pixels */
[all …]
/linux-6.6.21/drivers/hid/amd-sfh-hid/hid_descriptor/
Damd_sfh_hid_desc.h41 s16 accel_sensitivity_max;
42 s16 accel_sensitivity_min;
59 s16 gyro_sensitivity_max;
60 s16 gyro_sensitivity_min;
75 s16 heading_min;
76 s16 heading_max;
78 s16 flux_min;
79 s16 flux_max;
94 s16 als_sensitivity_max;
95 s16 als_sensitivity_min;
/linux-6.6.21/drivers/iio/temperature/
Dmlx90632.c445 s16 *ambient_new_raw, s16 *ambient_old_raw) in mlx90632_read_ambient_raw()
453 *ambient_new_raw = (s16)read_tmp; in mlx90632_read_ambient_raw()
458 *ambient_old_raw = (s16)read_tmp; in mlx90632_read_ambient_raw()
465 s16 *object_new_raw, s16 *object_old_raw) in mlx90632_read_object_raw()
470 s16 read; in mlx90632_read_object_raw()
482 read = (s16)read_tmp; in mlx90632_read_object_raw()
487 *object_new_raw = (read + (s16)read_tmp) / 2; in mlx90632_read_object_raw()
492 read = (s16)read_tmp; in mlx90632_read_object_raw()
497 *object_old_raw = (read + (s16)read_tmp) / 2; in mlx90632_read_object_raw()
503 s16 *ambient_new_raw, s16 *ambient_old_raw, in mlx90632_read_all_channel()
[all …]
/linux-6.6.21/lib/
Doverflow_kunit.c176 DEFINE_TEST_ARRAY(s16) = {
302 DEFINE_TEST_FUNC(s16, "%d");
399 TEST_ONE_SHIFT(0, 14, s16, 0, false); in shift_sane_test()
420 TEST_ONE_SHIFT(1, 15, s16, 0, true); in shift_overflow_test()
440 TEST_ONE_SHIFT(17483, 1, s16, 0, true); in shift_overflow_test()
451 TEST_ONE_SHIFT(17483, 2, s16, 0, true); in shift_overflow_test()
469 TEST_ONE_SHIFT(0xFFFFU, 0, s16, 0, true); in shift_truncate_test()
483 TEST_ONE_SHIFT(0, 16, s16, 0, true); in shift_truncate_test()
484 TEST_ONE_SHIFT(0, 17, s16, 0, true); in shift_truncate_test()
506 TEST_ONE_SHIFT(-5, 0, s16, 0, true); in shift_nonsense_test()
[all …]
/linux-6.6.21/drivers/usb/gadget/function/
Du_uac1.h42 s16 p_volume_min;
43 s16 p_volume_max;
44 s16 p_volume_res;
48 s16 c_volume_min;
49 s16 c_volume_max;
50 s16 c_volume_res;
Du_uac2.h52 s16 p_volume_min;
53 s16 p_volume_max;
54 s16 p_volume_res;
58 s16 c_volume_min;
59 s16 c_volume_max;
60 s16 c_volume_res;
/linux-6.6.21/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 …]
/linux-6.6.21/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);
/linux-6.6.21/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 …]
/linux-6.6.21/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.h428 s16 timing_offset;
445 s16 i_value[12];
446 s16 q_value[12];
451 s16 ffe_taps[MXL_EAGLE_QAM_FFE_TAPS_LENGTH];
452 s16 spur_taps[MXL_EAGLE_QAM_SPUR_TAPS_LENGTH];
453 s16 dfe_taps[MXL_EAGLE_QAM_DFE_TAPS_LENGTH];
475 s16 timing_offset;
486 s16 snr_db_tenths;
487 s16 timing_offset;
503 s16 ffe_taps[MXL_EAGLE_ATSC_FFE_TAPS_LENGTH];
[all …]
/linux-6.6.21/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];
/linux-6.6.21/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 …]
/linux-6.6.21/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*/

12345678910>>...28