Lines Matching refs:tpm_emulator_ctrlcmd
125 static int tpm_emulator_ctrlcmd(TPMEmulator *tpm, unsigned long cmd, void *msg, in tpm_emulator_ctrlcmd() function
206 if (tpm_emulator_ctrlcmd(tpm_emu, CMD_SET_LOCALITY, &loc, in tpm_emulator_set_locality()
242 if (tpm_emulator_ctrlcmd(tpm_emu, CMD_GET_CAPABILITY, in tpm_emulator_probe_caps()
293 if (tpm_emulator_ctrlcmd(tpm_emu, CMD_STOP, &res, 0, sizeof(res)) < 0) { in tpm_emulator_stop_tpm()
320 if (tpm_emulator_ctrlcmd(tpm_emu, CMD_LOCK_STORAGE, &pls, in tpm_emulator_lock_storage()
351 if (tpm_emulator_ctrlcmd(tpm_emu, CMD_SET_BUFFERSIZE, &psbs, in tpm_emulator_set_buffer_size()
398 if (tpm_emulator_ctrlcmd(tpm_emu, CMD_INIT, &init, sizeof(init), in tpm_emulator_startup_tpm_resume()
440 if (tpm_emulator_ctrlcmd(tpm_emu, CMD_GET_TPMESTABLISHED, &est, in tpm_emulator_get_tpm_established_flag()
467 if (tpm_emulator_ctrlcmd(tpm_emu, CMD_RESET_TPMESTABLISHED, in tpm_emulator_reset_tpm_established_flag()
499 if (tpm_emulator_ctrlcmd(tpm_emu, CMD_CANCEL_TPM_CMD, &res, 0, in tpm_emulator_cancel_cmd()
559 if (tpm_emulator_ctrlcmd(tpm_emu, CMD_SET_DATAFD, &res, 0, in tpm_emulator_prepare_data_fd()
705 if (tpm_emulator_ctrlcmd(tpm_emu, CMD_GET_STATEBLOB, in tpm_emulator_get_state_blob()
808 if (tpm_emulator_ctrlcmd(tpm_emu, CMD_SET_STATEBLOB, &pss, in tpm_emulator_set_state_blob()
993 if (tpm_emulator_ctrlcmd(tpm_emu, CMD_SHUTDOWN, &res, 0, sizeof(res)) < 0) { in tpm_emulator_shutdown()