Home
last modified time | relevance | path

Searched refs:unpack (Results 1 – 25 of 27) sorted by relevance

12

/linux/tools/testing/selftests/tpm2/
H A Dtpm2.py399 rc = struct.unpack('>I', rsp[6:10])[0]
401 cc = struct.unpack('>I', cmd[6:10])[0]
423 pcr_update_cnt, pcr_select_cnt = struct.unpack('>II', rsp[10:18])
427 alg2, pcrsel_len2 = struct.unpack('>HB', rsp[:3])
431 digest_cnt = struct.unpack('>I', rsp[:4])[0]
472 return struct.unpack('>I', self.send_cmd(cmd)[10:14])[0]
587 return struct.unpack('>I', self.send_cmd(cmd)[10:14])[0]
630 private_len = struct.unpack('>H', blob[0:2])[0]
632 public_len = struct.unpack('>H', blob[public_start:public_start + 2])[0]
648 data_handle = struct.unpack('>I', self.send_cmd(cmd)[10:14])[0]
[all …]
H A Dtpm2_tests.py185 sz = struct.unpack('>I', hdr[2:6])[0]
/linux/drivers/media/platform/broadcom/
H A Dbcm2835-unicam.c138 u8 unpack; member
380 .unpack = UNICAM_PUM_UNPACK10,
387 .unpack = UNICAM_PUM_UNPACK10,
394 .unpack = UNICAM_PUM_UNPACK10,
401 .unpack = UNICAM_PUM_UNPACK10,
408 .unpack = UNICAM_PUM_UNPACK12,
415 .unpack = UNICAM_PUM_UNPACK12,
422 .unpack = UNICAM_PUM_UNPACK12,
429 .unpack = UNICAM_PUM_UNPACK12,
436 .unpack = UNICAM_PUM_UNPACK14,
[all …]
/linux/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
H A DEventClass.py60 flags, ip, ax, bx, cx, dx, si, di, bp, sp = struct.unpack('QQQQQQQQQQ', tmp_buf)
89 status, dla, dse, lat = struct.unpack('QQQQ', tmp_buf)
/linux/lib/
H A Dpacking.c290 int unpack(const void *pbuf, u64 *uval, size_t startbit, size_t endbit, in unpack() function
311 EXPORT_SYMBOL(unpack);
348 return unpack(pbuf, uval, startbit, endbit, pbuflen, quirks); in packing()
H A Dpacking_test.c393 err = unpack(params->pbuf, &uval, params->start_bit, params->end_bit, in packing_test_unpack()
/linux/Documentation/networking/device_drivers/atm/
H A Dcxacru-cf.py45 sys.stdout.write("{0:x}={1}".format(i, struct.unpack("<I", buf)[0]))
/linux/Documentation/translations/zh_TW/dev-tools/
H A Dgcov.rst230 echo "$DEST successfully created, copy to test system and unpack with:"
263 echo "$DEST successfully created, copy to build system and unpack with:"
/linux/Documentation/translations/zh_CN/dev-tools/
H A Dgcov.rst230 echo "$DEST successfully created, copy to test system and unpack with:"
263 echo "$DEST successfully created, copy to build system and unpack with:"
/linux/tools/testing/selftests/drivers/net/hw/
H A Dtso.py23 outq = struct.unpack("I", outq)[0]
33 return struct.unpack("I", info[100:104])[0]
/linux/tools/usb/
H A Dp9_fwd.py122 size = struct.unpack("<I", data[:4])[0]
136 size = struct.unpack("<I", data[:4])[0]
/linux/Documentation/core-api/
H A Dpacking.rst271 pack() and unpack()
279 Calling unpack(...) is equivalent, and preferred, to calling packing(..., UNPACK).
286 repetitive calls to pack() and unpack() for each field, but instead use
297 An additional benefit over pack() and unpack() is that sanity checks on the
/linux/tools/net/ynl/pyynl/lib/
H A Dynl.py153 self._len, self._type = struct.unpack("HH", raw[offset : offset + 4])
170 return format_.unpack(self.raw)[0]
177 return format_.unpack(self.raw)[0]
219 struct.unpack("IHHII", self.hdr)
228 self.error = struct.unpack("i", self.raw[0:4])[0]
232 self.error = struct.unpack("i", self.raw[0:4])[0]
841 value, selector = struct.unpack("II", attr.raw)
/linux/tools/testing/selftests/x86/bugs/
H A Dcommon.py126 sym_offset = struct.unpack('<i', data)[0] + i
/linux/scripts/gdb/linux/
H A Dproc.py226 return unpack(output_fmt, pack(fdt_header_be,
H A Dsymbols.py72 n_namesz, n_descsz, n_type = struct.unpack(">III", elf_note)
/linux/Documentation/dev-tools/
H A Dgcov.rst251 echo "$DEST successfully created, copy to test system and unpack with:"
284 echo "$DEST successfully created, copy to build system and unpack with:"
/linux/tools/testing/selftests/drivers/net/
H A Dpsp.py25 return struct.unpack("I", outq)[0]
67 'spi': struct.unpack('I', tx[:4])[0],
/linux/Documentation/scsi/
H A DNinjaSCSI.rst63 (c) If you use this driver with Kernel 2.2, unpack pcmcia-cs in some directory
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-fcoe86 (Ethernet) packets, unpack them, and forward the embedded
/linux/tools/power/pm-graph/
H A Dsleepgraph.py5834 length = struct.unpack('H', buf[i+22:i+24])[0]
5835 base, num = struct.unpack('IH', buf[i+24:i+30])
5838 length = struct.unpack('H', buf[i+6:i+8])[0]
5839 base, num = struct.unpack('IH', buf[i+8:i+14])
5857 type, size, handle = struct.unpack('BBH', buf[i:i+4])
5860 if 0 == struct.unpack('H', buf[n:n+2])[0]:
5867 idx = struct.unpack('B', buf[i+idxadr:i+idxadr+1])[0]
5917 table = struct.unpack('4sIBB6s8sI4sI', buf[0:36])
5949 header = struct.unpack('HBB', records[i:i+4])
5956 addr = struct.unpack('Q', records[i+8:i+16])[0]
[all …]
/linux/include/linux/
H A Dpacking.h107 int unpack(const void *pbuf, u64 *uval, size_t startbit, size_t endbit,
/linux/tools/perf/Documentation/
H A Dsecurity.txt20 2. Get into rpmbuild/SPECS directory and unpack the source code:
/linux/Documentation/admin-guide/
H A DREADME.rst64 unpack it::
/linux/tools/kvm/kvm_stat/
H A Dkvm_stat464 struct.unpack(read_format,

12