Searched refs:cycle_count (Results 1 – 15 of 15) sorted by relevance
/Zephyr-Core-3.6.0/samples/userspace/syscall_perf/src/ |
D | test_supervisor.c | 16 register unsigned long cycle_before, cycle_count; in supervisor_thread_function() local 28 cycle_count = csr_read(0xB00); in supervisor_thread_function() 31 if (cycle_count > cycle_before) { in supervisor_thread_function() 32 cycle_count -= cycle_before; in supervisor_thread_function() 34 cycle_count += 0xFFFFFFFF - cycle_before; in supervisor_thread_function() 47 thread, cycle_count, inst_count); in supervisor_thread_function()
|
D | test_user.c | 16 register unsigned long cycle_before, cycle_count; in user_thread_function() local 28 cycle_count = csr_read(0xC00); in user_thread_function() 31 if (cycle_count > cycle_before) { in user_thread_function() 32 cycle_count -= cycle_before; in user_thread_function() 34 cycle_count += 0xFFFFFFFF - cycle_before; in user_thread_function() 47 thread, cycle_count, inst_count); in user_thread_function()
|
/Zephyr-Core-3.6.0/drivers/timer/ |
D | cortex_m_systick.c | 56 static cycle_t cycle_count; variable 180 cycle_count += overflow_cyc; in sys_clock_isr() 209 dcycles = cycle_count - announced_cycles; in sys_clock_isr() 257 cycle_pre_idle = cycle_count + elapsed(); in sys_clock_set_timeout() 277 cycle_count += pending; in sys_clock_set_timeout() 280 uint32_t unannounced = cycle_count - announced_cycles; in sys_clock_set_timeout() 322 cycle_count += (val1 + (last_load_ - val2)); in sys_clock_set_timeout() 324 cycle_count += (val1 - val2); in sys_clock_set_timeout() 337 uint32_t unannounced = cycle_count - announced_cycles; in sys_clock_elapsed() 347 uint32_t ret = cycle_count; in sys_clock_cycle_get_32() [all …]
|
D | arcv2_timer0.c | 82 static uint32_t cycle_count; variable 247 cycle_count += overflow_cycles; in timer_int_handler() 252 dticks = (cycle_count - announced_cycles) / CYC_PER_TICK; in timer_int_handler() 318 cycle_count += elapsed(); in sys_clock_set_timeout() 328 unannounced = cycle_count - announced_cycles; in sys_clock_set_timeout() 372 cyc = elapsed() + cycle_count - announced_cycles; in sys_clock_elapsed() 386 uint32_t ret = elapsed() + cycle_count; in sys_clock_cycle_get_32()
|
D | rv32m1_lptmr_timer.c | 50 static volatile uint32_t cycle_count; variable 57 cycle_count += CYCLES_PER_TICK; /* Track cycles. */ in lptmr_irq_handler() 63 return cycle_count + SYSTEM_TIMER_INSTANCE->CNR; in sys_clock_cycle_get_32()
|
/Zephyr-Core-3.6.0/drivers/sensor/sbs_gauge/ |
D | sbs_gauge.c | 101 val->val1 = data->cycle_count; in sbs_gauge_channel_get() 231 &data->cycle_count); in sbs_gauge_sample_fetch() 232 data->cycle_count = (data->cycle_count) & 0x00FF; in sbs_gauge_sample_fetch()
|
D | sbs_gauge.h | 73 uint16_t cycle_count; member
|
/Zephyr-Core-3.6.0/drivers/sensor/max17055/ |
D | max17055.h | 67 uint16_t cycle_count; member
|
D | max17055.c | 213 valp->val1 = priv->cycle_count / 100; in max17055_channel_get() 214 valp->val2 = priv->cycle_count % 100 * 10000; in max17055_channel_get() 308 ret = max17055_reg_read(dev, CYCLES, &priv->cycle_count); in max17055_sample_fetch()
|
/Zephyr-Core-3.6.0/drivers/sensor/max17262/ |
D | max17262.h | 70 uint16_t cycle_count; member
|
D | max17262.c | 142 valp->val1 = data->cycle_count / 100; in max17262_channel_get() 143 valp->val2 = data->cycle_count % 100 * 10000; in max17262_channel_get() 196 { CYCLES, &data->cycle_count }, in max17262_sample_fetch()
|
/Zephyr-Core-3.6.0/tests/drivers/fuel_gauge/bq27z746/src/ |
D | test_bq27z746.c | 130 zassert_equal(vals[1].cycle_count, 100); in ZTEST_USER_F() 149 zassert_between_inclusive(props[1].cycle_count, 0, 6553500); in ZTEST_USER_F()
|
/Zephyr-Core-3.6.0/include/zephyr/drivers/ |
D | fuel_gauge.h | 130 uint32_t cycle_count; member
|
/Zephyr-Core-3.6.0/drivers/fuel_gauge/bq27z746/ |
D | bq27z746.c | 130 val->cycle_count = tmp_val * 100; in bq27z746_get_prop()
|
/Zephyr-Core-3.6.0/drivers/fuel_gauge/sbs_gauge/ |
D | sbs_gauge.c | 82 val->cycle_count = tmp_val; in sbs_gauge_get_prop()
|