Lines Matching refs:subsystem

129 	struct fw_subsystem_info subsystem[12];  member
145 int gt1x_burn_subsystem(struct fw_subsystem_info *subsystem);
149 int gt1x_check_subsystem_in_flash(struct fw_subsystem_info *subsystem);
396 …p = gt1x_get_fw_data(update_info.firmware->subsystem[0].offset, update_info.firmware->subsystem[0]… in gt1x_update_firmware()
405 ret = gt1x_run_ss51_isp(p, update_info.firmware->subsystem[0].length); in gt1x_update_firmware()
414 GTP_INFO("subsystem: %d", update_info.firmware->subsystem[i].type); in gt1x_update_firmware()
415 GTP_INFO("Length: %d", update_info.firmware->subsystem[i].length); in gt1x_update_firmware()
416 GTP_INFO("Address: %d", update_info.firmware->subsystem[i].address); in gt1x_update_firmware()
418 ret = gt1x_burn_subsystem(&(update_info.firmware->subsystem[i])); in gt1x_update_firmware()
429 …p = gt1x_get_fw_data(update_info.firmware->subsystem[0].offset, update_info.firmware->subsystem[0]… in gt1x_update_firmware()
437 ret = gt1x_run_ss51_isp(p, update_info.firmware->subsystem[0].length); in gt1x_update_firmware()
446 GTP_INFO("subsystem: %d", update_info.firmware->subsystem[i].type); in gt1x_update_firmware()
447 GTP_INFO("Length: %d", update_info.firmware->subsystem[i].length); in gt1x_update_firmware()
448 GTP_INFO("Address: %d", update_info.firmware->subsystem[i].address); in gt1x_update_firmware()
450 ret = gt1x_check_subsystem_in_flash(&(update_info.firmware->subsystem[i])); in gt1x_update_firmware()
624 firmware->subsystem[i].type = p[i * FW_HEAD_SUBSYSTEM_INFO_SIZE];
625 firmware->subsystem[i].length = getU16(&p[i * FW_HEAD_SUBSYSTEM_INFO_SIZE + 1]);
626 firmware->subsystem[i].address = getU16(&p[i * FW_HEAD_SUBSYSTEM_INFO_SIZE + 3]) * 256;
627 firmware->subsystem[i].offset = offset;
628 offset += firmware->subsystem[i].length;
641 GTP_DEBUG("Type: %d", update_info.firmware->subsystem[i].type);
642 GTP_DEBUG("Length: %d", update_info.firmware->subsystem[i].length);
643 GTP_DEBUG("Address: 0x%08X", update_info.firmware->subsystem[i].address);
644 GTP_DEBUG("Offset: %d", update_info.firmware->subsystem[i].offset);
971 int gt1x_burn_subsystem(struct fw_subsystem_info *subsystem) in gt1x_burn_subsystem() argument
977 u32 length = subsystem->length; in gt1x_burn_subsystem()
985 GTP_INFO("Subsystem: %d", subsystem->type); in gt1x_burn_subsystem()
986 GTP_INFO("Length: %d", subsystem->length); in gt1x_burn_subsystem()
987 GTP_INFO("Address: 0x%08X", subsystem->address); in gt1x_burn_subsystem()
994 GTP_INFO("Burn block ==> length: %d, address: 0x%08X", block_len, subsystem->address + burn_len); in gt1x_burn_subsystem()
995 fw = gt1x_get_fw_data(subsystem->offset + burn_len, block_len); in gt1x_burn_subsystem()
998 cur_addr = ((subsystem->address + burn_len) >> 8); in gt1x_burn_subsystem()
1038 buffer[0] = subsystem->type; in gt1x_burn_subsystem()
1039 buffer[1] = subsystem->type; in gt1x_burn_subsystem()
1095 int gt1x_check_subsystem_in_flash(struct fw_subsystem_info *subsystem) in gt1x_check_subsystem_in_flash() argument
1099 u32 length = subsystem->length; in gt1x_check_subsystem_in_flash()
1105 GTP_INFO("Subsystem: %d", subsystem->type); in gt1x_check_subsystem_in_flash()
1106 GTP_INFO("Length: %d", subsystem->length); in gt1x_check_subsystem_in_flash()
1107 GTP_INFO("Address: 0x%08X", subsystem->address); in gt1x_check_subsystem_in_flash()
1112 …GTP_INFO("Check block ==> length: %d, address: 0x%08X", block_len, subsystem->address + checked_le… in gt1x_check_subsystem_in_flash()
1113 fw = gt1x_get_fw_data(subsystem->offset + checked_len, block_len); in gt1x_check_subsystem_in_flash()
1117 ret = gt1x_read_flash(subsystem->address + checked_len, block_len); in gt1x_check_subsystem_in_flash()
1202 fw = gt1x_get_fw_data(update_info.firmware->subsystem[0].offset, in gt1x_error_erase()
1203 update_info.firmware->subsystem[0].length); in gt1x_error_erase()
1208 ret = gt1x_run_ss51_isp(fw, update_info.firmware->subsystem[0].length); in gt1x_error_erase()