/Zephyr-latest/include/zephyr/dsp/ |
D | utils.h | 135 ((q31_t)Z_CLAMP((int64_t)(src * (1U << 31)) >> m, INT32_MIN, INT32_MAX)) 165 ((q31_t)Z_CLAMP((int64_t)(src * (1U << 31)) >> m, INT32_MIN, INT32_MAX))
|
D | print_format.h | 49 ((__PRIq_arg_get(q, shift, 30, 0) * __CONSTPOW(1, precision)) / INT32_MAX)
|
/Zephyr-latest/drivers/sensor/amd_sb_tsi/ |
D | sb_tsi_emul.c | 115 millicelsius = scaled_value * 1000 / ((int64_t)INT32_MAX + 1); in sb_tsi_emul_set_channel() 133 *upper = (int64_t)(255.875 * ((int64_t)INT32_MAX + 1)) >> *shift; in sb_tsi_emul_get_sample_range() 134 *epsilon = (int64_t)(0.125 * ((int64_t)INT32_MAX + 1)) >> *shift; in sb_tsi_emul_get_sample_range()
|
/Zephyr-latest/drivers/sensor/asahi_kasei/akm09918c/ |
D | akm09918c_decoder.c | 46 ((int64_t)INT32_MAX + 1) / in akm09918c_convert_raw_to_q31() 49 *out = CLAMP(intermediate, INT32_MIN, INT32_MAX); in akm09918c_convert_raw_to_q31()
|
D | akm09918c_emul.c | 167 ((int64_t)INT32_MAX + 1); in akm09918c_emul_backend_set_channel() 196 *upper = (int64_t)(49.12 * ((int64_t)INT32_MAX + 1)) >> *shift; in akm09918c_emul_backend_get_sample_range() 198 *epsilon = (int64_t)(0.0015 * ((int64_t)INT32_MAX + 1)) >> *shift; in akm09918c_emul_backend_get_sample_range()
|
/Zephyr-latest/drivers/dai/intel/dmic/ |
D | dmic.h | 104 (qx + qy - qz) : INT32_MIN) : INT32_MAX) 188 if (x > INT32_MAX) { in sat_int32() 189 return INT32_MAX; in sat_int32()
|
/Zephyr-latest/drivers/sensor/bosch/bmi160/ |
D | emul_bmi160.c | 403 int64_t intermediate = ((int64_t)(2 * 9.80665 * INT32_MAX)) >> 5; in bmi160_emul_backend_get_sample_range() 436 int64_t intermediate = (int64_t)(125 * 3.141592654 * INT32_MAX / 180) >> 2; in bmi160_emul_backend_get_sample_range() 548 *min = (q31_t)((int64_t)(0.0039 * 9.8065 * INT8_MIN * INT32_MAX) >> 3); in bmi160_emul_backend_get_attribute_metadata() 549 *max = (q31_t)((int64_t)(0.0039 * 9.8065 * INT8_MAX * INT32_MAX) >> 3); in bmi160_emul_backend_get_attribute_metadata() 550 *increment = (q31_t)((int64_t)(0.0039 * 9.8065 * INT32_MAX) >> 3); in bmi160_emul_backend_get_attribute_metadata() 565 *min = (q31_t)(0.061 * 3.141593 / 180.0 * -512 * INT32_MAX); in bmi160_emul_backend_get_attribute_metadata() 566 *max = (q31_t)(0.061 * 3.141593 / 180.0 * 511 * INT32_MAX); in bmi160_emul_backend_get_attribute_metadata() 567 *increment = (q31_t)(0.061 * 3.141593 / 180.0 * INT32_MAX); in bmi160_emul_backend_get_attribute_metadata()
|
/Zephyr-latest/drivers/sensor/f75303/ |
D | f75303_emul.c | 133 millicelsius = scaled_value * 1000 / ((int64_t)INT32_MAX + 1); in f75303_emul_set_channel() 153 *upper = (int64_t)(255.875 * ((int64_t)INT32_MAX + 1)) >> *shift; in f75303_emul_get_sample_range() 154 *epsilon = (int64_t)(0.125 * ((int64_t)INT32_MAX + 1)) >> *shift; in f75303_emul_get_sample_range()
|
/Zephyr-latest/ |
D | Kconfig.constants | 13 INT32_MAX := 2147483647
|
/Zephyr-latest/tests/drivers/rtc/rtc_utils/src/ |
D | test_rtc_utils.c | 23 .tm_nsec = INT32_MAX, in ZTEST()
|
/Zephyr-latest/include/zephyr/net/ |
D | net_timeout.h | 50 #define NET_TIMEOUT_MAX_VALUE ((uint32_t)INT32_MAX)
|
/Zephyr-latest/tests/net/lib/lwm2m/content_oma_tlv/src/ |
D | main.c | 224 int32_t value[] = { 0, INT32_MAX, INT32_MIN }; in ZTEST() 238 (uint8_t)(INT32_MAX >> 24), in ZTEST() 239 (uint8_t)(INT32_MAX >> 16), in ZTEST() 240 (uint8_t)(INT32_MAX >> 8), in ZTEST() 241 (uint8_t)INT32_MAX in ZTEST() 280 ret = oma_tlv_writer.put_s32(&test_out, &test_path, INT32_MAX); in ZTEST() 699 (uint8_t)(INT32_MAX >> 24), in ZTEST() 700 (uint8_t)(INT32_MAX >> 16), in ZTEST() 701 (uint8_t)(INT32_MAX >> 8), in ZTEST() 702 (uint8_t)INT32_MAX in ZTEST() [all …]
|
/Zephyr-latest/drivers/sensor/nordic/npm1300_charger/ |
D | npm1300_charger.c | 328 if (config->temp_thresholds[idx] < INT32_MAX) { in set_ntc_thresholds() 350 if (config->dietemp_thresholds[idx] < INT32_MAX) { in set_dietemp_thresholds() 688 .dietemp_thresholds = {DT_INST_PROP_OR(n, dietemp_stop_millidegrees, INT32_MAX), \ 690 INT32_MAX)}, \ 691 .temp_thresholds = {DT_INST_PROP_OR(n, thermistor_cold_millidegrees, INT32_MAX), \ 692 DT_INST_PROP_OR(n, thermistor_cool_millidegrees, INT32_MAX), \ 693 DT_INST_PROP_OR(n, thermistor_warm_millidegrees, INT32_MAX), \ 694 DT_INST_PROP_OR(n, thermistor_hot_millidegrees, INT32_MAX)}}; \
|
/Zephyr-latest/drivers/regulator/ |
D | regulator_gpio.c | 112 int32_t best_voltage = INT32_MAX; in regulator_gpio_set_voltage() 127 if (best_voltage == INT32_MAX) { in regulator_gpio_set_voltage() 214 .current_volt_uv = INT32_MAX, \
|
/Zephyr-latest/samples/modules/lvgl/screen_transparency/src/ |
D | main.c | 68 k_msleep(MIN(sleep_ms, INT32_MAX)); in main()
|
/Zephyr-latest/samples/modules/lvgl/demos/src/ |
D | main.c | 72 k_msleep(MIN(sleep_ms, INT32_MAX)); in main()
|
/Zephyr-latest/lib/libc/minimal/include/ |
D | stdint.h | 18 #define INT32_MAX __INT32_MAX__ macro 24 #define INT32_MIN (-INT32_MAX - 1)
|
/Zephyr-latest/tests/subsys/dsp/utils/src/ |
D | f64.c | 28 (-1.0, 0, INT32_MIN), (1.0, 0, INT32_MAX), (1.0, 31, 1), (-1.0, 31, -1)
|
/Zephyr-latest/include/zephyr/drivers/ |
D | regulator.h | 196 INT32_MAX), \ 202 INT32_MAX), \ 330 if (config->max_uv == INT32_MAX) { in regulator_common_get_max_voltage()
|
D | sensor.h | 1326 if (inp < INT32_MIN || inp > INT32_MAX) { in sensor_value_from_double() 1332 if (val2 < INT32_MIN || val2 > INT32_MAX) { in sensor_value_from_double() 1353 if (val2 < INT32_MIN || val2 > (float)(INT32_MAX - 1)) { in sensor_value_from_float() 1481 milli > ((int64_t)INT32_MAX + 1) * 1000LL) { in sensor_value_from_milli() 1501 micro > ((int64_t)INT32_MAX + 1) * 1000000LL) { in sensor_value_from_micro()
|
/Zephyr-latest/samples/modules/lvgl/accelerometer_chart/src/ |
D | main.c | 94 k_msleep(MIN(sleep_ms, INT32_MAX)); in main()
|
/Zephyr-latest/subsys/net/lib/lwm2m/ |
D | ipso_temp_sensor.c | 161 min_measured_value[index] = INT32_MAX; in temp_sensor_create() 162 max_measured_value[index] = -INT32_MAX; in temp_sensor_create()
|
D | ipso_current_sensor.c | 165 min_measured_value[index] = INT32_MAX; in current_sensor_create() 166 max_measured_value[index] = -INT32_MAX; in current_sensor_create()
|
D | ipso_humidity_sensor.c | 160 min_measured_value[index] = INT32_MAX; in humidity_sensor_create() 161 max_measured_value[index] = -INT32_MAX; in humidity_sensor_create()
|
D | ipso_pressure_sensor.c | 161 min_measured_value[index] = INT32_MAX; in pressure_sensor_create() 162 max_measured_value[index] = -INT32_MAX; in pressure_sensor_create()
|