Lines Matching refs:rc
50 int rc; in rpi3_bl1_tpm_early_interface_setup() local
65 rc = tpm_interface_init(spidev, &timeout_ops, &tpm_chip_data, 0); in rpi3_bl1_tpm_early_interface_setup()
66 if (rc != 0) { in rpi3_bl1_tpm_early_interface_setup()
90 int rc; in bl1_plat_mboot_init() local
95 rc = tpm_startup(&tpm_chip_data, TPM_SU_CLEAR); in bl1_plat_mboot_init()
96 if (rc != 0) { in bl1_plat_mboot_init()
102 rc = event_log_init_and_reg(event_log, event_log + sizeof(event_log), in bl1_plat_mboot_init()
104 if (rc < 0) { in bl1_plat_mboot_init()
105 ERROR("Failed to initialize event log (%d).\n", rc); in bl1_plat_mboot_init()
109 rc = event_log_write_header(algorithms, ARRAY_SIZE(algorithms), 0, NULL, in bl1_plat_mboot_init()
111 if (rc < 0) { in bl1_plat_mboot_init()
112 ERROR("Failed to write event log header (%d).\n", rc); in bl1_plat_mboot_init()
133 int rc; in bl1_plat_mboot_finish() local
136 rc = tpm_interface_close(&tpm_chip_data, 0); in bl1_plat_mboot_finish()
137 if (rc != 0) { in bl1_plat_mboot_finish()