Home
last modified time | relevance | path

Searched full:mtime (Results 1 – 13 of 13) sorted by relevance

/Zephyr-latest/drivers/timer/
Driscv_machine_timer.c129 /* 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/
DCMakeLists.txt19 generate_inc_file_for_target(app ${source_file} ${gen_dir}/file.bin.mtime.gz.inc
20 --gzip --gzip-mtime=42)
/Zephyr-latest/scripts/build/
Dfile2hex.py36 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/
Dmain.c31 #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/
Dlowrisc,machine-timer.yaml7 The OpenTitan machine timer provides RISC-V privileged mtime and mtimecmp
Dneorv32-machine-timer.yaml7 The NEORV32 machine timer provides RISC-V privileged mtime and mtimecmp
Dniosv-machine-timer.yaml7 The NIOSV machine timer provides RISC-V privileged mtime and mtimecmp
Dtelink,machine-timer.yaml7 The Telink machine timer provides RISC-V privileged mtime and mtimecmp
Dandestech,machine-timer.yaml7 The Andes machine timer provides RISC-V privileged mtime and mtimecmp
Dnuclei,systimer.yaml7 The Nuclei system timer provides RISC-V privileged mtime and mtimecmp
/Zephyr-latest/boards/others/neorv32/doc/
Dindex.rst33 | MTIME | on-chip | system timer |
/Zephyr-latest/doc/releases/
Drelease-notes-2.2.rst537 * Optimized reads of MTIME/MTIMECMP on 64-bit RISC-V
Drelease-notes-3.3.rst967 * Corrected CPU numbering on SMP RISC-V systems using the mtime device