Lines Matching refs:offset
17 static inline map_word tsunami_flash_read8(struct map_info *map, unsigned long offset) in tsunami_flash_read8() argument
20 val.x[0] = tsunami_tig_readb(offset); in tsunami_flash_read8()
24 static void tsunami_flash_write8(struct map_info *map, map_word value, unsigned long offset) in tsunami_flash_write8() argument
26 tsunami_tig_writeb(value.x[0], offset); in tsunami_flash_write8()
30 struct map_info *map, void *addr, unsigned long offset, ssize_t len) in tsunami_flash_copy_from() argument
34 while(len && (offset < MAX_TIG_FLASH_SIZE)) { in tsunami_flash_copy_from()
35 *dest = tsunami_tig_readb(offset); in tsunami_flash_copy_from()
36 offset++; in tsunami_flash_copy_from()
43 struct map_info *map, unsigned long offset, in tsunami_flash_copy_to() argument
48 while(len && (offset < MAX_TIG_FLASH_SIZE)) { in tsunami_flash_copy_to()
49 tsunami_tig_writeb(*src, offset); in tsunami_flash_copy_to()
50 offset++; in tsunami_flash_copy_to()