Lines Matching defs:mtu_base
23 void __iomem *mtu_base; /* ssigned by machine code */
37 return -readl(mtu_base + MTU_VAL(0));
75 cr = readl(mtu_base + MTU_CR(1));
76 writel(0, mtu_base + MTU_LR(1));
77 writel(cr | MTU_CRn_ENA, mtu_base + MTU_CR(1));
78 writel(1 << 1, mtu_base + MTU_IMSC);
83 writel(0, mtu_base + MTU_IMSC);
85 cr = readl(mtu_base + MTU_CR(1));
87 writel(cr, mtu_base + MTU_CR(1));
89 writel(0xffffffff, mtu_base + MTU_LR(1));
99 writel(evt, mtu_base + MTU_LR(1));
118 writel(1 << 1, mtu_base + MTU_ICR); /* Interrupt clear reg */
159 writel(cr, mtu_base + MTU_CR(0));
160 writel(0, mtu_base + MTU_LR(0));
161 writel(0, mtu_base + MTU_BGLR(0));
162 writel(cr | MTU_CRn_ENA, mtu_base + MTU_CR(0));
175 writel(cr | MTU_CRn_ONESHOT, mtu_base + MTU_CR(1)); /* off, currently */