Searched refs:swtpm_ctrlcmd (Results 1 – 1 of 1) sorted by relevance
| /devicemodel/hw/platform/tpm/ |
| A D | tpm_emulator.c | 401 static int swtpm_ctrlcmd(int ctrl_chan_fd, unsigned long cmd, void *msg, in swtpm_ctrlcmd() function 541 if (swtpm_ctrlcmd(tpm_context.ctrl_chan_fd, CMD_SET_DATAFD, &res, 0, in swtpm_cmdchan_create() 566 if (swtpm_ctrlcmd(tpm_context.ctrl_chan_fd, CMD_INIT, in swtpm_start() 588 if (swtpm_ctrlcmd(tpm_context.ctrl_chan_fd, CMD_STOP, &res, 0, sizeof(res), NULL, 0) < 0) { in swtpm_stop() 620 if (swtpm_ctrlcmd(tpm_context.ctrl_chan_fd, CMD_SET_BUFFERSIZE, &psbs, in swtpm_set_buffer_size() 667 if (swtpm_ctrlcmd(tpm_context.ctrl_chan_fd, CMD_SHUTDOWN, in swtpm_shutdown() 683 if (swtpm_ctrlcmd(tpm_context.ctrl_chan_fd, CMD_SET_LOCALITY, &loc, in swtpm_set_locality() 752 if (swtpm_ctrlcmd(tpm_context.ctrl_chan_fd, CMD_GET_TPMESTABLISHED, &est, in swtpm_get_tpm_established_flag() 768 if (swtpm_ctrlcmd(tpm_context.ctrl_chan_fd, CMD_CANCEL_TPM_CMD, &res, 0, in swtpm_cancel_cmd()
|
Completed in 12 milliseconds