Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1283)

Side by Side Diff: drivers/tpm/slb9635_i2c/tddl.h

Issue 6683023: Add Infineon v05 TPM driver (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/u-boot-next.git@chromeos-v2010.09
Patch Set: Fix nits Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « drivers/tpm/slb9635_i2c/ifx_v05.c ('k') | drivers/tpm/slb9635_i2c/tddl.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*******************************************************************************
2 **
3 ** FILENAME: tddl.h
4 ** COPYRIGHT: Infineon Technologies
5 ** DESCRIPTION: I2C TPM - TDDL API.
6 ** CREATOR: Peter Huewe <huewe.external@infineon.com>
7 ** LICENSE: GPL
8 ** VERSION: 2.1.1
9 *******************************************************************************/
10 #ifndef _TDDL_H_
11 #define _TDDL_H_
12
13 /* Includes from U-Boot */
14 #include <linux/types.h>
15
16 typedef uint32_t TDDL_RESULT;
17
18 #define TDDL_SUCCESS 0x00000000L
19 #define TDDL_E_FAIL 0x00000001L
20 #define TDDL_E_COMPONENT_NOT_FOUND (TDDL_E_FAIL + 0x00000001L)
21 #define TDDL_E_ALREADY_OPENED (TDDL_E_FAIL + 0x00000002L)
22
23
24 /* if dev_addr != 0 - redefines TPM device address */
25 TDDL_RESULT TDDL_Open(uint32_t dev_addr);
26
27 TDDL_RESULT TDDL_Close(void);
28
29 TDDL_RESULT TDDL_TransmitData(uint8_t *pbTransmitBuf, uint32_t dwTransmitBufLen,
30 uint8_t *pbReceiveBuf, uint32_t *pdwReceiveBufLen);
31 #endif
OLDNEW
« no previous file with comments | « drivers/tpm/slb9635_i2c/ifx_v05.c ('k') | drivers/tpm/slb9635_i2c/tddl.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698