Home
last modified time | relevance | path

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

12

/linux-6.15/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]
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]
670 data_len = struct.unpack('>I', rsp[10:14])[0] - 2
700 more_data, cap, cnt = struct.unpack('>BII', rsp[:9])
704 handle = struct.unpack('>I', rsp[:4])[0]
[all …]
H A Dtpm2_tests.py185 sz = struct.unpack('>I', hdr[2:6])[0]
/linux-6.15/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-6.15/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,
851 u32 pack, unpack; in unicam_set_packing_config() local
855 unpack = UNICAM_PUM_NONE; in unicam_set_packing_config()
[all …]
/linux-6.15/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-6.15/Documentation/networking/device_drivers/atm/
H A Dcxacru-cf.py45 sys.stdout.write("{0:x}={1}".format(i, struct.unpack("<I", buf)[0]))
/linux-6.15/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-6.15/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-6.15/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-6.15/tools/net/ynl/pyynl/lib/
H A Dynl.py130 self._len, self._type = struct.unpack("HH", raw[offset : offset + 4])
147 return format.unpack(self.raw)[0]
154 return format.unpack(self.raw)[0]
196 struct.unpack("IHHII", self.hdr)
205 self.error = struct.unpack("i", self.raw[0:4])[0]
209 self.error = struct.unpack("i", self.raw[0:4])[0]
769 value, selector = struct.unpack("II", attr.raw)
/linux-6.15/tools/usb/
H A Dp9_fwd.py122 size = struct.unpack("<I", data[:4])[0]
136 size = struct.unpack("<I", data[:4])[0]
/linux-6.15/Documentation/devicetree/bindings/dma/stm32/
H A Dst,stm32-dma3.yaml100 0x0: pack/unpack enabled when source data width/burst != destination data width/burst
101 0x1: memory data width/burst forced to peripheral data width/burst to prevent pack/unpack
/linux-6.15/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-6.15/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_sspp.c215 u32 chroma_samp, unpack, src_format; in dpu_hw_sspp_setup_format() local
265 unpack = (fmt->element[3] << 24) | (fmt->element[2] << 16) | in dpu_hw_sspp_setup_format()
324 DPU_REG_WRITE(c, unpack_pat_off, unpack); in dpu_hw_sspp_setup_format()
/linux-6.15/tools/testing/selftests/x86/bugs/
H A Dcommon.py126 sym_offset = struct.unpack('<i', data)[0] + i
/linux-6.15/scripts/gdb/linux/
H A Dproc.py226 return unpack(output_fmt, pack(fdt_header_be,
H A Dsymbols.py65 n_namesz, n_descsz, n_type = struct.unpack(">III", elf_note)
/linux-6.15/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-6.15/Documentation/scsi/
H A DNinjaSCSI.rst63 (c) If you use this driver with Kernel 2.2, unpack pcmcia-cs in some directory
/linux-6.15/Documentation/ABI/testing/
H A Dsysfs-bus-fcoe86 (Ethernet) packets, unpack them, and forward the embedded
/linux-6.15/tools/power/pm-graph/
H A Dsleepgraph.py5833 length = struct.unpack('H', buf[i+22:i+24])[0]
5834 base, num = struct.unpack('IH', buf[i+24:i+30])
5837 length = struct.unpack('H', buf[i+6:i+8])[0]
5838 base, num = struct.unpack('IH', buf[i+8:i+14])
5859 if 0 == struct.unpack('H', buf[n:n+2])[0]:
5916 table = struct.unpack('4sIBB6s8sI4sI', buf[0:36])
5948 header = struct.unpack('HBB', records[i:i+4])
5955 addr = struct.unpack('Q', records[i+8:i+16])[0]
5963 rechead = struct.unpack('4sI', first)
5966 record = struct.unpack('HBBIQQQQQ', recdata[:48])
[all …]
/linux-6.15/include/linux/
H A Dpacking.h103 int unpack(const void *pbuf, u64 *uval, size_t startbit, size_t endbit,
/linux-6.15/tools/perf/Documentation/
H A Dsecurity.txt20 2. Get into rpmbuild/SPECS directory and unpack the source code:
/linux-6.15/Documentation/admin-guide/
H A DREADME.rst64 unpack it::

12