/Zephyr-latest/tests/drivers/sensor/icm42688/src/ |
D | main.c | 119 expect_ug = (int32_t)(accel_percent[0] * INT64_C(1000000) * accel_range_g / INT16_MAX); in test_fetch_accel_with_range() 124 expect_ug = (int32_t)(accel_percent[1] * INT64_C(1000000) * accel_range_g / INT16_MAX); in test_fetch_accel_with_range() 129 expect_ug = (int32_t)(accel_percent[2] * INT64_C(1000000) * accel_range_g / INT16_MAX); in test_fetch_accel_with_range() 138 INT16_MAX / INT16_C(4), in ZTEST_F() 140 (int16_t)((INT16_MAX * INT32_C(91)) / INT32_C(100)), in ZTEST_F() 181 expect_10udps = (int32_t)(gyro_percent[0] * INT64_C(100) * scale_mdps / INT16_MAX); in test_fetch_gyro_with_range() 188 expect_10udps = (int32_t)(gyro_percent[1] * INT64_C(100) * scale_mdps / INT16_MAX); in test_fetch_gyro_with_range() 195 expect_10udps = (int32_t)(gyro_percent[2] * INT64_C(100) * scale_mdps / INT16_MAX); in test_fetch_gyro_with_range() 206 (int16_t)((INT16_MAX * INT32_C(15)) / INT32_C(100)), in ZTEST_F() 207 (int16_t)((INT16_MAX * INT32_C(68)) / INT32_C(100)), in ZTEST_F() [all …]
|
/Zephyr-latest/lib/posix/options/ |
D | Kconfig.semaphore | 14 default $(INT16_MAX) 15 range 1 $(INT16_MAX)
|
/Zephyr-latest/include/zephyr/dsp/ |
D | utils.h | 125 ((q15_t)Z_CLAMP((int32_t)(src * (1U << 15)) >> m, INT16_MIN, INT16_MAX)) 155 ((q15_t)Z_CLAMP((int32_t)(src * (1U << 15)) >> m, INT16_MIN, INT16_MAX))
|
/Zephyr-latest/ |
D | Kconfig.constants | 12 INT16_MAX := 32767
|
/Zephyr-latest/lib/libc/minimal/include/ |
D | stdint.h | 17 #define INT16_MAX __INT16_MAX__ macro 23 #define INT16_MIN (-INT16_MAX - 1)
|
/Zephyr-latest/samples/bluetooth/bap_unicast_client/src/ |
D | stream_lc3.c | 33 #define AUDIO_VOLUME (INT16_MAX - 3000)
|
/Zephyr-latest/tests/subsys/mgmt/ec_host_cmd/simulator/src/ |
D | main.c | 394 host_to_dut->unbounded.bytes_to_write = INT16_MAX; in ZTEST() 408 host_to_dut->unbounded.bytes_to_write = INT16_MAX; in ZTEST()
|
/Zephyr-latest/drivers/sensor/bosch/bmi270/ |
D | bmi270.c | 76 raw_val = (raw_val * SENSOR_G * (int64_t) range) / INT16_MAX; in channel_accel_convert() 89 / (180LL * INT16_MAX)) / 1000000LL; in channel_gyro_convert() 91 / (180LL * INT16_MAX)) % 1000000LL; in channel_gyro_convert()
|
/Zephyr-latest/include/zephyr/drivers/ |
D | sensor.h | 219 SENSOR_CHAN_MAX = INT16_MAX, 286 SENSOR_TRIG_MAX = INT16_MAX, 370 SENSOR_ATTR_MAX = INT16_MAX,
|
/Zephyr-latest/tests/net/lib/lwm2m/content_oma_tlv/src/ |
D | main.c | 158 int16_t value[] = { 0, INT16_MAX, INT16_MIN }; in ZTEST() 172 (uint8_t)(INT16_MAX >> 8), in ZTEST() 173 (uint8_t)INT16_MAX in ZTEST() 210 ret = oma_tlv_writer.put_s16(&test_out, &test_path, INT16_MAX); in ZTEST()
|
/Zephyr-latest/drivers/sensor/bosch/bmi160/ |
D | emul_bmi160.c | 367 CLAMP(DIV_ROUND_CLOSEST(intermediate * INT16_MAX, scale), INT16_MIN, INT16_MAX); in bmi160_emul_backend_set_channel()
|
/Zephyr-latest/tests/net/lib/lwm2m/content_plain_text/src/ |
D | main.c | 102 int16_t value[] = { 0, INT16_MAX, INT16_MIN }; in ZTEST() 124 ret = plain_text_writer.put_s16(&test_out, &test_path, INT16_MAX); in ZTEST()
|
/Zephyr-latest/drivers/lora/ |
D | shell.c | 164 "bw", 0, INT16_MAX) < 0) { in lora_conf_set()
|
/Zephyr-latest/drivers/sensor/adi/adt7310/ |
D | adt7310.c | 218 if (value < INT16_MIN || value > INT16_MAX) { in adt7310_attr_set()
|
/Zephyr-latest/drivers/sensor/tdk/icm42688/ |
D | icm42688_emul.c | 390 INT16_MIN, INT16_MAX); in icm42688_emul_backend_set_channel()
|
/Zephyr-latest/arch/arm64/core/ |
D | elf.c | 168 if (x < INT16_MIN || x > INT16_MAX) { in data_reloc_handler()
|
/Zephyr-latest/samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/src/mesh/ |
D | device_composition.c | 522 } else if (target > INT16_MAX) { in gen_delta_set_unack() 523 target = INT16_MAX; in gen_delta_set_unack() 605 } else if (target > INT16_MAX) { in gen_delta_set() 606 target = INT16_MAX; in gen_delta_set() 2669 } else if (target > INT16_MAX) { in gen_delta_set_unack_temp() 2670 target = INT16_MAX; in gen_delta_set_unack_temp() 2752 } else if (target > INT16_MAX) { in gen_delta_set_temp() 2753 target = INT16_MAX; in gen_delta_set_temp()
|
/Zephyr-latest/tests/net/lib/lwm2m/content_raw_cbor/src/ |
D | main.c | 137 int16_t value[] = { 1, -1, INT16_MAX, INT16_MIN }; in ZTEST() 186 ret = cbor_writer.put_s16(&test_out, &test_path, INT16_MAX); in ZTEST()
|
/Zephyr-latest/include/zephyr/ |
D | device.h | 49 #define Z_DEVICE_DEPS_ENDS INT16_MAX
|
/Zephyr-latest/subsys/bluetooth/host/classic/ |
D | Kconfig | 48 range 23 $(INT16_MAX)
|
/Zephyr-latest/drivers/sensor/tdk/icm42670/ |
D | icm42670.c | 557 conv_val = (int64_t)raw_val * SENSOR_G * fs / INT16_MAX; in icm42670_convert_accel() 569 conv_val = ((int64_t)raw_val * fs * SENSOR_PI) / (INT16_MAX * 180U); in icm42670_convert_gyro()
|
/Zephyr-latest/samples/bluetooth/bap_broadcast_source/src/ |
D | main.c | 104 #define AUDIO_VOLUME (INT16_MAX - 3000) /* codec does clipping above INT16_MAX - 3000 */
|
/Zephyr-latest/tests/net/lib/lwm2m/content_json/src/ |
D | main.c | 205 int16_t value[] = { 0, INT16_MAX, INT16_MIN }; in ZTEST()
|
/Zephyr-latest/tests/net/lib/lwm2m/content_senml_cbor/src/ |
D | main.c | 267 int16_t value[] = { 0, INT16_MAX, INT16_MIN }; in ZTEST()
|
/Zephyr-latest/subsys/net/lib/lwm2m/ |
D | lwm2m_rw_oma_tlv.c | 455 if (INT16_MIN <= value && value <= INT16_MAX) { in put_s32()
|