Home
last modified time | relevance | path

Searched refs:ch_id (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/tests/drivers/watchdog/wdt_error_cases/src/
Dmain.c832 int ret, ch_id; in ZTEST() local
839 ch_id = wdt_install_timeout(wdt, &m_cfg_wdt0); in ZTEST()
840 zassert_true(ch_id >= 0, "Watchdog install error, got unexpected value of %d", ch_id); in ZTEST()
841 TC_PRINT("Configured WDT channel %d\n", ch_id); in ZTEST()
845 ret = wdt_feed(wdt, ch_id); in ZTEST()
861 int ret, ch_id, ch_invalid; in ZTEST() local
868 ch_id = wdt_install_timeout(wdt, &m_cfg_wdt0); in ZTEST()
869 zassert_true(ch_id >= 0, "Watchdog install error, got unexpected value of %d", ch_id); in ZTEST()
870 TC_PRINT("Configured WDT channel %d\n", ch_id); in ZTEST()
877 ch_invalid = ch_id + 2; in ZTEST()
[all …]
/Zephyr-latest/drivers/pwm/
Dpwm_nxp_flexio.c206 uint8_t ch_id = 0; in mcux_flexio_pwm_init() local
231 for (ch_id = 0; ch_id < config->pulse_info->pwm_pulse_channels; ch_id++) { in mcux_flexio_pwm_init()
232 pwm_info = &config->pulse_info->pwm_info[ch_id]; in mcux_flexio_pwm_init()
236 FLEXIO_SetTimerConfig(flexio_base, child->res.timer_index[ch_id], &timerConfig); in mcux_flexio_pwm_init()
269 FLEXIO_SetTimerConfig(flexio_base, child->res.timer_index[ch_id], &timerConfig); in mcux_flexio_pwm_init()
Dpwm_nxp_s32_emios.c446 uint8_t ch_id; in pwm_nxp_s32_pulse_gen_init() local
451 for (ch_id = 0; ch_id < config->pulse_info->pwm_pulse_channels; ch_id++) { in pwm_nxp_s32_pulse_gen_init()
452 pwm_info = &config->pulse_info->pwm_info[ch_id]; in pwm_nxp_s32_pulse_gen_init()
468 uint8_t ch_id; in pwm_nxp_s32_pulse_capture_init() local
471 for (ch_id = 0; ch_id < config->icu_cfg->nNumChannels; ch_id++) { in pwm_nxp_s32_pulse_capture_init()
472 icu_info = &(*config->icu_cfg->pChannelsConfig)[ch_id]; in pwm_nxp_s32_pulse_capture_init()