Home
last modified time | relevance | path

Searched +full:overflow +full:- +full:control (Results 1 – 25 of 97) sorted by relevance

1234

/Zephyr-latest/dts/bindings/usb/uac2/
Dzephyr,uac2-output-terminal.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "zephyr,uac2-output-terminal"
9 terminal-type:
15 assoc-terminal:
20 data-source:
26 clock-source:
32 copy-protect-control:
34 description: Copy Protect Control capabilities
36 - "host-programmable"
38 connector-control:
[all …]
Dzephyr,uac2-input-terminal.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "zephyr,uac2-input-terminal"
8 include: zephyr,uac2-channel-cluster.yaml
11 terminal-type:
17 assoc-terminal:
20 Associated terminal for bi-directional terminal types.
22 clock-source:
28 copy-protect-control:
30 description: Copy Protect Control capabilities
32 - "read-only"
[all …]
Dzephyr,uac2-feature-unit.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "zephyr,uac2-feature-unit"
8 # string-array properties start with Primary channel 0 and follow with Logical
9 # channel(s). The "not-present" value is allowed to facilitate having controls
14 data-source:
18 mute-control:
19 type: string-array
20 description: Mute Control capabilities
22 - "read-only"
23 - "host-programmable"
[all …]
/Zephyr-latest/drivers/timer/
Dxlnx_psttc_timer_priv.h5 * SPDX-License-Identifier: Apache-2.0
17 * Triple-timer Counter (TTC) Register Offsets
20 /* Clock Control Register */
22 /* Counter Control Register*/
40 * Clock Control Register Definitions
57 * Counter Control Register Definitions
89 /* Counter Overflow */
Darcv2_timer0.c2 * Copyright (c) 2014-2015 Wind River Systems, Inc.
5 * SPDX-License-Identifier: Apache-2.0
44 * overflow,e.g, 0xffffffff + any value will cause overflow
51 #define MAX_TICKS ((COUNTER_MAX / CYC_PER_TICK) - 1)
122 * @brief Get contents of Timer0 control register
124 * @return Contents of Timer0 control register.
132 * @brief Set Timer0 control register to the specified value
168 * - reprogramming of LIMIT must be clearing the COUNT
169 * - ISR must be clearing the 'overflow_cycles' counter.
170 * - no more than one counter-wrap has occurred between
[all …]
/Zephyr-latest/doc/connectivity/networking/conn_mgr/figures/
Dintegration_diagram_simplified.svg1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3-0.5 -0.5 619 446" style="background-color: rgb(255, 255, 255);"><defs><style type="text/css">@imp…
Dintegration_diagram_detailed.svg1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3-0.5 -0.5 783 632" style="background-color: rgb(255, 255, 255);"><defs><style type="text/css">@imp…
/Zephyr-latest/doc/safety/images/
DIEC-61508-basis.svg1-0.5 -0.5 802 515" style="background-color: rgb(255, 255, 255);"><defs><linearGradient x1="0%" y1=…
/Zephyr-latest/doc/services/ipc/ipc_service/backends/
Dipc_service_icbmsg.rst11 …ming some common problems with other backends (mostly related to multithread access and zero-copy).
18 One is reserved for the ICMsg and the other contains equal-sized blocks.
26 For the zero-copy case, this is done by the caller, otherwise, it is copied automatically.
30 …size of the ICMsg queue is large enough to hold messages for all blocks, so it will never overflow.
43 * If at least one of the cores uses data cache on shared memory, set the ``dcache-alignment`` value.
44 …This must be the largest value of the invalidation or the write-back size for both sides of the co…
46 * Define two memory regions and assign them to ``tx-region`` and ``rx-region`` of an instance.
48 * Define the number of allocable blocks for each region with ``tx-blocks`` and ``rx-blocks``.
54 Make sure that you set correct value of the ``dcache-alignment``.
60 .. code-block:: devicetree
[all …]
/Zephyr-latest/doc/connectivity/bluetooth/api/audio/img/
Dcap_proc.svg1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3-0.5 -0.5 1092 4638"><defs/><g><rect x="0" y="16" width="350" height="190" fill="#fad7ac" stroke="…
/Zephyr-latest/drivers/pwm/
Dpwm_mcux_ftm.c3 * Copyright (c) 2020-2021 Vestas Wind Systems A/S
5 * SPDX-License-Identifier: Apache-2.0
23 #define MAX_CHANNELS ARRAY_SIZE(FTM0->CONTROLS)
68 const struct mcux_ftm_config *config = dev->config; in mcux_ftm_set_cycles()
69 struct mcux_ftm_data *data = dev->data; in mcux_ftm_set_cycles()
78 return -ENOTSUP; in mcux_ftm_set_cycles()
83 return -EINVAL; in mcux_ftm_set_cycles()
86 if (channel >= config->channel_count) { in mcux_ftm_set_cycles()
88 return -ENOTSUP; in mcux_ftm_set_cycles()
92 irqs = FTM_GetEnabledInterrupts(config->base); in mcux_ftm_set_cycles()
[all …]
Dpwm_renesas_ra.c4 * SPDX-License-Identifier: Apache-2.0
73 gpt_extended_cfg_t *p_extend = (gpt_extended_cfg_t *)p_cfg->p_extend; in pwm_renesas_ra_apply_gtior_config()
74 uint32_t gtior = p_extend->gtior_setting.gtior; in pwm_renesas_ra_apply_gtior_config()
79 if (p_extend->gtior_setting.gtior == 0) { in pwm_renesas_ra_apply_gtior_config()
81 if (p_extend->gtioca.output_enabled) { in pwm_renesas_ra_apply_gtior_config()
83 pwm_renesas_ra_gtior_calculate(p_extend->gtioca.stop_level); in pwm_renesas_ra_apply_gtior_config()
88 if (p_extend->gtiocb.output_enabled) { in pwm_renesas_ra_apply_gtior_config()
90 pwm_renesas_ra_gtior_calculate(p_extend->gtiocb.stop_level); in pwm_renesas_ra_apply_gtior_config()
98 gpt_extended_pwm_cfg_t const *p_pwm_cfg = p_extend->p_pwm_cfg; in pwm_renesas_ra_apply_gtior_config()
102 if (p_extend->gtior_setting.gtior == 0) { in pwm_renesas_ra_apply_gtior_config()
[all …]
Dpwm_mcux_pwt.c5 * SPDX-License-Identifier: Apache-2.0
51 const struct mcux_pwt_config *config = dev->config; in mcux_pwt_is_active()
53 return !!(config->base->CS & PWT_CS_PWTEN_MASK); in mcux_pwt_is_active()
68 return -ENOTSUP; in mcux_pwt_set_cycles()
76 const struct mcux_pwt_config *config = dev->config; in mcux_pwt_configure_capture()
77 struct mcux_pwt_data *data = dev->data; in mcux_pwt_configure_capture()
81 return -EINVAL; in mcux_pwt_configure_capture()
86 return -EBUSY; in mcux_pwt_configure_capture()
92 return -ENOTSUP; in mcux_pwt_configure_capture()
97 LOG_ERR("Cannot capture period in normal polarity (active-high pulse)"); in mcux_pwt_configure_capture()
[all …]
Dpwm_mcux_qtmr.c4 * SPDX-License-Identifier: Apache-2.0
39 const struct pwm_mcux_qtmr_config *config = dev->config; in mcux_qtmr_pwm_set_cycles()
40 struct pwm_mcux_qtmr_data *data = dev->data; in mcux_qtmr_pwm_set_cycles()
46 return -EINVAL; in mcux_qtmr_pwm_set_cycles()
52 lowCount = period_cycles - pulse_cycles; in mcux_qtmr_pwm_set_cycles()
55 highCount -= 1U; in mcux_qtmr_pwm_set_cycles()
58 lowCount -= 1U; in mcux_qtmr_pwm_set_cycles()
62 /* This should not be a 16-bit overflow value. If it is, change to a larger divider in mcux_qtmr_pwm_set_cycles()
65 return -EINVAL; in mcux_qtmr_pwm_set_cycles()
68 k_mutex_lock(&data->lock, K_FOREVER); in mcux_qtmr_pwm_set_cycles()
[all …]
/Zephyr-latest/drivers/serial/
Duart_xlnx_ps.c1 /* uart_xlnx_ps.c - Xilinx Zynq family serial driver */
6 * SPDX-License-Identifier: Apache-2.0
19 * - the following macro for the number of bytes between register addresses:
42 * Comp. Xilinx Zynq-7000 Technical Reference Manual (ug585), chap. B.33
46 #define XUARTPS_CR_OFFSET 0x0000U /**< Control Register [8:0] */
55 #define XUARTPS_MODEMCR_OFFSET 0x0024U /**< Modem Control [5:0] */
64 /* Control Register Bits Definition */
105 #define XUARTPS_IXR_TOVR 0x00001000U /**< Tx FIFO Overflow interrupt */
120 /* Modem Control Register Bits Definition */
121 #define XUARTPS_MODEMCR_FCM_RTS_CTS 0x00000020 /**< RTS/CTS hardware flow control. */
[all …]
/Zephyr-latest/subsys/bluetooth/controller/hci/
Dhci_internal.h5 * SPDX-License-Identifier: Apache-2.0
18 #define HCI_CLASS_EVT_REQUIRED 1 /* Mesh and connection-{established,
21 #define HCI_CLASS_EVT_DISCARDABLE 2 /* Best-effort reporting. Discardable
22 * over HCI in case of overflow
27 #define HCI_CLASS_EVT_LLCP 4 /* LL Control Procedures */
/Zephyr-latest/doc/hardware/porting/
Darch.rst13 * ARMv7-M ISA with Thumb2 instruction set and ARM Embedded ABI (aeabi)
33 and architecture-dependent, and thread abortion possibly as well (required).
39 architecture-specific implementation for performance reasons (required).
44 * **Fault management**: for implementing architecture-specific debug help and
47 * **Linker scripts and toolchains**: architecture-specific details will most
50 * **Memory Management and Memory Mapping**: for architecture-specific details
53 * **Stack Objects**: for architecture-specific details on memory protection
71 * If running an :abbr:`XIP (eXecute-In-Place)` kernel, copy initialized data
79 Some examples of architecture-specific steps that have to be taken:
81 * If given control in real mode on x86_32, switch to 32-bit protected mode.
[all …]
/Zephyr-latest/include/zephyr/console/
Dconsole.h4 * SPDX-License-Identifier: Apache-2.0
27 * This function should be called once to initialize pull-style
30 * and incompatible with, callback (push-style) console handling
45 * <0, in case of error (e.g. -EAGAIN if timeout expired). errno
57 * <0, in case of error (e.g. -EAGAIN if timeout expired). errno
69 * Zephyr callback-based console input processing, shell subsystem,
72 * @return 0-255: a character read, including control characters.
88 * This function should be called once to initialize pull-style
90 * supersedes, and incompatible with, callback (push-style) console
99 * gets() function (except a line is returned in system-owned buffer,
[all …]
/Zephyr-latest/doc/security/
Dvulnerabilities.rst14 CVE-2017
17 :cve:`2017-14199`
18 -----------------
20 Buffer overflow in :code:`getaddrinfo()`.
22 - `Zephyr project bug tracker ZEPSEC-12
23 <https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-12>`_
25 - `PR6158 fix for 1.11.0
26 <https://github.com/zephyrproject-rtos/zephyr/pull/6158>`_
28 :cve:`2017-14201`
29 -----------------
[all …]
/Zephyr-latest/subsys/bluetooth/controller/
DKconfig.ll_sw_split3 # Copyright (c) 2016-2017 Nordic Semiconductor ASA
4 # SPDX-License-Identifier: Apache-2.0
120 # Hidden, Controller's Co-Operative high priority Rx thread stack size.
125 # Hidden, Controller's Co-Operative Rx thread stack size.
152 https://www.bluetooth.com/specifications/assigned-numbers/company-identifiers
168 Legacy Non-Directed Advertising mode.
180 zero-based numbering. When using with Zephyr host this option can be
233 module-str = "Bluetooth Controller ISO-AL"
237 bool "ISO-AL verbose debug logging"
241 Use this option to enable ISO-AL verbose debug logging.
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_sync_iso.c4 * SPDX-License-Identifier: Apache-2.0
131 elapsed = p->lazy + 1U; in prepare()
133 lll = p->param; in prepare()
136 lll->latency_prepare += elapsed; in prepare()
139 lll->window_widening_prepare_us += lll->window_widening_periodic_us * in prepare()
141 if (lll->window_widening_prepare_us > lll->window_widening_max_us) { in prepare()
142 lll->window_widening_prepare_us = lll->window_widening_max_us; in prepare()
153 LL_ASSERT(!err || err == -EINPROGRESS); in create_prepare_bh()
162 LL_ASSERT(!err || err == -EINPROGRESS); in prepare_bh()
175 radio_isr_set(isr_rx_estab, p->param); in create_prepare_cb()
[all …]
/Zephyr-latest/modules/hostap/
DKconfig5 # SPDX-License-Identifier: Apache-2.0
49 # l2_packet - 1
50 # ctrl_iface - 2 * socketpairs = 4(local and global)
51 # z_wpa_event_sock - 1 socketpair = 2
54 # Supplicant API is stack heavy (buffers + snprintfs) and control interface
55 # uses socketpair which pushes the stack usage causing overflow for 2048 bytes.
59 module-str = WPA supplicant
63 int "Min compiled-in debug message level for WPA supplicant"
71 is compiled-in the firmware. See wpa_debug.h file of the supplicant for
73 runtime filtering can also be configured in addition to the compile-time
[all …]
/Zephyr-latest/doc/kernel/usermode/
Dmemory_domain.rst24 - Any configuration of memory regions which need to have special caching or
25 write-back policies for basic hardware and driver function. Note that most
30 ARMv7-M/ARMv8-M this is called the System Address Map, other CPUs may
34 - A read-only, executable region or regions for program text and ro-data, that
35 is accessible to user mode. This could be further sub-divided into a
36 read-only region for ro-data, and a read-only, executable region for text, but
38 threads running in user mode can read ro-data and fetch instructions.
40 - Depending on configuration, user-accessible read-write regions to support
45 text/ro-data, this is sufficient for the boot time configuration.
47 Hardware Stack Overflow
[all …]
/Zephyr-latest/doc/releases/
Drelease-notes-1.12.rst12 - Asymmetric multiprocessing (AMP) via integration of OpenAMP
13 - Persistent storage support for Bluetooth Low Energy including Mesh
14 - 802.1Q - Virtual Local Area Network (VLAN) traffic on an Ethernet network
15 - Support multiple concurrent filesystem devices, partitions, and FS types
16 - Ethernet network management interface
17 - Networking traffic prioritization on a per-connection basis
18 - Support for Ethernet statistical counters
19 - Support for TAP net device on the native POSIX port
20 - Command-line Zephyr meta-tool "west"
21 - SPI slave support
[all …]
/Zephyr-latest/arch/arm/core/
Duserspace.S6 * SPDX-License-Identifier: Apache-2.0
120 /* Re-program dynamic memory map.
123 * z_arm_configure_dynamic_mpu_regions() may re-program the MPU Stack Guard
126 * stack while doing the re-programming. We minimize the risk by placing
130 * Note that the risk for overflow is higher if using the normal thread
131 * stack, since we do not control how much stack is actually left, when
207 * However, we need to prevent a context-switch to occur, because that
208 * would re-configure PSPLIM to guard the privileged stack; we enforce
212 * left un-guarded; this is safe, as long as the privileged stack is
260 mrs r3, CONTROL
[all …]

1234