Searched refs:INT16_MIN (Results 1 – 19 of 19) sorted by relevance
/Zephyr-latest/samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/src/mesh/ |
D | state_binding.c | 89 return (int16_t) (tmp + INT16_MIN); in light_ctl_temp_to_level() 103 tmp = (uint16_t) ((level - INT16_MIN) * diff); in level_to_light_ctl_temp() 129 ctl->light->target = *((int16_t *) dptr) - INT16_MIN; in set_target() 133 ctl->light->target = *((int16_t *) dptr) - INT16_MIN; in set_target() 187 return (int16_t) (ctl->light->current + INT16_MIN); in get_current() 215 return (int16_t) (ctl->light->target + INT16_MIN); in get_target()
|
D | device_composition.c | 520 if (target < INT16_MIN) { in gen_delta_set_unack() 521 target = INT16_MIN; in gen_delta_set_unack() 603 if (target < INT16_MIN) { in gen_delta_set() 604 target = INT16_MIN; in gen_delta_set() 2667 if (target < INT16_MIN) { in gen_delta_set_unack_temp() 2668 target = INT16_MIN; in gen_delta_set_unack_temp() 2750 if (target < INT16_MIN) { in gen_delta_set_temp() 2751 target = INT16_MIN; in gen_delta_set_temp()
|
/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 | 7 INT16_MIN := -32768
|
/Zephyr-latest/include/zephyr/net/ |
D | ieee802154_pkt.h | 39 #define IEEE802154_MAC_RSSI_DBM_UNDEFINED INT16_MIN /* represents an undefined RSSI value */
|
/Zephyr-latest/lib/libc/minimal/include/ |
D | stdint.h | 23 #define INT16_MIN (-INT16_MAX - 1) macro
|
/Zephyr-latest/tests/net/lib/lwm2m/content_oma_tlv/src/ |
D | main.c | 158 int16_t value[] = { 0, INT16_MAX, INT16_MIN }; in ZTEST() 182 (uint8_t)(INT16_MIN >> 8), in ZTEST() 183 (uint8_t)INT16_MIN in ZTEST()
|
/Zephyr-latest/tests/drivers/sensor/icm42688/src/ |
D | main.c | 139 INT16_MIN / INT16_C(3), in ZTEST_F()
|
/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/include/zephyr/ |
D | device.h | 43 #define Z_DEVICE_DEPS_SEP INT16_MIN
|
/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()
|
/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_raw_cbor/src/ |
D | main.c | 137 int16_t value[] = { 1, -1, 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()
|
/Zephyr-latest/tests/net/ieee802154/l2/src/ |
D | ieee802154_test.c | 646 net_pkt_set_ieee802154_rssi_dbm(pkt, INT16_MIN + 1); in test_packet_rssi_conversion()
|