Lines Matching refs:map
54 static map_word dc21285_read8(struct map_info *map, unsigned long ofs) in dc21285_read8() argument
57 val.x[0] = *(uint8_t*)(map->virt + ofs); in dc21285_read8()
61 static map_word dc21285_read16(struct map_info *map, unsigned long ofs) in dc21285_read16() argument
64 val.x[0] = *(uint16_t*)(map->virt + ofs); in dc21285_read16()
68 static map_word dc21285_read32(struct map_info *map, unsigned long ofs) in dc21285_read32() argument
71 val.x[0] = *(uint32_t*)(map->virt + ofs); in dc21285_read32()
75 static void dc21285_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t len) in dc21285_copy_from() argument
77 memcpy(to, (void*)(map->virt + from), len); in dc21285_copy_from()
80 static void dc21285_write8(struct map_info *map, const map_word d, unsigned long adr) in dc21285_write8() argument
86 *(uint8_t*)(map->virt + adr) = d.x[0]; in dc21285_write8()
89 static void dc21285_write16(struct map_info *map, const map_word d, unsigned long adr) in dc21285_write16() argument
95 *(uint16_t*)(map->virt + adr) = d.x[0]; in dc21285_write16()
98 static void dc21285_write32(struct map_info *map, const map_word d, unsigned long adr) in dc21285_write32() argument
102 *(uint32_t*)(map->virt + adr) = d.x[0]; in dc21285_write32()
105 static void dc21285_copy_to_32(struct map_info *map, unsigned long to, const void *from, ssize_t le… in dc21285_copy_to_32() argument
110 dc21285_write32(map, d, to); in dc21285_copy_to_32()
117 static void dc21285_copy_to_16(struct map_info *map, unsigned long to, const void *from, ssize_t le… in dc21285_copy_to_16() argument
122 dc21285_write16(map, d, to); in dc21285_copy_to_16()
129 static void dc21285_copy_to_8(struct map_info *map, unsigned long to, const void *from, ssize_t len) in dc21285_copy_to_8() argument
133 dc21285_write8(map, d, to); in dc21285_copy_to_8()