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()
910 ch->ioctrl = cmt->mapbase + 2 + ch->hwidx * 6; in sh_cmt_setup_channel()
914 ch->ioctrl = cmt->mapbase + 0x10 + ch->hwidx * 0x10; in sh_cmt_setup_channel()
918 ch->iostart = cmt->mapbase + ch->hwidx * 0x100; in sh_cmt_setup_channel()
923 value = ioread32(cmt->mapbase + CMCLKE); in sh_cmt_setup_channel()
925 iowrite32(value, cmt->mapbase + CMCLKE); in sh_cmt_setup_channel()
959 cmt->mapbase = ioremap(mem->start, resource_size(mem)); in sh_cmt_map_memory()
960 if (cmt->mapbase == NULL) { in sh_cmt_map_memory()
1111 iounmap(cmt->mapbase); in sh_cmt_setup()