Lines Matching refs:cmd
113 uint32_t cmd = 0; in tpm_emu_ctrl_thread() local
114 struct iovec iov = { .iov_base = &cmd, .iov_len = sizeof(cmd) }; in tpm_emu_ctrl_thread()
119 cmd = be32_to_cpu(cmd); in tpm_emu_ctrl_thread()
120 g_assert_cmpint(cmd, ==, CMD_SET_DATAFD); in tpm_emu_ctrl_thread()
125 cmd = 0; in tpm_emu_ctrl_thread()
126 qio_channel_write(ioc, (char *)&cmd, sizeof(cmd), &error_abort); in tpm_emu_ctrl_thread()
132 uint32_t cmd; in tpm_emu_ctrl_thread() local
135 ret = qio_channel_read(ioc, (char *)&cmd, sizeof(cmd), NULL); in tpm_emu_ctrl_thread()
140 cmd = be32_to_cpu(cmd); in tpm_emu_ctrl_thread()
141 switch (cmd) { in tpm_emu_ctrl_thread()
197 g_debug("unimplemented %u", cmd); in tpm_emu_ctrl_thread()