Home
last modified time | relevance | path

Searched full:mapped (Results 1 – 25 of 244) sorted by relevance

12345678910

/Zephyr-Core-3.6.0/tests/kernel/mem_protect/mem_map/src/
Dmain.c25 * can get mapped. BUF_SIZE has a odd size to make sure the mapped buffer
88 /* Check that the read-only mapped area contains the expected data. */ in ZTEST()
171 uint8_t *mapped; in ZTEST() local
179 z_phys_map(&mapped, z_mem_phys_addr(test_page), in ZTEST()
187 mapped[0] = 42; in ZTEST()
200 uint8_t *mapped; in ZTEST() local
205 z_phys_map(&mapped, z_mem_phys_addr(test_page), in ZTEST()
209 mapped[0] = 42; in ZTEST()
212 z_phys_unmap(mapped, sizeof(test_page)); in ZTEST()
216 mapped[0] = 42; in ZTEST()
[all …]
/Zephyr-Core-3.6.0/samples/modules/canopennode/objdict/
Dobjdict.eds704 ParameterName=Number of mapped objects
713 ParameterName=mapped object 1
722 ParameterName=mapped object 2
731 ParameterName=mapped object 3
740 ParameterName=mapped object 4
749 ParameterName=mapped object 5
758 ParameterName=mapped object 6
767 ParameterName=mapped object 7
776 ParameterName=mapped object 8
791 ParameterName=Number of mapped objects
[all …]
Dobjdict.xml117 … object contains a time stamp with a resolution of 1 µs (see 9.3.2). It can be mapped into a PDO in
398 …<description>0x1600 - 0x17FF RPDO mapping parameter (To change mapping, 'Number of mapped objects'…
399 Number of mapped objects
401 mapped object (subindex 1...8)
405 …<CANopenSubObject subIndex="00" name="Number of mapped objects" objectType="VAR" dataType="0x05" a…
408 …<CANopenSubObject subIndex="01" name="mapped object 1" objectType="VAR" dataType="0x07" accessType…
411 …<CANopenSubObject subIndex="02" name="mapped object 2" objectType="VAR" dataType="0x07" accessType…
414 …<CANopenSubObject subIndex="03" name="mapped object 3" objectType="VAR" dataType="0x07" accessType…
417 …<CANopenSubObject subIndex="04" name="mapped object 4" objectType="VAR" dataType="0x07" accessType…
420 …<CANopenSubObject subIndex="05" name="mapped object 5" objectType="VAR" dataType="0x07" accessType…
[all …]
/Zephyr-Core-3.6.0/tests/drivers/mm/sys_mm_drv_bank/src/
Dmain.c40 /* It set mapped state for all pages */ in ZTEST()
60 /* Verify mapped pages are counted correctly */ in ZTEST()
63 "MM Page Mapped Error: 1st mapped = %u, not %u\n", in ZTEST()
68 "MM Page Mapped Error: 2nd mapped = %u, not %u\n", in ZTEST()
76 test_stats("MM Bank Mapped Error", &stats, &expected); in ZTEST()
82 "MM Page Unmapped Error: Pages mapped = %u, not 1\n", in ZTEST()
90 /* Verify max mapped pages are counted correctly */ in ZTEST()
94 "MM Page Mapped Error: 3rd mapped = %u, not %u\n", in ZTEST()
100 test_stats("MM Bank 1st Max Mapped Error", &stats, &expected); in ZTEST()
104 "MM Page Mapped Error: 3rd mapped = %u, not %u\n", in ZTEST()
[all …]
/Zephyr-Core-3.6.0/samples/boards/esp32/flash_memory_mapped/
DREADME.rst1 .. zephyr:code-sample:: esp32-flash-memory-mapped
2 :name: ESP32 Flash Memory-Mapped
5 Write data into scratch area and read it using flash API and memory-mapped pointer.
10 ESP32 features memory hardware which allows regions of flash memory to be mapped into instruction
12 contents of flash memory by writing to a mapped memory region.
21 All ESP32 SoCs support flash memory-mapped feature.
46 Next, it prints that region content using flash API read and also using memory-mapped pointer.
47 Both readings should return the same value. Important to notice that writing using memory-mapped po…
54 [00:00:00.255,000] <inf> flash_memory_mapped: memory-mapped pointer address: 0x3c040000
55 [00:00:01.122,000] <inf> flash_memory_mapped: flash read using memory-mapped pointer
[all …]
/Zephyr-Core-3.6.0/include/zephyr/sys/
Dsys_io.h1 /* Port and memory mapped registers I/O operations */
147 /* Memory mapped registers I/O functions */
151 * @brief Write a byte to a memory mapped register
153 * This function writes a byte to the given memory mapped register.
156 * @param addr the memory mapped register address where to write the byte
161 * @brief Read a byte from a memory mapped register
163 * This function reads a byte from the given memory mapped register.
165 * @param addr the memory mapped register address from where to read the byte
172 * @brief Write 16 bits to a memory mapped register
174 * This function writes 16 bits to the given memory mapped register.
[all …]
/Zephyr-Core-3.6.0/drivers/mm/
Dmm_drv_common.h18 * @brief Get the flags of mapped virtual address.
21 * a mapped virtual address. This is used internally for remapping.
27 * @param[out] flags flags of mapped virtual address
31 * @retval -EFAULT if virtual address is not mapped
90 * @brief Test if the virtual memory region is mapped
95 * @retval true if all pages in the region are mapped
96 * @retval false if at least one page is not mapped
107 * @retval false if at least one page is mapped
127 * @param size Page-aligned size of the mapped memory region in bytes
132 * @retval -EFAULT if any virtual addresses have already been mapped
[all …]
/Zephyr-Core-3.6.0/include/zephyr/drivers/mm/
Dmm_drv_bank.h46 /** Number of mapped pages. */
49 /** Maximum number of mapped pages since last counter reset. */
59 * it will start with all pages mapped. In next phase of driver initialization
70 * This function is used to update the number of mapped pages within the
75 * @return The number of pages mapped within the memory bank
92 * @brief Reset the max number of pages mapped in the bank
94 * This routine is used to reset the maximum number of pages mapped in
95 * the specified memory bank to the current number of pages mapped in
Dsystem_mm.h108 * @retval -EFAULT if virtual address has already been mapped
126 * @param size Page-aligned size of the mapped memory region in bytes
131 * @retval -EFAULT if any virtual addresses have already been mapped
155 * @retval -EFAULT if any virtual addresses have already been mapped
179 * @retval -EFAULT if virtual address is not mapped
203 * @retval -EFAULT if virtual addresses have already been mapped
225 * @param size Page-aligned size of the mapped memory region in bytes
231 * @retval -EFAULT if old virtual addresses are not all mapped or
243 * On moving already mapped memory.
253 * address space (@p virt_old). The new virtual memory region is mapped
[all …]
/Zephyr-Core-3.6.0/dts/bindings/serial/
Dns16550.yaml21 io-mapped:
23 description: specify registers are IO mapped or memory mapped
/Zephyr-Core-3.6.0/boards/arm/faze/support/
Dopenocd.cfg17 # This ensures that the interrupt vectors (0x0000-0x0200) are re-mapped to
25 # 0x0 Boot Loader Mode. Interrupt vectors are re-mapped to
27 # 0x1 User RAM Mode. Interrupt vectors are re-mapped to
29 # 0x2 User Flash Mode. Interrupt vectors are not re-mapped
/Zephyr-Core-3.6.0/boards/arm/lpcxpresso11u68/support/
Dopenocd.cfg20 # This ensures that the interrupt vectors (0x0000-0x0200) are re-mapped to
28 # 0x0 Boot Loader Mode. Interrupt vectors are re-mapped to
30 # 0x1 User RAM Mode. Interrupt vectors are re-mapped to
32 # 0x2 User Flash Mode. Interrupt vectors are not re-mapped
/Zephyr-Core-3.6.0/samples/boards/esp32/flash_memory_mapped/src/
Dmain.c36 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 /* unmap mapped region */ in main()
/Zephyr-Core-3.6.0/dts/bindings/espi/
Dnuvoton,npcx-espi-taf.yaml13 mapped-addr = <0x68000000>;
27 mapped-addr:
30 Mapped memory address of direct read access for flash.
/Zephyr-Core-3.6.0/include/zephyr/kernel/
Dmm.h39 /** Full write-back caching. Any RAM mapped wants this. */
77 /** Region will be mapped to 1:1 virtual and physical address */
98 * @brief The mapped region is not guaranteed to be zeroed.
148 * The mapped region is not guaranteed to be physically contiguous in memory.
152 * Pages mapped in this way have write-back cache settings.
167 * @return The mapped memory location, or NULL if insufficient virtual address
174 * Un-map mapped memory
180 * Calling this function on a region which was not mapped to begin with is
/Zephyr-Core-3.6.0/dts/bindings/flash_controller/
Dnuvoton,npcx-fiu-nor.yaml15 mapped-addr = <0x64000000>;
27 mapped-addr:
30 description: Mapped memory address of direct read access for spi nor flash.
/Zephyr-Core-3.6.0/include/zephyr/xen/
Dmemory.h15 * @param idx index into space being mapped.
28 * @param foreign_domid for gmfn_foreign - domain id, whose pages being mapped,
31 * @param size number of page frames being mapped.
32 * @param idxs array of indexes into space being mapped.
/Zephyr-Core-3.6.0/kernel/
DKconfig.vm23 address from DTS, in which case RAM will be identity-mapped. Some
24 architectures may require RAM to be mapped in this way; they may have
30 Otherwise, if RAM isn't identity-mapped:
36 regions if RAM is not identity-mapped, or the virtual and physical
60 memory that is mapped at boot.
75 such as VSDO pages, memory mapped thread stacks, and anonymous memory
76 mappings. The kernel itself will be mapped in here as well at boot.
/Zephyr-Core-3.6.0/dts/bindings/adc/
Dinfineon,cat1-adc.yaml10 the board. For example on the cy8cproto_062_4343w P10.0 is mapped to adc0,channel0 and
11 P10.1 is mapped to adc0,channel1.
Dinfineon,xmc4xxx-adc.yaml8 For example on the xmc45_relax_kit P14.0 is mapped to adc0,channel0 and P14.1 is mapped to
/Zephyr-Core-3.6.0/include/zephyr/drivers/pcie/endpoint/
Dpcie_ep.h127 * @param pcie_addr Host memory buffer address to be mapped
128 * @param mapped_addr Mapped PCIe outbound region address
135 * @return Mapped size : If mapped size is less than requested size,
138 * mapped size. This situation may arise because of the
159 * Mapped PCIe outbound region address is given as argument
227 * @brief Data transfer between mapped Host memory and device memory with
231 * uses the mapped Host memory.
234 * used to achieve data transfer between mapped Host memory,
238 * @param mapped_addr Mapped Host memory address
/Zephyr-Core-3.6.0/doc/kernel/memory_management/
Dvirtual_memory.rst31 mapped memory must be backed by physical memory.
122 * If it is enabled, which means all physical memory are mapped in virtual
170 The unused physical memory can be mapped in virtual address space on demand.
181 * The mapped region is not guaranteed to be physically contiguous in memory.
183 * Guard pages immediately before and after the mapped virtual region are
187 * The mapped region can be unmapped (i.e. freed) via :c:func:`k_mem_unmap`:
191 function does not check if it is a valid mapped region before unmapping.
/Zephyr-Core-3.6.0/subsys/usb/device_next/
Dusbd_endpoint.h15 * The IN endpoints are mapped in the upper nibble.
32 * The IN endpoints are mapped in the upper nibble.
49 * The IN endpoints are mapped in the upper nibble.
/Zephyr-Core-3.6.0/kernel/include/
Dmmu.h76 * This physical page is mapped to some virtual memory address
79 * is mapped to multiple virtual pages then it must be pinned.
101 /* If mapped, virtual address this page is mapped to */
158 * of some free pages list, isn't busy, and may be mapped in memory
286 * The architecture must not call this function if the page was mapped and
288 * violation for a mapped page).
300 * @retval false This page fault was from an un-mapped page, should
/Zephyr-Core-3.6.0/dts/bindings/gpio/
Dzephyr,gpio-emul-sdl.yaml9 Add a list of scancodes for the desired keys to be mapped.
53 An array of SDL scancodes mapped to its GPIO index

12345678910