Searched refs:to_bytes (Results 1 – 11 of 11) sorted by relevance
| /Zephyr-latest/soc/silabs/silabs_siwx91x/ |
| D | siwx91x_isp_prepare.py | 87 ret += int(fixed_pattern).to_bytes(2, "little") 88 ret += int(offset).to_bytes(2, "little") 89 ret += int(ivt_offset).to_bytes(4, "little") 109 ret += cflags.to_bytes(2, "little") 110 ret += sha_type.to_bytes(2, "little") 111 ret += magic_no.to_bytes(4, "little") 112 ret += image_size.to_bytes(4, "little") 113 ret += fw_version.to_bytes(4, "little") 114 ret += flash_location.to_bytes(4, "little") 115 ret += crc.to_bytes(4, "little") [all …]
|
| /Zephyr-latest/soc/nuvoton/npcx/common/ecst/ |
| D | ecst.py | 229 output_file.write(FW_HDR_ANCHOR.to_bytes(4, "little")) 247 output_file.write(FW_HDR_EXT_ANCHOR_ENABLE.to_bytes(2, "little")) 250 output_file.write(FW_HDR_EXT_ANCHOR_DISABLE.to_bytes(2, "little")) 336 output_file.write(spi_max_clock_to_write.to_bytes(1, "little")) 340 output_file.write(spi_max_clock_to_write.to_bytes(1, "little")) 344 output_file.write(spi_max_clock_to_write.to_bytes(1, "little")) 348 output_file.write(spi_max_clock_to_write.to_bytes(1, "little")) 352 output_file.write(spi_max_clock_to_write.to_bytes(1, "little")) 395 output_file.write(spi_read_mode_to_write.to_bytes(1, "little")) 398 output_file.write(spi_read_mode_to_write.to_bytes(1, "little")) [all …]
|
| /Zephyr-latest/soc/nuvoton/npcm/common/esiost/ |
| D | esiost.py | 243 output_file.write(start_flash_addr.to_bytes(4, "little")) 247 output_file.write(end_flash_addr.to_bytes(4, "little")) 251 output_file.write(fw_load_addr.to_bytes(4, "little")) 300 output_file.write(fw_entry_pt.to_bytes(4, "little")) 335 output_file.write(fw_length.to_bytes(4, "big")) 378 output_file.write(FW_HDR_SEG1_START.to_bytes(4, "little")) 380 output_file.write(FW_HDR_SEG1_SIZE.to_bytes(4, "little")) 384 output_file.write(FW_HDR_SEG2_START.to_bytes(4, "little")) 386 output_file.write(FW_HDR_SEG2_SIZE.to_bytes(4, "little")) 390 output_file.write(FW_HDR_SEG3_START.to_bytes(4, "little")) [all …]
|
| /Zephyr-latest/soc/aspeed/ast10x0/tools/ |
| D | gen_uart_booting_image.py | 20 src_len_byte = src_len_align.to_bytes(4, byteorder='little', signed=False)
|
| /Zephyr-latest/scripts/build/ |
| D | llext_inject_slids.py | 107 self.elf_fd.write(int.to_bytes(st_value, sizeof_st_value, byteorder))
|
| D | llext_prepare_exptab.py | 261 self.elf_fd.write(int.to_bytes(sh_flags, self.ptrsize, self.endianness))
|
| /Zephyr-latest/scripts/dts/python-devicetree/src/devicetree/ |
| D | dtlib.py | 441 def to_bytes(self) -> bytes: member in Property 1341 prop.value += num.to_bytes(n_bytes, "big") 1345 prop.value += num.to_bytes(n_bytes, "big", signed=True) 1358 prop.value += tok.val.to_bytes(1, "big") 1439 phandle_prop.value = phandle_i.to_bytes(4, "big") 1998 return int(esc, 8).to_bytes(1, "big") 2004 return int(esc[1:], 16).to_bytes(1, "big") 2007 return esc[0].to_bytes(1, "big")
|
| D | edtlib.py | 1575 return prop.to_bytes()
|
| /Zephyr-latest/scripts/dts/python-devicetree/tests/ |
| D | test_dtlib.py | 1737 actual = dt.root.props[prop].to_bytes() 1742 dt.root.props[prop].to_bytes()
|
| /Zephyr-latest/soc/mediatek/mt8xxx/ |
| D | mtk_adsp_load.py | 186 msg += x.to_bytes(1, "little")
|
| /Zephyr-latest/soc/intel/intel_adsp/tools/ |
| D | cavstool.py | 654 return b''.join(bar4_mmap[base + x].to_bytes(1, 'little')
|