Lines Matching +full:arc +full:- +full:2016
2 * Copyright (C) 2016 Synopsys, Inc. All rights reserved.
4 * SPDX-License-Identifier: GPL-2.0+
19 * ARC timer control registers are mapped to auxiliary address space.
20 * There are special ARC asm command to access that addresses.
21 * Therefore we use built-in functions to read from and write to timer
35 switch (priv->timer_id) { in arc_timer_get_count()
54 id = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), "reg", -1); in arc_timer_probe()
56 return -EINVAL; in arc_timer_probe()
59 return -ENXIO; in arc_timer_probe()
61 priv->timer_id = (uint)id; in arc_timer_probe()
64 * In ARC core there're special registers (Auxiliary or AUX) in its in arc_timer_probe()
73 switch (priv->timer_id) { in arc_timer_probe()
101 { .compatible = "snps,arc-timer" },