/Zephyr-latest/boards/native/common/sdl/ |
D | sdl_events_bottom.c | 18 SDL_Window *window; in sdl_handle_window_event() local 21 switch (event->window.event) { in sdl_handle_window_event() 24 window = SDL_GetWindowFromID(event->window.windowID); in sdl_handle_window_event() 25 if (window == NULL) { in sdl_handle_window_event() 29 renderer = SDL_GetRenderer(window); in sdl_handle_window_event()
|
/Zephyr-latest/tests/drivers/watchdog/wdt_error_cases/src/ |
D | main.c | 193 m_cfg_wdt0.window.max = DEFAULT_WINDOW_MAX; in ZTEST() 194 m_cfg_wdt0.window.min = DEFAULT_WINDOW_MIN; in ZTEST() 221 m_cfg_wdt0.window.max = DEFAULT_WINDOW_MAX; in ZTEST() 222 m_cfg_wdt0.window.min = DEFAULT_WINDOW_MIN; in ZTEST() 249 m_cfg_wdt0.window.max = DEFAULT_WINDOW_MAX; in ZTEST() 250 m_cfg_wdt0.window.min = DEFAULT_WINDOW_MIN; in ZTEST() 273 m_cfg_wdt0.window.max = DEFAULT_WINDOW_MAX; in ZTEST() 274 m_cfg_wdt0.window.min = DEFAULT_WINDOW_MIN; in ZTEST() 279 m_cfg_wdt0.window.min = 1U; in ZTEST() 287 m_cfg_wdt0.window.min = DEFAULT_WINDOW_MIN; in ZTEST() [all …]
|
/Zephyr-latest/drivers/watchdog/ |
D | wdt_sam0.c | 145 uint32_t window, per; in wdt_sam0_install_timeout() local 158 if (cfg->window.max == 0) { in wdt_sam0_install_timeout() 163 per = wdt_sam0_timeout_to_wdt_period(cfg->window.max); in wdt_sam0_install_timeout() 169 if (cfg->window.min) { in wdt_sam0_install_timeout() 171 window = wdt_sam0_timeout_to_wdt_period(cfg->window.min); in wdt_sam0_install_timeout() 172 if (window > WDT_CONFIG_PER_8K_Val) { in wdt_sam0_install_timeout() 176 if (per <= window) { in wdt_sam0_install_timeout() 178 per = window + 1; in wdt_sam0_install_timeout() 195 window = WDT_CONFIG_PER_8_Val; in wdt_sam0_install_timeout() 204 WDT_REGS->CONFIG.reg = WDT_CONFIG_WINDOW(window) | WDT_CONFIG_PER(per); in wdt_sam0_install_timeout()
|
D | wdt_npm6001.c | 62 uint32_t window; in wdt_npm6001_install_timeout() local 66 if (timeout->window.min != 0U) { in wdt_npm6001_install_timeout() 71 window = (((timeout->window.max + NPM6001_WDTRIGGERVALUE_MS_LSB - 1U) / in wdt_npm6001_install_timeout() 74 if ((window < NPM6001_WDTRIGGERVALUE_MIN) || in wdt_npm6001_install_timeout() 75 (window > NPM6001_WDTRIGGERVALUE_MAX)) { in wdt_npm6001_install_timeout() 98 buf[1] = (uint8_t)window; in wdt_npm6001_install_timeout() 105 buf[1] = (uint8_t)(window >> 8U); in wdt_npm6001_install_timeout() 112 buf[1] = (uint8_t)(window >> 16U); in wdt_npm6001_install_timeout()
|
D | wdt_opentitan.c | 98 if (bite == NULL || bite->window.max < cfg->window.max || in ot_aontimer_install_timeout() 99 (uint64_t) bite->window.min > max_window) { in ot_aontimer_install_timeout() 111 if (cfg->window.min > cfg->window.max || (uint64_t) cfg->window.min > max_window) { in ot_aontimer_install_timeout() 127 bark_thold = ((uint64_t) cfg->window.max * dev_cfg->clk_freq / 1000); in ot_aontimer_install_timeout() 128 bite_thold = ((uint64_t) bite->window.max * dev_cfg->clk_freq / 1000); in ot_aontimer_install_timeout() 140 bite_thold = ((uint64_t) cfg->window.max * dev_cfg->clk_freq / 1000); in ot_aontimer_install_timeout()
|
D | wdt_xmc4xxx.c | 110 if (cfg->window.min != 0 || cfg->window.max == 0) { in wdt_xmc4xxx_install_timeout() 116 if ((uint64_t)cfg->window.max * wdt_clock / 1000 > UINT32_MAX) { in wdt_xmc4xxx_install_timeout() 120 wdt_config.window_upper_bound = (uint64_t)cfg->window.max * wdt_clock / 1000; in wdt_xmc4xxx_install_timeout() 172 const struct wdt_timeout_cfg cfg = {.window.max = CONFIG_WDT_XMC4XXX_DEFAULT_TIMEOUT_MAX_MS, in wdt_xmc4xxx_init()
|
D | wdt_gecko.c | 66 static int wdt_gecko_convert_window(uint32_t window, uint32_t period) in wdt_gecko_convert_window() argument 78 if (window > comp_val) { in wdt_gecko_convert_window() 152 if ((cfg->window.max < wdt_gecko_get_timeout_from_persel(0)) || in wdt_gecko_install_timeout() 153 (cfg->window.max > wdt_gecko_get_timeout_from_persel( in wdt_gecko_install_timeout() 164 wdt_gecko_get_persel_from_timeout(cfg->window.max); in wdt_gecko_install_timeout() 170 if (cfg->window.min > 0) { in wdt_gecko_install_timeout() 175 wdt_gecko_convert_window(cfg->window.min, in wdt_gecko_install_timeout()
|
D | wdt_wwdgt_gd32.c | 140 uint32_t window = 0U; in gd32_wwdgt_install_timeout() local 143 if (config->window.max == 0U) { in gd32_wwdgt_install_timeout() 148 if (gd32_wwdgt_calc_window(dev, &config->window, &counter, &window, in gd32_wwdgt_install_timeout() 157 wwdgt_config(counter, window, prescaler); in gd32_wwdgt_install_timeout()
|
D | wdt_ti_tps382x.c | 55 if (cfg->window.max != config->timeout) { in ti_tps382x_install_timeout() 57 config->timeout, cfg->window.max); in ti_tps382x_install_timeout() 59 } else if (cfg->window.min != 0) { in ti_tps382x_install_timeout()
|
D | wdt_smartbond.c | 75 reload_val = config->window.max / 21; in wdg_smartbond_install_timeout() 77 reload_val = config->window.max / 10; in wdg_smartbond_install_timeout() 80 if (reload_val < 1 || reload_val >= 0x2000 || config->window.min != 0) { in wdg_smartbond_install_timeout()
|
D | wdt_ifx_cat1.c | 101 if (cfg->window.min != 0U || cfg->window.max == 0U) { in ifx_cat1_wdt_install_timeout() 105 dev_data->timeout = cfg->window.max; in ifx_cat1_wdt_install_timeout()
|
D | wdt_nxp_s32.c | 237 uint32_t window = 0; in swt_nxp_s32_install_timeout() local 253 period = clock_rate / 1000U * cfg->window.max; in swt_nxp_s32_install_timeout() 255 if (cfg->window.min) { in swt_nxp_s32_install_timeout() 257 window = clock_rate / 1000U * (cfg->window.max - cfg->window.min); in swt_nxp_s32_install_timeout() 260 if ((period < SWT_TO_WTO_MIN) || (period < window)) { in swt_nxp_s32_install_timeout() 266 data->timeout.window_start = window; in swt_nxp_s32_install_timeout() 271 period, window, window_mode ? "enabled" : "disabled"); in swt_nxp_s32_install_timeout()
|
D | wdt_cc13xx_cc26xx.c | 61 if (cfg->window.min != 0U || cfg->window.max == 0U) { in wdt_cc13xx_cc26xx_install_timeout() 69 if (cfg->window.max > WATCHDOG_MAX_RELOAD_MS) { in wdt_cc13xx_cc26xx_install_timeout() 72 data->reload = WATCHDOG_MS_TO_TICKS(cfg->window.max); in wdt_cc13xx_cc26xx_install_timeout()
|
D | xt_wdt_esp32.c | 86 if (cfg->window.min != 0U || cfg->window.max == 0U || in esp32_xt_wdt_install_timeout() 87 cfg->window.max >= ESP32_XT_WDT_MAX_TIMEOUT) { in esp32_xt_wdt_install_timeout() 92 data->timeout = cfg->window.max; in esp32_xt_wdt_install_timeout()
|
/Zephyr-latest/soc/intel/intel_adsp/ |
D | Kconfig | 46 int "Size of memory window 0" 49 Size of memory window 0. 51 This window is used for firmware status & outbox/uplink mbox. 54 int "Size of memory window 1" 57 Size of memory window 1. 59 This window is used for inbox/downlink mbox. 62 int "Size of memory window 2" 65 Size of memory window 2. 67 This window is used for debug. 70 int "Size of memory window 3" [all …]
|
/Zephyr-latest/drivers/display/ |
D | display_sdl_bottom.c | 17 bool use_accelerator, void **window, void **renderer, void **mutex, in sdl_display_init_bottom() argument 22 *window = SDL_CreateWindow("Zephyr Display", SDL_WINDOWPOS_UNDEFINED, in sdl_display_init_bottom() 25 if (*window == NULL) { in sdl_display_init_bottom() 31 *renderer = SDL_CreateRenderer(*window, -1, SDL_RENDERER_ACCELERATED); in sdl_display_init_bottom() 33 *renderer = SDL_CreateRenderer(*window, -1, SDL_RENDERER_SOFTWARE); in sdl_display_init_bottom() 182 void sdl_display_cleanup_bottom(void **window, void **renderer, void **mutex, void **texture, in sdl_display_cleanup_bottom() argument 210 if (*window != NULL) { in sdl_display_cleanup_bottom() 211 SDL_DestroyWindow(*window); in sdl_display_cleanup_bottom() 212 *window = NULL; in sdl_display_cleanup_bottom()
|
D | display_sdl_bottom.h | 24 bool use_accelerator, void **window, void **renderer, void **mutex, 37 void sdl_display_cleanup_bottom(void **window, void **renderer, void **mutex, void **texture,
|
/Zephyr-latest/doc/_static/js/ |
D | custom.js | 39 const $window = $(window); 91 handleMainScroll(window.scrollY); 99 handleMainScroll(window.scrollY); 118 const mediaQuery = window.matchMedia('only screen and (min-width: 769px)');
|
/Zephyr-latest/subsys/tracing/ |
D | tracing_backend_adsp_memory_window.c | 51 volatile struct adsp_debug_window *window = ADSP_DW; in tracing_backend_adsp_memory_window_init() local 53 window->descs[ADSP_DW_SLOT_NUM_TRACE].type = ADSP_DW_SLOT_TRACE; in tracing_backend_adsp_memory_window_init() 54 window->descs[ADSP_DW_SLOT_NUM_TRACE].resource_id = 0; in tracing_backend_adsp_memory_window_init()
|
/Zephyr-latest/samples/subsys/logging/logger/src/ |
D | main.c | 187 uint32_t window = 2U; in performance_showcase() local 207 } while (current_timestamp < (start_timestamp + window)); in performance_showcase() 217 if (window >= 2) { in performance_showcase() 218 window /= 2; in performance_showcase() 223 window *= 2; in performance_showcase() 229 per_sec = (cnt * timestamp_freq()) / window; in performance_showcase()
|
/Zephyr-latest/doc/_doxygen/ |
D | doxygen-awesome-darkmode-toggle.js | 45 window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', event => { 65 … window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', event => { 77 $(window).resize(function(){ 93 return window.matchMedia('(prefers-color-scheme: dark)').matches
|
/Zephyr-latest/tests/drivers/watchdog/wdt_basic_reset_none/src/ |
D | main.c | 51 m_cfg_wdt0.window.min = 0U; in test_wdt_callback_reset_none() 52 m_cfg_wdt0.window.max = WDT_MAX_WINDOW; in test_wdt_callback_reset_none() 117 m_cfg_wdt0.window.max = 0U; in test_wdt_bad_window_max() 118 m_cfg_wdt0.window.min = 0U; in test_wdt_bad_window_max()
|
/Zephyr-latest/drivers/ipm/ |
D | Kconfig.intel_adsp | 22 hex "Byte offset of cAVS inbox window" 26 Location of the host-writable inbox window within the 37 within the pre-existing window 0 (this is not the same as 49 of in the SRAM window. Only available on cAVS 1.8+.
|
/Zephyr-latest/samples/sensor/adt7420/ |
D | README.rst | 5 Get temperature data from an ADT7420 sensor using polling and window mode. 14 sample maintains a |plusminus| 1 |deg| C window around a recent 15 temperature. As soon as the temperature goes outside the window an 17 upper and lower window boundaries.
|
/Zephyr-latest/tests/bluetooth/controller/mock_ctrl/src/ |
D | ull_scan.c | 29 uint8_t ll_scan_params_set(uint8_t type, uint16_t interval, uint16_t window, uint8_t own_addr_type, in ll_scan_params_set() argument 83 uint16_t interval, uint16_t window, in ull_scan_params_set() argument
|