Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | ibmvtpm_crq |
struct | ibmvtpm_crq_queue |
struct | ibmvtpm_dev |
Macros | |
#define | CRQ_RES_BUF_SIZE PAGE_SIZE |
#define | INIT_CRQ_CMD 0xC001000000000000LL /* Init cmd */ |
#define | INIT_CRQ_COMP_CMD 0xC002000000000000LL /* Init complete cmd */ |
#define | INIT_CRQ_RES 0x01 /* Init respond */ |
#define | INIT_CRQ_COMP_RES 0x02 /* Init complete respond */ |
#define | VALID_INIT_CRQ 0xC0 /* Valid command for init crq */ |
#define | VTPM_MSG_RES 0x80 |
#define | IBMVTPM_VALID_CMD 0x80 |
#define | VTPM_GET_VERSION 0x01 |
#define | VTPM_GET_VERSION_RES (0x01 | VTPM_MSG_RES) |
#define | VTPM_TPM_COMMAND 0x02 |
#define | VTPM_TPM_COMMAND_RES (0x02 | VTPM_MSG_RES) |
#define | VTPM_GET_RTCE_BUFFER_SIZE 0x03 |
#define | VTPM_GET_RTCE_BUFFER_SIZE_RES (0x03 | VTPM_MSG_RES) |
#define | VTPM_PREPARE_TO_SUSPEND 0x04 |
#define | VTPM_PREPARE_TO_SUSPEND_RES (0x04 | VTPM_MSG_RES) |
Functions | |
struct ibmvtpm_crq | __attribute__ ((packed, aligned(8))) |
Variables | |
u8 | valid |
u8 | msg |
u16 | len |
u32 | data |
u64 | reserved |
struct ibmvtpm_crq_queue | __attribute__ |
#define CRQ_RES_BUF_SIZE PAGE_SIZE |
Definition at line 51 of file tpm_ibmvtpm.h.
#define IBMVTPM_VALID_CMD 0x80 |
Definition at line 62 of file tpm_ibmvtpm.h.
#define INIT_CRQ_CMD 0xC001000000000000LL /* Init cmd */ |
Definition at line 54 of file tpm_ibmvtpm.h.
#define INIT_CRQ_COMP_CMD 0xC002000000000000LL /* Init complete cmd */ |
Definition at line 55 of file tpm_ibmvtpm.h.
#define INIT_CRQ_COMP_RES 0x02 /* Init complete respond */ |
Definition at line 57 of file tpm_ibmvtpm.h.
#define INIT_CRQ_RES 0x01 /* Init respond */ |
Definition at line 56 of file tpm_ibmvtpm.h.
#define VALID_INIT_CRQ 0xC0 /* Valid command for init crq */ |
Definition at line 58 of file tpm_ibmvtpm.h.
#define VTPM_GET_RTCE_BUFFER_SIZE 0x03 |
Definition at line 71 of file tpm_ibmvtpm.h.
#define VTPM_GET_RTCE_BUFFER_SIZE_RES (0x03 | VTPM_MSG_RES) |
Definition at line 72 of file tpm_ibmvtpm.h.
#define VTPM_GET_VERSION 0x01 |
Definition at line 65 of file tpm_ibmvtpm.h.
#define VTPM_GET_VERSION_RES (0x01 | VTPM_MSG_RES) |
Definition at line 66 of file tpm_ibmvtpm.h.
#define VTPM_MSG_RES 0x80 |
Definition at line 61 of file tpm_ibmvtpm.h.
#define VTPM_PREPARE_TO_SUSPEND 0x04 |
Definition at line 74 of file tpm_ibmvtpm.h.
#define VTPM_PREPARE_TO_SUSPEND_RES (0x04 | VTPM_MSG_RES) |
Definition at line 75 of file tpm_ibmvtpm.h.
#define VTPM_TPM_COMMAND 0x02 |
Definition at line 68 of file tpm_ibmvtpm.h.
#define VTPM_TPM_COMMAND_RES (0x02 | VTPM_MSG_RES) |
Definition at line 69 of file tpm_ibmvtpm.h.
struct ibmvtpm_crq __attribute__ | ( | (packed, aligned(8)) | ) |
Definition at line 32 of file tpm_ibmvtpm.h.
u16 len |
Definition at line 31 of file tpm_ibmvtpm.h.
Definition at line 30 of file tpm_ibmvtpm.h.
u64 reserved |
Definition at line 33 of file tpm_ibmvtpm.h.
u8 valid |
Definition at line 29 of file tpm_ibmvtpm.h.