Home
last modified time | relevance | path

Searched +full:mem +full:- +full:swap (Results 1 – 14 of 14) sorted by relevance

/Zephyr-latest/dts/bindings/memory-controllers/
Dst,stm32h7-fmc.yaml2 # SPDX-License-Identifier: Apache-2.0
7 The FMC allows to interface with static-memory mapped external devices such as
16 - NOR/PSRAM memory controller
17 - NAND memory controller (some devices also support PC Card)
18 - Synchronous DRAM (SDRAM/Mobile LPSDR SDRAM) controller
27 pinctrl-0 = <&fmc_nbl0_pe0 &fmc_nbl1_pe1 &fmc_nbl2_pi4...>;
30 compatible: "st,stm32h7-fmc"
32 include: ["st,stm32-fmc.yaml"]
35 st,mem-swap:
39 - "disable"
[all …]
/Zephyr-latest/tests/bluetooth/df/connectionless_cte_chains/src/
Dtest_add_cte_to_chain.c4 * SPDX-License-Identifier: Apache-2.0
18 #include "util/mem.h"
141 /* Swap PDU double buffer and get new latest PDU data */ in ZTEST()
142 pdu_new = lll_adv_sync_data_latest_get(adv->lll.sync, NULL, &upd); in ZTEST()
144 "Unexpected value of new PDU pointer after PDU double buffer swap"); in ZTEST()
146 pdu_prev = lll_adv_sync_data_peek(adv->lll.sync, NULL); in ZTEST()
148 "Unexpected value of previous PDU pointer after PDU double buffer swap"); in ZTEST()
Dtest_remove_cte_from_chain.c4 * SPDX-License-Identifier: Apache-2.0
18 #include "util/mem.h"
45 #define TEST_PER_ADV_CHAIN_DECREASED_LENGTH (TEST_CTE_COUNT - 1)
189 /* Swap PDU double buffer and get new latest PDU data */ in remove_cte_from_chain_after_enqueue_to_lll()
190 pdu_new = lll_adv_sync_data_latest_get(adv->lll.sync, NULL, &upd); in remove_cte_from_chain_after_enqueue_to_lll()
192 "Unexpected value of new PDU pointer after PDU double buffer swap"); in remove_cte_from_chain_after_enqueue_to_lll()
194 pdu_prev = lll_adv_sync_data_peek(adv->lll.sync, NULL); in remove_cte_from_chain_after_enqueue_to_lll()
196 "Unexpected value of previous PDU pointer after PDU double buffer swap"); in remove_cte_from_chain_after_enqueue_to_lll()
198 /* Free PDUs fifo should hold single PDU released during double buffer swap. The PDU in remove_cte_from_chain_after_enqueue_to_lll()
206 * - single PDU allocated during advertising set creation, in remove_cte_from_chain_after_enqueue_to_lll()
[all …]
/Zephyr-latest/boards/arduino/portenta_h7/
Darduino_portenta_h7-common.dtsi4 * SPDX-License-Identifier: Apache-2.0
7 #include <mem.h>
11 compatible = "gpio-leds";
24 compatible = "usb-ulpi-phy";
25 reset-gpios = < &gpioj 4 GPIO_ACTIVE_LOW >;
26 #phy-cells = <0>;
52 pinctrl-0 = <&uart4_tx_pa0 &uart4_rx_pi9>;
53 pinctrl-names = "default";
54 current-speed = <115200>;
59 pinctrl-0 = <&usart1_tx_pa9 &usart1_rx_pa10>;
[all …]
/Zephyr-latest/boards/nxp/frdm_k82f/
Dfrdm_k82f.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include <mem.h>
11 #include <zephyr/dt-bindings/pwm/pwm.h>
12 #include "frdm_k82f-pinctrl.dtsi"
13 #include <zephyr/dt-bindings/input/input-event-codes.h>
23 pwm-led0 = &red_pwm_led;
24 pwm-led1 = &green_pwm_led;
25 pwm-led2 = &blue_pwm_led;
30 mcuboot-button0 = &user_button_0;
[all …]
/Zephyr-latest/subsys/mgmt/mcumgr/grp/img_mgmt/
DKconfig2 # Copyright Nordic Semiconductor ASA 2020-2022. All rights reserved.
3 # SPDX-License-Identifier: Apache-2.0
10 # MCUMGR_GRP_IMG_ -- general group options;
31 bool "Use heap mem pool for flash image DFU context"
63 non-0 "rc" codes.
66 bool "Allow to confirm secondary slot of non-active image"
69 Allows to confirm secondary (non-active) slot of non-active image.
70 Normally it should not be allowed to confirm any slots of non-active
76 bool "Allow to confirm slots of non-active image"
79 Allows to confirm any slot of non-active image.
[all …]
/Zephyr-latest/drivers/led_strip/
Dws2812_i2s.c5 * https://electronut.in/nrf52-i2s-ws2812/
7 * Note: the word "word" refers to a 32-bit integer unless otherwise stated.
11 * The I2S peripheral sends two 16-bit channel values for each clock period.
12 * A single LED color (8 data bits) will take up one 32-bit word or one LRCK
15 * SPDX-License-Identifier: Apache-2.0
28 #include <zephyr/dt-bindings/led/led.h>
49 /* Serialize an 8-bit color channel value into two 16-bit I2S values (or 1 32-bit
61 /* Swap the two I2S values due to the (audio) channel TX order. */ in ws2812_i2s_ser()
68 const struct ws2812_i2s_cfg *cfg = dev->config; in ws2812_strip_update_rgb()
69 const uint8_t sym_one = cfg->nibble_one; in ws2812_strip_update_rgb()
[all …]
/Zephyr-latest/doc/releases/
Drelease-notes-2.1.rst13 * Expanded support for ARMv6-M architecture.
50 hardware-based stack overflow detection) in ARMv6-M architecture
51 * Added QEMU support for ARMv6-M architecture
52 * Extended test coverage for ARM-specific kernel features in ARMv6-M
54 * Enhanced runtime MPU programming in ARMv8-M architecture, making
55 the full partitioning of kernel SRAM memory a user-configurable
57 * Added CMSIS support for Cortex-R architectures.
59 * Added missing Cortex-R CPU device tree bindings.
60 * Fixed incorrect Cortex-R device tree specification.
68 * RISC-V:
[all …]
Drelease-notes-4.0.rst15 is now the standard way to provide device-specific protection to data at rest. (:github:`76222`)
18 :ref:`ZMS <zms_api>` is a new key-value storage subsystem compatible with all non-volatile storage
25 runtime configuration through vendor specific APIs. Initially the :dtcompatible:`nordic,nrf-comp`,
26 :dtcompatible:`nordic,nrf-lpcomp` and :dtcompatible:`nxp,kinetis-acmp` are supported.
31 Initially implemented drivers include a simple :dtcompatible:`zephyr,gpio-steppers` and a complex
32 sensor-less stall-detection capable with integrated ramp-controller :dtcompatible:`adi,tmc5041`.
50 directory for :zephyr:code-sample-category:`code samples <samples>`.
70 * :cve:`2024-8798`: Under embargo until 2024-11-22
71 * :cve:`2024-10395`: Under embargo until 2025-01-23
72 * :cve:`2024-11263` `Zephyr project bug tracker GHSA-jjf3-7x72-pqm9
[all …]
Drelease-notes-3.3.rst14 * Introduced :ref:`USB-C <usbc_api>` device stack with PD (power delivery)
17 CMSIS-DSP as the default backend.
30 * CVE-2023-0359: Under embargo until 2023-04-20
32 * CVE-2023-0779: Under embargo until 2023-04-22
66 removed in favor of new :dtcompatible:`zephyr,flash-disk` devicetree binding.
71 * Starting from this release ``zephyr-`` prefixed tags won't be created
82 image states). Use of a truncated hash or non-sha256 hash will still work
88 registration function at boot-up. If applications register this then
93 application code, these will now automatically be registered at boot-up (this
129 This may cause out-of-tree scripts or commands to fail if they have relied
[all …]
Drelease-notes-3.2.rst13 * Added support for :ref:`bin-blobs` (also see :ref:`west-blobs`).
15 * Converted all supported boards from ``pinmux`` to :ref:`pinctrl-guide`.
31 * CVE-2022-2993: Under embargo until 2022-11-03
33 * CVE-2022-2741: Under embargo until 2022-10-14
56 This definition can be used by third-party code to compile code conditional
58 Therefore, any third-party code integrated using the Zephyr build system will
91 changed from ``-ENETDOWN`` to ``-ENETUNREACH``. A return value of ``-ENETDOWN`` now indicates
129 * Removed support for configuring the CAN-FD maximum DLC value via Kconfig
156 valid for specific bindings to specify like :dtcompatible:`gpio-leds` and
157 :dtcompatible:`fixed-partitions`.
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_filter.c2 * Copyright (c) 2017-2019 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
18 #include "util/mem.h"
241 if (addr->type == ADDR_TYPE_ANON) { in ll_fal_add()
248 return filter_add(&fal_filter, addr->type, addr->a.val); in ll_fal_add()
266 if (addr->type == ADDR_TYPE_ANON) { in ll_fal_remove()
273 return filter_remove(&fal_filter, addr->type, addr->a.val); in ll_fal_remove()
312 i = ull_filter_rl_find(id_addr->type, id_addr->a.val, &j); in ll_rl_add()
324 bt_addr_copy(&rl[i].id_addr, &id_addr->a); in ll_rl_add()
325 rl[i].id_addr_type = id_addr->type & 0x1; in ll_rl_add()
[all …]
Dull_llcp_pdu.c4 * SPDX-License-Identifier: Apache-2.0
18 #include "util/mem.h"
71 pdu->ll_id = PDU_DATA_LLID_CTRL; in llcp_pdu_encode_ping_req()
72 pdu->len = PDU_DATA_LLCTRL_LEN(ping_req); in llcp_pdu_encode_ping_req()
73 pdu->llctrl.opcode = PDU_DATA_LLCTRL_TYPE_PING_REQ; in llcp_pdu_encode_ping_req()
78 pdu->ll_id = PDU_DATA_LLID_CTRL; in llcp_pdu_encode_ping_rsp()
79 pdu->len = PDU_DATA_LLCTRL_LEN(ping_rsp); in llcp_pdu_encode_ping_rsp()
80 pdu->llctrl.opcode = PDU_DATA_LLCTRL_TYPE_PING_RSP; in llcp_pdu_encode_ping_rsp()
89 pdu->ll_id = PDU_DATA_LLID_CTRL; in llcp_pdu_encode_unknown_rsp()
90 pdu->len = PDU_DATA_LLCTRL_LEN(unknown_rsp); in llcp_pdu_encode_unknown_rsp()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_conn.c2 * Copyright (c) 2018-2020 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
22 #include "util/mem.h"
94 force_md_cnt--; \
103 (trx_cnt >= ((CONFIG_BT_BUF_ACL_TX_COUNT) - 1))) { \
167 if (lll->forced) { in lll_conn_central_is_abort_cb()
175 return -EBUSY; in lll_conn_central_is_abort_cb()
178 return -ECANCELED; in lll_conn_central_is_abort_cb()
189 if (lll->forced) { in lll_conn_peripheral_is_abort_cb()
197 return -EBUSY; in lll_conn_peripheral_is_abort_cb()
[all …]