Debian Codegraph @

src/soc/nvidia/tegra210/monotonic_timer.c

raw symbols SCIP
1 /* SPDX-License-Identifier: GPL-2.0-only */
2
3 #include <device/mmio.h>
4 #include <soc/addressmap.h>
5 #include <timer.h>
6
7 void timer_monotonic_get(struct mono_time *mt)
8 {
9 mono_time_set_usecs(mt, read32((void *)TEGRA_TMRUS_BASE));
10 }