rk_clksrc 48 drivers/clocksource/timer-rockchip.c static struct rk_timer *rk_clksrc; rk_clksrc 124 drivers/clocksource/timer-rockchip.c return ~readl_relaxed(rk_clksrc->base + TIMER_CURRENT_VALUE0); rk_clksrc 257 drivers/clocksource/timer-rockchip.c rk_clksrc = kzalloc(sizeof(struct rk_timer), GFP_KERNEL); rk_clksrc 258 drivers/clocksource/timer-rockchip.c if (!rk_clksrc) { rk_clksrc 263 drivers/clocksource/timer-rockchip.c ret = rk_timer_probe(rk_clksrc, np); rk_clksrc 267 drivers/clocksource/timer-rockchip.c rk_timer_update_counter(UINT_MAX, rk_clksrc); rk_clksrc 268 drivers/clocksource/timer-rockchip.c rk_timer_enable(rk_clksrc, 0); rk_clksrc 270 drivers/clocksource/timer-rockchip.c ret = clocksource_mmio_init(rk_clksrc->base + TIMER_CURRENT_VALUE0, rk_clksrc 271 drivers/clocksource/timer-rockchip.c TIMER_NAME, rk_clksrc->freq, 250, 32, rk_clksrc 278 drivers/clocksource/timer-rockchip.c sched_clock_register(rk_timer_sched_read, 32, rk_clksrc->freq); rk_clksrc 282 drivers/clocksource/timer-rockchip.c rk_timer_cleanup(rk_clksrc); rk_clksrc 284 drivers/clocksource/timer-rockchip.c kfree(rk_clksrc); rk_clksrc 287 drivers/clocksource/timer-rockchip.c rk_clksrc = ERR_PTR(ret); rk_clksrc 296 drivers/clocksource/timer-rockchip.c if (!rk_clksrc)