Searched refs:max_top_value (Results 1 – 25 of 36) sorted by relevance
12
/Zephyr-Core-3.5.0/drivers/counter/ |
D | counter_ambiq_timer.c | 131 if (cfg->ticks != config->counter_info.max_top_value) { in counter_ambiq_set_top_value() 147 return config->counter_info.max_top_value; in counter_ambiq_get_top_value() 180 .counter_info = {.max_top_value = UINT32_MAX, \
|
D | counter_esp32_rtc.c | 152 if (cfg->ticks != config->counter_info.max_top_value) { in counter_esp32_set_top_value() 177 return info->max_top_value; in counter_esp32_get_top_value() 184 .max_top_value = UINT32_MAX,
|
D | counter_mcux_gpt.c | 146 if (cfg->ticks != config->info.max_top_value) { in mcux_gpt_set_top_value() 148 config->info.max_top_value); in mcux_gpt_set_top_value() 164 return config->info.max_top_value; in mcux_gpt_get_top_value() 219 .max_top_value = UINT32_MAX, \
|
D | counter_mcux_ctimer.c | 87 return config->info.max_top_value; in mcux_lpc_ctimer_get_top_value() 90 return config->info.max_top_value; in mcux_lpc_ctimer_get_top_value() 155 if (cfg->ticks != config->info.max_top_value) { in mcux_lpc_ctimer_set_top_value() 157 config->info.max_top_value); in mcux_lpc_ctimer_set_top_value() 296 .max_top_value = UINT32_MAX, \
|
D | counter_mcux_rtc.c | 155 if (cfg->ticks != info->max_top_value) { in mcux_rtc_set_top_value() 156 LOG_ERR("Wrap can only be set to 0x%x.", info->max_top_value); in mcux_rtc_set_top_value() 185 return info->max_top_value; in mcux_rtc_get_top_value() 267 .max_top_value = UINT32_MAX,
|
D | counter_mcux_lpc_rtc.c | 136 if (cfg->ticks != info->max_top_value) { in mcux_lpc_rtc_set_top_value() 137 LOG_ERR("Wrap can only be set to 0x%x.", info->max_top_value); in mcux_lpc_rtc_set_top_value() 166 return info->max_top_value; in mcux_lpc_rtc_get_top_value() 240 .max_top_value = UINT32_MAX, \
|
D | counter_mchp_xec.c | 203 if (cfg->ticks > counter_cfg->info.max_top_value) { in counter_xec_set_top_value() 300 counter->PRLD = counter_cfg->info.max_top_value; in counter_xec_init() 301 counter->CNT = counter_cfg->info.max_top_value; in counter_xec_init() 321 .max_top_value = DT_INST_PROP(inst, max_value), \
|
D | counter_mcux_qtmr.c | 216 if (cfg->ticks != config->info.max_top_value) { in mcux_qtmr_set_top_value() 218 config->info.max_top_value); in mcux_qtmr_set_top_value() 247 return config->info.max_top_value; in mcux_qtmr_get_top_value() 313 .max_top_value = UINT16_MAX, \
|
D | counter_esp32_tmr.c | 182 if (cfg->ticks != config->counter_info.max_top_value) { in counter_esp32_set_top_value() 202 return config->counter_info.max_top_value; in counter_esp32_get_top_value() 242 .max_top_value = UINT32_MAX, \
|
D | counter_nxp_s32_sys_timer.c | 82 if (ticks > config->info.max_top_value) { in nxp_s32_sys_timer_set_alarm() 145 return config->info.max_top_value; in nxp_s32_sys_timer_get_top_value() 250 .max_top_value = SYS_TIMER_MAX_VALUE, \
|
D | counter_xlnx_axi_timer.c | 296 LOG_DBG("max top value = 0x%08x", config->info.max_top_value); in xlnx_axi_timer_init() 300 xlnx_axi_timer_write32(dev, config->info.max_top_value, TLR0_OFFSET); in xlnx_axi_timer_init() 328 .max_top_value = \
|
D | counter_rpi_pico_timer.c | 61 return config->info.max_top_value; in counter_rpi_pico_timer_get_top_value() 207 .max_top_value = UINT32_MAX, \
|
D | counter_native_posix.c | 148 .max_top_value = UINT_MAX,
|
D | counter_ll_stm32_rtc.c | 453 return info->max_top_value; in rtc_stm32_get_top_value() 462 if ((cfg->ticks != info->max_top_value) || in rtc_stm32_set_top_value() 605 .max_top_value = UINT32_MAX,
|
D | counter_cmos.c | 198 .max_top_value = UINT_MAX,
|
D | counter_ifx_cat1.c | 163 data->counter_cfg.period = config->counter_info.max_top_value; in ifx_cat1_counter_init() 264 if (cfg->ticks > config->counter_info.max_top_value) { in ifx_cat1_counter_set_top_value() 512 .counter_info = {.max_top_value = (DT_INST_PROP(n, resolution) == 32) \
|
D | counter_andes_atcpit100.c | 143 reg = config->info.max_top_value * config->divider; in counter_atcpit100_init() 355 if (cfg->ticks > config->info.max_top_value) { in atcpit100_set_top_value() 479 .max_top_value = \
|
D | counter_imx_epit.c | 151 .max_top_value = COUNTER_MAX_RELOAD, \
|
D | timer_tmr_cmsdk_apb.c | 174 .max_top_value = UINT32_MAX, \
|
D | timer_dtmr_cmsdk_apb.c | 178 .max_top_value = UINT32_MAX, \
|
D | counter_mcux_lptmr.c | 208 .max_top_value = UINT16_MAX,
|
D | counter_mcux_pit.c | 197 .max_top_value = DT_INST_PROP(n, max_load_value), \
|
D | counter_gd32_timer.c | 445 set_autoreload_value(dev, cfg->counter_info.max_top_value); in counter_gd32_timer_init() 512 .counter_info = {.max_top_value = COND_CODE_1( \
|
D | counter_mcux_snvs.c | 321 .max_top_value = 0,
|
/Zephyr-Core-3.5.0/include/zephyr/drivers/ |
D | counter.h | 193 uint32_t max_top_value; member 350 return config->max_top_value; in z_impl_counter_get_max_top_value()
|
12