Home
last modified time | relevance | path

Searched full:s16 (Results 1 – 25 of 790) sorted by relevance

12345678910>>...32

/linux-6.14.4/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
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_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_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.14.4/drivers/staging/media/atomisp/pci/isp/kernels/csc/csc_1.0/
Dia_css_csc_param.h14 s16 m00;
15 s16 m01;
16 s16 m02;
17 s16 m10;
18 s16 m11;
19 s16 m12;
20 s16 m20;
21 s16 m21;
22 s16 m22;
/linux-6.14.4/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.14.4/drivers/iio/temperature/
Dmlx90635.c289 static int mlx90635_read_ee_ambient(struct regmap *regmap, s16 *PG, s16 *PO, s16 *Gb) in mlx90635_read_ee_ambient()
297 *PO = (s16)read_tmp; in mlx90635_read_ee_ambient()
302 *PG = (s16)read_tmp; in mlx90635_read_ee_ambient()
312 static int mlx90635_read_ee_object(struct regmap *regmap, u32 *Ea, u32 *Eb, u32 *Fa, s16 *Fb, in mlx90635_read_ee_object()
313 s16 *Ga, s16 *Gb, s16 *Ha, s16 *Hb, u16 *Fa_scale) in mlx90635_read_ee_object()
333 *Ha = (s16)read_tmp; in mlx90635_read_ee_object()
338 *Hb = (s16)read_tmp; in mlx90635_read_ee_object()
343 *Ga = (s16)read_tmp; in mlx90635_read_ee_object()
348 *Gb = (s16)read_tmp; in mlx90635_read_ee_object()
353 *Fb = (s16)read_tmp; in mlx90635_read_ee_object()
[all …]
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.14.4/drivers/iio/pressure/
Dbmp280.h362 s16 AC1;
363 s16 AC2;
364 s16 AC3;
368 s16 B1;
369 s16 B2;
370 s16 MB;
371 s16 MC;
372 s16 MD;
378 s16 T2;
379 s16 T3;
[all …]
/linux-6.14.4/arch/arm/mach-omap2/
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()
Dprm.h137 bool (*was_any_context_lost_old)(u8 part, s16 inst, u16 idx);
138 void (*clear_context_loss_flags_old)(u8 part, s16 inst, u16 idx);
140 int (*assert_hardreset)(u8 shift, u8 part, s16 prm_mod, u16 offset);
141 int (*deassert_hardreset)(u8 shift, u8 st_shift, u8 part, s16 prm_mod,
143 int (*is_hardreset_asserted)(u8 shift, u8 part, s16 prm_mod,
146 int (*clear_mod_irqs)(s16 module, u8 regs, u32 wkst_mask);
154 int omap_prm_assert_hardreset(u8 shift, u8 part, s16 prm_mod, u16 offset);
155 int omap_prm_deassert_hardreset(u8 shift, u8 st_shift, u8 part, s16 prm_mod,
157 int omap_prm_is_hardreset_asserted(u8 shift, u8 part, s16 prm_mod, u16 offset);
158 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,
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.14.4/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.14.4/drivers/usb/gadget/function/
Du_uac2.h57 s16 p_volume_min;
58 s16 p_volume_max;
59 s16 p_volume_res;
63 s16 c_volume_min;
64 s16 c_volume_max;
65 s16 c_volume_res;
86 s16 p_terminal_type;
87 s16 c_terminal_type;
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;
/linux-6.14.4/tools/testing/selftests/bpf/progs/
Dverifier_movsx.c26 __description("MOV32SX, S16")
32 w0 = (s16)w0; \ in mov32sx_s16()
50 __description("MOV64SX, S16")
56 r0 = (s16)r0; \ in mov64sx_s16()
97 __description("MOV32SX, S16, range_check")
103 w1 = (s16)w0; \ in mov32sx_s16_range()
104 /* w1 with s16 range */ \ in mov32sx_s16_range()
119 __description("MOV32SX, S16, range_check 2")
125 w2 = (s16)w1; \ in mov32sx_s16_range_2()
162 __description("MOV64SX, S16, range_check")
[all …]
/linux-6.14.4/lib/
Doverflow_kunit.c177 DEFINE_TEST_ARRAY(s16) = {
362 DEFINE_TEST_FUNC(s16, "%d");
459 TEST_ONE_SHIFT(0, 14, s16, 0, false); in shift_sane_test()
480 TEST_ONE_SHIFT(1, 15, s16, 0, true); in shift_overflow_test()
500 TEST_ONE_SHIFT(17483, 1, s16, 0, true); in shift_overflow_test()
511 TEST_ONE_SHIFT(17483, 2, s16, 0, true); in shift_overflow_test()
529 TEST_ONE_SHIFT(0xFFFFU, 0, s16, 0, true); in shift_truncate_test()
543 TEST_ONE_SHIFT(0, 16, s16, 0, true); in shift_truncate_test()
544 TEST_ONE_SHIFT(0, 17, s16, 0, true); in shift_truncate_test()
566 TEST_ONE_SHIFT(-5, 0, s16, 0, true); in shift_nonsense_test()
[all …]
/linux-6.14.4/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()
112 * one s16 value for the header and 8 * 8 coefficients of type s16.
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()
[all …]
/linux-6.14.4/drivers/iio/magnetometer/
Dbmc150_magn.c361 static s32 bmc150_magn_compensate_x(struct bmc150_magn_trim_regs *tregs, s16 x, in bmc150_magn_compensate_x()
364 s16 val; in bmc150_magn_compensate_x()
373 val = ((s16)(((u16)((((s32)xyz1) << 14) / rhall)) - ((u16)0x4000))); in bmc150_magn_compensate_x()
374 val = ((s16)((((s32)x) * ((((((((s32)tregs->xy2) * ((((s32)val) * in bmc150_magn_compensate_x()
376 ((s32)(((s16)tregs->xy1) << 7)))) >> 9) + ((s32)0x100000)) * in bmc150_magn_compensate_x()
377 ((s32)(((s16)tregs->x2) + ((s16)0xA0)))) >> 12)) >> 13)) + in bmc150_magn_compensate_x()
378 (((s16)tregs->x1) << 3); in bmc150_magn_compensate_x()
383 static s32 bmc150_magn_compensate_y(struct bmc150_magn_trim_regs *tregs, s16 y, in bmc150_magn_compensate_y()
386 s16 val; in bmc150_magn_compensate_y()
395 val = ((s16)(((u16)((((s32)xyz1) << 14) / rhall)) - ((u16)0x4000))); in bmc150_magn_compensate_y()
[all …]
/linux-6.14.4/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 */
/linux-6.14.4/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.14.4/arch/loongarch/include/asm/
Dnuma.h22 extern s16 __cpuid_to_node[CONFIG_NR_CPUS];
39 extern void __init early_numa_add_cpu(int cpuid, s16 node);
47 static inline void set_cpuid_to_node(int cpuid, s16 node) in set_cpuid_to_node()
56 static inline void early_numa_add_cpu(int cpuid, s16 node) { } in early_numa_add_cpu()
59 static inline void set_cpuid_to_node(int cpuid, s16 node) { } in set_cpuid_to_node()
/linux-6.14.4/drivers/hid/
Dhid-steam.c643 s16 volts; in steam_battery_get_property()
1365 static inline s16 steam_le16(u8 *data) in steam_le16()
1367 s16 x = (s16) le16_to_cpup((__le16 *)data); in steam_le16()
1384 * 16-17 | s16 | ABS_X/ABS_HAT0X | X value
1385 * 18-19 | s16 | ABS_Y/ABS_HAT0Y | Y value
1386 * 20-21 | s16 | ABS_RX | right-pad X value
1387 * 22-23 | s16 | ABS_RY | right-pad Y value
1388 * 24-25 | s16 | -- | * left trigger
1389 * 26-27 | s16 | -- | * right trigger
1390 * 28-29 | s16 | -- | * accelerometer X value
[all …]

12345678910>>...32