tpm_infineon.c (498495dba268b20e8eadd7fe93c140c68b6cc9d2) | tpm_infineon.c (f5595f5baa30e009bf54d0d7653a9a0cc465be60) |
---|---|
1/* 2 * Description: 3 * Device Driver for the Infineon Technologies 4 * SLD 9630 TT 1.1 and SLB 9635 TT 1.2 Trusted Platform Module 5 * Specifications at www.trustedcomputinggroup.org 6 * 7 * Copyright (C) 2005, Marcel Selhorst <tpmdd@selhorst.net> 8 * Sirrix AG - security technologies <tpmdd@sirrix.com> and --- 340 unchanged lines hidden (view full) --- 349 wait_and_send(chip, count_3); 350 wait_and_send(chip, count_2); 351 wait_and_send(chip, count_1); 352 353 /* Sending Data */ 354 for (i = 0; i < count; i++) { 355 wait_and_send(chip, buf[i]); 356 } | 1/* 2 * Description: 3 * Device Driver for the Infineon Technologies 4 * SLD 9630 TT 1.1 and SLB 9635 TT 1.2 Trusted Platform Module 5 * Specifications at www.trustedcomputinggroup.org 6 * 7 * Copyright (C) 2005, Marcel Selhorst <tpmdd@selhorst.net> 8 * Sirrix AG - security technologies <tpmdd@sirrix.com> and --- 340 unchanged lines hidden (view full) --- 349 wait_and_send(chip, count_3); 350 wait_and_send(chip, count_2); 351 wait_and_send(chip, count_1); 352 353 /* Sending Data */ 354 for (i = 0; i < count; i++) { 355 wait_and_send(chip, buf[i]); 356 } |
357 return count; | 357 return 0; |
358} 359 360static void tpm_inf_cancel(struct tpm_chip *chip) 361{ 362 /* 363 Since we are using the legacy mode to communicate 364 with the TPM, we have no cancel functions, but have 365 a workaround for interrupting the TPM through WTX. --- 264 unchanged lines hidden --- | 358} 359 360static void tpm_inf_cancel(struct tpm_chip *chip) 361{ 362 /* 363 Since we are using the legacy mode to communicate 364 with the TPM, we have no cancel functions, but have 365 a workaround for interrupting the TPM through WTX. --- 264 unchanged lines hidden --- |