/Zephyr-Core-3.7.0/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-Core-3.7.0/lib/posix/options/ |
D | Kconfig.semaphore | 14 default $(INT16_MAX) 15 range 1 $(INT16_MAX)
|
/Zephyr-Core-3.7.0/ |
D | Kconfig.constants | 12 INT16_MAX := 32767
|
/Zephyr-Core-3.7.0/lib/libc/minimal/include/ |
D | stdint.h | 17 #define INT16_MAX __INT16_MAX__ macro 23 #define INT16_MIN (-INT16_MAX - 1)
|
/Zephyr-Core-3.7.0/samples/bluetooth/bap_unicast_client/src/ |
D | stream_lc3.c | 33 #define AUDIO_VOLUME (INT16_MAX - 3000)
|
/Zephyr-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/include/zephyr/drivers/ |
D | sensor.h | 213 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/ |
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-Core-3.7.0/drivers/sensor/bosch/bmi160/ |
D | emul_bmi160.c | 362 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/ |
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-Core-3.7.0/drivers/lora/ |
D | shell.c | 164 "bw", 0, INT16_MAX) < 0) { in lora_conf_set()
|
/Zephyr-Core-3.7.0/drivers/sensor/adi/adt7310/ |
D | adt7310.c | 218 if (value < INT16_MIN || value > INT16_MAX) { in adt7310_attr_set()
|
/Zephyr-Core-3.7.0/drivers/sensor/tdk/icm42688/ |
D | icm42688_emul.c | 390 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/ |
D | device_composition.c | 524 } 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/ |
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-Core-3.7.0/include/zephyr/ |
D | device.h | 45 #define Z_DEVICE_DEPS_ENDS INT16_MAX
|
/Zephyr-Core-3.7.0/subsys/bluetooth/host/classic/ |
D | Kconfig | 39 range 23 $(INT16_MAX)
|
/Zephyr-Core-3.7.0/samples/bluetooth/bap_broadcast_source/src/ |
D | main.c | 85 #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/ |
D | main.c | 205 int16_t value[] = { 0, INT16_MAX, INT16_MIN }; in ZTEST()
|
/Zephyr-Core-3.7.0/tests/net/lib/lwm2m/content_senml_cbor/src/ |
D | main.c | 267 int16_t value[] = { 0, INT16_MAX, INT16_MIN }; in ZTEST()
|
/Zephyr-Core-3.7.0/subsys/net/lib/lwm2m/ |
D | lwm2m_rw_oma_tlv.c | 455 if (INT16_MIN <= value && value <= INT16_MAX) { in put_s32()
|
/Zephyr-Core-3.7.0/drivers/sensor/bosch/bmi323/ |
D | bmi323.c | 90 return (fullscale * 1000) / INT16_MAX; in bosch_bmi323_lsb_from_fullscale()
|
/Zephyr-Core-3.7.0/tests/net/ieee802154/l2/src/ |
D | ieee802154_test.c | 649 net_pkt_set_ieee802154_rssi_dbm(pkt, INT16_MAX); in test_packet_rssi_conversion()
|
/Zephyr-Core-3.7.0/subsys/bluetooth/mesh/ |
D | Kconfig | 999 range 1 $(INT16_MAX) 1274 range 1 $(INT16_MAX)
|