/Zephyr-Core-3.5.0/dts/bindings/tcpc/ |
D | st,stm32-ucpd.yaml | 35 Determines the division ratio of a kernel clock pre-scaler 44 Determines the division ratio of a ucpd_clk divider producing 46 The division ratio 15 is to apply for Tx clock at the USB PD 2.0 54 Determines the division ratio of a hbit_clk divider producing 62 Determines the division ratio of a ucpd_clk divider producing
|
/Zephyr-Core-3.5.0/scripts/native_simulator/native/src/ |
D | timer_model.c | 81 * Ratio of the simulated clock to the real host time 89 * Offset of the simulated time vs the real host time due to drift/clock ratio 105 /* Last host/real time when the ratio was adjusted */ 107 /* Last simulated time when the ratio was adjusted */ 288 * Set the ratio of the simulated time to host (real) time. 291 void hwtimer_set_rt_ratio(double ratio) in hwtimer_set_rt_ratio() argument 293 clock_ratio = ratio; in hwtimer_set_rt_ratio() 305 * Adjust the ratio of the simulated time by a factor 327 " Ratio adjusted to %f\n", in hwtimer_adjust_rt_ratio() 365 * years after the last clock ratio adjustment (or boot, in hwtimer_get_pseudohost_rtc_time() [all …]
|
/Zephyr-Core-3.5.0/boards/posix/native_posix/ |
D | timer_model.c | 91 * Ratio of the simulated clock to the real host time 99 * Offset of the simulated time vs the real host time due to drift/clock ratio 115 /* Last host/real time when the ratio was adjusted */ 117 /* Last simulated time when the ratio was adjusted */ 301 * Set the ratio of the simulated time to host (real) time. 304 void hwtimer_set_rt_ratio(double ratio) in hwtimer_set_rt_ratio() argument 306 clock_ratio = ratio; in hwtimer_set_rt_ratio() 318 * Adjust the ratio of the simulated time by a factor 340 " Ratio adjusted to %f\n", in hwtimer_adjust_rt_ratio() 378 * years after the last clock ratio adjustment (or native_posix boot, in hwtimer_get_pseudohost_rtc_time() [all …]
|
D | timer_model.h | 28 void hwtimer_set_rt_ratio(double ratio);
|
/Zephyr-Core-3.5.0/drivers/adc/ |
D | Kconfig.mcux | 51 bool "Divide ratio is 1" 54 bool "Divide ratio is 2" 57 bool "Divide ratio is 4" 60 bool "Divide ratio is 8"
|
/Zephyr-Core-3.5.0/dts/bindings/timer/ |
D | nuclei,systimer.yaml | 24 clk-divider specifies the division ratio to the CPU frequency that 38 The relationship with the frequency division ratio is as 47 Devision ratio constants can be found in the
|
/Zephyr-Core-3.5.0/drivers/net/ |
D | loopback.c | 69 int loopback_set_packet_drop_ratio(float ratio) in loopback_set_packet_drop_ratio() argument 71 if (ratio < 0.0f || ratio > 1.0f) { in loopback_set_packet_drop_ratio() 74 loopback_packet_drop_ratio = ratio; in loopback_set_packet_drop_ratio() 94 * a ratio of 0.2 will drop one every 5 packets in loopback_send()
|
/Zephyr-Core-3.5.0/include/zephyr/net/ |
D | loopback.h | 22 * @param[in] ratio Value between 0 = no packet loss and 1 = all packets dropped 26 int loopback_set_packet_drop_ratio(float ratio);
|
/Zephyr-Core-3.5.0/drivers/audio/ |
D | dmic_nrfx_pdm.c | 102 uint8_t ratio, in is_better() argument 108 uint32_t act_rate = freq / ratio; in is_better() 112 LOG_DBG("Freq %u, ratio %u, act_rate %u", freq, ratio, act_rate); in is_better() 127 uint8_t ratio, in check_pdm_frequencies() argument 150 uint32_t req_freq = req_rate * ratio; in check_pdm_frequencies() 163 is_better(act_freq, ratio, req_rate, in check_pdm_frequencies() 198 if (is_better(freq_val, ratio, req_rate, in check_pdm_frequencies() 211 * checking next ones for the current ratio after in check_pdm_frequencies() 214 if ((freq_val / ratio) > req_rate) { in check_pdm_frequencies() 244 uint8_t ratio = ratios[r].ratio_val; in find_suitable_clock() local [all …]
|
/Zephyr-Core-3.5.0/drivers/ethernet/ |
D | eth_e1000.c | 404 static int ptp_clock_e1000_rate_adjust(const struct device *dev, double ratio) in ptp_clock_e1000_rate_adjust() argument 414 if (ratio == 1.0f) { in ptp_clock_e1000_rate_adjust() 418 ratio *= context->clk_ratio; in ptp_clock_e1000_rate_adjust() 420 /* Limit possible ratio. */ in ptp_clock_e1000_rate_adjust() 421 if ((ratio > 1.0f + 1.0f/(2 * hw_inc)) || in ptp_clock_e1000_rate_adjust() 422 (ratio < 1.0f - 1.0f/(2 * hw_inc))) { in ptp_clock_e1000_rate_adjust() 426 /* Save new ratio. */ in ptp_clock_e1000_rate_adjust() 427 context->clk_ratio = ratio; in ptp_clock_e1000_rate_adjust() 429 if (ratio < 1.0f) { in ptp_clock_e1000_rate_adjust() 431 val = 1.0f / (hw_inc * (1.0f - ratio)); in ptp_clock_e1000_rate_adjust() [all …]
|
/Zephyr-Core-3.5.0/drivers/sensor/stm32_vbat/ |
D | stm32_vbat.c | 33 int ratio; member 83 voltage = voltage * cfg->ratio / 1000; /* value of SENSOR_CHAN_VOLTAGE in Volt */ in stm32_vbat_channel_get() 129 .ratio = DT_INST_PROP(inst, ratio), \
|
/Zephyr-Core-3.5.0/soc/arm/nuvoton_npcx/ |
D | Kconfig | 108 prompt "Core clock to SPI flash clock ratio" 111 This sets the clock ratio (core clock / SPI clock) 114 bool "NPCX SPI clock ratio 1" 119 bool "NPCX SPI clock ratio 2"
|
/Zephyr-Core-3.5.0/drivers/timer/ |
D | Kconfig.riscv_machine | 28 Specifies the division ratio of the system clock supplied to the Machine Timer. 37 The division ratio should define in devicetree,
|
/Zephyr-Core-3.5.0/dts/bindings/display/ |
D | solomon,ssd1306fb-common.yaml | 22 multiplex-ratio: 25 description: Multiplex Ratio
|
/Zephyr-Core-3.5.0/dts/bindings/sensor/ |
D | st,stm32-vbat.yaml | 15 ratio:
|
D | hamamatsu,s11059.yaml | 17 The gain ratio is 10 times from low to high.
|
/Zephyr-Core-3.5.0/tests/boards/native_posix/rtc/src/ |
D | main.c | 58 /* This ratio adjustments lead to test speeds 0.25x, 0.5x, 1x, 2x & 4x*/ in ZTEST() 94 posix_print_trace("%i/5: Speed ratio %.2f. Took %.3fms. " in ZTEST() 107 * independently of the real timeness ratio in ZTEST()
|
/Zephyr-Core-3.5.0/boards/shields/ssd1306/ |
D | sh1106_128x64.overlay | 24 multiplex-ratio = <63>;
|
D | ssd1306_128x32.overlay | 24 multiplex-ratio = <31>;
|
D | ssd1306_128x64.overlay | 24 multiplex-ratio = <63>;
|
D | ssd1306_128x64_spi.overlay | 25 multiplex-ratio = <63>;
|
/Zephyr-Core-3.5.0/drivers/watchdog/ |
D | wdt_cc32xx.c | 43 static const uint32_t ratio = CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC / 1000; in wdt_cc32xx_msToTicks() local 44 static const uint32_t maxMs = MAX_RELOAD_VALUE / ratio; in wdt_cc32xx_msToTicks() 50 return ms * ratio; in wdt_cc32xx_msToTicks()
|
/Zephyr-Core-3.5.0/dts/bindings/dac/ |
D | atmel,sam-dac.yaml | 23 Peripheral Clock to DAC Clock Ratio. Prescaler value is calcuated as
|
/Zephyr-Core-3.5.0/scripts/native_simulator/native/src/include/ |
D | nsi_timer_model.h | 27 void hwtimer_set_rt_ratio(double ratio);
|
/Zephyr-Core-3.5.0/boards/posix/native_posix/doc/ |
D | index.rst | 221 This can be controlled with the ``--rt-ratio=<ratio>`` and ``-rt-drift=<drift>`` 224 ``ratio - 1``. 228 In this way if, for example, ``--rt-ratio=2`` is given, the simulated time 240 ``st = (rt - last_rt) * ratio + last_st`` 244 ``rt = (st - last_st) / ratio + last_rt`` 247 simulated time when the last clock ratio adjustment took place. 298 affected by the simulated time speed ratio. 309 as if the host was also affected by the clock speed ratio and offset
|