Home
last modified time | relevance | path

Searched +full:reset +full:- +full:on +full:- +full:invalid +full:- +full:access (Results 1 – 25 of 119) sorted by relevance

12345

/Zephyr-latest/dts/bindings/watchdog/
Dnxp,s32-swt.yaml1 # Copyright 2022-2024 NXP
2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "nxp,s32-swt"
20 master-access-mask:
24 Each bit set on this mask enables access to this watchdog for the platform
26 are chip-specific.
27 Defaults to access enabled for all masters (hardware reset value).
29 reset-on-invalid-access:
32 Set this flag to generate a reset on respond to an invalid access.
34 service-mode:
[all …]
/Zephyr-latest/drivers/disk/nvme/
Dnvme_cmd.c3 * SPDX-License-Identifier: Apache-2.0
40 { NVME_SC_INVALID_OPCODE, "INVALID OPCODE" },
44 { NVME_SC_ABORTED_POWER_LOSS, "ABORTED - POWER LOSS" },
46 { NVME_SC_ABORTED_BY_REQUEST, "ABORTED - BY REQUEST" },
47 { NVME_SC_ABORTED_SQ_DELETION, "ABORTED - SQ DELETION" },
48 { NVME_SC_ABORTED_FAILED_FUSED, "ABORTED - FAILED FUSED" },
49 { NVME_SC_ABORTED_MISSING_FUSED, "ABORTED - MISSING FUSED" },
50 { NVME_SC_INVALID_NAMESPACE_OR_FORMAT, "INVALID NAMESPACE OR FORMAT" },
52 { NVME_SC_INVALID_SGL_SEGMENT_DESCR, "INVALID SGL SEGMENT DESCRIPTOR" },
53 { NVME_SC_INVALID_NUMBER_OF_SGL_DESCR, "INVALID NUMBER OF SGL DESCRIPTORS" },
[all …]
/Zephyr-latest/subsys/mgmt/ec_host_cmd/backends/
Dec_host_cmd_backend_shi_ite.c4 * SPDX-License-Identifier: Apache-2.0
14 #include <zephyr/dt-bindings/gpio/ite-it8xxx2-gpio.h>
22 BUILD_ASSERT(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) == 1, "Invalid number of ITE SHI peripherals");
32 (SPI_TX_MAX_FIFO_SIZE - EC_SHI_PREAMBLE_LENGTH - EC_SHI_PAST_END_LENGTH)
93 if (atomic_test_and_set_bit(data->pm_policy_state_flag, flag) == 0) { in shi_ite_pm_policy_state_lock_get()
95 k_work_reschedule(&data->cs_off_put, K_SECONDS(3)); in shi_ite_pm_policy_state_lock_get()
102 if (atomic_test_and_clear_bit(data->pm_policy_state_flag, flag) == 1) { in shi_ite_pm_policy_state_lock_put()
104 k_work_cancel_delayable(&data->cs_off_put); in shi_ite_pm_policy_state_lock_put()
110 * Under the condition, SoC will not enter deep sleep until AP de-assert the CS.
149 data->shi_state = state; in shi_ite_set_state()
[all …]
/Zephyr-latest/arch/arm/core/cortex_m/
Dfault.c5 * SPDX-License-Identifier: Apache-2.0
10 * @brief Common fault handler for ARM Cortex-M
12 * Common fault handler for ARM Cortex-M processors.
19 #include <zephyr/linker/linker-defs.h>
43 /* Integrity signature for an ARMv8-M implementation */
51 * to the Secure stack during a Non-Secure exception entry.
56 /* helpers to access memory/bus/usage faults */
58 (uint32_t)((SCB->CFSR & SCB_CFSR_MEMFAULTSR_Msk) \
61 (uint32_t)((SCB->CFSR & SCB_CFSR_BUSFAULTSR_Msk) \
64 (uint32_t)((SCB->CFSR & SCB_CFSR_USGFAULTSR_Msk) \
[all …]
/Zephyr-latest/include/zephyr/bluetooth/mesh/
Dcdb.h4 * SPDX-License-Identifier: Apache-2.0
95 * @return 0 on success or negative error code on failure.
101 * Remove all nodes, subnets and app-keys stored in the database and mark
102 * the database as invalid. The data will be cleared from persistent storage
135 * end of the unicast address range, or if @c addr is non-zero and less
155 * available address is reset and the deleted addresses can be reused only
195 * Using security library with PSA implementation access to the key by pointer
202 * @return 0 on success or negative error code on failure.
208 * Using security library with PSA implementation access to the key by pointer
215 * @return 0 on success or negative error code on failure.
[all …]
/Zephyr-latest/doc/releases/
Drelease-notes-3.0.rst22 * CVE-2021-3835: `Zephyr project bug tracker GHSA-fm6v-8625-99jf
23 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-fm6v-8625-99jf>`_
25 * CVE-2021-3861: `Zephyr project bug tracker GHSA-hvfp-w4h8-gxvj
26 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-hvfp-w4h8-gxvj>`_
28 * CVE-2021-3966: `Zephyr project bug tracker GHSA-hfxq-3w6x-fv2m
29 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-hfxq-3w6x-fv2m>`_
36 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_.
53 * Added ``ranges`` and ``dma-ranges`` as invalid property to be used with DT_PROP_LEN()
58 CRC-16-ANSI checksum. A new function, :c:func:`crc16_reflect`, has been
69 * The following Kconfig options related to radio front-end modules (FEMs) were
[all …]
Drelease-notes-2.6.rst13 * Added support for 64-bit ARCv3
14 * Split ARM32 and ARM64, ARM64 is now a top-level architecture
15 * Added initial support for Arm v8.1-m and Cortex-M55
22 https://github.com/zephyrproject-rtos/example-application
34 * CVE-2021-3581: Under embargo until 2021-09-04
41 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_.
46 * Driver APIs now return ``-ENOSYS`` if optional functions are not implemented.
47 If the feature is not supported by the hardware ``-ENOTSUP`` will be returned.
48 Formerly ``-ENOTSUP`` was returned for both failure modes, meaning this change
194 * Added support for null pointer dereferencing detection in Cortex-M.
[all …]
Drelease-notes-1.14.rst17 * CVE-2020-10066
18 * CVE-2020-10069
19 * CVE-2020-13601
20 * CVE-2020-13602
32 * :github:`issuenumber` - issue title
34 * :github:`18334` - DNS resolution is broken for some addresses in master/2.0-pre
35 * :github:`19917` - Bluetooth: Controller: Missing LL_ENC_RSP after HCI LTK Negative Reply
36 * :github:`21107` - LL_ASSERT and 'Imprecise data bus error' in LL Controller
37 * :github:`21257` - tests/net/net_pkt failed on mimxrt1050_evk board.
38 * :github:`21299` - bluetooth: Controller does not release buffer on central side after peripheral
[all …]
Drelease-notes-2.7.rst17 * Support for M-Profile Vector Extensions (MVE) on ARMv8.1-M
18 * Improved thread safety for Newlib and C++ on SMP-capable systems
20 * New Action-based Power Management API
23 * Linker Support for Tightly-Coupled Memory in RISC-V
25 * Support for extended PCI / PCIe capabilities, improved MIS-X support
33 * The kernel now supports both 32- and 64-bit architectures
36 * We added support for Point-to-Point Protocol (PPP)
37 * We added support for UpdateHub, an end-to-end solution for over-the-air device updates
38 * We added support for ARM Cortex-R Architecture
40 * Expanded support for ARMv6-M architecture
[all …]
Drelease-notes-3.1.rst29 must set the :c:member:`chan_opt` field on the GATT parameter structs.
33 with SD cards. See :ref:`the disk access api <disk_access_api>` for an
61 * Split CAN classic and CAN-FD APIs:
90 was moved from Kconfig to :ref:`devicetree <dt-guide>`.
91 See the :dtcompatible:`st,stm32f1-pinctrl` devicetree binding for more information.
182 * MIPI-DSI
184 * Added a :ref:`MIPI-DSI api <mipi_dsi_api>`. This is an experimental API,
196 * Added support for enabling/disabling CAN-FD mode at runtime using :c:macro:`CAN_MODE_FD`.
210 * Added support for the Hearing Access Service (HAS)
220 * Added support for Provisioners over PB-GATT
[all …]
Drelease-notes-2.5.rst16 * Added support for building with LLVM on X86
18 * Add support for demand paging, initial support on X86.
27 * CVE-2021-3323: Under embargo until 2021-04-14
28 * CVE-2021-3321: Under embargo until 2021-04-14
29 * CVE-2021-3320: Under embargo until 2021-04-14
39 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_.
56 * Changed vcnl4040 dts binding default for property 'proximity-trigger'.
63 * The :c:func:`mqtt_keepalive_time_left` function now returns -1 if keep alive
67 timeout usage must use the new-style k_timeout_t type and not the
86 drivers to ensure the device they access has been powered up. For simple
[all …]
Drelease-notes-2.2.rst18 * Fix CVE-2020-10028
19 * Fix CVE-2020-10060
20 * Fix CVE-2020-10063
21 * Fix CVE-2020-10066
32 * :github:`23494` - Bluetooth: LL/PAC/SLA/BV-01-C fails if Slave-initiated Feature Exchange is disa…
33 * :github:`23485` - BT: host: Service Change indication sent regardless of whether it is needed or …
34 * :github:`23482` - 2M PHY + DLE and timing calculations on an encrypted link are wrong
35 * :github:`23070` - Bluetooth: controller: Fix ticker implementation to avoid catch up
36 * :github:`22967` - Bluetooth: controller: ASSERTION FAIL on invalid packet sequence
37 * :github:`24183` - [v2.2] Bluetooth: controller: split: Regression slave latency during connection…
[all …]
/Zephyr-latest/drivers/memc/
Dmemc_mcux_flexspi.c2 * Copyright 2020-2023 NXP
4 * SPDX-License-Identifier: Apache-2.0
22 * at runtime, so that the chip does not access the flexspi to read program
27 read-while-write hazards. This configuration is not recommended."
47 /* flexspi device data should be stored in RAM to avoid read-while-write hazards */
75 struct memc_flexspi_data *data = dev->data; in memc_flexspi_wait_bus_idle()
77 while (false == FLEXSPI_GetBusIdleStatus(data->base)) { in memc_flexspi_wait_bus_idle()
83 struct memc_flexspi_data *data = dev->data; in memc_flexspi_is_running_xip()
85 return data->xip; in memc_flexspi_is_running_xip()
92 struct memc_flexspi_data *data = dev->data; in memc_flexspi_update_clock()
[all …]
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dcsip_set_coordinator.c6 * Copyright (c) 2021-2022 Nordic Semiconductor ASA
8 * SPDX-License-Identifier: Apache-2.0
108 shell_print(ctx_shell, "Found %zu sets on member[%u]", in csip_discover_cb()
112 shell_print(ctx_shell, "CSIS[%zu]: %p", i, &member->insts[i]); in csip_discover_cb()
113 shell_print(ctx_shell, "\tRank: %u", member->insts[i].info.rank); in csip_discover_cb()
114 shell_print(ctx_shell, "\tSet Size: %u", member->insts[i].info.set_size); in csip_discover_cb()
115 shell_print(ctx_shell, "\tLockable: %u", member->insts[i].info.lockable); in csip_discover_cb()
146 printk("Ordered access failed with err %d\n", err); in csip_set_coordinator_ordered_access_cb()
148 printk("Cannot do ordered access as member %p is locked\n", in csip_set_coordinator_ordered_access_cb()
151 printk("Ordered access procedure finished\n"); in csip_set_coordinator_ordered_access_cb()
[all …]
/Zephyr-latest/drivers/usb/device/
Dusb_dc_dw.c5 * SPDX-License-Identifier: Apache-2.0
56 /* FIXME: The actual MPS depends on endpoint type and bus speed. */
59 /* Number of SETUP back-to-back packets */
62 /* Get Data FIFO access register */
104 const struct pinctrl_dev_config *const pcfg = config->pcfg; in usb_dw_init_pinctrl()
189 "0x%x", base->gotgctl, base->gotgint, base->gahbcfg); in usb_dw_reg_dump()
191 base->gusbcfg, base->gintsts, base->gintmsk); in usb_dw_reg_dump()
193 base->dcfg, base->dctl, base->dsts); in usb_dw_reg_dump()
195 base->diepmsk, base->doepmsk, base->daint); in usb_dw_reg_dump()
197 base->daintmsk, base->ghwcfg1, base->ghwcfg2); in usb_dw_reg_dump()
[all …]
/Zephyr-latest/include/zephyr/drivers/
Dw1.h5 * SPDX-License-Identifier: Apache-2.0
10 * @brief Public 1-Wire Driver APIs
27 * @brief 1-Wire Interface
28 * @defgroup w1_interface 1-Wire Interface
38 * Count the number of slaves expected on the bus.
46 (FOR_EACH(F1, (+), DT_SUPPORTS_DEP_ORDS(node_id)) - 1)
53 * @brief Defines the 1-Wire master settings types, which are runtime configurable.
74 /** Configuration common to all 1-Wire master implementations. */
80 /** Data common to all 1-Wire master implementations. */
118 struct w1_master_data *ctrl_data = (struct w1_master_data *)dev->data; in z_impl_w1_change_bus_lock()
[all …]
/Zephyr-latest/doc/develop/test/
Dztest.rst1 .. _test-framework:
19 * ``suite_name`` - The name of the suite. This name must be unique within a single binary.
20 * :c:type:`ztest_suite_predicate_t` - An optional predicate function to allow choosing when the
23 * :c:type:`ztest_suite_setup_t` - An optional setup function which returns a test fixture. This
25 * :c:type:`ztest_suite_before_t` - An optional before function which will run before every single
27 * :c:type:`ztest_suite_after_t` - An optional after function which will run after every single
29 * :c:type:`ztest_suite_teardown_t` - An optional teardown function which will run at the end of
34 .. code-block:: C
41 return ((const struct test_state*)global_state)->x == 5;
51 * :c:macro:`ZTEST` ``(suite_name, test_name)`` - Which can be used to add a test by ``test_name`` t…
[all …]
/Zephyr-latest/include/zephyr/sys/
Dmem_blocks.h4 * SPDX-License-Identifier: Apache-2.0
63 * This is a user-provided functions whose responsibility is selecting
64 * a specific memory blocks allocator based on the opaque cfg value,
70 * allocation to fail and a -EINVAL reported to the calling code.
73 * @param cfg An opaque user-provided value. It may be interpreted in
104 /* Spinlock guarding access to memory block internals */
220 * @retval -EINVAL Invalid argument supplied.
221 * @retval -ENOMEM Not enough blocks for allocation.
237 * @retval -EINVAL Invalid argument supplied.
238 * @retval -ENOMEM Not enough contiguous blocks for allocation.
[all …]
/Zephyr-latest/drivers/flash/
Dflash_stm32.c7 * SPDX-License-Identifier: Apache-2.0
37 * between them based on the presence of the PECR register. */
66 if (FLASH_STM32_REGS(dev)->FLASH_STM32_SR & FLASH_STM32_SR_ERRORS) { in flash_stm32_check_status()
68 (unsigned long)FLASH_STM32_REGS(dev)->FLASH_STM32_SR & in flash_stm32_check_status()
71 FLASH_STM32_REGS(dev)->FLASH_STM32_SR = FLASH_STM32_REGS(dev)->FLASH_STM32_SR & in flash_stm32_check_status()
73 return -EIO; in flash_stm32_check_status()
88 return -EIO; in flash_stm32_wait_flash_idle()
98 while ((FLASH_STM32_REGS(dev)->FLASH_STM32_SR & busy_flags)) { in flash_stm32_wait_flash_idle()
101 return -EIO; in flash_stm32_wait_flash_idle()
126 if (regs->ACR & FLASH_ACR_DCEN) { in flash_stm32_flush_caches()
[all …]
Dspi_nor.c2 * Copyright (c) 2018 Savoir-Faire Linux.
8 * SPDX-License-Identifier: Apache-2.0
36 * * Some devices support a Deep Power-Down mode which reduces current
41 * * PM_DEVICE_STATE_SUSPENDED corresponds to deep-power-down mode;
63 #define DEV_CFG(_dev_) ((const struct spi_nor_config * const) (_dev_)->config)
66 /* MXICY Low-power/high perf mode is second bit in configuration register 2 */
72 /* Build-time data associated with the device. */
78 const struct gpio_dt_spec reset; member
92 /* Expected JEDEC ID, from jedec-id property */
96 /* Optional support for entering 32-bit address mode. */
[all …]
/Zephyr-latest/drivers/rtc/
Drtc_ll_stm32.c6 * SPDX-License-Identifier: Apache-2.0
76 #define MIN_PPB -NB_PULSES_TO_PPB(MAX_CALM)
102 * After system reset, the RTC registers are protected against parasitic write access by the
104 * Hence, DBP bit must be set in order to enable RTC registers write access.
126 /* user-defined alarm mask, values from RTC_ALARM_TIME_MASK */
144 const struct rtc_stm32_config *cfg = dev->config; in rtc_stm32_configure()
155 * only if needed to avoid inducing time drift at each reset in rtc_stm32_configure()
158 (sync_prescaler != cfg->sync_prescaler) || in rtc_stm32_configure()
159 (async_prescaler != cfg->async_prescaler)) { in rtc_stm32_configure()
164 LL_RTC_SetSynchPrescaler(RTC, cfg->sync_prescaler); in rtc_stm32_configure()
[all …]
/Zephyr-latest/include/zephyr/logging/
Dlog_frontend_stmesp_demux.h4 * SPDX-License-Identifier: Apache-2.0
130 /** Source ID - used for compressed logging. */
198 * @retval 0 on success.
199 * @retval -EINVAL on invalid configuration.
254 /** @brief Get number of dropped messages and reset the counter.
283 * it has access to that memory and based on chip ID and source ID it can retrieve
301 /** @brief Close any opened messages and mark them as invalid. */
306 * @retval Non-negative Maximum buffer utilization.
307 * @retval -ENOTSUP Feature not enabled.
/Zephyr-latest/arch/arm/core/mpu/
Dnxp_mpu.c4 * SPDX-License-Identifier: Apache-2.0
15 #include <zephyr/linker/linker-defs.h>
17 #include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h>
28 "`zephyr,memory-region-mpu` was deprecated in favor of `zephyr,memory-attr`");
56 * This internal function performs run-time sanity check for
69 (part->size != 0U) in mpu_partition_is_valid()
71 ((part->size & in mpu_partition_is_valid()
72 (~(CONFIG_ARM_MPU_REGION_MIN_ALIGN_AND_SIZE - 1))) in mpu_partition_is_valid()
73 == part->size) in mpu_partition_is_valid()
75 ((part->start & in mpu_partition_is_valid()
[all …]
/Zephyr-latest/drivers/dma/
Ddma_xilinx_axi_dma.c7 * SPDX-License-Identifier: Apache-2.0
36 /* decode error, i.e., DECERR on AXI bus from memory */
38 /* slave error, i.e., SLVERR on AXI bus from memory */
40 /* internal DMA error, e.g., 0-length transfer */
59 /* interrupt timeout - trigger interrupt after X cycles when no transfer. Unit is 125 * */
62 /* irqthreshold - this can be used to generate interrupts after X completed packets */
66 /* interrupt on error enable */
68 /* interrupt on delay timer interrupt enable */
70 /* interrupt on complete enable */
81 /* soft reset */
[all …]
/Zephyr-latest/arch/x86/core/
Dx86_mmu.c2 * Copyright (c) 2011-2014 Wind River Systems, Inc.
3 * Copyright (c) 2017-2020 Intel Corporation
5 * SPDX-License-Identifier: Apache-2.0
29 * when the mapping was made. This is used to un-apply memory domain memory
51 * - If the entire entry is zero, it's an un-mapped virtual page
52 * - If PTE_ZERO is set, we flipped this page due to KPTI
53 * - Otherwise, this was a page-out
87 /* How many bits to right-shift a virtual address to obtain the
105 * We want RW and US bit always set; actual access control will be
116 * See Figures 4-4, 4-7, 4-11 in the Intel SDM, vol 3A
[all …]

12345