Lines Matching refs:offset
16 static inline __u8 tsunami_flash_read8(struct map_info *map, unsigned long offset) in tsunami_flash_read8() argument
18 return tsunami_tig_readb(offset); in tsunami_flash_read8()
21 static void tsunami_flash_write8(struct map_info *map, __u8 value, unsigned long offset) in tsunami_flash_write8() argument
23 tsunami_tig_writeb(value, offset); in tsunami_flash_write8()
27 struct map_info *map, void *addr, unsigned long offset, ssize_t len) in tsunami_flash_copy_from() argument
31 while(len && (offset < MAX_TIG_FLASH_SIZE)) { in tsunami_flash_copy_from()
32 *dest = tsunami_tig_readb(offset); in tsunami_flash_copy_from()
33 offset++; in tsunami_flash_copy_from()
40 struct map_info *map, unsigned long offset, in tsunami_flash_copy_to() argument
45 while(len && (offset < MAX_TIG_FLASH_SIZE)) { in tsunami_flash_copy_to()
46 tsunami_tig_writeb(*src, offset); in tsunami_flash_copy_to()
47 offset++; in tsunami_flash_copy_to()