Lines Matching refs:mapbase
116 void __iomem *mapbase; member
246 return ch->cmt->info->read_control(ch->cmt->mapbase, 0); in sh_cmt_read_cmstr()
258 ch->cmt->info->write_control(ch->cmt->mapbase, 0, value); in sh_cmt_write_cmstr()
918 ch->ioctrl = cmt->mapbase + 2 + ch->hwidx * 6; in sh_cmt_setup_channel()
922 ch->ioctrl = cmt->mapbase + 0x10 + ch->hwidx * 0x10; in sh_cmt_setup_channel()
926 ch->iostart = cmt->mapbase + ch->hwidx * 0x100; in sh_cmt_setup_channel()
931 value = ioread32(cmt->mapbase + CMCLKE); in sh_cmt_setup_channel()
933 iowrite32(value, cmt->mapbase + CMCLKE); in sh_cmt_setup_channel()
967 cmt->mapbase = ioremap(mem->start, resource_size(mem)); in sh_cmt_map_memory()
968 if (cmt->mapbase == NULL) { in sh_cmt_map_memory()
1116 iounmap(cmt->mapbase); in sh_cmt_setup()