Home
last modified time | relevance | path

Searched refs:mem_ptr (Results 1 – 5 of 5) sorted by relevance

/Zephyr-Core-3.7.0/samples/boards/esp32/flash_memory_mapped/src/
Dmain.c23 const void *mem_ptr; in main() local
35 spi_flash_mmap(address, size, SPI_FLASH_MMAP_DATA, &mem_ptr, &handle); in main()
36 LOG_INF("memory-mapped pointer address: %p", mem_ptr); in main()
40 LOG_HEXDUMP_INF(mem_ptr, 32, "flash read using memory-mapped pointer"); in main()
54 LOG_HEXDUMP_INF(mem_ptr, 32, "flash read using memory-mapped pointer"); in main()
56 if (memcmp(buffer, mem_ptr, 32) == 0) { in main()
/Zephyr-Core-3.7.0/samples/basic/threads/src/
Dmain.c78 char *mem_ptr = k_malloc(size); in blink() local
79 __ASSERT_NO_MSG(mem_ptr != 0); in blink()
81 memcpy(mem_ptr, &tx_data, size); in blink()
83 k_fifo_put(&printk_fifo, mem_ptr); in blink()
/Zephyr-Core-3.7.0/subsys/debug/gdbstub/
Dgdbstub.c317 uint8_t *mem_ptr; in gdb_mem_read_aligned() local
333 mem_ptr = UINT_TO_POINTER(ROUND_DOWN(addr, align)); in gdb_mem_read_aligned()
344 data.u32 = *(uint32_t *)mem_ptr; in gdb_mem_read_aligned()
361 mem_ptr += align; in gdb_mem_read_aligned()
450 uint8_t *mem_ptr; in gdb_mem_write_aligned() local
476 mem_ptr = UINT_TO_POINTER(ROUND_DOWN(addr, align)); in gdb_mem_write_aligned()
477 data.u32 = *(uint32_t *)mem_ptr; in gdb_mem_write_aligned()
511 *(uint32_t *)mem_ptr = data.u32; in gdb_mem_write_aligned()
514 mem_ptr += align; in gdb_mem_write_aligned()
522 data.u32 = *(uint32_t *)mem_ptr; in gdb_mem_write_aligned()
/Zephyr-Core-3.7.0/doc/kernel/memory_management/
Dheap.rst190 char *mem_ptr;
192 mem_ptr = k_malloc(200);
193 if (mem_ptr != NULL)) {
194 memset(mem_ptr, 0, 200);
210 char *mem_ptr;
212 mem_ptr = k_malloc(75);
214 k_free(mem_ptr);
/Zephyr-Core-3.7.0/drivers/flash/
Dflash_cadence_nand_ll.c452 void cdns_nand_cdma_prepare(char nf_mem, uint32_t flash_ptr, char *mem_ptr, uint16_t ctype, in cdns_nand_cdma_prepare() argument
463 cdma_desc->memory_pointer = (uintptr_t)mem_ptr; in cdns_nand_cdma_prepare()