Home
last modified time | relevance | path

Searched refs:INT16_MAX (Results 1 – 25 of 26) sorted by relevance

12

/Zephyr-Core-3.7.0/tests/drivers/sensor/icm42688/src/
Dmain.c119 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-Core-3.7.0/lib/posix/options/
DKconfig.semaphore14 default $(INT16_MAX)
15 range 1 $(INT16_MAX)
/Zephyr-Core-3.7.0/
DKconfig.constants12 INT16_MAX := 32767
/Zephyr-Core-3.7.0/lib/libc/minimal/include/
Dstdint.h17 #define INT16_MAX __INT16_MAX__ macro
23 #define INT16_MIN (-INT16_MAX - 1)
/Zephyr-Core-3.7.0/samples/bluetooth/bap_unicast_client/src/
Dstream_lc3.c33 #define AUDIO_VOLUME (INT16_MAX - 3000)
/Zephyr-Core-3.7.0/tests/subsys/mgmt/ec_host_cmd/simulator/src/
Dmain.c394 host_to_dut->unbounded.bytes_to_write = INT16_MAX; in ZTEST()
408 host_to_dut->unbounded.bytes_to_write = INT16_MAX; in ZTEST()
/Zephyr-Core-3.7.0/drivers/sensor/bosch/bmi270/
Dbmi270.c76 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-Core-3.7.0/include/zephyr/drivers/
Dsensor.h213 SENSOR_CHAN_MAX = INT16_MAX,
280 SENSOR_TRIG_MAX = INT16_MAX,
361 SENSOR_ATTR_MAX = INT16_MAX,
/Zephyr-Core-3.7.0/tests/net/lib/lwm2m/content_oma_tlv/src/
Dmain.c158 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-Core-3.7.0/drivers/sensor/bosch/bmi160/
Demul_bmi160.c362 CLAMP(DIV_ROUND_CLOSEST(intermediate * INT16_MAX, scale), INT16_MIN, INT16_MAX); in bmi160_emul_backend_set_channel()
/Zephyr-Core-3.7.0/tests/net/lib/lwm2m/content_plain_text/src/
Dmain.c102 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-Core-3.7.0/drivers/lora/
Dshell.c164 "bw", 0, INT16_MAX) < 0) { in lora_conf_set()
/Zephyr-Core-3.7.0/drivers/sensor/adi/adt7310/
Dadt7310.c218 if (value < INT16_MIN || value > INT16_MAX) { in adt7310_attr_set()
/Zephyr-Core-3.7.0/drivers/sensor/tdk/icm42688/
Dicm42688_emul.c390 INT16_MIN, INT16_MAX); in icm42688_emul_backend_set_channel()
/Zephyr-Core-3.7.0/samples/boards/nrf/mesh/onoff_level_lighting_vnd_app/src/mesh/
Ddevice_composition.c524 } else if (target > INT16_MAX) { in gen_delta_set_unack()
525 target = INT16_MAX; in gen_delta_set_unack()
607 } else if (target > INT16_MAX) { in gen_delta_set()
608 target = INT16_MAX; in gen_delta_set()
2671 } else if (target > INT16_MAX) { in gen_delta_set_unack_temp()
2672 target = INT16_MAX; in gen_delta_set_unack_temp()
2754 } else if (target > INT16_MAX) { in gen_delta_set_temp()
2755 target = INT16_MAX; in gen_delta_set_temp()
/Zephyr-Core-3.7.0/tests/net/lib/lwm2m/content_raw_cbor/src/
Dmain.c137 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-Core-3.7.0/include/zephyr/
Ddevice.h45 #define Z_DEVICE_DEPS_ENDS INT16_MAX
/Zephyr-Core-3.7.0/subsys/bluetooth/host/classic/
DKconfig39 range 23 $(INT16_MAX)
/Zephyr-Core-3.7.0/samples/bluetooth/bap_broadcast_source/src/
Dmain.c85 #define AUDIO_VOLUME (INT16_MAX - 3000) /* codec does clipping above INT16_MAX - 3000 */
/Zephyr-Core-3.7.0/tests/net/lib/lwm2m/content_json/src/
Dmain.c205 int16_t value[] = { 0, INT16_MAX, INT16_MIN }; in ZTEST()
/Zephyr-Core-3.7.0/tests/net/lib/lwm2m/content_senml_cbor/src/
Dmain.c267 int16_t value[] = { 0, INT16_MAX, INT16_MIN }; in ZTEST()
/Zephyr-Core-3.7.0/subsys/net/lib/lwm2m/
Dlwm2m_rw_oma_tlv.c455 if (INT16_MIN <= value && value <= INT16_MAX) { in put_s32()
/Zephyr-Core-3.7.0/drivers/sensor/bosch/bmi323/
Dbmi323.c90 return (fullscale * 1000) / INT16_MAX; in bosch_bmi323_lsb_from_fullscale()
/Zephyr-Core-3.7.0/tests/net/ieee802154/l2/src/
Dieee802154_test.c649 net_pkt_set_ieee802154_rssi_dbm(pkt, INT16_MAX); in test_packet_rssi_conversion()
/Zephyr-Core-3.7.0/subsys/bluetooth/mesh/
DKconfig999 range 1 $(INT16_MAX)
1274 range 1 $(INT16_MAX)

12