Home
last modified time | relevance | path

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

123456

/linux-4.19.296/drivers/iio/temperature/
Dmlx90632.c221 s16 *ambient_new_raw, s16 *ambient_old_raw) in mlx90632_read_ambient_raw()
229 *ambient_new_raw = (s16)read_tmp; in mlx90632_read_ambient_raw()
234 *ambient_old_raw = (s16)read_tmp; in mlx90632_read_ambient_raw()
241 s16 *object_new_raw, s16 *object_old_raw) in mlx90632_read_object_raw()
245 s16 read; in mlx90632_read_object_raw()
258 read = (s16)read_tmp; in mlx90632_read_object_raw()
263 *object_new_raw = (read + (s16)read_tmp) / 2; in mlx90632_read_object_raw()
268 read = (s16)read_tmp; in mlx90632_read_object_raw()
273 *object_old_raw = (read + (s16)read_tmp) / 2; in mlx90632_read_object_raw()
279 s16 *ambient_new_raw, s16 *ambient_old_raw, in mlx90632_read_all_channel()
[all …]
/linux-4.19.296/drivers/media/dvb-frontends/drx39xyj/
Ddrxj.h292 s16 peak_filter; /* -8 .. 15 */
333 s16 coef0; /* -256 .. 255 */
334 s16 coef1; /* -256 .. 255 */
335 s16 coef2; /* -256 .. 255 */
336 s16 coef3; /* -256 .. 255 */};
383 s16 video_agc_gain; /* -75 .. 1972 in 0.1 dB steps */
384 s16 audio_agc_gain; /* -4 .. 1020 in 0.1 dB steps */
464 s16 atv_top_equ0[DRXJ_COEF_IDX_MAX]; /*< shadow of ATV_TOP_EQU0__A */
465 s16 atv_top_equ1[DRXJ_COEF_IDX_MAX]; /*< shadow of ATV_TOP_EQU1__A */
466 s16 atv_top_equ2[DRXJ_COEF_IDX_MAX]; /*< shadow of ATV_TOP_EQU2__A */
[all …]
/linux-4.19.296/drivers/media/dvb-frontends/
Dstb0899_priv.h176 s16 derot_freq; /* Current derotator frequency (Hz) */
177 s16 derot_percent;
179 s16 direction; /* Current derotator search direction */
180 s16 derot_step; /* Derotator step (binary value) */
181 s16 t_derot; /* Derotator time constant (ms) */
182 s16 t_data; /* Data recovery time constant (ms) */
183 s16 sub_dir; /* Direction of the next sub range */
185 s16 t_agc1; /* Agc1 time constant (ms) */
186 s16 t_agc2; /* Agc2 time constant (ms) */
197 s16 step_size; /* Carrier frequency search step size */
Ddrxd.h47 s16(*osc_deviation) (void *priv, s16 dev, int flag);
Ddib0090.c145 s16 wbd_target; /* in dB */
147 s16 rf_gain_limit; /* take-over-point: where to split between bb and rf gain */
148 s16 current_gain; /* keeps the currently programmed gain */
163 s16 adc_diff;
164 s16 min_adc_diff;
186 s16 temperature;
869 s16 range;
870 s16 slope;
872 static u16 slopes_to_scale(const struct slope *slopes, u8 num, s16 val) in slopes_to_scale()
894 static s16 dib0090_wbd_to_db(struct dib0090_state *state, u16 wbd) in dib0090_wbd_to_db()
[all …]
/linux-4.19.296/drivers/iio/magnetometer/
Dbmc150_magn.c367 static s32 bmc150_magn_compensate_x(struct bmc150_magn_trim_regs *tregs, s16 x, in bmc150_magn_compensate_x()
370 s16 val; in bmc150_magn_compensate_x()
379 val = ((s16)(((u16)((((s32)xyz1) << 14) / rhall)) - ((u16)0x4000))); in bmc150_magn_compensate_x()
380 val = ((s16)((((s32)x) * ((((((((s32)tregs->xy2) * ((((s32)val) * in bmc150_magn_compensate_x()
382 ((s32)(((s16)tregs->xy1) << 7)))) >> 9) + ((s32)0x100000)) * in bmc150_magn_compensate_x()
383 ((s32)(((s16)tregs->x2) + ((s16)0xA0)))) >> 12)) >> 13)) + in bmc150_magn_compensate_x()
384 (((s16)tregs->x1) << 3); in bmc150_magn_compensate_x()
389 static s32 bmc150_magn_compensate_y(struct bmc150_magn_trim_regs *tregs, s16 y, in bmc150_magn_compensate_y()
392 s16 val; in bmc150_magn_compensate_y()
401 val = ((s16)(((u16)((((s32)xyz1) << 14) / rhall)) - ((u16)0x4000))); in bmc150_magn_compensate_y()
[all …]
/linux-4.19.296/include/linux/iio/common/
Dcros_ec_sensors_core.h73 s16 calib[CROS_EC_SENSOR_MAX_AXIS];
78 unsigned long scan_mask, s16 *data);
95 s16 *data);
106 s16 *data);
/linux-4.19.296/fs/ntfs/
Dendian.h33 static inline s16 sle16_to_cpu(sle16 x) in sle16_to_cpu()
48 static inline s16 sle16_to_cpup(sle16 *x) in sle16_to_cpup()
63 static inline sle16 cpu_to_sle16(s16 x) in cpu_to_sle16()
78 static inline sle16 cpu_to_sle16p(s16 *x) in cpu_to_sle16p()
/linux-4.19.296/include/linux/platform_data/
Dedma.h60 const s16 (*rsv_chans)[2];
61 const s16 (*rsv_slots)[2];
82 const s16 (*xbar_chans)[2];
Dleds-omap.h14 s16 gpio;
18 s16 nr_leds;
/linux-4.19.296/include/sound/
Dwavefront.h69 typedef short s16; typedef
75 typedef s16 INT16;
269 s16 frequency_bias; /* ** THIS IS IN MOTOROLA FORMAT!! ** */
441 s16 FrequencyBias;
452 s16 NumberOfSamples; /* log2 of the number of samples */
453 s16 SampleNumber[NUM_MIDIKEYS];
457 s16 OriginalSample;
464 s16 FrequencyBias;
534 s16 key; /* Use WAVEFRONT_PATCH here */
/linux-4.19.296/drivers/iio/pressure/
Dbmp280-core.c45 s16 AC1;
46 s16 AC2;
47 s16 AC3;
51 s16 B1;
52 s16 B2;
53 s16 MB;
54 s16 MC;
55 s16 MD;
61 s16 T2;
62 s16 T3;
[all …]
Dmpl115.c31 s16 a0;
32 s16 b1, b2;
33 s16 c12;
/linux-4.19.296/lib/
Dtest_overflow.c143 DEFINE_TEST_ARRAY(s16) = {
265 DEFINE_TEST_FUNC(s16, "%d");
360 err |= TEST_ONE_SHIFT(0, 14, s16, 0, false); in test_overflow_shift()
374 err |= TEST_ONE_SHIFT(1, 15, s16, 0, true); in test_overflow_shift()
394 err |= TEST_ONE_SHIFT(17483, 1, s16, 0, true); in test_overflow_shift()
405 err |= TEST_ONE_SHIFT(17483, 2, s16, 0, true); in test_overflow_shift()
416 err |= TEST_ONE_SHIFT(0xFFFFU, 0, s16, 0, true); in test_overflow_shift()
426 err |= TEST_ONE_SHIFT(-5, 0, s16, 0, true); in test_overflow_shift()
438 err |= TEST_ONE_SHIFT(0, -10, s16, 0, true); in test_overflow_shift()
454 err |= TEST_ONE_SHIFT(0, 16, s16, 0, true); in test_overflow_shift()
[all …]
Dtest-kstrtox.c549 DECLARE_TEST_OK(s16, struct test_s16); in test_kstrtos16_ok()
569 TEST_OK(kstrtos16, s16, "%hd", test_s16_ok); in test_kstrtos16_ok()
598 TEST_FAIL(kstrtos16, s16, "%hd", test_s16_fail); in test_kstrtos16_fail()
Dkstrtox.c285 int kstrtos16(const char *s, unsigned int base, s16 *res) in kstrtos16()
293 if (tmp != (long long)(s16)tmp) in kstrtos16()
415 kstrto_from_user(kstrtos16_from_user, kstrtos16, s16);
/linux-4.19.296/drivers/iio/accel/
Dcros_ec_accel_legacy.c60 s16 capture_data[8];
124 unsigned long scan_mask, s16 *data) in read_ec_accel_data_unsafe()
134 sizeof(s16) * in read_ec_accel_data_unsafe()
155 unsigned long scan_mask, s16 *data) in read_ec_accel_data()
201 s16 data = 0; in cros_ec_accel_legacy_read()
/linux-4.19.296/include/linux/
Dlis3lv02d.h123 s16 st_min_limits[3]; /* min pass limit x, y, z */
124 s16 st_max_limits[3]; /* max pass limit x, y, z */
Domapfb.h32 s16 nreset_gpio;
/linux-4.19.296/drivers/iio/chemical/
Dbme680_core.c24 s16 par_t2;
27 s16 par_p2;
29 s16 par_p4;
30 s16 par_p5;
33 s16 par_p8;
34 s16 par_p9;
44 s16 par_gh2;
340 static s16 bme680_compensate_temp(struct bme680_data *data, in bme680_compensate_temp()
345 s16 calc_temp; in bme680_compensate_temp()
618 s16 comp_temp; in bme680_read_temp()
/linux-4.19.296/fs/jfs/
Djfs_types.h100 s16 maxnpxd;
101 s16 npxd;
Djfs_btree.h113 s16 index; /* 2: */
114 s16 lastindex; /* 2: unused */
Djfs_xtree.h61 s16 maxnxad;
62 s16 nxad;
/linux-4.19.296/drivers/iio/humidity/
Dam2315.c41 s16 chans[2];
47 s16 hum_data;
48 s16 temp_data;
/linux-4.19.296/drivers/iio/common/cros_ec_sensors/
Dcros_ec_sensors_core.c251 unsigned long scan_mask, s16 *data) in cros_ec_sensors_read_data_unsafe()
273 unsigned long scan_mask, s16 *data) in cros_ec_sensors_read_lpc()
321 unsigned long scan_mask, s16 *data) in cros_ec_sensors_read_cmd()
359 (s16 *)st->samples); in cros_ec_sensors_capture()

123456