Home
last modified time | relevance | path

Searched full:abs (Results 1 – 25 of 63) sorted by relevance

123

/Zephyr-latest/soc/sensry/ganymed/sy1xx/common/
Dcrt0.S9 # abs 0x0000 - entry point after bootloader
16 # abs 0x0080 - will be checked by bootloader
20 # abs 0x0100 - text
/Zephyr-latest/samples/shields/npm1300_ek/src/
Dmain.c99 abs(current.val1), abs(current.val2) / 100); in read_sensors()
101 printk("T: %s%d.%02d\n", ((temp.val1 < 0) || (temp.val2 < 0)) ? "-" : "", abs(temp.val1), in read_sensors()
102 abs(temp.val2) / 10000); in read_sensors()
/Zephyr-latest/include/zephyr/usb/class/
Dhid.h444 /* HID_INPUT (Data,Var,Abs) */ \
449 /* HID_INPUT (Cnst,Ary,Abs) */ \
482 /* HID_INPUT(Data,Var,Abs) */ \
486 /* HID_INPUT(Cnst,Var,Abs) */ \
495 /* HID_OUTPUT(Data,Var,Abs) */ \
499 /* HID_OUTPUT(Cnst,Var,Abs) */ \
510 /* HID_INPUT (Data,Ary,Abs) */ \
/Zephyr-latest/scripts/coccinelle/
Dsymbols.txt2 abs
/Zephyr-latest/drivers/gnss/
Dgnss_dump.c113 alt_sign, abs(nav_data->altitude) / 1000, abs(nav_data->altitude) % 1000); in gnss_dump_nav_data()
/Zephyr-latest/samples/modules/tflite-micro/magic_wand/train/
Ddata_load_test.py62 abs(padding_data1[0].tolist()[i][j] - expected_data1_0[i][j]),
67 abs(padding_data1[1].tolist()[i][j] - expected_data1_1[i][j]),
/Zephyr-latest/drivers/sensor/
Ddefault_rtio_sensor.c190 * The scale is the ceil(abs(sample)). in sensor_submit_fallback_sync()
192 * is non 0 and convert this to abs(sample.val1) + 1 (removing a branch). in sensor_submit_fallback_sync()
194 * to upcast it to 64 bit int first, then take the abs() of that 64 bit in sensor_submit_fallback_sync()
248 abs((int)value[sample].val1), abs((int)value[sample].val2), in sensor_submit_fallback_sync()
/Zephyr-latest/dts/bindings/ieee802154/
Datmel,rf2xx.yaml73 table_index = abs((value_in_dbm - tx-pwr-max) / linear_step);
96 table_index = abs((0 - 4) / 0.45) => 8.95 ( round to 9 )
/Zephyr-latest/drivers/video/
Dvideo_mcux_mipi_csi2rx.c22 #define ABS(a, b) (a > b ? a - b : b - a) macro
109 if (ABS(tHsSettleEscClk_configs[i].pixel_rate, sensor_pixel_rate) < in mipi_csi2rx_update_settings()
110 ABS(tHsSettleEscClk_configs[i].pixel_rate, best_match)) { in mipi_csi2rx_update_settings()
Dov5640.c97 #define ABS(a, b) (a > b ? a - b : b - a) macro
517 ABS(desired_frmrate, ov5640_frame_rates[i]) < in ov5640_set_frmival()
518 ABS(desired_frmrate, best_match)) { in ov5640_set_frmival()
718 {SDE_CTRL1_REG, abs(cos_coef)}, in ov5640_set_ctrl_hue()
719 {SDE_CTRL2_REG, abs(sin_coef)}}; in ov5640_set_ctrl_hue()
751 {SDE_CTRL7_REG, abs(value) & 0xff}}; in ov5640_set_ctrl_brightness()
/Zephyr-latest/drivers/input/
Dinput_adc_keys.c86 diff = abs(sample_mv - cfg->code_cfg[i].press_mv); in adc_keys_process()
93 diff = abs(sample_mv - cfg->keyup_mv); in adc_keys_process()
/Zephyr-latest/samples/bluetooth/peripheral_hids/src/
Dhog.c75 0x81, 0x02, /* Input (Data,Var,Abs,No Wrap,Linear,...) */
78 0x81, 0x03, /* Input (Const,Var,Abs,No Wrap,Linear,...) */
/Zephyr-latest/tests/boards/intel_adsp/smoke/src/
Dmain.c41 diff = abs(hz - CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC); in ZTEST()
/Zephyr-latest/lib/libc/minimal/include/
Dstdlib.h60 static inline int abs(int __n) in abs() function
/Zephyr-latest/drivers/sensor/nordic/temp/
Dtemp_nrfs.c253 val->val2 = (abs(uval) % 100) * 10000; in api_channel_get()
255 LOG_DBG("Temperature: %d.%02u[C]", uval / 100, abs(uval) % 100); in api_channel_get()
/Zephyr-latest/tests/lib/cmsis_dsp/common/
Dtest_common.h241 if (abs(a[index] - b[index]) > threshold) { in test_near_equal_q31()
255 if (abs(a[index] - b[index]) > threshold) { in test_near_equal_q15()
269 if (abs(a[index] - b[index]) > threshold) { in test_near_equal_q7()
/Zephyr-latest/tests/boards/mtk_adsp/src/
Dmain.c49 int32_t err = hz0 / abs((int32_t)(hz0 - hz)); in ZTEST()
/Zephyr-latest/tests/bsim/bluetooth/host/privacy/central/src/
Ddut.c111 int64_t diff_to_expected_ms = abs(time_diff_ms - expected_conn_timeout_ms); in dut_procedure_connect_timeout()
/Zephyr-latest/tests/subsys/mgmt/mcumgr/os_mgmt_info/src/
Dbuild_date.c149 abs(expected_time_seconds - received_time_seconds)); in ZTEST()
246 abs(expected_time_seconds - received_time_seconds)); in ZTEST()
/Zephyr-latest/tests/bsim/bluetooth/host/privacy/legacy/src/
Dtester.c70 if (abs(diff_ms - rpa_timeout_ms) > (rpa_timeout_ms / 10)) { in cb_expect_rpa()
/Zephyr-latest/tests/drivers/sensor/temp_sensor/src/
Dmain.c35 temp_val/100, abs(temp_val) % 100); in ZTEST()
/Zephyr-latest/tests/bsim/bluetooth/host/privacy/peripheral/src/
Dtester_rpa_rotation.c101 if (abs(diff_ms - rpa_timeout_ms) > (rpa_timeout_ms / 10)) { in test_address()
/Zephyr-latest/tests/kernel/timer/timer_behavior/pytest/
Dtest_timer.py84 assert abs(time_diff) < seconds * max_drift_ppm / 1_000_000
/Zephyr-latest/samples/boards/nxp/adsp/number_crunching/src/
Dmath_ops.c21 if (abs(in_a[i] - in_b[i]) > threshold) { in test_near_equal_q15()
/Zephyr-latest/drivers/pwm/
Dpwm_mchp_xec.c227 if (abs((int)target_freq - (int)freq_h) < in xec_compare_params()
228 abs((int)target_freq - (int)freq_l)) { in xec_compare_params()

123