/Zephyr-latest/drivers/ptp_clock/ |
D | ptp_clock_nxp_enet.c | 94 double ratio) in ptp_clock_nxp_enet_rate_adjust() argument 108 if ((ratio > 1.0 && ratio - 1.0 < 0.00000001) || in ptp_clock_nxp_enet_rate_adjust() 109 (ratio < 1.0 && 1.0 - ratio < 0.00000001)) { in ptp_clock_nxp_enet_rate_adjust() 113 ratio *= data->clock_ratio; in ptp_clock_nxp_enet_rate_adjust() 115 /* Limit possible ratio. */ in ptp_clock_nxp_enet_rate_adjust() 116 if ((ratio > 1.0 + 1.0/(2 * hw_inc)) || in ptp_clock_nxp_enet_rate_adjust() 117 (ratio < 1.0 - 1.0/(2 * hw_inc))) { in ptp_clock_nxp_enet_rate_adjust() 121 /* Save new ratio. */ in ptp_clock_nxp_enet_rate_adjust() 122 data->clock_ratio = ratio; in ptp_clock_nxp_enet_rate_adjust() 124 if (ratio < 1.0) { in ptp_clock_nxp_enet_rate_adjust() [all …]
|
/Zephyr-latest/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-latest/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 */ 293 * Set the ratio of the simulated time to host (real) time. 296 void hwtimer_set_rt_ratio(double ratio) in hwtimer_set_rt_ratio() argument 298 clock_ratio = ratio; in hwtimer_set_rt_ratio() 310 * Adjust the ratio of the simulated time by a factor 332 " Ratio adjusted to %f\n", in hwtimer_adjust_rt_ratio() 370 * years after the last clock ratio adjustment (or boot, in hwtimer_get_pseudohost_rtc_time() [all …]
|
/Zephyr-latest/boards/native/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 …]
|
/Zephyr-latest/drivers/adc/ |
D | Kconfig.mcux | 63 bool "Divide ratio is 1" 66 bool "Divide ratio is 2" 69 bool "Divide ratio is 4" 72 bool "Divide ratio is 8"
|
/Zephyr-latest/dts/bindings/mipi-dbi/ |
D | nxp,lcdic.yaml | 50 nxp,timer0-ratio: 54 Ratio for timer0, used for setting timer0 period (which is used for reset 59 nxp,timer1-ratio: 63 Ratio for timer1, used for setting timer1 period (which is used for TE
|
/Zephyr-latest/dts/bindings/display/ |
D | istech,ist3931.yaml | 42 description: LCD bias ratio of the voltage required for driving the LCD 49 duty-ratio: 52 description: Com_1~COM_N is select, N=Duty-ratio. 59 Frame frequency = Row frequency / Duty-ratio
|
D | solomon,ssd1327fb.yaml | 26 multiplex-ratio: 29 description: Multiplex ratio from 16MUX to 128MUX
|
D | solomon,ssd1306fb-common.yaml | 22 multiplex-ratio: 25 description: Multiplex Ratio
|
D | solomon,ssd1322.yaml | 27 mux-ratio: 31 COM Pin Multiplex ratio from 16-128.
|
/Zephyr-latest/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 Division ratio constants can be found in the
|
/Zephyr-latest/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-latest/drivers/ethernet/ |
D | eth_e1000.c | 364 static int ptp_clock_e1000_rate_adjust(const struct device *dev, double ratio) in ptp_clock_e1000_rate_adjust() argument 374 if (ratio == 1.0) { in ptp_clock_e1000_rate_adjust() 378 ratio *= context->clk_ratio; in ptp_clock_e1000_rate_adjust() 380 /* Limit possible ratio. */ in ptp_clock_e1000_rate_adjust() 381 if ((ratio > 1.0 + 1.0/(2.0 * hw_inc)) || in ptp_clock_e1000_rate_adjust() 382 (ratio < 1.0 - 1.0/(2.0 * hw_inc))) { in ptp_clock_e1000_rate_adjust() 386 /* Save new ratio. */ in ptp_clock_e1000_rate_adjust() 387 context->clk_ratio = ratio; in ptp_clock_e1000_rate_adjust() 389 if (ratio < 1.0) { in ptp_clock_e1000_rate_adjust() 391 val = 1.0 / (hw_inc * (1.0 - ratio)); in ptp_clock_e1000_rate_adjust() [all …]
|
/Zephyr-latest/drivers/sensor/ams/tsl2561/ |
D | tsl2561.c | 203 /* Round the ratio value */ in tsl2561_channel_get() 204 uint32_t ratio = (ratio1 + 1) >> 1; in tsl2561_channel_get() local 209 if (ratio <= TSL2561_LUX_K1T) { in tsl2561_channel_get() 212 } else if (ratio <= TSL2561_LUX_K2T) { in tsl2561_channel_get() 215 } else if (ratio <= TSL2561_LUX_K3T) { in tsl2561_channel_get() 218 } else if (ratio <= TSL2561_LUX_K4T) { in tsl2561_channel_get() 221 } else if (ratio <= TSL2561_LUX_K5T) { in tsl2561_channel_get() 224 } else if (ratio <= TSL2561_LUX_K6T) { in tsl2561_channel_get() 227 } else if (ratio <= TSL2561_LUX_K7T) { in tsl2561_channel_get() 230 } else if (ratio > TSL2561_LUX_K8T) { in tsl2561_channel_get()
|
/Zephyr-latest/drivers/net/ |
D | loopback.c | 82 int loopback_set_packet_drop_ratio(float ratio) in loopback_set_packet_drop_ratio() argument 84 if (ratio < 0.0f || ratio > 1.0f) { in loopback_set_packet_drop_ratio() 87 loopback_packet_drop_ratio = ratio; in loopback_set_packet_drop_ratio() 107 * a ratio of 0.2 will drop one every 5 packets in loopback_send()
|
/Zephyr-latest/drivers/audio/ |
D | dmic_nrfx_pdm.c | 141 uint8_t ratio, in is_better() argument 147 uint32_t act_rate = freq / ratio; in is_better() 151 LOG_DBG("Freq %u, ratio %u, act_rate %u", freq, ratio, act_rate); in is_better() 166 uint8_t ratio, in check_pdm_frequencies() argument 176 uint32_t req_freq = req_rate * ratio; in check_pdm_frequencies() 181 is_better(act_freq, ratio, req_rate, best_diff, best_rate, best_freq)) { in check_pdm_frequencies() 199 is_better(act_freq, ratio, req_rate, best_diff, best_rate, best_freq)) { in check_pdm_frequencies() 224 uint32_t req_freq = req_rate * ratio; in check_pdm_frequencies() 236 is_better(act_freq, ratio, req_rate, best_diff, best_rate, best_freq)) { in check_pdm_frequencies() 270 if (is_better(freq_val, ratio, req_rate, in check_pdm_frequencies() [all …]
|
/Zephyr-latest/soc/nuvoton/npcx/ |
D | Kconfig | 103 prompt "Core clock to SPI flash clock ratio" 106 This sets the clock ratio (core clock / SPI clock) 109 bool "NPCX SPI clock ratio 1" 114 bool "NPCX SPI clock ratio 2"
|
/Zephyr-latest/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-latest/boards/shields/lcd_par_s035/boards/ |
D | rd_rw612_bga.overlay | 97 /* Raise the timer0 ratio to enable longer reset delay */ 98 nxp,timer0-ratio = <15>; 99 /* Lower timer1 ratio to enable shorter TE delay */ 100 nxp,timer1-ratio = <0>;
|
/Zephyr-latest/drivers/sensor/st/stm32_vbat/ |
D | stm32_vbat.c | 34 int ratio; member 90 voltage = data->raw * adc_ref_internal(data->adc) * cfg->ratio / 0x0FFF; in stm32_vbat_channel_get() 148 .ratio = DT_INST_PROP(inst, ratio), \
|
/Zephyr-latest/boards/shields/adafruit_2_8_tft_touch_v2/boards/ |
D | rd_rw612_bga.overlay | 25 /* Set timer0 ratio to enable longer resets */ 26 nxp,timer0-ratio = <15>;
|
/Zephyr-latest/scripts/tests/twister_blackbox/ |
D | test_shuffle.py | 34 'seed, ratio, expected_order', 53 def test_shuffle_tests(self, out_path, seed, ratio, expected_order): argument 58 ['--subset', ratio] + \
|
/Zephyr-latest/samples/subsys/input/draw_touch_events/ |
D | Kconfig | 5 int "Screen width to cross horizontal/vertical dimension ratio"
|
/Zephyr-latest/modules/lz4/ |
D | Kconfig | 19 Increasing memory usage improves compression ratio, but usually at the 47 For more compression ratio at the cost of compression speed,
|
/Zephyr-latest/drivers/clock_control/ |
D | clock_control_nrf_auxpll.c | 74 uint8_t ratio; in clock_control_nrf_auxpll_get_rate() local 78 ratio = nrf_auxpll_static_ratio_get(config->auxpll); in clock_control_nrf_auxpll_get_rate() 80 *rate = (ratio * config->ref_clk_hz + in clock_control_nrf_auxpll_get_rate()
|