Lines Matching refs:offs
82 unsigned long (*read_control)(void __iomem *base, unsigned long offs);
83 void (*write_control)(void __iomem *base, unsigned long offs,
87 unsigned long (*read_count)(void __iomem *base, unsigned long offs);
88 void (*write_count)(void __iomem *base, unsigned long offs,
160 static unsigned long sh_cmt_read16(void __iomem *base, unsigned long offs) in sh_cmt_read16() argument
162 return ioread16(base + (offs << 1)); in sh_cmt_read16()
165 static unsigned long sh_cmt_read32(void __iomem *base, unsigned long offs) in sh_cmt_read32() argument
167 return ioread32(base + (offs << 2)); in sh_cmt_read32()
170 static void sh_cmt_write16(void __iomem *base, unsigned long offs, in sh_cmt_write16() argument
173 iowrite16(value, base + (offs << 1)); in sh_cmt_write16()
176 static void sh_cmt_write32(void __iomem *base, unsigned long offs, in sh_cmt_write32() argument
179 iowrite32(value, base + (offs << 2)); in sh_cmt_write32()