Lines Matching refs:mapbase
39 void __iomem *mapbase; member
114 return p->read_control(p->mapbase - cfg->channel_offset, 0); in sh_cmt_read_cmstr()
119 return p->read_control(p->mapbase, CMCSR); in sh_cmt_read_cmcsr()
124 return p->read_count(p->mapbase, CMCNT); in sh_cmt_read_cmcnt()
132 p->write_control(p->mapbase - cfg->channel_offset, 0, value); in sh_cmt_write_cmstr()
138 p->write_control(p->mapbase, CMCSR, value); in sh_cmt_write_cmcsr()
144 p->write_count(p->mapbase, CMCNT, value); in sh_cmt_write_cmcnt()
150 p->write_count(p->mapbase, CMCOR, value); in sh_cmt_write_cmcor()
704 p->mapbase = ioremap_nocache(res->start, resource_size(res)); in sh_cmt_setup()
705 if (p->mapbase == NULL) { in sh_cmt_setup()
772 iounmap(p->mapbase); in sh_cmt_setup()