Searched full:mtime (Results 1 – 13 of 13) sorted by relevance
/Zephyr-latest/drivers/timer/ |
D | riscv_machine_timer.c | 129 /* Per spec, the RISC-V MTIME/MTIMECMP registers are 64 bit, in set_mtimecmp() 149 static uint64_t mtime(void) in mtime() function 173 uint64_t now = mtime(); in timer_isr() 222 uint64_t now = mtime(); in sys_clock_elapsed() 233 return ((uint32_t)mtime()) << CONFIG_RISCV_MACHINE_TIMER_SYSTEM_CLOCK_DIVIDER; in sys_clock_cycle_get_32() 238 return mtime() << CONFIG_RISCV_MACHINE_TIMER_SYSTEM_CLOCK_DIVIDER; in sys_clock_cycle_get_64() 247 last_ticks = mtime() / CYC_PER_TICK; in sys_clock_driver_init()
|
/Zephyr-latest/tests/application_development/gen_inc_file/ |
D | CMakeLists.txt | 19 generate_inc_file_for_target(app ${source_file} ${gen_dir}/file.bin.mtime.gz.inc 20 --gzip --gzip-mtime=42)
|
/Zephyr-latest/scripts/build/ |
D | file2hex.py | 36 parser.add_argument("-t", "--gzip-mtime", type=int, default=0, 38 help="""mtime seconds in the gzip header. 63 mtime=args.gzip_mtime,
|
/Zephyr-latest/tests/application_development/gen_inc_file/src/ |
D | main.c | 31 #include <file.bin.mtime.gz.inc> 44 /* Must match the --gzip-mtime=test_val passed to 121 const unsigned char mtime[4]) in do_test_gen_gz_inc_file() 130 if (mtime != NULL) { /* NULL arg = random "now" */ in do_test_gen_gz_inc_file() 131 zassert_equal(gz_inc_file[i], mtime[i-4], in do_test_gen_gz_inc_file() 132 "Invalid mtime in inc file"); in do_test_gen_gz_inc_file()
|
/Zephyr-latest/dts/bindings/timer/ |
D | lowrisc,machine-timer.yaml | 7 The OpenTitan machine timer provides RISC-V privileged mtime and mtimecmp
|
D | neorv32-machine-timer.yaml | 7 The NEORV32 machine timer provides RISC-V privileged mtime and mtimecmp
|
D | niosv-machine-timer.yaml | 7 The NIOSV machine timer provides RISC-V privileged mtime and mtimecmp
|
D | telink,machine-timer.yaml | 7 The Telink machine timer provides RISC-V privileged mtime and mtimecmp
|
D | andestech,machine-timer.yaml | 7 The Andes machine timer provides RISC-V privileged mtime and mtimecmp
|
D | nuclei,systimer.yaml | 7 The Nuclei system timer provides RISC-V privileged mtime and mtimecmp
|
/Zephyr-latest/boards/others/neorv32/doc/ |
D | index.rst | 33 | MTIME | on-chip | system timer |
|
/Zephyr-latest/doc/releases/ |
D | release-notes-2.2.rst | 537 * Optimized reads of MTIME/MTIMECMP on 64-bit RISC-V
|
D | release-notes-3.3.rst | 967 * Corrected CPU numbering on SMP RISC-V systems using the mtime device
|