/Zephyr-latest/drivers/wifi/ |
D | Kconfig | 4 # SPDX-License-Identifier: Apache-2.0 7 bool "Wi-Fi drivers" 12 module-dep = LOG 13 module-str = Log level for Wi-Fi driver 14 module-help = Sets log level for Wi-Fi Device Drivers. 18 int "Wi-Fi driver init priority" 21 Wi-Fi device driver initialization priority. 24 so that it can start before the networking sub-system. 27 bool "Support offloaded Wi-Fi device drivers" 30 Enable support for Full-MAC Wi-Fi devices. [all …]
|
/Zephyr-latest/dts/bindings/mfd/ |
D | ite,it8801-mfd.yaml | 2 # SPDX-License-Identifier: Apache-2.0 5 ITE IT8801 ioexpander multi-function device drivers. 8 An example configuration using the it8801-common-cfg.dtsi template: 12 compatible = "ite,it8801-mfd"; 14 * SMBus address (7-bit without R/W) 19 irq-gpios = <&gpioa 1 0>; /* SMB_INT# */ 22 #include <ite/it8801-common-cfg.dtsi> 24 /* sub-devices available at nodelabels: 25 * - ioex_it8801_port0 26 * - ioex_it8801_port1 [all …]
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | proxy_srv.c | 5 * SPDX-License-Identifier: Apache-2.0 72 [0 ... (CONFIG_BT_MAX_CONN - 1)] = { 92 return -EINVAL; in gatt_recv() 97 return -EINVAL; in gatt_recv() 111 if (buf->len < 1) { in filter_set() 113 return -EINVAL; in filter_set() 121 (void)memset(client->filter, 0, sizeof(client->filter)); in filter_set() 122 client->filter_type = ACCEPT; in filter_set() 125 (void)memset(client->filter, 0, sizeof(client->filter)); in filter_set() 126 client->filter_type = REJECT; in filter_set() [all …]
|
D | app_keys.c | 5 * SPDX-License-Identifier: Apache-2.0 63 [0 ... (CONFIG_BT_MESH_APP_KEY_COUNT - 1)] = { 109 key.net_idx = app->net_idx, in store_app_key() 110 key.updated = app->updated, in store_app_key() 112 memcpy(&key.val[0], &app->keys[0].val, sizeof(struct bt_mesh_key)); in store_app_key() 113 memcpy(&key.val[1], &app->keys[1].val, sizeof(struct bt_mesh_key)); in store_app_key() 135 if (!update->valid) { in app_key_update_find() 140 if (update->key_idx == key_idx) { in app_key_update_find() 157 update->clear = clear; in update_app_key_settings() 172 free_slot->valid = 1U; in update_app_key_settings() [all …]
|
/Zephyr-latest/doc/build/dts/ |
D | intro-syntax-structure.rst | 1 .. _dt-syntax: 6 As the name indicates, a devicetree is a tree. The human-readable text format 24 .. code-block:: devicetree 26 /dts-v1/; 29 a-node { 30 subnode_nodelabel: a-sub-node { 36 The ``/dts-v1/;`` line means the file's contents are in version 1 of the DTS 37 syntax, which has replaced a now-obsolete "version 0". 46 #. A node named ``a-node``, which is a child of the root node 47 #. A node named ``a-sub-node``, which is a child of ``a-node`` [all …]
|
/Zephyr-latest/subsys/bluetooth/services/ |
D | Kconfig.dis | 4 # SPDX-License-Identifier: Apache-2.0 54 - 1 Bluetooth SIG, the Vendor ID was assigned by the Bluetooth SIG 55 - 2 USB IF, the Vendor ID was assigned by the USB IF 86 release number in Binary-Coded Decimal. This is a vendor-assigned value, 91 (JJ - major version number, M - minor version number, 92 N - sub-minor version number); e.g., version 2.1.3 is represented with 94 When upward-compatible changes are made to the device, it is recommended 97 incremented. The sub-minor version is incremented for bug fixes. 148 bool "DIS UDI for Medical Devices characteristic" 150 Enable UDI for Medical Devices characteristic in Device Information Service. [all …]
|
/Zephyr-latest/tests/arch/x86/info/src/ |
D | acpi.c | 2 * SPDX-License-Identifier: Apache-2.0 15 return "PCI Sub-hierarchy"; in get_dmar_scope_type() 21 return "ACPI name-space enumerated"; in get_dmar_scope_type() 31 printk("\t\t\t. Scope type %s\n", get_dmar_scope_type(devscope->EntryType)); in dmar_devsope_handler() 32 printk("\t\t\t. Enumeration ID %u\n", devscope->EnumerationId); in dmar_devsope_handler() 34 if (devscope->EntryType < ACPI_DMAR_SCOPE_TYPE_RESERVED) { in dmar_devsope_handler() 36 int num_path = (devscope->Length - 6u) / 2u; in dmar_devsope_handler() 42 while (num_path--) { in dmar_devsope_handler() 43 printk("\t\t\t. PCI Path %02x:%02x.%02x\n", devscope->Bus, in dmar_devsope_handler() 56 if (drhd->Flags & ACPI_DRHD_FLAG_INCLUDE_PCI_ALL) { in vtd_drhd_info() [all …]
|
/Zephyr-latest/modules/openthread/ |
D | Kconfig.thread | 4 # SPDX-License-Identifier: Apache-2.0 48 bool "FTD - Full Thread Device" 50 bool "MTD - Minimal Thread Device" 54 bool "SED - Sleepy End Device" 58 int "Poll period for sleepy end devices [ms]" 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. 127 To allow end devices (EDs) in a Thread network to inform their 134 To allow end devices (EDs) in a Thread network to switch to a 150 default -65 [all …]
|
/Zephyr-latest/drivers/espi/ |
D | host_subs_npcx.c | 4 * SPDX-License-Identifier: Apache-2.0 11 * @brief Nuvoton NPCX host sub modules driver 13 * This file contains the drivers of NPCX Host Sub-Modules that serve as an 16 * +------------+ 17 * | Serial |---> TXD 18 * +<--->| Port |<--- RXD 19 * | | |<--> ... 20 * | +------------+ 21 * | +------------+ | 22 * +------------+ |<--->| KBC & PM |<--->| [all …]
|
/Zephyr-latest/scripts/build/ |
D | gen_device_deps.py | 6 # SPDX-License-Identifier: Apache-2.0 12 This information is encoded in the first-pass binary using identifiers 14 and replaces them with ones optimized for use with the devices 17 For example the sensor might have a first-pass handle defined by its 26 driver-specific object file. 38 'dts', 'python-devicetree', 'src')) 47 parser.add_argument("-k", "--kernel", required=True, 49 parser.add_argument("--dynamic-deps", action="store_true", 51 parser.add_argument("-d", "--num-dynamic-devices", required=False, default=0, 52 type=int, help="Input number of dynamic devices allowed") [all …]
|
/Zephyr-latest/tests/kernel/device/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 35 /* Fake deferred devices */ 57 * Validates device binding for an existing and a non-existing device object. 62 * 1. A non-existing device object. 74 /* Validates device binding for a non-existing device object */ in ZTEST() 111 * @brief Test device binding for non-existing device 113 * Validates binding of a random device driver(non-defined driver) named 138 * lead to system crash in TrustZone enabled Non-Secure builds. in ZTEST_USER() 165 rp->pre_kernel = pre_kernel; in add_init_record() 166 rp->is_pre_kernel = k_is_pre_kernel(); in add_init_record() [all …]
|
/Zephyr-latest/drivers/gpio/ |
D | gpio_xlnx_ps.c | 6 * SPDX-License-Identifier: Apache-2.0 23 #define DEV_CFG(_dev) ((const struct gpio_xlnx_ps_dev_cfg *)(_dev)->config) 24 #define DEV_DATA(_dev) ((struct gpio_xlnx_ps_dev_data *const)(_dev)->data) 53 dev_data->base = DEVICE_MMIO_NAMED_GET(dev, reg_base); in gpio_xlnx_ps_init() 54 __ASSERT(dev_data->base != 0, "%s map register space failed", dev->name); in gpio_xlnx_ps_init() 56 /* Propagate the virtual base address to the bank devices */ in gpio_xlnx_ps_init() 57 for (bank = 0; bank < dev_conf->num_banks; bank++) { in gpio_xlnx_ps_init() 59 dev_conf->bank_devices[bank]->data; in gpio_xlnx_ps_init() 60 __ASSERT(bank_data != NULL, "%s bank %u data unresolved", dev->name, bank); in gpio_xlnx_ps_init() 61 bank_data->base = dev_data->base; in gpio_xlnx_ps_init() [all …]
|
D | gpio_xlnx_ps_bank.c | 6 * SPDX-License-Identifier: Apache-2.0 24 #define DEV_CFG(_dev) ((const struct gpio_xlnx_ps_bank_dev_cfg *)(_dev)->config) 25 #define DEV_DATA(_dev) ((struct gpio_xlnx_ps_bank_dev_data *const)(_dev)->data) 34 * - Pull up 35 * - Pull down 36 * - Open drain 37 * - Open source. 45 * -EINVAL if the specified pin index is out of range, 46 * -ENOTSUP if the pin configuration data contains a flag 64 return -ENOTSUP; in gpio_xlnx_ps_pin_configure() [all …]
|
D | gpio_intel.c | 2 * Copyright (c) 2018-2019 Intel Corporation 4 * SPDX-License-Identifier: Apache-2.0 17 * Due to GPIO callback only allowing 32 pins (as a 32-bit mask) at once, 18 * each set is further sub-divided into multiple devices, so 19 * we export GPIO_INTEL_NR_SUBDEVS devices to the kernel. 30 #include <zephyr/dt-bindings/interrupt-controller/intel-ioapic.h> 92 ((const struct gpio_intel_config *)(_dev)->config) 93 #define DEV_DATA(_dev) ((struct gpio_intel_data *)(_dev)->data) 130 #define REG_GPI_INT_STS_BASE_GET(data) (data)->intr_stat_reg 132 #define REG_GPI_INT_EN_BASE_GET(data) (data)->intr_stat_reg + 0x20 [all …]
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | gatt.c | 1 /* gatt.c - Generic Attribute Profile handling */ 4 * Copyright (c) 2015-2016 Intel Corporation 7 * SPDX-License-Identifier: Apache-2.0 295 /* Total number of flags - must be at the end of the enum */ 339 err = bt_settings_store_sc(cfg->id, &cfg->peer, &cfg->data, sizeof(cfg->data)); in sc_store() 345 LOG_DBG("stored SC for %s (0x%04x-0x%04x)", bt_addr_le_str(&cfg->peer), cfg->data.start, in sc_store() 346 cfg->data.end); in sc_store() 367 err = bt_settings_delete_sc(cfg->id, &cfg->peer); in bt_gatt_clear_sc() 371 LOG_DBG("deleted SC for %s", bt_addr_le_str(&cfg->peer)); in bt_gatt_clear_sc() 382 if (bt_addr_le_is_bonded(conn->id, &conn->le.dst)) { in sc_clear() [all …]
|
/Zephyr-latest/doc/introduction/ |
D | index.rst | 6 The Zephyr OS is based on a small-footprint kernel designed for use on 7 resource-constrained and embedded systems: from simple embedded environmental 13 - ARCv2 (EM and HS) and ARCv3 (HS6X) 14 - ARMv6-M, ARMv7-M, and ARMv8-M (Cortex-M) 15 - ARMv7-A and ARMv8-A (Cortex-A, 32- and 64-bit) 16 - ARMv7-R, ARMv8-R (Cortex-R, 32- and 64-bit) 17 - Intel x86 (32- and 64-bit) 18 - MIPS (MIPS32 Release 1 specification) 19 - NIOS II Gen 2 20 - RISC-V (32- and 64-bit) [all …]
|
/Zephyr-latest/include/zephyr/ |
D | device.h | 4 * SPDX-License-Identifier: Apache-2.0 63 * multiple devices in a compact way. 157 * Otherwise, the node's full name in `node-name@unit-address` form. 273 * If there no such devices, this returns NULL. 277 * If this returns non-NULL, the device must be checked for readiness 280 * @param compat lowercase-and-underscores devicetree compatible 294 * If there are no such devices, this will fail at compile time. 298 * If this returns non-NULL, the device must be checked for readiness before 301 * @param compat lowercase-and-underscores devicetree compatible 338 * This macro can be used at the top-level to declare a device, such [all …]
|
D | init.h | 4 * SPDX-License-Identifier: Apache-2.0 30 * - `EARLY`: Used very early in the boot process, right after entering the C 35 * - `PRE_KERNEL_1`: Executed in Kernel's initialization context, which uses 37 * - `PRE_KERNEL_2`: Same as `PRE_KERNEL_1`. 38 * - `POST_KERNEL`: Executed after Kernel is alive. From this point on, Kernel 40 * - `APPLICATION`: Executed just before application code (`main`). 41 * - `SMP`: Only available if @kconfig{CONFIG_SMP} is enabled, specific for 46 * @note The same infrastructure is used by devices. 64 * @retval -errno If init fails. 73 * @retval -errno If device initialization fails. [all …]
|
/Zephyr-latest/doc/connectivity/bluetooth/shell/host/ |
D | gap.rst | 12 logical Bluetooth devices. 15 :kconfig:option:`CONFIG_BT_ID_MAX`. To create a new identity, use :code:`bt id-create` command. You 16 can then use it by selecting it with its ID :code:`bt id-select <id>`. Finally, you can list all the 17 available identities with :code:`id-show`. 19 Scan for devices 28 .. code-block:: console 32 …[DEVICE]: CB:01:1A:2D:6E:AE (random), AD evt type 0, RSSI -78 C:1 S:1 D:0 SR:0 E:0 Prim: LE 1M, S… 33 …[DEVICE]: 20:C2:EE:59:85:5B (random), AD evt type 3, RSSI -62 C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, S… 34 …[DEVICE]: E3:72:76:87:2F:E8 (random), AD evt type 3, RSSI -74 C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, S… 35 …[DEVICE]: 1E:19:25:8A:CB:84 (random), AD evt type 3, RSSI -67 C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, S… [all …]
|
/Zephyr-latest/include/zephyr/drivers/ |
D | flash.h | 2 * Copyright (c) 2017-2024 Nordic Semiconductor ASA 5 * SPDX-License-Identifier: Apache-2.0 70 * This also includes devices that support erase but 85 #define FLASH_ERASE_CAPS_UNSET (int)-1 110 return (p->caps.no_explicit_erase) ? 0 : FLASH_ERASE_C_EXPLICIT; in flash_params_get_erase_cap() 135 * the driver, with the driver responsible for ensuring the "write-protect" 136 * after the operation completes (successfully or not) matches the write-protect 146 * the driver, with the driver responsible for ensuring the "erase-protect" 147 * after the operation completes (successfully or not) matches the erase-protect 150 * The callback is optional for RAM non-volatile devices, which do not [all …]
|
/Zephyr-latest/include/zephyr/pm/ |
D | state.h | 4 * SPDX-License-Identifier: Apache-2.0 41 * requirements for the devices, leaving them at the states where 52 * peripherals into low-power states. No operating state is lost (ie. 62 * In addition to putting peripherals into low-power states all 63 * non-boot CPUs are powered off. It should allow more energy to be 76 * self-refresh mode to retain its contents. The state of devices and 77 * CPUs is saved and held in memory, and it may require some boot- 88 * memory are written to disk or other non-volatile storage, and on 89 * resume it's read back into memory with the help of boot-strapping 102 * restarted as if from initial power-up and kernel boot. [all …]
|
/Zephyr-latest/scripts/pylib/twister/twisterlib/ |
D | environment.py | 4 # Copyright (c) 2018-2024 Intel Corporation 8 # SPDX-License-Identifier: Apache-2.0 45 def _get_installed_packages() -> Generator[str, None, None]: 63 PYTEST_PLUGIN_INSTALLED = 'pytest-twister-harness' in installed_packages 71 def add_parse_arguments(parser = None) -> argparse.ArgumentParser: 82 $ ./scripts/twister -v \\ 83 --testsuite-root tests/ztest/base \\ 84 --testsuite-root tests/kernel \\ 85 --test tests/ztest/base/testing.ztest.verbose_0 \\ 86 --test tests/kernel/fifo/fifo_api/kernel.fifo [all …]
|
/Zephyr-latest/include/zephyr/drivers/pcie/ |
D | pcie.h | 4 * SPDX-License-Identifier: Apache-2.0 19 #include <zephyr/dt-bindings/pcie/pcie.h> 34 * in include/dt-bindings/pcie/pcie.h: see PCIE_BDF() and friends, since 45 * look to PCIE_ID_* macros in include/dt-bindings/pcie/pcie.h for more. 117 * Initialize PCIe-related information within a specific instance of 158 * These functions are arch-, board-, or SoC-specific. 162 * @brief Read a 32-bit word from an endpoint's configuration space. 173 * @brief Write a 32-bit word to an endpoint's configuration space. 194 /** Scan all available PCI host controllers and sub-busses */ 200 /** Options for performing a scan for PCI devices */ [all …]
|
/Zephyr-latest/scripts/utils/ |
D | pinctrl_nrf_migrate.py | 4 # SPDX-License-Identifier: Apache-2.0 11 nRF-based boards using the old <signal>-pin properties to select peripheral 13 file by removing old pin-related properties replacing them with pinctrl states. 14 A board-pinctrl.dtsi file will be generated containing the configuration for 28 -i path/to/board.dts 29 [--no-backup] 30 [--skip-nrf-check] 31 [--header ""] 35 .. code-block:: devicetree 41 tx-pin = <5>; [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/ |
D | test_brg.c | 4 * SPDX-License-Identifier: Apache-2.0 91 ASSERT_TRUE_MSG(get_device_nbr() >= 2, "Regular devices must be initialized after " in test_device_init() 92 "tester and Bridge devices."); in test_device_init() 94 /* Regular devices addresses starts from address 0x0003.*/ in test_device_init() 97 /* Regular devices are provisioned into subnets starting with idx 1. */ in test_device_init() 98 dev_uuid[8] = get_device_nbr() - 1; in test_device_init() 123 /* UUID[6] - address to be used for provisioning. in unprovisioned_beacon() 124 * UUID[8] - subnet to be used for provisioning. in unprovisioned_beacon() 297 /* Disable SNB on devices to let Subnet Bridge propagate new IV index value. */ in tester_device_configure() 317 ASSERT_EQUAL(recvd_msgs_cnt * sizeof(recvd_msgs[0]), length - 2); in tester_data_cb() [all …]
|