![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
Go to the source code of this file.
Functions | |
static const char * | tis_get_dev_name (struct tpm2_info *info) |
int | tis_open (void) |
int | tis_close (void) |
int | tis_init (void) |
int | tis_sendrecv (const uint8_t *sendbuf, size_t sbuf_size, uint8_t *recvbuf, size_t *rbuf_len) |
Variables | |
static unsigned int | tpm_is_open |
struct { | |
uint16_t vid | |
uint16_t did | |
const char * device_name | |
} | dev_map [] |
int tis_close | ( | void | ) |
Definition at line 40 of file tis.c.
References tpm_is_open.
|
static |
Definition at line 20 of file tis.c.
References ARRAY_SIZE, dev_map, info, and vid.
Referenced by tis_init().
int tis_init | ( | void | ) |
Definition at line 54 of file tis.c.
References BIOS_ERR, BIOS_INFO, info, printk, spi_setup_slave(), tis_get_dev_name(), tpm2_get_info(), and tpm2_init().
int tis_open | ( | void | ) |
Definition at line 31 of file tis.c.
References BIOS_ERR, printk, and tpm_is_open.
int tis_sendrecv | ( | const uint8_t * | sendbuf, |
size_t | sbuf_size, | ||
uint8_t * | recvbuf, | ||
size_t * | rbuf_len | ||
) |
Definition at line 78 of file tis.c.
References tpm2_process_command().
const { ... } dev_map[] |
Referenced by tis_get_dev_name().
const char* device_name |
|
static |
Definition at line 8 of file tis.c.
Referenced by tis_close(), and tis_open().