/Zephyr-latest/drivers/counter/ |
D | Kconfig | 9 Enable support for counter and timer. 26 module-str = counter 29 source "drivers/counter/Kconfig.ambiq" 31 source "drivers/counter/Kconfig.gecko" 33 source "drivers/counter/Kconfig.tmr_cmsdk_apb" 35 source "drivers/counter/Kconfig.dtmr_cmsdk_apb" 37 source "drivers/counter/Kconfig.mcux_rtc" 39 source "drivers/counter/Kconfig.mcux_lpc_rtc" 41 source "drivers/counter/Kconfig.nrfx" 43 source "drivers/counter/Kconfig.imx_epit" [all …]
|
D | counter_mchp_xec.c | 63 struct btmr_regs *counter = COUNTER_XEC_REG_BASE(dev); in counter_xec_start() local 65 if (counter->CTRL & MCHP_BTMR_CTRL_ENABLE) { in counter_xec_start() 69 counter->CTRL |= (MCHP_BTMR_CTRL_ENABLE | MCHP_BTMR_CTRL_START); in counter_xec_start() 78 struct btmr_regs *counter = COUNTER_XEC_REG_BASE(dev); in counter_xec_stop() local 81 if (!(counter->CTRL & MCHP_BTMR_CTRL_ENABLE)) { in counter_xec_stop() 86 reg = counter->CTRL; in counter_xec_stop() 92 counter->CTRL = reg; in counter_xec_stop() 94 counter->IEN = MCHP_BTMR_INTDIS; in counter_xec_stop() 95 counter->CNT = counter->PRLD; in counter_xec_stop() 104 struct btmr_regs *counter = COUNTER_XEC_REG_BASE(dev); in counter_xec_get_value() local [all …]
|
/Zephyr-latest/tests/drivers/counter/counter_basic_api/boards/ |
D | google_dragonclaw.overlay | 3 counter { 10 counter { 17 counter { 24 counter { 31 counter { 38 counter { 45 counter { 52 counter { 59 counter { 66 counter { [all …]
|
D | nucleo_f207zg.overlay | 3 counter { 10 counter { 17 counter { 24 counter { 31 counter { 38 counter { 45 counter { 52 counter { 59 counter { 67 counter { [all …]
|
D | nucleo_f746zg.overlay | 3 counter { 10 counter { 17 counter { 24 counter { 31 counter { 38 counter { 45 counter { 52 counter { 59 counter { 66 counter { [all …]
|
D | nucleo_h743zi.overlay | 3 counter { 10 counter { 17 counter { 24 counter { 31 counter { 38 counter { 45 counter { 52 counter { 59 counter { 66 counter { [all …]
|
D | stm32f4_disco.overlay | 3 counter { 10 counter { 17 counter { 24 counter { 31 counter { 38 counter { 45 counter { 52 counter { 59 counter { 66 counter { [all …]
|
D | stm32h747i_disco_stm32h747xx_m7.overlay | 3 counter { 10 counter { 17 counter { 24 counter { 31 counter { 38 counter { 45 counter { 52 counter { 59 counter { 66 counter { [all …]
|
D | nucleo_f722ze.overlay | 13 counter { 20 counter { 27 counter { 34 counter { 41 counter { 48 counter { 55 counter { 62 counter { 69 counter { 76 counter { [all …]
|
D | stm32h573i_dk.overlay | 3 counter { 10 counter { 17 counter { 24 counter { 31 counter { 38 counter { 45 counter { 52 counter { 59 counter {
|
D | nucleo_l476rg.overlay | 3 counter { 10 counter { 17 counter { 24 counter { 31 counter { 38 counter { 45 counter { 52 counter { 59 counter {
|
D | nucleo_f429zi.overlay | 3 counter { 10 counter { 17 counter { 24 counter { 30 counter { 37 counter { 44 counter {
|
D | nucleo_g071rb.overlay | 3 counter { 10 counter { 17 counter { 24 counter { 31 counter { 38 counter { 45 counter {
|
D | stm32f3_disco.overlay | 3 counter { 10 counter { 17 counter { 24 counter { 31 counter { 38 counter { 45 counter {
|
D | stm32l562e_dk.overlay | 3 counter { 10 counter { 17 counter { 25 counter { 32 counter { 39 counter { 46 counter {
|
D | nucleo_g474re.overlay | 3 counter { 10 counter { 17 counter { 24 counter { 31 counter { 38 counter {
|
D | nucleo_l073rz.overlay | 3 counter { 10 counter { 17 counter { 24 counter { 31 counter { 38 counter {
|
D | nucleo_l152re.overlay | 3 counter { 10 counter { 17 counter { 24 counter { 31 counter { 38 counter {
|
D | nucleo_u083rc.overlay | 3 counter { 10 counter { 17 counter { 24 counter { 31 counter { 38 counter {
|
D | stm32u083c_dk.overlay | 3 counter { 10 counter { 17 counter { 24 counter { 31 counter { 38 counter {
|
/Zephyr-latest/subsys/net/lib/prometheus/ |
D | counter.c | 17 int prometheus_counter_add(struct prometheus_counter *counter, uint64_t value) in prometheus_counter_add() argument 19 if (counter == NULL) { in prometheus_counter_add() 23 counter->value += value; in prometheus_counter_add() 28 int prometheus_counter_set(struct prometheus_counter *counter, uint64_t value) in prometheus_counter_set() argument 32 if (counter == NULL) { in prometheus_counter_set() 36 if (value == counter->value) { in prometheus_counter_set() 40 old_value = counter->value; in prometheus_counter_set() 47 counter->value += (value - old_value); in prometheus_counter_set()
|
/Zephyr-latest/drivers/watchdog/ |
D | wdt_counter.c | 28 const struct device *counter; member 34 const struct device *counter = config->counter; in wdt_counter_setup() local 40 return counter_start(counter); in wdt_counter_setup() 46 const struct device *counter = config->counter; in wdt_counter_disable() local 48 return counter_stop(counter); in wdt_counter_disable() 73 const struct device *counter = config->counter; in timeout_set() local 82 int err = counter_cancel_channel_alarm(counter, chan_id); in timeout_set() 89 return counter_set_channel_alarm(counter, chan_id, &alarm_cfg); in timeout_set() 97 const struct device *counter = config->counter; in wdt_counter_install_timeout() local 100 if (!device_is_ready(counter)) { in wdt_counter_install_timeout() [all …]
|
/Zephyr-latest/dts/arm/infineon/cat1a/psoc6_01/ |
D | psoc6_01.dtsi | 316 counter0_0: counter@40380100 { 317 compatible = "infineon,cat1-counter"; 323 counter0_1: counter@40380140 { 324 compatible = "infineon,cat1-counter"; 330 counter0_2: counter@40380180 { 331 compatible = "infineon,cat1-counter"; 337 counter0_3: counter@403801c0 { 338 compatible = "infineon,cat1-counter"; 344 counter0_4: counter@40380200 { 345 compatible = "infineon,cat1-counter"; [all …]
|
/Zephyr-latest/dts/arm/infineon/cat1a/psoc6_02/ |
D | psoc6_02.dtsi | 320 counter0_0: counter@40380100 { 321 compatible = "infineon,cat1-counter"; 327 counter0_1: counter@40380140 { 328 compatible = "infineon,cat1-counter"; 334 counter0_2: counter@40380180 { 335 compatible = "infineon,cat1-counter"; 341 counter0_3: counter@403801c0 { 342 compatible = "infineon,cat1-counter"; 348 counter0_4: counter@40380200 { 349 compatible = "infineon,cat1-counter"; [all …]
|
/Zephyr-latest/tests/net/lib/prometheus/collector/src/ |
D | main.c | 29 struct prometheus_counter *counter; in ZTEST() local 33 counter = (struct prometheus_counter *)prometheus_collector_get_metric( in ZTEST() 36 zassert_equal_ptr(counter, &test_counter_m, in ZTEST() 38 &test_counter_m, counter); in ZTEST() 42 ret = prometheus_counter_inc(counter); in ZTEST() 45 zassert_equal(counter->value, 1, "Counter value is not 1"); in ZTEST()
|