/Zephyr-latest/drivers/watchdog/ |
D | wdt_iwdg_stm32.c | 56 * @brief Calculates prescaler & reload values. 60 * @param reload Pointer to reload value. 64 uint32_t *reload) in iwdg_stm32_convert_timeout() argument 82 *reload = (uint32_t)(ticks / divider) - 1U; in iwdg_stm32_convert_timeout() 116 /* Write the prescaler and reload counter to the IWDG registers*/ in iwdg_stm32_setup() 118 LL_IWDG_SetReloadCounter(iwdg, data->reload); in iwdg_stm32_setup() 129 /* Reload counter just before leaving */ in iwdg_stm32_setup() 149 uint32_t reload = 0U; in iwdg_stm32_install_timeout() local 156 iwdg_stm32_convert_timeout(timeout, &prescaler, &reload); in iwdg_stm32_install_timeout() 159 IS_IWDG_RELOAD(reload))) { in iwdg_stm32_install_timeout() [all …]
|
D | wdt_cc32xx.c | 31 int reload; member 57 const uint32_t reload = wdt_cc32xx_msToTicks(data->reload); in wdt_cc32xx_enable() local 60 MAP_WatchdogReloadSet(config->reg, reload); in wdt_cc32xx_enable() 100 data->reload = cfg->window.max; in wdt_cc32xx_install_timeout() 103 LOG_DBG("Reload time %d", data->reload); in wdt_cc32xx_install_timeout() 111 const uint32_t reload = wdt_cc32xx_msToTicks(data->reload); in wdt_cc32xx_feed() local 118 MAP_WatchdogReloadSet(config->reg, reload); in wdt_cc32xx_feed() 182 .reload = CONFIG_WDT_CC32XX_INITIAL_TIMEOUT, \
|
D | wdt_fwdgt_gd32.c | 49 * @param reload Pointer to the storage of reload value. 54 uint32_t *reload) in gd32_fwdgt_calc_timeout() argument 72 *reload = (ticks / divider) - 1U; in gd32_fwdgt_calc_timeout() 112 uint32_t reload = 0U; in gd32_fwdgt_install_timeout() local 121 /* Calculate prescaler and reload value from timeout value */ in gd32_fwdgt_install_timeout() 123 &reload) != 0) { in gd32_fwdgt_install_timeout() 130 errstat = fwdgt_config(reload, prescaler); in gd32_fwdgt_install_timeout()
|
D | wdt_cc13xx_cc26xx.c | 44 uint32_t reload; member 72 data->reload = WATCHDOG_MS_TO_TICKS(cfg->window.max); in wdt_cc13xx_cc26xx_install_timeout() 75 LOG_DBG("raw reload value: %d", data->reload); in wdt_cc13xx_cc26xx_install_timeout() 86 * want to dynamically re-configure its options (e.g., decrease the reload in wdt_cc13xx_cc26xx_setup() 109 /* raw reload value was computed by `_install_timeout()` */ in wdt_cc13xx_cc26xx_setup() 110 WatchdogReloadSet(data->reload); in wdt_cc13xx_cc26xx_setup() 170 WatchdogReloadSet(data->reload); in wdt_cc13xx_cc26xx_feed() 172 LOG_DBG("feed %i", data->reload); in wdt_cc13xx_cc26xx_feed() 235 .reload = WATCHDOG_MS_TO_TICKS( \
|
D | wdt_cmsdk_apb.c | 68 /* watchdog reload value in clock cycles */ 126 /* Reload value */ in wdog_cmsdk_apb_install_timeout() 149 /* Reload */ in wdog_cmsdk_apb_feed() 198 /* set default reload value */ in wdog_cmsdk_apb_init()
|
D | wdt_iwdg_stm32.h | 28 uint32_t reload; member
|
D | Kconfig.stm32 | 27 max. prescaler value (256) * max. reload ticks (4096) / LSI freq.
|
/Zephyr-latest/dts/bindings/watchdog/ |
D | gd,gd32-fwdgt.yaml | 21 timeout = (reload + 1) / (peripheral_freqency / prescaler). 23 where the maximum prescaler = 256 and the maximum reload = 4096. 32 0.25 [timeout in sec] = (1999 [reload] + 1) / (32000 [freq] / 4 [prescaler]) 33 0.25 [timeout in sec] = (2499 [reload] + 1) / (40000 [freq] / 4 [prescaler])
|
/Zephyr-latest/scripts/tests/twister/ |
D | test_log_helper.py | 13 from importlib import reload 36 reload(twisterlib.log_helper) 39 reload(twisterlib.log_helper)
|
D | test_scl.py | 21 from importlib import reload 74 reload(scl) 86 reload(yaml) 114 reload(scl) 125 reload(scl)
|
/Zephyr-latest/drivers/counter/ |
D | timer_cmsdk_apb.h | 20 /* Offset: 0x008 (R/W) reload value register */ 21 volatile uint32_t reload; member
|
D | timer_tmr_cmsdk_apb.c | 46 /* Set the timer reload to count */ in tmr_cmsdk_apb_start() 47 cfg->timer->reload = data->load; in tmr_cmsdk_apb_start() 90 /* Store the reload value */ in tmr_cmsdk_apb_set_top_value() 96 /* Set the timer reload to count */ in tmr_cmsdk_apb_set_top_value() 97 cfg->timer->reload = top_cfg->ticks; in tmr_cmsdk_apb_set_top_value()
|
D | counter_xlnx_axi_timer.c | 39 /* 1st timer used as main timer in auto-reload, count-down. generate mode */ 191 bool reload = true; in xlnx_axi_timer_set_top_value() local 209 reload = false; in xlnx_axi_timer_set_top_value() 213 reload = cfg->ticks < now; in xlnx_axi_timer_set_top_value() 219 /* Timer not enabled, force reload of new top value */ in xlnx_axi_timer_set_top_value() 220 reload = true; in xlnx_axi_timer_set_top_value() 225 if (reload) { in xlnx_axi_timer_set_top_value()
|
D | counter_andes_atcpit100.c | 22 #define REG_RELD0 0x24 /* Channel 0 Reload Reg. */ 25 #define REG_RELD1 0x34 /* Channel 1 Reload Reg. */ 28 #define REG_RELD2 0x44 /* Channel 2 Reload Reg. */ 31 #define REG_RELD3 0x54 /* Channel 3 Reload Reg. */ 77 /* Preload cycles is reload register + 1 */ in get_current_tick() 150 /* Set cycle - 1 to reload register */ in counter_atcpit100_init() 241 /* Preload cycles is reload register + 1 */ in atcpit100_set_alarm() 293 /* Set cycle - 1 to reload register */ in atcpit100_set_alarm() 394 /* Set cycle - 1 to reload register */ in atcpit100_set_top_value()
|
/Zephyr-latest/lib/posix/options/ |
D | timer.c | 29 struct timespec interval; /* Reload value */ 30 uint32_t reload; /* Reload value in ms */ member 43 if (timer->reload == 0U) { in zephyr_timer_wrapper() 76 if (timer->reload == 0U) { in zephyr_thread_wrapper() 253 /* Save time to expire and old reload value. */ in timer_settime() 269 timer->reload = _ts_to_ms(&value->it_interval); in timer_settime() 290 k_timer_start(&timer->ztimer, K_MSEC(duration), K_MSEC(timer->reload)); in timer_settime()
|
/Zephyr-latest/drivers/timer/ |
D | leon_gptimer.c | 26 uint32_t reload; member 102 tmr->reload = 0xFFFFFFFF; in init_downcounter() 123 tmr->reload = 1000000U / CONFIG_SYS_CLOCK_TICKS_PER_SEC - 1; in sys_clock_driver_init()
|
D | smartbond_timer.c | 100 * Watchdog default reload value is 0x1FFF (~82s for RC32K and 172s for RCX). in sys_clock_set_timeout() 104 * system never goes to sleep for longer time that watchdog reload value. in sys_clock_set_timeout() 145 * In that case we don't know if reload value was set in time or in sys_clock_set_timeout()
|
/Zephyr-latest/drivers/dma/ |
D | dma_max32.c | 160 mxc_dma_srcdst_t reload; in max32_dma_reload() local 175 reload.ch = channel; in max32_dma_reload() 176 reload.source = (void *)src; in max32_dma_reload() 177 reload.dest = (void *)dst; in max32_dma_reload() 178 reload.len = size; in max32_dma_reload() 179 return MXC_DMA_SetSrcDst(reload); in max32_dma_reload() 323 .reload = max32_dma_reload,
|
D | dma_mcux_lpc.c | 154 uint8_t reload; in dma_mcux_lpc_queue_descriptors() local 203 * is called from a reload function in dma_mcux_lpc_queue_descriptors() 238 /* Reload if we have more descriptors */ in dma_mcux_lpc_queue_descriptors() 240 reload = 1; in dma_mcux_lpc_queue_descriptors() 242 reload = 0; in dma_mcux_lpc_queue_descriptors() 245 /* Enable interrupt and reload for the descriptor */ in dma_mcux_lpc_queue_descriptors() 246 xfer_config = DMA_CHANNEL_XFER(reload, 0UL, enable_a_interrupt, in dma_mcux_lpc_queue_descriptors() 290 * Reload for the descriptor. in dma_mcux_lpc_queue_descriptors() 340 uint8_t reload = 0; in dma_mcux_lpc_configure() local 373 reload = 1; in dma_mcux_lpc_configure() [all …]
|
D | dma_intel_adsp_hda_link_in.c | 18 .reload = intel_adsp_hda_dma_link_reload,
|
D | dma_intel_adsp_hda_link_out.c | 18 .reload = intel_adsp_hda_dma_link_reload,
|
/Zephyr-latest/dts/arm/nxp/ |
D | nxp_lpc55S3x_common.dtsi | 346 interrupt-names = "INPUT-CAPTURE", "FAULT", "RELOAD-ERROR"; 351 interrupt-names = "COMPARE-SUB0", "RELOAD-SUB0"; 363 interrupt-names = "COMPARE-SUB1", "RELOAD-SUB1"; 375 interrupt-names = "COMPARE-SUB2", "RELOAD-SUB2"; 387 interrupt-names = "COMPARE-SUB3", "RELOAD-SUB3"; 401 interrupt-names = "INPUT-CAPTURE", "FAULT", "RELOAD-ERROR"; 406 interrupt-names = "COMPARE-SUB0", "RELOAD-SUB0"; 418 interrupt-names = "COMPARE-SUB1", "RELOAD-SUB1"; 430 interrupt-names = "COMPARE-SUB2", "RELOAD-SUB2"; 442 interrupt-names = "COMPARE-SUB3", "RELOAD-SUB3";
|
/Zephyr-latest/soc/microchip/mec/common/reg/ |
D | mec_wdt.h | 38 * Kick WDT causing it to reload from LOAD register 47 /* WDT Kick register. Write any value to reload counter */
|
/Zephyr-latest/drivers/pwm/ |
D | pwm_mcux.c | 29 pwm_register_reload_t reload; member 210 LOG_DBG("Set prescaler %d, reload mode %d", in pwm_mcux_init() 211 1 << config->prescale, config->reload); in pwm_mcux_init() 215 pwm_config.reloadLogic = config->reload; in pwm_mcux_init() 255 .reload = DT_ENUM_IDX_OR(DT_DRV_INST(n), nxp_reload,\
|
/Zephyr-latest/tests/boards/intel_adsp/hda/src/ |
D | dma.c | 109 zassert_ok(res, "Expected dma reload to succeed"); in ZTEST() 110 hda_dump_regs(HOST_IN, HDA_REGBLOCK_SIZE, channel, "dsp dma reload"); in ZTEST() 226 zassert_ok(res, "Expected dma reload to succeed"); in test_hda_host_out_dma() 227 hda_dump_regs(HOST_OUT, HDA_REGBLOCK_SIZE, channel, "dsp dma reload"); in test_hda_host_out_dma()
|