Home
last modified time | relevance | path

Searched +full:master +full:- +full:access +full:- +full:mask (Results 1 – 19 of 19) sorted by relevance

/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
25 bus master corresponding to the bit. The platform bus master assignments
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.
[all …]
/Zephyr-latest/soc/microchip/mec/mec172x/
Dsoc_espi_saf_v2.h4 * SPDX-License-Identifier: Apache-2.0
33 /* Default SAF Map of eSPI TAG numbers to master numbers */
40 * QMSPI master clock is either 96 or 48 MHz depending upon
41 * Boot-ROM OTP configuration.
70 /* QMSPI descriptors 12-15 for all SPI flash devices */
72 /* QMSPI descriptors 12-13 are exit continuous mode */
108 * QMSPI descriptors 14-15 are poll 16-bit flash status
130 /* SAF Pre-fetch optimization mode */
136 * SAF Opcode 32-bit register value.
137 * Each byte contain a SPI flash 8-bit opcode.
[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>
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()
157 /* End Rx FIFO access */ in shi_ite_reset_rx_fifo()
[all …]
/Zephyr-latest/drivers/i2c/
Di2c_sam4l_twim.c3 * Copyright (c) 2020-2023 Gerson Fernando Budke <nandojve@gmail.com>
5 * SPDX-License-Identifier: Apache-2.0
13 * I2C Master Mode with 7/10 bit addressing is currently supported.
33 #include "i2c-priv.h"
48 /** Status Clear Register Mask for No Acknowledgements */
50 /** Status Register Mask for No Acknowledgements */
52 /** Interrupt Enable Register Mask for No Acknowledgements */
54 /** Frequently used Interrupt Enable Register Mask */
56 /** Frequently used Status Clear Register Mask */
109 const struct i2c_sam_twim_dev_cfg *const cfg = dev->config; in i2c_clk_set()
[all …]
/Zephyr-latest/drivers/espi/
Despi_saf_mchp_xec.c5 * SPDX-License-Identifier: Apache-2.0
20 /* SAF EC Portal read/write flash access limited to 1-64 bytes */
44 * Delay before first Poll-1 command after suspend in 20 ns units
75 regs->SAF_CS_OP[cs].OP_DESCR = val; in mchp_saf_cs_descr_wr()
81 LOG_DBG("%s cs: %d mask %x", __func__, cs, val); in mchp_saf_poll2_mask_wr()
83 regs->SAF_CS0_CFG_P2M = val; in mchp_saf_poll2_mask_wr()
85 regs->SAF_CS1_CFG_P2M = val; in mchp_saf_poll2_mask_wr()
93 regs->SAF_CS0_CM_PRF = val; in mchp_saf_cm_prefix_wr()
95 regs->SAF_CS1_CM_PRF = val; in mchp_saf_cm_prefix_wr()
105 return -ETIMEDOUT; in xec_saf_spin_yield()
[all …]
Despi_saf_mchp_xec_v2.c5 * SPDX-License-Identifier: Apache-2.0
17 #include <zephyr/dt-bindings/interrupt-controller/mchp-xec-ecia.h>
27 /* SAF EC Portal read/write flash access limited to 1-64 bytes */
61 * Delay before first Poll-1 command after suspend in 20 ns units
99 regs->SAF_CS_OP[cs].OP_DESCR = val; in mchp_saf_cs_descr_wr()
105 LOG_DBG("%s cs: %d mask %x", __func__, cs, val); in mchp_saf_poll2_mask_wr()
107 regs->SAF_CS0_CFG_P2M = val; in mchp_saf_poll2_mask_wr()
109 regs->SAF_CS1_CFG_P2M = val; in mchp_saf_poll2_mask_wr()
117 regs->SAF_CS0_CM_PRF = val; in mchp_saf_cm_prefix_wr()
119 regs->SAF_CS1_CM_PRF = val; in mchp_saf_cm_prefix_wr()
[all …]
Despi_npcx.c4 * SPDX-License-Identifier: Apache-2.0
15 #include <zephyr/dt-bindings/espi/npcx_espi.h>
32 /* mapping table between eSPI reset signal and wake-up input */
77 ((struct espi_reg *)((const struct espi_npcx_config *)(dev)->config)->base)
132 /* eSPI Virtual Wire Input (Master-to-Slave) signals configuration structure */
136 uint8_t bitmask; /* VW signal bits-mask */
140 /* eSPI Virtual Wire Output (Slave-to-Master) signals configuration structure */
144 uint8_t bitmask; /* VW signal bits-mask */
149 * npcxn-espi-vws-map.dtsi device tree file for more detail.
237 /* VW signal which has no wake-up input source */ in espi_init_wui_callback()
[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/drivers/ethernet/
Deth_lan9250.c1 /* LAN9250 Stand-alone Ethernet Controller with SPI
5 * SPDX-License-Identifier: Apache-2.0
26 const struct lan9250_config *config = dev->config; in lan9250_write_sys_reg()
43 return spi_write_dt(&config->spi, &tx); in lan9250_write_sys_reg()
48 const struct lan9250_config *config = dev->config; in lan9250_read_sys_reg()
72 return spi_transceive_dt(&config->spi, &tx, &rx); in lan9250_read_sys_reg()
75 static int lan9250_wait_ready(const struct device *dev, uint16_t address, uint32_t mask, in lan9250_wait_ready() argument
85 if ((tmp & mask) == expected) { in lan9250_wait_ready()
89 return -EIO; in lan9250_wait_ready()
128 static int lan9250_wait_mac_ready(const struct device *dev, uint8_t address, uint32_t mask, in lan9250_wait_mac_ready() argument
[all …]
/Zephyr-latest/doc/releases/
Drelease-notes-2.5.rst27 * 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
87 GPIO-only regulators a devicetree property ``supply-gpios`` is defined as a
101 * ARM Musca-A board and SoC support deprecated and planned to be removed in 2.6.0.
[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`.
18 * Improved access to Devicetree compatibles from Kconfig (new generated
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
[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 …]
Drelease-notes-3.4.rst20 * Added Power Delivery Source Support to the USB-C Stack.
22 * Cache API functions are now fully in-lined by compilers.
23 * Added an API for real-time clocks (RTC).
29 - Introduction of 3 new test harnesses into twister supporting pyTest,
31 - Transitioning to new Ztest API was completed and legacy Ztest was deprecated.
46 * CVE-2023-1901: Under embargo until 2023-07-04
48 * CVE-2023-1902: Under embargo until 2023-07-04
67 +--------------------------------------------------+
69 +--------------------------------------------------+
71 +--------------------------------------------------+
[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-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`.
35 A new :ref:`haptics_api` device driver subsystem allows unified access to haptic controllers,
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
[all …]
Drelease-notes-3.7.rst10 This release is the last non-maintenance 3.x release and, as such, will be the next
18 * A long-awaited :ref:`HTTP Server <http_server_interface>` library, and associated service API,
21 * :ref:`POSIX support <posix_support>` has been extended, with most Options of the IEEE 1003-2017
25 * Bluetooth Host has been extended with support for the Nordic UART Service (NUS), Hands-free Audio
29 :ref:`read-then-decode approach <sensor-read-and-decode>` that enables more types of sensors and
35 * Trusted Firmware-M (TF-M) 2.1.0 and Mbed TLS 3.6.0 have been integrated into Zephyr.
39 1588) allows to synchronize time across devices with sub-microsecond accuracy.
52 * 1-Wire
71 :ref:`pinctrl-guide` for more details.
88 * CVE-2024-3077 `Zephyr project bug tracker GHSA-gmfv-4vfh-2mh8
[all …]
/Zephyr-latest/drivers/spi/
Dspi_pl022.c4 * SPDX-License-Identifier: Apache-2.0
37 * Macros to access SSP Registers with their offsets
91 /* Controller/Peripheral (Master/Slave) select */
130 * Interrupt Mask Set/Clear Register
141 /* Receive Overrun Interrupt mask */
143 /* Receive timeout Interrupt mask */
145 /* Receive FIFO Interrupt mask */
147 /* Transmit FIFO Interrupt mask */
333 for (postdiv = SCR_MAX + 1; postdiv > SCR_MIN + 1; --postdiv) { in spi_pl022_calc_postdiv()
334 if (pclk / (prescale * (postdiv - 1)) > baud) { in spi_pl022_calc_postdiv()
[all …]
/Zephyr-latest/include/zephyr/drivers/
Dspi.h4 * SPDX-License-Identifier: Apache-2.0
27 #include <zephyr/dt-bindings/spi/spi.h>
42 #define SPI_OP_MODE_MASTER 0U /**< Master mode. */
73 * Whatever data is transmitted is looped-back to the receiving buffer of
115 /** Requests - if possible - to keep CS asserted after the transaction */
119 * prevent other callers to access the SPI device until spi_release() is
148 #define SPI_LINES_MASK (0x3U << 16) /**< Mask for MISO lines in spi_operation_t */
187 * cs-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>,
190 * a: spi-dev-a@0 {
194 * b: spi-dev-b@1 {
[all …]
/Zephyr-latest/drivers/usb/udc/
Dudc_dwc2.c4 * SPDX-License-Identifier: Apache-2.0
44 /* Minimum RX FIFO size in 32-bit words considering the largest used OUT packet
49 /* Default Rx FIFO size in 32-bit words calculated to support High-Speed with:
57 /* TX FIFO0 depth in 32-bit words (used by control IN endpoint)
63 /* Get Data FIFO access register */
105 /* Transfer triggers (IN on bits 0-15, OUT on bits 16-31) */
107 /* Finished transactions (IN on bits 0-15, OUT on bits 16-31) */
143 const struct udc_dwc2_config *const config = dev->config; in dwc2_init_pinctrl()
144 const struct pinctrl_dev_config *const pcfg = config->pcfg; in dwc2_init_pinctrl()
172 const struct udc_dwc2_config *const config = dev->config; in dwc2_get_base()
[all …]