| /Zephyr-latest/drivers/interrupt_controller/ |
| D | Kconfig.shared_irq | 4 # SPDX-License-Identifier: Apache-2.0 7 bool "Shared interrupt driver" 11 Include shared interrupt support in system. Shared interrupt 15 int "Shared IRQ init priority" 19 Shared IRQ are initialized on POST_KERNEL init level. They
|
| D | intc_esp32.c | 4 * SPDX-License-Identifier: Apache-2.0 49 /* Typedef for C-callable interrupt handler function */ 53 /* shared critical section context */ 111 if (vd->cpu > to_insert->cpu) { in insert_vector_desc() 114 if (vd->cpu == to_insert->cpu && vd->intno >= to_insert->intno) { in insert_vector_desc() 118 vd = vd->next; in insert_vector_desc() 122 to_insert->next = vd; in insert_vector_desc() 125 prev->next = to_insert; in insert_vector_desc() 126 to_insert->next = vd; in insert_vector_desc() 136 if (vd->cpu == cpu && vd->intno == intno) { in find_desc_for_int() [all …]
|
| /Zephyr-latest/boards/nxp/lpcxpresso55s69/ |
| D | board.c | 3 * SPDX-License-Identifier: Apache-2.0 18 * Flexcomm 6 and 7 are connected to codec on board, and shared signal in board_early_init_hook() 23 /* Set shared signal set 0 SCK, WS from Transmit I2S - Flexcomm 7 */ in board_early_init_hook() 24 SYSCTL->SHAREDCTRLSET[0] = SYSCTL_SHAREDCTRLSET_SHAREDSCKSEL(7) | in board_early_init_hook() 28 /* Select Data in from Transmit I2S - Flexcomm 7 */ in board_early_init_hook() 29 SYSCTL->SHAREDCTRLSET[0] |= SYSCTL_SHAREDCTRLSET_SHAREDDATASEL(7); in board_early_init_hook() 30 /* Enable Transmit I2S - Flexcomm 7 for Shared Data Out */ in board_early_init_hook() 31 SYSCTL->SHAREDCTRLSET[0] |= SYSCTL_SHAREDCTRLSET_FC7DATAOUTEN(1); in board_early_init_hook() 34 /* Set Receive I2S - Flexcomm 6 SCK, WS from shared signal set 0 */ in board_early_init_hook() 35 SYSCTL->FCCTRLSEL[6] = SYSCTL_FCCTRLSEL_SCKINSEL(1) | in board_early_init_hook() [all …]
|
| /Zephyr-latest/samples/drivers/virtualization/ivshmem/doorbell/ |
| D | README.rst | 1 .. zephyr:code-sample:: ivshmem-doorbell 3 :relevant-api: ivshmem 5 Use Inter-VM Shared Memory to exchange messages between two processes running on different 20 ivshmem-server needs to be available and running. The server is available in 21 Zephyr SDK or pre-built in some distributions. Otherwise, it is available in 24 ivshmem-client needs to be available as it is employed in this sample as an 25 external application. The same conditions of ivshmem-server applies to the 26 ivshmem-server, as it is also available via QEMU. 31 Building ivshmem-doorbell is as follows: 36 .. zephyr-app-commands:: [all …]
|
| /Zephyr-latest/include/zephyr/multi_heap/ |
| D | shared_multi_heap.h | 4 * SPDX-License-Identifier: Apache-2.0 9 * @brief Public API for Shared Multi-Heap framework 28 * @brief Shared Multi-Heap (SMH) interface 29 * @defgroup shared_multi_heap Shared multi-heap interface 33 * The shared multi-heap manager uses the multi-heap allocator to manage a set 35 * non-cacheable, etc...). 37 * All the different regions can be added at run-time to the shared multi-heap 44 * - At boot time some platform code initialize the shared multi-heap 49 * - Each memory region encoded in a @ref shared_multi_heap_region structure. 50 * This structure is also carrying an opaque and user-defined integer value [all …]
|
| /Zephyr-latest/boards/ezurio/bl5340_dvk/ |
| D | bl5340_dvk_nrf5340_shared_sram_planning_conf.dtsi | 5 * SPDX-License-Identifier: Apache-2.0 8 /* Default shared SRAM planning when building for BL5340 DVK. 11 * - 64 kB SRAM allocated as Shared memory (sram0_shared) 12 * - Region defined after the image SRAM of Application MCU 17 /* shared memory reserved for the inter-processor communication */ 21 reserved-memory { 22 #address-cells = <1>; 23 #size-cells = <1>; 27 /* SRAM allocated to shared memory */
|
| /Zephyr-latest/drivers/firmware/scmi/ |
| D | Kconfig | 2 # SPDX-License-Identifier: Apache-2.0 14 bool "SCMI transport based on shared memory and doorbells" 20 Enable support for SCMI transport based on shared memory 39 bool "SCMI shared memory (SHMEM) driver" 43 Enable support for SCMI shared memory (SHMEM) driver. 46 int "SCMI shared memory (SHMEM) initialization priority" 58 allocation scheme (i.e: use protocol-specific channels if
|
| /Zephyr-latest/boards/nxp/mimxrt685_evk/ |
| D | init.c | 3 * SPDX-License-Identifier: Apache-2.0 18 /* Set shared signal set 0 SCK, WS from Transmit I2S - Flexcomm3 */ in board_early_init_hook() 19 SYSCTL1->SHAREDCTRLSET[0] = SYSCTL1_SHAREDCTRLSET_SHAREDSCKSEL(3) | in board_early_init_hook() 23 /* Select Data in from Transmit I2S - Flexcomm 3 */ in board_early_init_hook() 24 SYSCTL1->SHAREDCTRLSET[0] |= SYSCTL1_SHAREDCTRLSET_SHAREDDATASEL(3); in board_early_init_hook() 25 /* Enable Transmit I2S - Flexcomm 3 for Shared Data Out */ in board_early_init_hook() 26 SYSCTL1->SHAREDCTRLSET[0] |= SYSCTL1_SHAREDCTRLSET_FC3DATAOUTEN(1); in board_early_init_hook() 29 /* Set Receive I2S - Flexcomm 1 SCK, WS from shared signal set 0 */ in board_early_init_hook() 30 SYSCTL1->FCCTRLSEL[1] = SYSCTL1_FCCTRLSEL_SCKINSEL(1) | in board_early_init_hook() 33 /* Set Transmit I2S - Flexcomm 3 SCK, WS from shared signal set 0 */ in board_early_init_hook() [all …]
|
| /Zephyr-latest/drivers/gpio/ |
| D | gpio_lpc11u6x.c | 5 * SPDX-License-Identifier: Apache-2.0 76 * @brief Structure for resources and information shared between GPIO ports. 78 * This structure is included by all the per-port private configuration. 79 * It gathers all the resources and information shared between all the GPIO 93 const struct gpio_lpc11u6x_shared *shared; member 108 const struct gpio_lpc11u6x_config *config = port->config; in gpio_lpc11u6x_pin_configure() 110 (config->shared->gpio_base + LPC11U6X_GPIO_REGS); in gpio_lpc11u6x_pin_configure() 111 uint8_t port_num = config->port_num; in gpio_lpc11u6x_pin_configure() 115 if (pin >= config->ngpios) { in gpio_lpc11u6x_pin_configure() 116 return -EINVAL; in gpio_lpc11u6x_pin_configure() [all …]
|
| /Zephyr-latest/include/zephyr/drivers/ |
| D | tee.h | 4 * SPDX-License-Identifier: Apache-2.0 14 * Copyright (c) 2015-2016, Linaro Limited 54 * It also can be presented as the separate secure co-processors. It allows system 58 * - tee_get_version() to get current TEE capabilities 59 * - tee_open_session() to open new session to the TA 60 * - tee_close_session() to close session to the TA 61 * - tee_cancel() to cancel session or invoke function 62 * - tee_invoke_func() to invoke function to the TA 63 * - tee_shm_register() to register shared memory region 64 * - tee_shm_unregister() to unregister shared memory region [all …]
|
| /Zephyr-latest/doc/services/virtualization/ |
| D | ivshmem.rst | 3 Inter-VM Shared Memory 16 This is made possible by exposing a shared memory among parties via a feature 17 called ivshmem, which stands for inter-VM Shared Memory. 19 The two types are supported: a plain shared memory (ivshmem-plain) or a shared 21 thus to be interrupted as well itself (ivshmem-doorbell). 34 Because the doorbell version uses MSI-X vectors to support notification vectors, 41 ivshmem-v2 44 Zephyr also supports ivshmem-v2: 46 https://github.com/siemens/jailhouse/blob/master/Documentation/ivshmem-v2-specification.md 49 (e.g. :zephyr:code-sample:`eth-ivshmem`). It is also possible to use ivshmem-v2 without
|
| /Zephyr-latest/dts/bindings/interrupt-controller/ |
| D | shared-irq.yaml | 1 description: Shared IRQ interrupt dispatcher 3 compatible: "shared-irq" 5 include: [interrupt-controller.yaml, base.yaml]
|
| /Zephyr-latest/boards/nxp/mimxrt1010_evk/ |
| D | mimxrt1010_evk.dts | 3 * Copyright 2019,2023-2024 NXP 5 * SPDX-License-Identifier: Apache-2.0 8 /dts-v1/; 11 #include "mimxrt1010_evk-pinctrl.dtsi" 12 #include <zephyr/dt-bindings/input/input-event-codes.h> 15 model = "NXP MIMXRT1010-EVK board"; 21 mcuboot-button0 = &user_button; 29 zephyr,shell-uart = &lpuart1; 31 zephyr,flash-controller = &at25sf128a; 32 zephyr,code-partition = &slot0_partition; [all …]
|
| /Zephyr-latest/doc/kernel/memory_management/ |
| D | shared_multi_heap.rst | 3 Shared Multi Heap 6 The shared multi-heap memory pool manager uses the multi-heap allocator to 8 attributes (cacheable, non-cacheable, etc...). 10 All the different regions can be added at run-time to the shared multi-heap 16 1. At boot time some platform code initialize the shared multi-heap framework 22 structure. This structure is also carrying an opaque and user-defined 26 .. code-block:: c 28 // Init the shared multi-heap pool 50 // Add a non-cacheable region 67 .. code-block:: c [all …]
|
| /Zephyr-latest/dts/common/nordic/ |
| D | nrf5340_shared_sram_partition.dtsi | 5 * SPDX-License-Identifier: Apache-2.0 7 * This file specifies the default shared memory region used for inter-procesor 13 * used, it is up to the author to ensure the shared memory region resides in 14 * the memory range allocated to the non-secure image (sram0_ns). 16 * By default the last 64 kB of application core SRAM is allocated as shared 25 reserved-memory { 26 #address-cells = <1>; 27 #size-cells = <1>;
|
| /Zephyr-latest/subsys/ipc/rpmsg_service/ |
| D | rpmsg_backend.h | 4 * SPDX-License-Identifier: Apache-2.0 23 #define SHM_SIZE (VDEV_SIZE - VDEV_STATUS_SIZE) 29 * @param io Shared memory IO region. This is an output parameter providing 30 * a pointer to an actual shared memory IO region structure. 32 * pointer to the shared memory IO region structure is stored.
|
| /Zephyr-latest/doc/services/ipc/ipc_service/backends/ |
| D | ipc_service_icmsg.rst | 13 The ICMsg backend uses shared memory and MBOX devices for exchanging data. 14 Shared memory is used to store the data, MBOX devices are used to signal that 27 * If at least one of the cores uses data cache on shared memory, set the ``dcache-alignment`` value. 28 …This must be the largest value of the invalidation or the write-back size for both sides of the co… 29 You can skip it if none of the communication sides is using data cache on shared memory. 30 * Define two memory regions and assign them to ``tx-region`` and ``rx-region`` 40 Make sure that you set correct value of the ``dcache-alignment``. 46 .. code-block:: devicetree 48 reserved-memory { 60 compatible = "zephyr,ipc-icmsg"; [all …]
|
| /Zephyr-latest/dts/bindings/ipm/ |
| D | espressif,esp32-ipm.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 compatible: "espressif,esp32-ipm" 14 shared-memory: 18 shared-memory-size:
|
| /Zephyr-latest/soc/adi/max32/ |
| D | max7800x.ld | 4 * SPDX-License-Identifier: Apache-2.0 7 SECTION_PROLOGUE(.shared,, SUBALIGN(4)) 11 *(.shared*)
|
| /Zephyr-latest/dts/bindings/mbox/ |
| D | espressif,mbox-esp32.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 compatible: "espressif,mbox-esp32" 8 include: [base.yaml, mailbox-controller.yaml] 14 shared-memory: 18 shared-memory-size: 25 mbox-cells: 26 - channel
|
| /Zephyr-latest/dts/arm/st/f1/ |
| D | stm32f103Xg.dtsi | 1 /* SPDX-License-Identifier: Apache-2.0 18 flash-controller@40022000 { 22 * This matters if you're doing in-application 24 * read-while-write capabilities, but is 25 * otherwise a non-issue. 28 erase-block-size = <DT_SIZE_K(2)>; 33 compatible = "st,stm32-timers"; 37 /* Shared with TIM1_BRK */ 43 compatible = "st,stm32-pwm"; 45 #pwm-cells = <3>; [all …]
|
| /Zephyr-latest/tests/subsys/ipc/ipc_sessions/interoperability/ |
| D | Kconfig.icmsg_v1 | 2 # SPDX-License-Identifier: Apache-2.0 5 bool "Synchronize access to shared memory" 9 Provide synchronization access to shared memory at a library level. 58 from the system work queue. The queue is shared among instances. 62 default -1 63 range -256 -1 74 range -256 -1 if !IPC_SERVICE_BACKEND_ICMSG_WQ_ENABLE_V1 80 with read/write semantics on top of a memory region shared by the
|
| /Zephyr-latest/drivers/ethernet/ |
| D | Kconfig.ivshmem | 4 # SPDX-License-Identifier: Apache-2.0 7 bool "Inter-VM shared memory Ethernet driver" 14 Enable Inter-VM Shared Memory Ethernet driver.
|
| /Zephyr-latest/drivers/video/ |
| D | Kconfig | 4 # SPDX-License-Identifier: Apache-2.0 17 module-str = video 39 bool "Use shared multi heap for video buffer" 43 int "Shared multi heap attribute for video buffer" 48 Shared multi heap attribute for video buffer:
|
| /Zephyr-latest/include/zephyr/drivers/interrupt_controller/ |
| D | intc_esp32.h | 4 * SPDX-License-Identifier: Apache-2.0 17 * Interrupt allocation flags - These flags can be used to specify 30 #define ESP_INTR_FLAG_SHARED (1<<8) /* Interrupt can be shared between ISRs */ 31 #define ESP_INTR_FLAG_EDGE (1<<9) /* Edge-triggered interrupt */ 62 * pass these pseudo-sources to the functions. 64 #define ETS_INTERNAL_TIMER0_INTR_SOURCE -1 /* Xtensa timer 0 interrupt source */ 65 #define ETS_INTERNAL_TIMER1_INTR_SOURCE -2 /* Xtensa timer 1 interrupt source */ 66 #define ETS_INTERNAL_TIMER2_INTR_SOURCE -3 /* Xtensa timer 2 interrupt source */ 67 #define ETS_INTERNAL_SW0_INTR_SOURCE -4 /* Software int source 1 */ 68 #define ETS_INTERNAL_SW1_INTR_SOURCE -5 /* Software int source 2 */ [all …]
|