Lines Matching refs:addr_offset
143 static int write_umip_emmc(uint32_t addr_offset, void *data, size_t size) in write_umip_emmc() argument
152 if (addr_offset == IFWI_OFFSET) { in write_umip_emmc()
188 if (addr_offset == IFWI_OFFSET) in write_umip_emmc()
192 if (addr_offset + size <= BOOT_IFWI_SIZE) in write_umip_emmc()
194 memset(ptr + addr_offset, 0, size); in write_umip_emmc()
196 memcpy(ptr + addr_offset, data, size); in write_umip_emmc()
202 if (addr_offset == IFWI_OFFSET) in write_umip_emmc()
212 if (addr_offset == IFWI_OFFSET) in write_umip_emmc()
220 if (addr_offset == IFWI_OFFSET) in write_umip_emmc()
226 static int readbyte_umip_emmc(uint32_t addr_offset) in readbyte_umip_emmc() argument
249 if (addr_offset < BOOT_UMIP_SIZE) in readbyte_umip_emmc()
250 value = (int)*(ptr + addr_offset); in readbyte_umip_emmc()