Lines Matching refs:virt
57 val.x[0] = *(uint8_t*)(map->virt + ofs); in dc21285_read8()
64 val.x[0] = *(uint16_t*)(map->virt + ofs); in dc21285_read16()
71 val.x[0] = *(uint32_t*)(map->virt + ofs); in dc21285_read32()
77 memcpy(to, (void*)(map->virt + from), len); in dc21285_copy_from()
86 *(uint8_t*)(map->virt + adr) = d.x[0]; in dc21285_write8()
95 *(uint16_t*)(map->virt + adr) = d.x[0]; in dc21285_write16()
102 *(uint32_t*)(map->virt + adr) = d.x[0]; in dc21285_write32()
179 dc21285_map.virt = ioremap(DC21285_FLASH, 16*1024*1024); in init_dc21285()
180 if (!dc21285_map.virt) { in init_dc21285()
192 iounmap(dc21285_map.virt); in init_dc21285()
222 iounmap(dc21285_map.virt); in cleanup_dc21285()