/Zephyr-latest/drivers/sensor/tdk/icm42688/ |
D | icm42688.h | 99 static inline uint8_t icm42688_accel_hz_to_reg(uint16_t hz) in icm42688_accel_hz_to_reg() argument 101 if (hz >= 32000) { in icm42688_accel_hz_to_reg() 103 } else if (hz >= 16000) { in icm42688_accel_hz_to_reg() 105 } else if (hz >= 8000) { in icm42688_accel_hz_to_reg() 107 } else if (hz >= 4000) { in icm42688_accel_hz_to_reg() 109 } else if (hz >= 2000) { in icm42688_accel_hz_to_reg() 111 } else if (hz >= 1000) { in icm42688_accel_hz_to_reg() 113 } else if (hz >= 500) { in icm42688_accel_hz_to_reg() 115 } else if (hz >= 200) { in icm42688_accel_hz_to_reg() 117 } else if (hz >= 100) { in icm42688_accel_hz_to_reg() [all …]
|
/Zephyr-latest/soc/nxp/imx/imx6sx/ |
D | soc_clk_freq.c | 16 uint32_t hz; in get_pwm_clock_freq() local 24 hz = 24000000; in get_pwm_clock_freq() 38 hz = CCM_ANALOG_GetPllFreq(CCM_ANALOG, ccmAnalogPllSysControl); in get_pwm_clock_freq() 50 hz = 24000000; in get_pwm_clock_freq() 63 hz = CCM_ANALOG_GetPllFreq(CCM_ANALOG, ccmAnalogPllUsb1Control); in get_pwm_clock_freq() 75 return hz / (divPerclkPodf + 1) / (divIpgPodf + 1) / in get_pwm_clock_freq()
|
/Zephyr-latest/soc/nxp/imx/imx7d/ |
D | soc_clk_freq.c | 15 uint32_t hz; in get_pwm_clock_freq() local 41 hz = 24000000U; in get_pwm_clock_freq() 44 hz = CCM_ANALOG_GetSysPllFreq(CCM_ANALOG) >> 2; in get_pwm_clock_freq() 50 return hz / (pre + 1) / (post + 1); in get_pwm_clock_freq()
|
/Zephyr-latest/tests/drivers/audio/dmic_api/boards/ |
D | mimxrt595_evk_mimxrt595s_cm33.overlay | 15 dc-cutoff = "155hz"; 22 dc-cutoff = "155hz"; 29 dc-cutoff = "155hz"; 36 dc-cutoff = "155hz";
|
D | rd_rw612_bga.overlay | 15 dc-cutoff = "155hz"; 22 dc-cutoff = "155hz"; 29 dc-cutoff = "155hz"; 36 dc-cutoff = "155hz";
|
/Zephyr-latest/tests/drivers/build_all/i3c/boards/ |
D | qemu_cortex_m3.overlay | 22 i3c-scl-hz = <12500000>; 23 i2c-scl-hz = <400000>; 34 i3c-scl-hz = <12500000>; 35 i2c-scl-hz = <400000>;
|
/Zephyr-latest/tests/boards/mtk_adsp/src/ |
D | main.c | 30 uint32_t hz = ((uint64_t)cc1 - cc0) * NOM_HZ / (t1 - t0); in cpu_hz() local 32 printk("(measured %u Hz CPU clock vs. %d Hz timer)\n", hz, NOM_HZ); in cpu_hz() 33 return hz; in cpu_hz() 48 uint32_t hz0 = 1000000 * freqs[i], hz = cpu_hz(); in ZTEST() local 49 int32_t err = hz0 / abs((int32_t)(hz0 - hz)); in ZTEST()
|
/Zephyr-latest/samples/sensor/thermometer/boards/ |
D | frdm_mcxn947_mcxn947_cpu0.overlay | 18 i2c-scl-hz = <DT_FREQ_K(400)>; 19 i3c-scl-hz = <DT_FREQ_M(4)>; 20 i3c-od-scl-hz = <DT_FREQ_K(1500)>;
|
D | frdm_mcxn947_mcxn947_cpu0_qspi.overlay | 18 i2c-scl-hz = <DT_FREQ_K(400)>; 19 i3c-scl-hz = <DT_FREQ_M(4)>; 20 i3c-od-scl-hz = <DT_FREQ_K(1500)>;
|
/Zephyr-latest/tests/boards/intel_adsp/smoke/src/ |
D | main.c | 21 uint32_t cyc0, cyc1, hz, diff; in ZTEST() local 37 hz = 1000000ULL * (cyc1 - cyc0) / host_dt; in ZTEST() 41 diff = abs(hz - CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC); in ZTEST() 42 zassert_true((hz / MIN(1, diff)) > 100, "clock rate wrong"); in ZTEST()
|
/Zephyr-latest/samples/sensor/lps22hh_i3c/boards/ |
D | mimxrt685_evk_mimxrt685s_cm33.overlay | 10 i2c-scl-hz = <400000>; 11 i3c-scl-hz = <400000>; 12 i3c-od-scl-hz = <400000>;
|
/Zephyr-latest/samples/sensor/lsm6dso_i2c_on_i3c/boards/ |
D | mimxrt685_evk_mimxrt685s_cm33.overlay | 10 i2c-scl-hz = <400000>; 11 i3c-scl-hz = <400000>; 12 i3c-od-scl-hz = <400000>;
|
/Zephyr-latest/boards/shields/p3t1755dp_ard_i3c/boards/ |
D | frdm_mcxn236.overlay | 24 i2c-scl-hz = <DT_FREQ_K(400)>; 25 i3c-scl-hz = <DT_FREQ_K(400)>; 26 i3c-od-scl-hz = <DT_FREQ_K(100)>;
|
D | mimxrt1180_evk_mimxrt1189_cm7.overlay | 24 i2c-scl-hz = <DT_FREQ_K(400)>; 25 i3c-scl-hz = <DT_FREQ_K(400)>; 26 i3c-od-scl-hz = <DT_FREQ_K(100)>;
|
D | mimxrt1180_evk_mimxrt1189_cm33.overlay | 24 i2c-scl-hz = <DT_FREQ_K(400)>; 25 i3c-scl-hz = <DT_FREQ_K(400)>; 26 i3c-od-scl-hz = <DT_FREQ_K(100)>;
|
/Zephyr-latest/samples/sensor/tdk_apex/boards/ |
D | nrf52dk_nrf52832_spi.overlay | 27 accel-hz = <50>; 28 gyro-hz = <50>;
|
D | nrf52dk_nrf52832_i2c.overlay | 28 accel-hz = <50>; 29 gyro-hz = <50>;
|
/Zephyr-latest/samples/sensor/6dof_motion_drdy/boards/ |
D | nrf52dk_nrf52832_spi.overlay | 28 accel-hz = <100>; 29 gyro-hz = <100>;
|
D | nrf52dk_nrf52832_i2c.overlay | 30 accel-hz = <100>; 31 gyro-hz = <100>;
|
/Zephyr-latest/drivers/timer/ |
D | hpet.c | 419 uint32_t hz, reg; in sys_clock_driver_init() local 421 ARG_UNUSED(hz); in sys_clock_driver_init() 439 hz = (uint32_t)(HPET_COUNTER_CLK_PERIOD / hpet_counter_clk_period_get()); in sys_clock_driver_init() 440 z_clock_hw_cycles_per_sec = hz; in sys_clock_driver_init() 441 cyc_per_tick = hz / CONFIG_SYS_CLOCK_TICKS_PER_SEC; in sys_clock_driver_init()
|
D | ite_it8xxx2_timer.c | 61 #define MS_TO_COUNT(hz, ms) ((hz) * (ms) / 1000) argument
|
/Zephyr-latest/drivers/ieee802154/ |
D | ieee802154_cc1200.c | 282 uint32_t hz, freq_tmp, rst; in rf_evaluate_freq_setting() local 285 hz = rf; in rf_evaluate_freq_setting() 287 hz = rf / mult_10; in rf_evaluate_freq_setting() 288 hz *= mult_10; in rf_evaluate_freq_setting() 291 if (hz < 1000) { in rf_evaluate_freq_setting() 292 freq_tmp = (hz * lo_div * 65536U) / xtal; in rf_evaluate_freq_setting() 294 freq_tmp = ((hz * lo_div) / xtal) * 65536U; in rf_evaluate_freq_setting() 309 rf -= hz; in rf_evaluate_freq_setting()
|
/Zephyr-latest/boards/espressif/esp32c3_rust/ |
D | esp32c3_rust.dts | 98 accel-hz = <800>; 100 gyro-hz = <800>;
|
/Zephyr-latest/boards/nxp/rd_rw612_bga/ |
D | rd_rw612_bga.dtsi | 210 dc-cutoff = "155hz"; 217 dc-cutoff = "155hz"; 224 dc-cutoff = "155hz"; 231 dc-cutoff = "155hz";
|
/Zephyr-latest/tests/drivers/build_all/sensor/ |
D | spi.dtsi | 186 accel-hz = <800>; 188 gyro-hz = <800>; 219 filter-50hz; 274 accel-hz = "800"; 285 gyro-hz = "1000_116";
|