Searched refs:loaded_length (Results 1 – 1 of 1) sorted by relevance
1406 s32 loaded_length = 0; in gt1x_load_patch() local1413 while (loaded_length != patch_size) { in gt1x_load_patch()1414 if (loaded_length == 0 || (loaded_length + offset) % bank_size == 0) { in gt1x_load_patch()1416 bank = 0x04 + (loaded_length + offset) / bank_size; in gt1x_load_patch()1432 …len = patch_size - loaded_length > GT1X_LOAD_PACKET_SIZE ? GT1X_LOAD_PACKET_SIZE : patch_size - lo… in gt1x_load_patch()1433 address = 0xC000 + (loaded_length + offset) % bank_size; in gt1x_load_patch()1435 ret = gt1x_i2c_write(address, &patch[loaded_length], len); in gt1x_load_patch()1440 ret = gt1x_recall_check(&patch[loaded_length], address, len); in gt1x_load_patch()1447 loaded_length += len; in gt1x_load_patch()