Home
last modified time | relevance | path

Searched refs:magic (Results 1 – 25 of 59) sorted by relevance

123

/Zephyr-Core-3.5.0/samples/drivers/eeprom/src/
Dmain.c16 uint32_t magic; member
58 if (values.magic != EEPROM_SAMPLE_MAGIC) { in main()
59 values.magic = EEPROM_SAMPLE_MAGIC; in main()
/Zephyr-Core-3.5.0/scripts/
Drequirements-compliance.txt4 python-magic
5 python-magic-bin; sys_platform == "win32"
/Zephyr-Core-3.5.0/subsys/ipc/ipc_service/lib/
Dicmsg.c29 static const uint8_t magic[] = {0x45, 0x6d, 0x31, 0x6c, 0x31, 0x4b, variable
219 bool endpoint_invalid = (len != sizeof(magic) || memcmp(magic, rx_buffer, len)); in mbox_callback_process()
285 int ret = spsc_pbuf_write(dev_data->tx_ib, magic, sizeof(magic)); in icmsg_open()
292 if (ret < (int)sizeof(magic)) { in icmsg_open()
293 __ASSERT_NO_MSG(ret == sizeof(magic)); in icmsg_open()
/Zephyr-Core-3.5.0/subsys/testsuite/ztest/src/
Dztest.c563 uint32_t magic; in main() member
566 const uint32_t magic = 0x152ac523; in main() local
568 if (state.magic != magic) { in main()
569 state.magic = magic; in main()
Dztest_new.c1119 uint32_t magic; in main() member
1122 const uint32_t magic = 0x152ac523; in main() local
1124 if (state.magic != magic) { in main()
1125 state.magic = magic; in main()
/Zephyr-Core-3.5.0/samples/tfm_integration/psa_crypto/src/
Dutil_app_cfg.h27 uint32_t magic; member
Dutil_app_cfg.c25 .magic = 0x55CFDA7A,
/Zephyr-Core-3.5.0/subsys/dfu/boot/
Dmcuboot_shell.c34 static const char *swap_state_magic_str(uint8_t magic) in swap_state_magic_str() argument
36 switch (magic) { in swap_state_magic_str()
194 swap_state_magic_str(swap_state.magic)); in cmd_mcuboot_info_area()
Dmcuboot.c202 if (state.magic == BOOT_MAGIC_UNSET) { in boot_is_img_confirmed()
/Zephyr-Core-3.5.0/samples/subsys/usb/dfu/
DREADME.rst84 I: Primary image: magic=good, swap_type=0x3, copy_done=0x1, image_ok=0x1
85 I: Secondary image: magic=good, swap_type=0x2, copy_done=0x3, image_ok=0x3
101 I: Primary image: magic=good, swap_type=0x2, copy_done=0x1, image_ok=0x3
102 I: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
105 I: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
146 I: Primary image: magic=good, swap_type=0x4, copy_done=0x1, image_ok=0x1
147 I: Secondary image: magic=good, swap_type=0x3, copy_done=0x3, image_ok=0x1
/Zephyr-Core-3.5.0/tests/subsys/rtio/rtio_api/src/
Dtest_rtio_spsc.c23 const uint32_t magic = 43219876; in ZTEST() local
29 *acq = magic; in ZTEST()
50 zassert_equal(*cons2, magic, "Consume value should equal magic"); in ZTEST()
/Zephyr-Core-3.5.0/drivers/flash/
Djesd216.h64 uint32_t magic; /* "SFDP" in little endian */ member
119 return sys_le32_to_cpu(hp->magic); in jesd216_sfdp_magic()
Dflash_andes_qspi.c560 uint32_t magic = jesd216_sfdp_magic(hp); in spi_nor_process_sfdp() local
562 if (magic != JESD216_SFDP_MAGIC) { in spi_nor_process_sfdp()
563 LOG_ERR("SFDP magic %08x invalid", magic); in spi_nor_process_sfdp()
/Zephyr-Core-3.5.0/samples/drivers/jesd216/src/
Dmain.c304 uint32_t magic = jesd216_sfdp_magic(hp); in main() local
306 if (magic != JESD216_SFDP_MAGIC) { in main()
307 printf("SFDP magic %08x invalid", magic); in main()
/Zephyr-Core-3.5.0/tests/subsys/mgmt/ec_host_cmd/uart/src/
Dmain.c52 uint8_t magic[sizeof(hello_magic)]; member
70 if (memcmp(hello_magic, cmd_data->magic, sizeof(hello_magic))) { in ec_host_cmd_hello()
91 memcpy(cmd_data->magic, hello_magic, sizeof(hello_magic)); in prepare_hello_cmd()
/Zephyr-Core-3.5.0/include/zephyr/drivers/
Ddma.h259 int32_t magic; member
510 if (dma_ctx->magic != DMA_MAGIC) { in z_impl_dma_request_channel()
546 if (dma_ctx->magic != DMA_MAGIC) { in z_impl_dma_release_channel()
/Zephyr-Core-3.5.0/soc/arm/nuvoton_npcx/common/
DCMakeLists.txt35 # Property magic which makes west flash choose right file.
/Zephyr-Core-3.5.0/doc/services/ipc/ipc_service/backends/
Dipc_service_icmsg.rst72 1. The domain (or CPU) writes a magic number to its ``tx-region`` of the shared
78 #. When the signal from the other domain or CPU is received, the magic number
/Zephyr-Core-3.5.0/include/zephyr/net/
Dppp.h341 uint32_t magic; member
398 uint32_t magic; member
/Zephyr-Core-3.5.0/scripts/west_commands/
Dbindesc.py228 magic = struct.pack('>Q' if self.is_big_endian else 'Q', self.MAGIC)
229 index = image.find(magic)
235 index += len(magic) # index points to first descriptor
/Zephyr-Core-3.5.0/doc/services/binary_descriptors/
Dindex.rst50 value. All binary descriptor numbers (magic, tags, uints) are laid out in memory
55 The binary descriptor header starts with the magic number ``0xb9863e5a7ea46046``. It's followed
66 | magic | tag |length| H e l l o w o r l d ! | pad | end |
/Zephyr-Core-3.5.0/scripts/pylib/twister/twisterlib/
Dsize_calc.py196 magic = f.read(4)
199 if magic != b'\x7fELF':
/Zephyr-Core-3.5.0/scripts/pylib/pytest-twister-harness/src/twister_harness/helpers/
Dshell.py91 magic: str = 'unset' variable in ShellMCUbootArea
/Zephyr-Core-3.5.0/dts/arm/st/h7/
Dstm32h7a3.dtsi84 health-test-magic = <0x17590abc>;
/Zephyr-Core-3.5.0/doc/services/retention/
Dindex.rst17 Optionally, a magic header can be used to check if the front of
120 When the write function is called, the magic header and checksum (if enabled)

123