Lines Matching refs:cmd
381 def send_cmd(self, cmd): argument
382 self.tpm.write(cmd)
395 sys.stderr.write(hex_dump(cmd) + os.linesep)
401 cc = struct.unpack('>I', cmd[6:10])[0]
413 cmd = struct.pack(fmt,
421 rsp = self.send_cmd(cmd)
445 cmd = struct.pack(
455 self.send_cmd(cmd)
459 cmd = struct.pack(fmt,
472 return struct.unpack('>I', self.send_cmd(cmd)[10:14])[0]
501 cmd = struct.pack(fmt,
512 self.send_cmd(cmd)
516 cmd = struct.pack(fmt,
522 self.send_cmd(cmd)
526 cmd = struct.pack(fmt,
532 return self.send_cmd(cmd)[12:]
536 cmd = struct.pack(fmt,
542 self.send_cmd(cmd)
573 cmd = struct.pack(
587 return struct.unpack('>I', self.send_cmd(cmd)[10:14])[0]
611 cmd = struct.pack(
625 rsp = self.send_cmd(cmd)
638 cmd = struct.pack(
648 data_handle = struct.unpack('>I', self.send_cmd(cmd)[10:14])[0]
656 cmd = struct.pack(
666 rsp = self.send_cmd(cmd)
678 cmd = struct.pack(
687 self.send_cmd(cmd)
693 cmd = struct.pack(fmt,
699 rsp = self.send_cmd(cmd)[10:]
726 cmd = struct.pack(fmt,
731 rsp = self.send_cmd(cmd)[10:]