Searched refs:system_clock (Results 1 – 3 of 3) sorted by relevance
36 static void __iomem *system_clock __read_mostly;40 return readl_relaxed(system_clock); in bcm2835_sched_read()48 writel_relaxed(readl_relaxed(system_clock) + event, in bcm2835_time_set_next_event()88 system_clock = base + REG_COUNTER_LO; in bcm2835_timer_init()
29 static void __iomem *system_clock; /* For sched_clock() */ variable76 return readl(system_clock); in ostm_read_sched_clock()81 system_clock = timer_of_base(to) + OSTM_CNT; in ostm_init_sched_clock()181 if (system_clock) { in ostm_init()198 if (!system_clock) { in ostm_init()
34 static void __iomem *system_clock __ro_after_init;43 return readl_relaxed(system_clock); in gxp_sched_read()109 system_clock = base + GXP_TIMESTAMP_OFS; in gxp_timer_init()126 ret = clocksource_mmio_init(system_clock, node->name, freq, in gxp_timer_init()