Lines Matching +full:0 +full:x030
37 #define TCR_TSTATLO 0x001
38 #define TCR_INVOUTPLO 0x002
39 #define TCR_INVINPLO 0x004
40 #define TCR_CPLO 0x008
41 #define TCR_ENAMODELO_ONCE 0x040
42 #define TCR_ENAMODELO_CONT 0x080
43 #define TCR_ENAMODELO_MASK 0x0c0
44 #define TCR_PWIDLO_MASK 0x030
45 #define TCR_CLKSRCLO 0x100
46 #define TCR_TIENLO 0x200
47 #define TCR_TSTATHI (0x001 << 16)
48 #define TCR_INVOUTPHI (0x002 << 16)
49 #define TCR_CPHI (0x008 << 16)
50 #define TCR_PWIDHI_MASK (0x030 << 16)
51 #define TCR_ENAMODEHI_ONCE (0x040 << 16)
52 #define TCR_ENAMODEHI_CONT (0x080 << 16)
53 #define TCR_ENAMODEHI_MASK (0x0c0 << 16)
55 #define TGCR_TIMLORS 0x001
56 #define TGCR_TIMHIRS 0x002
57 #define TGCR_TIMMODE_UD32 0x004
58 #define TGCR_TIMMODE_WDT64 0x008
59 #define TGCR_TIMMODE_CD32 0x00c
60 #define TGCR_TIMMODE_MASK 0x00c
61 #define TGCR_PSCHI_MASK (0x00f << 8)
62 #define TGCR_TDDRHI_MASK (0x00f << 12)
69 ((soc_readl(&timer->emumgt) & (0xf << 16)) >> 16)
73 #define TIMER64_MODE_DISABLED 0
86 soc_writel(0, &timer->cntlo); in timer64_config()
95 if (timer64_devstate_id >= 0) in timer64_enable()
100 soc_writel(0, &timer->prdlo); in timer64_enable()
116 soc_writel(0, &timer->prdlo); in timer64_disable()
118 if (timer64_devstate_id >= 0) in timer64_disable()
126 return 0; in next_event()
134 return 0; in set_periodic()
141 return 0; in set_oneshot()
148 return 0; in shutdown()
183 int err, found = 0; in timer64_init()
205 timer = of_iomap(np, 0); in timer64_init()
212 cd->irq = irq_of_parse_and_map(np, 0); in timer64_init()
236 cd->max_delta_ns = clockevent_delta2ns(0x7fffffff, cd); in timer64_init()
237 cd->max_delta_ticks = 0x7fffffff; in timer64_init()