Lines Matching refs:index
125 static int index_to_seq(uint32_t index) in index_to_seq() argument
127 switch (index) { in index_to_seq()
136 printf("Invalid nv index %#x\n", index); in index_to_seq()
145 uint32_t code, index, length, type; in sandbox_tpm_xfer() local
159 index = get_unaligned_be32(sendbuf + 18); in sandbox_tpm_xfer()
160 printf("Get flags index %#02x\n", index); in sandbox_tpm_xfer()
167 switch (index) { in sandbox_tpm_xfer()
178 index = get_unaligned_be32(sendbuf + 18); in sandbox_tpm_xfer()
179 printf("Get cap nv index %#02x\n", index); in sandbox_tpm_xfer()
190 index = get_unaligned_be32(sendbuf + 10); in sandbox_tpm_xfer()
192 seq = index_to_seq(index); in sandbox_tpm_xfer()
195 printf("tpm: nvwrite index=%#02x, len=%#02x\n", index, length); in sandbox_tpm_xfer()
201 index = get_unaligned_be32(sendbuf + 10); in sandbox_tpm_xfer()
203 seq = index_to_seq(index); in sandbox_tpm_xfer()
206 printf("tpm: nvread index=%#02x, len=%#02x\n", index, length); in sandbox_tpm_xfer()