Home
last modified time | relevance | path

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

123

/Zephyr-latest/samples/boards/st/backup_sram/src/
Dmain.c19 uint32_t magic; member
34 if (backup.magic != BACKUP_MAGIC) { in main()
35 backup.magic = BACKUP_MAGIC; in main()
/Zephyr-latest/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-latest/scripts/
Drequirements-compliance.txt11 python-magic
12 python-magic-bin; sys_platform == "win32"
/Zephyr-latest/subsys/ipc/ipc_service/lib/
Dicmsg.c18 static const uint8_t magic[] = {0x45, 0x6d, 0x31, 0x6c, 0x31, 0x4b, variable
206 bool endpoint_invalid = (len < sizeof(magic) || in mbox_callback_process()
207 memcmp(magic, rx_buffer, sizeof(magic))); in mbox_callback_process()
287 ret = pbuf_write(dev_data->tx_pb, magic, sizeof(magic)); in icmsg_open()
294 if (ret < (int)sizeof(magic)) { in icmsg_open()
295 __ASSERT_NO_MSG(ret == sizeof(magic)); in icmsg_open()
/Zephyr-latest/samples/tfm_integration/psa_crypto/src/
Dutil_app_cfg.h27 uint32_t magic; member
Dutil_app_cfg.c25 .magic = 0x55CFDA7A,
/Zephyr-latest/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-latest/subsys/dfu/boot/
Dmcuboot_shell.c35 static const char *swap_state_magic_str(uint8_t magic) in swap_state_magic_str() argument
37 switch (magic) { in swap_state_magic_str()
210 swap_state_magic_str(swap_state.magic)); in cmd_mcuboot_info_area()
Dmcuboot.c240 if (state.magic == BOOT_MAGIC_UNSET) { in boot_is_img_confirmed()
/Zephyr-latest/tests/lib/lockfree/src/
Dtest_spsc.c22 const uint32_t magic = 43219876; in ZTEST() local
28 *acq = magic; in ZTEST()
49 zassert_equal(*cons2, magic, "Consume value should equal magic"); in ZTEST()
/Zephyr-latest/samples/boards/nxp/mimxrt1170_evk_cm7/magic_addr/
DREADME.rst2 :name: FLEXRAM magic address
/Zephyr-latest/scripts/west_commands/
Dbindesc.py200 magic = struct.pack('>Q' if self.is_big_endian else 'Q', self.MAGIC)
201 index = image.find(magic)
245 magic = struct.pack('>Q' if self.is_big_endian else 'Q', self.MAGIC)
246 index = image.find(magic)
252 index += len(magic) # index points to first descriptor
/Zephyr-latest/drivers/memc/
DKconfig.mcux78 bool "NXP FlexRAM magic addr API"
80 Enable API to use flexRAM magic address functionality
/Zephyr-latest/samples/drivers/jesd216/src/
Dmain.c308 uint32_t magic = jesd216_sfdp_magic(hp); in main() local
310 if (magic != JESD216_SFDP_MAGIC) { in main()
311 printf("SFDP magic %08x invalid", magic); in main()
/Zephyr-latest/drivers/flash/
Djesd216.h64 uint32_t magic; /* "SFDP" in little endian */ member
119 return sys_le32_to_cpu(hp->magic); in jesd216_sfdp_magic()
/Zephyr-latest/include/zephyr/drivers/
Ddma.h299 int32_t magic; member
579 if (dma_ctx->magic != DMA_MAGIC) { in z_impl_dma_request_channel()
621 if (dma_ctx->magic != DMA_MAGIC) { in z_impl_dma_release_channel()
/Zephyr-latest/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-latest/soc/nuvoton/npcx/common/
DCMakeLists.txt36 # Property magic which makes west flash choose right file.
/Zephyr-latest/include/zephyr/net/
Dppp.h368 uint32_t magic; member
424 uint32_t magic; member
/Zephyr-latest/doc/services/ipc/ipc_service/backends/
Dipc_service_icmsg.rst82 1. The domain (or CPU) writes a magic number to its ``tx-region`` of the shared
88 #. When the signal from the other domain or CPU is received, the magic number
196 #. Push a single packet to FIFO containing magic data: ``45 6d 31 6c 31 4b 30 72 6e 33 6c 69 34``.
200 #. Wait for an incoming packet containing the magic data.
/Zephyr-latest/scripts/pylib/twister/twisterlib/
Dsize_calc.py195 magic = f.read(4)
198 if magic != b'\x7fELF':
/Zephyr-latest/subsys/testsuite/ztest/src/
Dztest.c1481 uint32_t magic; in main() member
1484 const uint32_t magic = 0x152ac523; in main() local
1486 if (state.magic != magic) { in main()
1487 state.magic = magic; in main()
/Zephyr-latest/scripts/pylib/pytest-twister-harness/src/twister_harness/helpers/
Dshell.py115 magic: str = 'unset' variable in ShellMCUbootArea
/Zephyr-latest/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-latest/drivers/dma/
Ddma_nxp_sof_host_dma.c300 .ctx.magic = DMA_MAGIC,

123