Home
last modified time | relevance | path

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/
Dstate_binding.c89 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()
Ddevice_composition.c520 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/
Dutils.h125 ((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/
DKconfig.constants7 INT16_MIN := -32768
/Zephyr-latest/include/zephyr/net/
Dieee802154_pkt.h39 #define IEEE802154_MAC_RSSI_DBM_UNDEFINED INT16_MIN /* represents an undefined RSSI value */
/Zephyr-latest/lib/libc/minimal/include/
Dstdint.h23 #define INT16_MIN (-INT16_MAX - 1) macro
/Zephyr-latest/tests/net/lib/lwm2m/content_oma_tlv/src/
Dmain.c158 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/
Dmain.c139 INT16_MIN / INT16_C(3), in ZTEST_F()
/Zephyr-latest/drivers/sensor/adi/adt7310/
Dadt7310.c218 if (value < INT16_MIN || value > INT16_MAX) { in adt7310_attr_set()
/Zephyr-latest/drivers/sensor/tdk/icm42688/
Dicm42688_emul.c390 INT16_MIN, INT16_MAX); in icm42688_emul_backend_set_channel()
/Zephyr-latest/arch/arm64/core/
Delf.c168 if (x < INT16_MIN || x > INT16_MAX) { in data_reloc_handler()
/Zephyr-latest/include/zephyr/
Ddevice.h43 #define Z_DEVICE_DEPS_SEP INT16_MIN
/Zephyr-latest/drivers/sensor/bosch/bmi160/
Demul_bmi160.c367 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/
Dmain.c102 int16_t value[] = { 0, INT16_MAX, INT16_MIN }; in ZTEST()
/Zephyr-latest/tests/net/lib/lwm2m/content_json/src/
Dmain.c205 int16_t value[] = { 0, INT16_MAX, INT16_MIN }; in ZTEST()
/Zephyr-latest/tests/net/lib/lwm2m/content_raw_cbor/src/
Dmain.c137 int16_t value[] = { 1, -1, INT16_MAX, INT16_MIN }; in ZTEST()
/Zephyr-latest/tests/net/lib/lwm2m/content_senml_cbor/src/
Dmain.c267 int16_t value[] = { 0, INT16_MAX, INT16_MIN }; in ZTEST()
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_rw_oma_tlv.c455 if (INT16_MIN <= value && value <= INT16_MAX) { in put_s32()
/Zephyr-latest/tests/net/ieee802154/l2/src/
Dieee802154_test.c646 net_pkt_set_ieee802154_rssi_dbm(pkt, INT16_MIN + 1); in test_packet_rssi_conversion()