/Zephyr-latest/dts/bindings/display/ |
D | ftdi,ft800.yaml | 2 # SPDX-License-Identifier: Apache-2.0 8 include: spi-device.yaml 11 irq-gpios: 12 type: phandle-array 13 description: Optional IRQ line of FT800 controller 27 Polarity of PCLK. If it is set to zero, PCLK polarity is on 35 Controls the transition of RGB signals with PCLK active clock 37 following the active edge of PCLK. When set to 1, R[7:2] 45 Controls the arrangement of output RGB pins, which may help 52 description: Number of visible lines of pixels in one frame [all …]
|
/Zephyr-latest/arch/xtensa/core/ |
D | thread.c | 4 * SPDX-License-Identifier: Apache-2.0 23 * Per-thread (TLS) variable indicating whether execution is in user mode. 33 * entry function takes three arguments to match the signature of 34 * Zephyr's k_thread_entry_t. Thread will start with EXCM clear and 35 * INTLEVEL set to zero (i.e. it's a user thread, we don't start with 43 _xtensa_irq_stack_frame_a11_t *frame; in init_stack() local 46 (struct xtensa_thread_stack_header *)thread->stack_obj; in init_stack() 48 thread->arch.psp = header->privilege_stack + in init_stack() 49 sizeof(header->privilege_stack); in init_stack() 52 /* Not-a-cpu ID Ensures that the first time this is run, the in init_stack() [all …]
|
D | window_vectors.S | 4 * SPDX-License-Identifier: Apache-2.0 42 * Invoked if a call[i] referenced a register (a4-a15) 46 * window rotated to call[j] start point; 47 * a0-a3 are registers to be saved; 48 * a4-a15 must be preserved; 56 s32e a0, a5, -16 /* save a0 to call[j+1]'s stack frame */ 57 s32e a1, a5, -12 /* save a1 to call[j+1]'s stack frame */ 58 s32e a2, a5, -8 /* save a2 to call[j+1]'s stack frame */ 59 s32e a3, a5, -4 /* save a3 to call[j+1]'s stack frame */ 68 * window rotated to call[i] start point; [all …]
|
D | vector_handlers.c | 4 * SPDX-License-Identifier: Apache-2.0 36 uintptr_t start, end; in xtensa_is_outside_stack_bounds() local 47 * the same interrupt vector, both of them increase the nested in xtensa_is_outside_stack_bounds() 55 was_in_isr = arch_curr_cpu()->nested > 1; in xtensa_is_outside_stack_bounds() 64 cpu_id = arch_curr_cpu()->id; in xtensa_is_outside_stack_bounds() 69 start = (uintptr_t)K_KERNEL_STACK_BUFFER(z_interrupt_stacks[cpu_id]); in xtensa_is_outside_stack_bounds() 70 end = start + CONFIG_ISR_STACK_SIZE; in xtensa_is_outside_stack_bounds() 73 /* Since the stashed PS is inside struct pointed by frame->ptr_to_bsa, in xtensa_is_outside_stack_bounds() 74 * we need to verify that both frame and frame->ptr_to_bsa are valid in xtensa_is_outside_stack_bounds() 84 start = (uintptr_t)thread->stack_obj; in xtensa_is_outside_stack_bounds() [all …]
|
D | README_WINDOWS.rst | 3 There is a paucity of introductory material on this subject, and 11 Registers are grouped and rotated in units of 4, so there are 8 or 16 12 such "quads" (my term, not Tensilica's) in hardware of which 4 are 13 visible as A0-A15. 15 The first quad (A0-A3) is pointed to by a special register called 18 (respectively) A0-A3, A4-A7, A8-A11, and A12-A15. 21 window by a immediate number of quads that are added to WINDOWBASE. 30 (yes, two; see below): the 2-bit CALLINC field of the PS register, and 31 the top two bits of the return address placed in A0. 35 pointer in A1 into the "new" A1 in the rotated frame, subtracting an [all …]
|
/Zephyr-latest/arch/riscv/core/ |
D | stacktrace.c | 4 * SPDX-License-Identifier: Apache-2.0 30 uintptr_t start, end; in in_irq_stack_bound() local 32 start = (uintptr_t)K_KERNEL_STACK_BUFFER(z_interrupt_stacks[cpu_id]); in in_irq_stack_bound() 33 end = start + CONFIG_ISR_STACK_SIZE; in in_irq_stack_bound() 35 return (addr >= start) && (addr < end); in in_irq_stack_bound() 41 uintptr_t start, end; in in_kernel_thread_stack_bound() local 43 start = thread->stack_info.start; in in_kernel_thread_stack_bound() 44 end = Z_STACK_PTR_ALIGN(thread->stack_info.start + thread->stack_info.size); in in_kernel_thread_stack_bound() 46 return (addr >= start) && (addr < end); in in_kernel_thread_stack_bound() 58 uintptr_t start, end; in in_user_thread_stack_bound() local [all …]
|
/Zephyr-latest/drivers/ieee802154/ |
D | ieee802154_rf2xx_iface.h | 1 /* ieee802154_rf2xx_iface.h - ATMEL RF2XX transceiver interface */ 4 * Copyright (c) 2019-2020 Gerson Fernando Budke 6 * SPDX-License-Identifier: Apache-2.0 20 * @brief Start TX transmission 32 * @param[in] addr Specifies the address of the trx register 35 * @return value of the register read 46 * @param[in] addr Address of the trx register 58 * @param[in] addr offset of the register 59 * @param[in] mask bit mask of the subregister 60 * @param[in] pos bit position of the subregister [all …]
|
/Zephyr-latest/arch/xtensa/include/ |
D | xtensa_backtrace.h | 4 * SPDX-License-Identifier: Apache-2.0 27 * This structure stores the backtrace information of a particular stack frame 29 * xtensa_cpu_get_next_backtrace_frame() function to traverse each frame 30 * within a single stack. The next_pc represents the PC of the current 31 * frame's caller, thus a next_pc of 0 indicates that the current frame 32 * is the last frame on the stack. 38 uint32_t pc; /* PC of the current frame */ 39 uint32_t sp; /* SP of the current frame */ 40 uint32_t next_pc; /* PC of the current frame's caller */ 44 * Get the first frame of the current stack's backtrace [all …]
|
/Zephyr-latest/include/zephyr/drivers/ |
D | video.h | 10 * SPDX-License-Identifier: Apache-2.0 36 * buffers the size of the video frame 38 #define LINE_COUNT_HEIGHT (-1) 44 * Used to configure frame format. 49 /** frame width in pixels. */ 51 /** frame height in pixels. */ 56 * This is the number of bytes that needs to be added to the address in the 57 * first pixel of a row in order to go to the address of the first pixel of 72 /** minimum supported frame width in pixels. */ 74 /** maximum supported frame width in pixels. */ [all …]
|
/Zephyr-latest/doc/services/device_mgmt/ |
D | smp_transport.rst | 17 - **Service UUID**: ``8D53DC1D-1DB7-4CD3-868B-8A527460AA84`` 18 - **Characteristic UUID**: ``DA2E7828-FBCE-4E01-AE9E-261174997C48`` 22 of a GATT Notification 27 split among several packets. Since GATT guarantees ordered delivery of 36 SMP protocol specification by MCUmgr subsystem of Zephyr uses basic framing 37 of data to allow multiplexing of UART channel. Multiplexing requires 38 prefixing each frame with two byte marker and terminating it with newline. 39 Currently MCUmgr imposes a 127 byte limit on frame size, although there 46 or uses hardware serial port control, or other means of framing. 48 Frame fragmenting [all …]
|
/Zephyr-latest/kernel/include/ |
D | mmu.h | 4 * SPDX-License-Identifier: Apache-2.0 16 #include <zephyr/linker/linker-defs.h> 18 /** Start address of physical memory. */ 21 /** Size of physical memory. */ 24 /** End address (exclusive) of physical memory. */ 27 /** Start address of virtual memory. */ 30 /** Size of virtual memory. */ 33 /** End address (exclusive) of virtual memory. */ 36 /** Boot-time virtual start address of the kernel image. */ 39 /** Boot-time virtual end address of the kernel image. */ [all …]
|
/Zephyr-latest/subsys/bluetooth/host/classic/ |
D | avctp_internal.h | 6 * Copyright (c) 2015-2016 Intel Corporation 9 * SPDX-License-Identifier: Apache-2.0 36 /** Transaction label provided by the application and is replicated by the sender of the message in 37 * each packet of the sequence. It isused at the receiver side to identify packets that belong to 40 #define BT_AVCTP_HDR_GET_TRANSACTION_LABLE(hdr) FIELD_GET(GENMASK(7, 4), ((hdr)->byte0)) 42 * packet. Alternatively, set to (01) for start, (10) for continue, or (11) for end packet. 44 #define BT_AVCTP_HDR_GET_PACKET_TYPE(hdr) FIELD_GET(GENMASK(3, 2), ((hdr)->byte0)) 45 /** Indicates whether the messageconveys a command frame (0) or a response frame (1). */ 46 #define BT_AVCTP_HDR_GET_CR(hdr) FIELD_GET(BIT(1), ((hdr)->byte0)) 48 * the command message of the same transaction; otherwise this bit is set to zero. In command [all …]
|
/Zephyr-latest/include/zephyr/net/ |
D | ieee802154_radio.h | 5 * SPDX-License-Identifier: Apache-2.0 12 * @note All references to the standard in this file cite IEEE 802.15.4-2020. 38 * @details This API provides a common representation of vendor-specific 41 * is of interest to driver maintainers only. 43 * The IEEE 802.15.4 driver API consists of two separate parts: 44 * - a basic, mostly PHY-level driver API to be implemented by all drivers, 45 * - several optional MAC-level extension points to offload performance 51 * offloading to vendor-specific hardware or firmware features may be required 53 * subprotocols (e.g. fast enough ACK packages, precise timing of timed TX/RX in 56 * Whether or not MAC-level offloading extension points need to be implemented [all …]
|
D | ieee802154_radio_openthread.h | 4 * SPDX-License-Identifier: Apache-2.0 9 * @brief This file extends interface of ieee802154_radio.h for OpenThread. 17 /** Bit number starting the OpenThread specific capabilities of ieee802154 driver. */ 21 * OpenThread specific capabilities of ieee802154 driver. 30 /** Capability to support CST-related features. 32 * The CST-related features are described by "Specification changes for Thread-in-Mobile" 33 * Draft version 1, July 11, 2024. The CST allows to transmit a frame with CST Phase and 34 * CST Period IEs as described by chapter 4.6.6.1 of the Thread-in-Mobile specification 36 * a frame to be transmitted that contains placeholders where the CST Phase and CST Period 37 * are to be placed. The implementation of a driver is responsible for injecting [all …]
|
/Zephyr-latest/subsys/profiling/perf/backends/ |
D | perf_riscv.c | 4 * SPDX-License-Identifier: Apache-2.0 11 return current->stack_info.start <= addr && in valid_stack() 12 addr < current->stack_info.start + current->stack_info.size; in valid_stack() 23 * This function use frame pointers to unwind stack and get trace of return addresses. 37 * at the beginning of _isr_wrapper in order, specified by z_arch_esf_t. in arch_perf_current_stack_trace() 39 * _current_cpu->irq_stack and save $sp with offset -16 on irq stack in arch_perf_current_stack_trace() 45 *((struct arch_esf **)(((uintptr_t)_current_cpu->irq_stack) - 16)); in arch_perf_current_stack_trace() 48 * $s0 is used as frame pointer. in arch_perf_current_stack_trace() 50 * stack frame in memory (commonly): in arch_perf_current_stack_trace() 53 * [-] <- $fp($s0) (curr) in arch_perf_current_stack_trace() [all …]
|
D | perf_x86.c | 5 * SPDX-License-Identifier: Apache-2.0 12 return current->stack_info.start <= addr && in valid_stack() 13 addr < current->stack_info.start + current->stack_info.size; in valid_stack() 23 /* interruption stack frame */ 33 * This function use frame pointers to unwind stack and get trace of return addresses. 46 *((struct isf **)(((void **)_current_cpu->irq_stack)-1)); in arch_perf_current_stack_trace() 49 * are saved at the beginning of _interrupt_enter in order, that described in arch_perf_current_stack_trace() 51 * _current_cpu->irq_stack and push %esp on irq stack in arch_perf_current_stack_trace() 56 void **fp = (void **)isf->ebp; in arch_perf_current_stack_trace() 59 * %ebp is frame pointer. in arch_perf_current_stack_trace() [all …]
|
D | perf_x86_64.c | 5 * SPDX-License-Identifier: Apache-2.0 12 return current->stack_info.start <= addr && in valid_stack() 13 addr < current->stack_info.start + current->stack_info.size; in valid_stack() 24 * This function use frame pointers to unwind stack and get trace of return addresses. 38 * are always saved in arch_current_thread()->callee_saved before calling in arch_perf_current_stack_trace() 43 buf[idx++] = (uintptr_t)arch_current_thread()->callee_saved.rip; in arch_perf_current_stack_trace() 44 void **fp = (void **)arch_current_thread()->callee_saved.rbp; in arch_perf_current_stack_trace() 47 * %rbp is frame pointer. in arch_perf_current_stack_trace() 49 * stack frame in memory: in arch_perf_current_stack_trace() 53 * %rbp (next) <- %rbp (curr) in arch_perf_current_stack_trace() [all …]
|
/Zephyr-latest/tests/drivers/can/api/src/ |
D | classic.c | 5 * SPDX-License-Identifier: Apache-2.0 21 * @brief Standard (11-bit) CAN ID transmit callback 1. 27 const struct can_frame *frame = user_data; in tx_std_callback_1() local 32 zassert_equal(frame->id, TEST_CAN_STD_ID_1, "ID does not match"); in tx_std_callback_1() 36 * @brief Standard (11-bit) CAN ID transmit callback 2. 42 const struct can_frame *frame = user_data; in tx_std_callback_2() local 47 zassert_equal(frame->id, TEST_CAN_STD_ID_2, "ID does not match"); in tx_std_callback_2() 51 * @brief Extended (29-bit) CAN ID transmit callback 1. 57 const struct can_frame *frame = user_data; in tx_ext_callback_1() local 62 zassert_equal(frame->id, TEST_CAN_EXT_ID_1, "ID does not match"); in tx_ext_callback_1() [all …]
|
D | canfd.c | 5 * SPDX-License-Identifier: Apache-2.0 22 const struct can_frame *frame = user_data; in tx_std_callback_1() local 27 zassert_equal(frame->id, TEST_CAN_STD_ID_1, "ID does not match"); in tx_std_callback_1() 32 const struct can_frame *frame = user_data; in tx_std_callback_2() local 37 zassert_equal(frame->id, TEST_CAN_STD_ID_2, "ID does not match"); in tx_std_callback_2() 40 static void rx_std_callback_1(const struct device *dev, struct can_frame *frame, void *user_data) in rx_std_callback_1() argument 44 assert_frame_equal(frame, &test_std_frame_1, 0); in rx_std_callback_1() 51 static void rx_std_callback_2(const struct device *dev, struct can_frame *frame, void *user_data) in rx_std_callback_2() argument 55 assert_frame_equal(frame, &test_std_frame_2, 0); in rx_std_callback_2() 62 static void rx_std_callback_fd_1(const struct device *dev, struct can_frame *frame, in rx_std_callback_fd_1() argument [all …]
|
/Zephyr-latest/modules/openthread/ |
D | Kconfig.thread | 4 # SPDX-License-Identifier: Apache-2.0 34 bool "Automatic joiner start" 48 bool "FTD - Full Thread Device" 50 bool "MTD - Minimal Thread Device" 54 bool "SED - Sleepy End Device" 63 int "The maximum number of children" 68 int "The maximum number of IPv6 address registrations per child" 73 string "The platform-specific string to insert into the OpenThread version string" 88 Defines how many microseconds ahead should MAC deliver a CSL frame to the sub-MAC layer. 95 int "Minimum receiving time before start of MHR" [all …]
|
/Zephyr-latest/include/zephyr/xen/ |
D | gnttab.h | 2 * Copyright (c) 2021-2022 EPAM Systems 4 * SPDX-License-Identifier: Apache-2.0 14 * @param domid - id of the domain you sharing gref with 15 * @param gfn - guest frame number of page, where grant will be located 16 * @param readonly - permit readonly access to shared grant 17 * @return - gref assigned to shared grant 27 * @param gref - grant reference that need to be closed 28 * @return - zero on success, non-zero on failure 37 * @param map - double pointer to memory, where grant will be allocated 38 * @param readonly - permit readonly access to allocated grant [all …]
|
/Zephyr-latest/arch/x86/core/ |
D | fatal.c | 3 * SPDX-License-Identifier: Apache-2.0 22 * -device isa-debug-exit,iobase=0xf4,iosize=0x04 in arch_system_halt() 24 * For any value of the first argument X, the return value of the in arch_system_halt() 27 * It has been observed that if the emulator exits for a triple-fault in arch_system_halt() 41 return esf->rsp; in esf_get_sp() 43 return esf->esp; in esf_get_sp() 50 uintptr_t start, end; in z_x86_check_stack_bounds() local 58 cpu_id = arch_curr_cpu()->id; in z_x86_check_stack_bounds() 62 start = (uintptr_t)K_KERNEL_STACK_BUFFER( in z_x86_check_stack_bounds() 64 end = start + CONFIG_ISR_STACK_SIZE; in z_x86_check_stack_bounds() [all …]
|
/Zephyr-latest/doc/hardware/peripherals/can/ |
D | controller.rst | 13 Controller Area Network is a two-wire serial bus specified by the 14 Bosch CAN Specification, Bosch CAN with Flexible Data-Rate specification and the 15 ISO 11898-1:2003 standard. 26 The bit-timing as defined in ISO 11898-1:2003 looks as following: 35 * Sync_Seg: The nodes synchronize at the edge of the Sync_Seg. It is always one time quantum in len… 37 * Prop_Seg: The signal propagation delay of the bus and other delays of the transceiver and node. 39 * Phase_Seg1 and Phase_Seg2 :Define the sampling point. The bit is sampled at the end of Phase_Seg1. 41 The bit-rate is calculated from the time of a time quantum and the values 43 A bit has the length of Sync_Seg plus Prop_Seg plus Phase_Seg1 plus Phase_Seg2 44 multiplied by the time of single time quantum. [all …]
|
D | shell.rst | 13 The CAN shell provides a ``can`` command with a set of subcommands for the :ref:`shell <shell_api>` 16 existing applications to aid in interactive debugging of CAN issues. 19 sending and receiving of CAN frames, and bus recovery. 27 The following :ref:`Kconfig <kconfig>` options enable additional subcommands and features of the 32 * :kconfig:option:`CONFIG_CAN_RX_TIMESTAMP` enables printing of timestamps for received CAN frames. 33 * :kconfig:option:`CONFIG_CAN_STATS` enables printing of various statistics for the CAN controller 38 For example, building the :zephyr:code-sample:`hello_world` sample for the :zephyr:board:`frdm_k64f… 41 .. zephyr-app-commands:: 42 :zephyr-app: samples/hello_world 44 …:gen-args: -DCONFIG_SHELL=y -DCONFIG_CAN=y -DCONFIG_CAN_SHELL=y -DCONFIG_STATS=y -DCONFIG_CAN_STAT… [all …]
|
/Zephyr-latest/drivers/ethernet/ |
D | Kconfig.nxp_s32_netc | 1 # Copyright 2022-2023 NXP 2 # SPDX-License-Identifier: Apache-2.0 34 The budget parameter places a limit on the amount of work the driver may 37 received frame counts as one unit of work. 44 Length of the TX ring. The value must be a multiple of 8. 51 Size, in bytes, of the TX data buffer. The size must be big enough to 52 store one complete Ethernet frame, and be a multiple of 8. 59 Length of the RX ring. The value must be a multiple of 8. 66 Size, in bytes, of the RX data buffer. The size must be big enough to 67 store one complete Ethernet frame, and be a multiple of 8. [all …]
|