/Zephyr-latest/dts/bindings/input/ |
D | st,stmpe811.yaml | 2 # SPDX-License-Identifier: Apache-2.0 8 include: [i2c-device.yaml, touchscreen-common.yaml] 11 int-gpios: 12 type: phandle-array 17 raw-x-min: 23 raw-y-min: 29 raw-x-max: 35 raw-y-max: 41 panel-driver-settling-time-us: 44 - 10 [all …]
|
/Zephyr-latest/ |
D | CONTRIBUTING.rst | 4 As an open-source project, we welcome and encourage the community to submit 10 Guidelines <http://docs.zephyrproject.org/latest/contribute/index.html>`_ 22 contributions, and documented with a ``Signed-off-by`` line in commits. 28 https://github.com/zephyrproject-rtos/zephyr 30 * Issue and feature tracking is done using GitHub issues in this repo.
|
D | README.rst | 6 … <source media="(prefers-color-scheme: dark)" srcset="doc/_static/images/logo-readme-dark.svg"> 7 … <source media="(prefers-color-scheme: light)" srcset="doc/_static/images/logo-readme-light.svg"> 8 <img src="doc/_static/images/logo-readme-light.svg"> 14 …/?uri=github.com/zephyrproject-rtos/zephyr"><img src="https://api.securityscorecards.dev/projects/… 15 …thub.com/zephyrproject-rtos/zephyr/actions/workflows/twister.yaml?query=branch%3Amain"><img src="h… 18 The Zephyr Project is a scalable real-time operating system (RTOS) supporting 22 The Zephyr OS is based on a small-footprint kernel designed for use on 23 resource-constrained systems: from simple embedded environmental sensors and 26 The Zephyr kernel supports multiple architectures, including ARM (Cortex-A, 27 Cortex-R, Cortex-M), Intel x86, ARC, Nios II, Tensilica Xtensa, and RISC-V, [all …]
|
/Zephyr-latest/include/zephyr/bluetooth/mesh/ |
D | sar_cfg_cli.h | 4 * SPDX-License-Identifier: Apache-2.0 38 /* Internal parameters for tracking message responses. */ 55 * @param net_idx Network index to encrypt with. 66 * @param net_idx Network index to encrypt with. 79 * @param net_idx Network index to encrypt with. 90 * @param net_idx Network index to encrypt with.
|
D | od_priv_proxy_cli.h | 4 * SPDX-License-Identifier: Apache-2.0 17 * @defgroup bt_mesh_od_priv_proxy_cli Bluetooth Mesh On-Demand Private GATT Proxy Client 22 /** On-Demand Private Proxy Client Model Context */ 27 /* Internal parameters for tracking message responses. */ 30 /** @brief Optional callback for On-Demand Private Proxy Status messages. 32 * Handles received On-Demand Private Proxy Status messages from a On-Demand Private Proxy 33 * server.The @c state param represents state of On-Demand Private Proxy server. 35 * @param cli On-Demand Private Proxy client that received the status message. 43 * @brief On-Demand Private Proxy Client model composition data entry. 50 /** @brief Get the target's On-Demand Private GATT Proxy state. [all …]
|
D | priv_beacon_cli.h | 4 * SPDX-License-Identifier: Apache-2.0 47 /** Index of the NetKey. */ 95 /* Internal parameters for tracking message responses. */ 108 * @param net_idx Network index to encrypt with. 121 * @param net_idx Network index to encrypt with. 136 * @param net_idx Network index to encrypt with. 148 * @param net_idx Network index to encrypt with. 163 * @param net_idx Network index to encrypt with. 176 * @param net_idx Network index to encrypt with. 178 * @param key_net_idx Network index to get the Private Node Identity state of.
|
D | large_comp_data_cli.h | 4 * SPDX-License-Identifier: Apache-2.0 74 /** Internal parameters for tracking message responses. */ 104 * @param net_idx Network index to encrypt with. 128 * @param net_idx Network index to encrypt with.
|
D | msg.h | 8 * SPDX-License-Identifier: Apache-2.0 77 /** NetKey Index of the subnet to send the message on. */ 80 /** AppKey Index to encrypt the message with. */ 113 * @param net_key_idx NetKey Index of the subnet to send the message on. Only used if 115 * @param app_key_idx AppKey Index to encrypt the message with. 130 * @param app_key_idx AppKey Index to encrypt the message with. 140 * @param net_key_idx NetKey Index of the subnet to send the message on. 153 .app_idx = (pub)->key, \ 154 .addr = (pub)->addr, \ 155 .send_ttl = (pub)->ttl, \ [all …]
|
D | brg_cfg_cli.h | 4 * SPDX-License-Identifier: Apache-2.0 104 /* Internal parameters for tracking message responses. */ 120 * @param net_idx Network index to encrypt the message with. 143 * @param net_idx Network index to encrypt the message with. 170 * @param net_idx Network index to encrypt the message with. 191 * @param net_idx Network index to encrypt the message with. 215 * @param net_idx Network index to encrypt the message with. 217 * @param net_idx1 NetKey Index of the first subnet 218 * @param net_idx2 NetKey Index of the second subnet 247 * @param net_idx Network index to encrypt the message with. [all …]
|
D | cfg_cli.h | 8 * SPDX-License-Identifier: Apache-2.0 88 * as @c buf->len is greater than or equal to 2. 185 * @param net_idx The index of the NetKey. 211 * @param net_idx The index of the NetKey. 212 * @param app_idx The index of the AppKey. 228 * @param net_idx The index of the NetKey. 275 * @param net_idx The index of the NetKey. 301 * @param net_idx The index of the NetKey. 340 /* Internal parameters for tracking message responses. */ 401 /** Application index to publish with. */ [all …]
|
/Zephyr-latest/subsys/demand_paging/eviction/ |
D | lru.c | 4 * SPDX-License-Identifier: Apache-2.0 8 * This is meant to be used with MMUs that need manual tracking of their 13 * - Page frames made evictable are appended to the end of the LRU queue with 18 * - When accessed, an unaccessible page causes a fault. The architecture 23 * - On page reclammation, the page at the head of the queue is removed for 26 * - If the new head page is actively used, it will cause a fault and be moved 45 * doubly-linked list with actual pointers would be wasteful as all we need 46 * is a previous PF index and a next PF index for each page frame number 51 * Number of bits needed to store a page frame index. Rounded up to a byte 72 return (pf - k_mem_page_frames) + 1; in pf_to_idx() [all …]
|
/Zephyr-latest/subsys/net/conn_mgr/ |
D | conn_mgr_monitor.c | 4 * SPDX-License-Identifier: Apache-2.0 21 #define THREAD_PRIORITY K_PRIO_COOP(CONFIG_NUM_COOP_PRIORITIES - 1) 30 /* Internal state array tracking readiness, flags, and other state information for all available 37 /* Tracks the most recent total quantity of L4-ready ifaces (any, IPv4, IPv6) */ 54 * @brief Retrieves pointer to an iface by the index that corresponds to it in iface_states 56 * @param index - The index in iface_states to find the corresponding iface for. 57 * @return net_if* - The corresponding iface. 59 static struct net_if *conn_mgr_mon_get_if_by_index(int index) in conn_mgr_mon_get_if_by_index() argument 61 return net_if_get_by_index(index + 1); in conn_mgr_mon_get_if_by_index() 65 * @brief Gets the index in iface_states for the state corresponding to a provided iface. [all …]
|
/Zephyr-latest/drivers/input/ |
D | input_stmpe811.c | 3 * SPDX-License-Identifier: Apache-2.0 84 * - bits [1-3] X, Y only acquisition mode 89 * Analog-to-digital Converter 91 * - bit [3] selects 12 bit ADC 92 * - bits [4-6] select ADC conversion time = 80 99 * - 00 : 1.625 MHz 100 * - 01 : 3.25 MHz 101 * - 10 : 6.5 MHz 102 * - 11 : 6.5 MHz 109 * - Fractional part : 7 [all …]
|
/Zephyr-latest/drivers/gnss/ |
D | gnss_u_blox_m8.c | 4 * SPDX-License-Identifier: Apache-2.0 92 struct ubx_m8_data *data = dev->data; in ubx_m8_resume() 95 ret = modem_pipe_open(data->uart_pipe, K_SECONDS(10)); in ubx_m8_resume() 100 ret = modem_chat_attach(&data->chat, data->uart_pipe); in ubx_m8_resume() 102 (void)modem_pipe_close(data->uart_pipe, K_SECONDS(10)); in ubx_m8_resume() 111 struct ubx_m8_data *data = dev->data; in ubx_m8_turn_off() 113 return modem_pipe_close(data->uart_pipe, K_SECONDS(10)); in ubx_m8_turn_off() 118 struct ubx_m8_data *data = dev->data; in ubx_m8_init_nmea0183_match() 123 .satellites = data->satellites, in ubx_m8_init_nmea0183_match() 124 .satellites_size = ARRAY_SIZE(data->satellites), in ubx_m8_init_nmea0183_match() [all …]
|
/Zephyr-latest/boards/st/st25dv_mb1283_disco/ |
D | st25dv_mb1283_disco.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include "st/f4/stm32f405vgtx-pinctrl.dtsi" 10 #include <zephyr/dt-bindings/input/input-event-codes.h> 11 #include <zephyr/dt-bindings/display/ili9xxx.h> 19 zephyr,shell-uart = &usart6; 26 compatible = "gpio-leds"; 36 compatible = "gpio-keys"; 69 compatible = "zephyr,mipi-dbi-spi"; 70 reset-gpios = <&gpioc 1 GPIO_ACTIVE_HIGH>; [all …]
|
/Zephyr-latest/arch/arm/core/mmu/ |
D | arm_mmu_priv.h | 7 * SPDX-License-Identifier: Apache-2.0 15 * ARM Architecture Reference Manual, ARMv7-A and ARMv7-R edition 18 * Chapter B3.5.1, fig. B3-4 and B3-5, p. B3-1323 f. 70 /* <-- end MP-/non-MP-specific */ 84 #define ARM_MMU_L2_PT_INDEX(pt) ((uint32_t)pt - (uint32_t)l2_page_tables) /\ 161 * Data structure for L2 table usage tracking, contains a 162 * L1 index reference if the respective L2 table is in use.
|
/Zephyr-latest/doc/build/dts/api/ |
D | api.rst | 10 Some of these -- the ones beginning with ``DT_INST_`` -- require a special 19 .. _devicetree-generic-apis: 33 :ref:`devicetree-property-access` API. 45 .. doxygengroup:: devicetree-generic-id 47 .. _devicetree-property-access: 52 The following general-purpose macros can be used to access node properties. 53 There are special-purpose APIs for accessing the :ref:`devicetree-ranges-property`, 54 :ref:`devicetree-reg-property` and :ref:`devicetree-interrupts-property`. 59 .. doxygengroup:: devicetree-generic-prop 61 .. _devicetree-ranges-property: [all …]
|
/Zephyr-latest/arch/arm64/core/ |
D | mmu.h | 5 * SPDX-License-Identifier: Apache-2.0 20 * 48-bit address with 4KB granule size: 22 * +------------+------------+------------+------------+-----------+ 24 * +---------------------------------------------------------------+ 26 * +------------+------------+------------+------------+-----------+ 32 /* 48-bit VA address */ 35 /* Maximum 4 XLAT table levels (L0 - L3) */ 42 #define Ln_XLAT_VA_SIZE_SHIFT (PAGE_SIZE_SHIFT - 3) 51 (XLAT_LAST_LEVEL - (level)))) 56 /* Virtual Address Index within a given translation table level */ [all …]
|
/Zephyr-latest/boards/st/stm32f429i_disc1/ |
D | stm32f429i_disc1.dts | 5 * SPDX-License-Identifier: Apache-2.0 8 /dts-v1/; 10 #include <st/f4/stm32f429zitx-pinctrl.dtsi> 11 #include <zephyr/dt-bindings/display/ili9xxx.h> 12 #include <zephyr/dt-bindings/input/input-event-codes.h> 20 zephyr,shell-uart = &usart1; 29 compatible = "zephyr,memory-region", "mmio-sram"; 32 zephyr,memory-region = "SDRAM2"; 36 compatible = "gpio-leds"; 48 compatible = "gpio-keys"; [all …]
|
/Zephyr-latest/include/zephyr/sys/ |
D | util.h | 2 * Copyright (c) 2011-2014, Wind River Systems, Inc. 4 * SPDX-License-Identifier: Apache-2.0 40 * @defgroup sys-util Utility Functions 80 (((~0UL) - (1UL << (l)) + 1) & (~0UL >> (BITS_PER_LONG - 1 - (h)))) 83 * @brief Create a contiguous 64-bit bitmask starting at bit position @p l 87 (((~0ULL) - (1ULL << (l)) + 1) & (~0ULL >> (BITS_PER_LONG_LONG - 1 - (h)))) 89 /** @brief 0 if @p cond is true-ish; causes a compile error otherwise. */ 90 #define ZERO_OR_COMPILE_ERROR(cond) ((int) sizeof(char[1 - 2 * !(cond)]) - 1) 94 /* The built-in function used below for type checking in C is not 152 * in that it also ensures that @p ptr is aligned to an array-element boundary [all …]
|
/Zephyr-latest/tests/kernel/mem_protect/mem_map/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 17 /* 32-bit IA32 page tables have no mechanism to restrict execution */ 25 /* k_mem_map_phys_bare() doesn't have alignment requirements, any oddly-sized buffer 39 printk("Caught system error -- reason %d\n", reason); 81 /* Initialize read-write buf with some bytes */ in ZTEST() 102 "unexpected byte at buffer index %d (%u != %u)", in ZTEST() 106 "unequal byte at RW index %d (%u != %u)", in ZTEST() 110 /* Check that the read-only mapped area contains the expected data. */ in ZTEST() 115 "unexpected byte at RO index %d (%u != %u)", in ZTEST() 119 "unequal byte at RO index %d (%u != %u)", in ZTEST() [all …]
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | cdb.c | 4 * SPDX-License-Identifier: Apache-2.0 28 /* Tracking of what storage changes are pending for App and Net Keys. We 34 uint16_t key_idx:12, /* AppKey or NetKey Index */ 40 /* Tracking of what storage changes are pending for node settings. */ 73 uint32_t index; member 86 [0 ... (CONFIG_BT_MESH_CDB_NODE_COUNT - 1)] = { 91 [0 ... (CONFIG_BT_MESH_CDB_SUBNET_COUNT - 1)] = { 96 [0 ... (CONFIG_BT_MESH_CDB_APP_KEY_COUNT - 1)] = { 104 * Check if an address range from addr_start for addr_start + num_elem - 1 is 106 * available after the conflicting range and -EAGAIN will be returned. [all …]
|
D | net.h | 4 * SPDX-License-Identifier: Apache-2.0 30 * PDUs must use a 64-bit (8 byte) NetMIC, whereas CTL=0 PDUs have at least 31 * a 32-bit (4 byte) NetMIC and AppMIC giving again a total of 8 bytes. 175 /* Bit fields for tracking which groups the Friend knows about */ 203 /* Don't touch - intentionally last */ 208 uint32_t iv_index; /* Current IV Index */ 265 uint8_t old_iv:1, /* iv_index - 1 was used */ 287 #define BT_MESH_NET_IVI_TX (bt_mesh.iv_index - \ 290 #define BT_MESH_NET_IVI_RX(rx) (bt_mesh.iv_index - (rx)->old_iv) 337 if (cb->start) { in send_cb_finalize() [all …]
|
/Zephyr-latest/drivers/memc/ |
D | memc_mcux_flexspi.c | 2 * Copyright 2020-2023 NXP 4 * SPDX-License-Identifier: Apache-2.0 27 read-while-write hazards. This configuration is not recommended." 41 /* Structure tracking LUT offset and usage per each port */ 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/include/zephyr/drivers/sip_svc/ |
D | sip_svc_driver.h | 4 * SPDX-License-Identifier: Apache-2.0 12 #include <zephyr/arch/arm64/arm-smccc.h> 16 #define DEV_API(dev) ((struct svc_driver_api *)(dev)->api) 133 __ASSERT(api->sip_supervisory_call, "sip_supervisory_call shouldn't be NULL"); in z_impl_sip_supervisory_call() 136 api->sip_supervisory_call(dev, function_id, arg0, arg1, arg2, arg3, arg4, arg5, arg6, res); in z_impl_sip_supervisory_call() 157 __ASSERT(api->sip_svc_plat_func_id_valid, in z_impl_sip_svc_plat_func_id_valid() 160 return api->sip_svc_plat_func_id_valid(dev, command, func_id); in z_impl_sip_svc_plat_func_id_valid() 167 * @param client_idx client index. 168 * @param trans_idx transaction index. 170 * @retval transaction id, which is used for tracking each transaction. [all …]
|