/Zephyr-latest/subsys/net/lib/lwm2m/ |
D | lwm2m_obj_access_control.h | 4 * SPDX-License-Identifier: Apache-2.0 12 * @brief Main access control logic. Checks if the server with instance id @p server_obj_inst are 13 * allowed to do @p operation on the object instance of object id @p obj_id 14 * and object instance id @p obj_inst_id. If access control is enabled, this should 17 * @param obj_id object id of the object instance having its rights checked. 18 * @param obj_inst_id object instance id of the object instance having its rights checked. 19 * @param server_obj_inst object instance id of the server attempting to do the operation. 23 * 0 - server has access 24 * -EACCES - unauthorized 25 * -EPERM - method not allowed [all …]
|
D | lwm2m_obj_server.h | 4 * SPDX-License-Identifier: Apache-2.0 43 * with object instance id given by @p obj_inst_id. 45 * @param[in] obj_inst_id Object instance id of the server object instance 52 * with object instance id given by @p obj_inst_id. 54 * @param[in] obj_inst_id Object instance id of the server object instance 60 * @brief Returns the Short Server ID of the server object instance with 61 * object instance id given by @p obj_inst_id. 63 * @param[in] obj_inst_id Object instance id of the server object 69 * @brief Returns the object instance id of the server having ssid given by @p short_id. 72 * @return Object instance id or negative in case not found [all …]
|
D | lwm2m_registry.h | 4 * SPDX-License-Identifier: Apache-2.0 12 * @brief Creates and registers an object instance to the registry. Object specified by 15 * @param[in] obj_id Object id of the object instance. 16 * @param[in] obj_inst_id Object instance id of the object instance to be created. 17 * @param[out] obj_inst Engine object instance buffer pointer. 24 * @brief Deletes the object instance given by @p obj_id / @p obj_inst_id. 26 * @param[in] obj_id Object id of the object instance to be deleted 27 * @param[in] obj_inst_id Object instance id of the object instance to be deleted 33 * @brief Get the engine object instance specified by @p msg->path. Usually only used in do_write 36 * @param[in] msg lwm2m message containing the path to the object instance. [all …]
|
D | lwm2m_engine.h | 3 * Copyright (c) 2018-2019 Foundries.io 5 * SPDX-License-Identifier: Apache-2.0 96 * @p obj_inst and the resource id in @p msg. Returns the field to obj_field (if it exists). 99 * @param[in] obj_inst Engine object instance to signal which object the resource belongs to 139 * @brief Deletes the object instance specified by msg->path. If the object instance id of the 189 * @brief Returns the index in the security objects list corresponding to the object instance 190 * id given by @p obj_inst_id 192 * @param[in] obj_inst_id object instance id of the security instance 198 * @brief Returns the object instance id of the security having ssid given by @p short_id. 201 * @return Object instance id or negative in case not found [all …]
|
/Zephyr-latest/include/zephyr/ipc/ |
D | icmsg_me.h | 4 * SPDX-License-Identifier: Apache-2.0 20 * @brief Multi-endpoint extension of icmsg IPC library 21 * @defgroup ipc_icmsg_me_api Icmsg multi-endpoint IPC library API 27 /* If more bytes than 1 was used for endpoint id, endianness should be 45 /** @brief Initialize an icmsg_me instance 48 * It initializes the underlying icmsg instance as one of the initialization 52 * underlying icmsg instance being created. 53 * @param[inout] data Structure containing run-time data used by the icmsg_me 54 * instance. The structure shall be filled with zeros 56 * structure must be preserved while the icmsg_me instance [all …]
|
/Zephyr-latest/subsys/ipc/ipc_service/backends/ |
D | ipc_icmsg_me_initiator.c | 4 * SPDX-License-Identifier: Apache-2.0 28 const struct device *instance = priv; in bound() local 29 struct backend_data_t *dev_data = instance->data; in bound() 31 icmsg_me_icmsg_bound(&dev_data->icmsg_me_data); in bound() 36 const struct device *instance = priv; in received() local 37 struct backend_data_t *dev_data = instance->data; in received() 39 const icmsg_me_ept_id_t *id = data; in received() local 43 if (*id == 0) { in received() 49 id++; in received() 50 icmsg_me_ept_id_t ept_id = *id; in received() [all …]
|
D | ipc_icmsg_me_follower.c | 4 * SPDX-License-Identifier: Apache-2.0 24 icmsg_me_ept_id_t id; member 40 if (data->ept_disc_loc_cache[i] == NULL) { in get_ept_cached_loc() 43 if (strncmp(data->ept_disc_loc_cache[i]->name, name, in get_ept_cached_loc() 45 return data->ept_disc_loc_cache[i]; in get_ept_cached_loc() 58 if (strncmp(data->ept_disc_rmt_cache[i].name, name, in get_ept_cached_rmt() 60 strlen(data->ept_disc_rmt_cache[i].name) == len) { in get_ept_cached_rmt() 61 return &data->ept_disc_rmt_cache[i]; in get_ept_cached_rmt() 71 if (data->ept_disc_loc_cache[i] == NULL) { in cache_ept_loc() 72 data->ept_disc_loc_cache[i] = ept; in cache_ept_loc() [all …]
|
/Zephyr-latest/scripts/tests/twister/ |
D | test_harness.py | 4 # SPDX-License-Identifier: Apache-2.0 48 …+ "[{state}] {suite}.{test}, where GetParam() = 8-byte object <0B-00 00-00 00-9A 80-F7> (0 ms tota… 54 "[00:00:00.000,000] [0m<inf> label: [----------] Global test environment tear-down[0m" 168 "match id", 202 mock_testsuite = mock.Mock(id="id", testcases=[]) 209 instance = TestInstance( 212 instance.testsuite.harness_config = { 219 robot_harness.configure(instance) 222 assert robot_harness.instance == instance 233 mock_testsuite = mock.Mock(id="id", testcases=[]) [all …]
|
/Zephyr-latest/include/zephyr/bluetooth/audio/ |
D | media_proxy.h | 7 * Copyright (c) 2019 - 2024 Nordic Semiconductor ASA 9 * SPDX-License-Identifier: Apache-2.0 66 /** A 32-bit signed parameter. The parameter value depends on the @ref mpl_cmd.opcode */ 95 /** Concatenated search control items - (type, length, param) */ 102 * All values from -128 to 127 allowed, only some defined 106 #define MEDIA_PROXY_PLAYBACK_SPEED_MIN -128 108 #define MEDIA_PROXY_PLAYBACK_SPEED_QUARTER -128 110 #define MEDIA_PROXY_PLAYBACK_SPEED_HALF -64 122 * The allowed values for seeking speed are the range -64 to -4 127 /** Maximum seeking speed - Can be negated */ [all …]
|
/Zephyr-latest/subsys/bluetooth/controller/ticker/ |
D | ticker.c | 2 * Copyright (c) 2016-2018 Nordic Semiconductor ASA 5 * SPDX-License-Identifier: Apache-2.0 55 uint8_t force:1; /* If non-zero, node timeout should 59 uint8_t start_pending:1; /* If non-zero, start is pending for 63 uint32_t ticks_periodic; /* If non-zero, interval 73 uint32_t ticks_slot; /* Air-time reservation for node */ 83 uint32_t remainder_periodic;/* Sub-microsecond tick remainder 93 uint32_t remainder_current; /* Current sub-microsecond tick 145 /* Slot window re-schedule states */ 152 ((_ticker)->ext_data && ((_ticker)->ext_data->ticks_slot_window != 0U)) [all …]
|
/Zephyr-latest/include/zephyr/logging/ |
D | log_backend.h | 4 * SPDX-License-Identifier: Apache-2.0 84 uint8_t id; member 102 * @brief Macro for creating a logger backend instance. 104 * @param _name Name of the backend instance. 115 .id = 0, \ 135 * @param[in] backend Pointer to the backend instance. 140 if (backend->api->init) { in log_backend_init() 141 backend->api->init(backend); in log_backend_init() 151 * @param[in] backend Pointer to the backend instance. 154 * @retval -EBUSY if backend is not yet ready. [all …]
|
D | log_ctrl.h | 4 * SPDX-License-Identifier: Apache-2.0 63 * @param process_tid Process thread id. Used to wake up the thread. 107 * @param domain_id Domain ID. 114 /** @brief Get name of the source (module or instance). 116 * @param domain_id Domain ID. 117 * @param source_id Source ID. 136 * @param domain_id Domain ID. 143 * @brief Function for finding source ID based on source name. 147 * @return Source ID or negative number when source ID is not found. 154 * @param backend Backend instance. [all …]
|
/Zephyr-latest/subsys/net/lib/ptp/ |
D | ds.h | 4 * SPDX-License-Identifier: Apache-2.0 28 * @note 8.2.1 - defaultDS data set member specification 32 /** Clock ID */ 34 /** Indicates number of ptp ports on the PTP Instance. */ 43 /** ID number of the instance in a domain. */ 50 /** Current value of the PTP Instance Time. */ 58 /** PTP Instance type. */ 64 * @note 8.2.2 - currentDS data set member specification 67 /** Number of PTP Communication Paths traversed between PTP Instance and the GM. */ 71 * @note it is computed as <time on the Receiver> - <time on the Transmitter> [all …]
|
/Zephyr-latest/include/zephyr/bluetooth/services/ |
D | ots.h | 2 * Copyright (c) 2020-2022 Nordic Semiconductor ASA 4 * SPDX-License-Identifier: Apache-2.0 36 /** @brief Size of OTS object ID (in bytes). */ 39 /** @brief Minimum allowed value for object ID (except ID for directory listing) */ 42 /** @brief Maximum allowed value for object ID (except ID for directory listing) */ 45 /** @brief ID of the Directory Listing Object */ 51 /** @brief Length of OTS object ID string (in bytes). */ 60 /* 16-bit UUID value */ 63 /* 128-bit UUID value */ 497 /** @brief Request object ID */ [all …]
|
/Zephyr-latest/include/zephyr/bluetooth/mesh/ |
D | blob_srv.h | 4 * SPDX-License-Identifier: Apache-2.0 41 * @param _srv Pointer to a @ref bt_mesh_blob_srv instance. 54 * Called when the transfer has started with the prepared BLOB ID. 56 * @param srv BLOB Transfer Server instance. 76 * @param srv BLOB Transfer Server instance. 77 * @param id BLOB ID of the cancelled transfer. 80 void (*end)(struct bt_mesh_blob_srv *srv, uint64_t id, bool success); 97 * @param srv BLOB Transfer Server instance. 105 * @param srv BLOB Transfer Server instance. 117 * @param srv BLOB Transfer Server instance. [all …]
|
D | health_srv.h | 8 * SPDX-License-Identifier: Apache-2.0 33 * of the accompanying Company ID. Specification defined faults may be 34 * reported for any Company ID, and the same fault may be presented 37 * All faults shall be associated with at least one Company ID, 44 * ID is reported for each call. 46 * @param model Health Server model instance to get faults of. 47 * @param test_id Test ID response buffer. 48 * @param company_id Company ID response buffer. 64 * Company ID should be reported. 68 * of the accompanying Company ID. Specification defined faults may be [all …]
|
/Zephyr-latest/include/zephyr/drivers/ |
D | hwspinlock.h | 4 * SPDX-License-Identifier: Apache-2.0 32 typedef int (*hwspinlock_api_trylock)(const struct device *dev, uint32_t id); 38 typedef void (*hwspinlock_api_lock)(const struct device *dev, uint32_t id); 44 typedef void (*hwspinlock_api_unlock)(const struct device *dev, uint32_t id); 47 * @brief Callback API to get HW spinlock max ID 68 * @param dev HW spinlock device instance. 69 * @param id Spinlock identifier. 72 * @retval -errno In case of any failure. 74 __syscall int hwspinlock_trylock(const struct device *dev, uint32_t id); 76 static inline int z_impl_hwspinlock_trylock(const struct device *dev, uint32_t id) in z_impl_hwspinlock_trylock() argument [all …]
|
D | ipm.h | 4 * @brief Generic low-level inter-processor mailbox communication API. 10 * SPDX-License-Identifier: Apache-2.0 37 * interrupt-safe APIS. Registration of callbacks is done via 40 * @param ipmdev Driver instance 43 * @param id Message type identifier. 45 * must be inferred using the message id/upper level protocol. 48 uint32_t id, volatile void *data); 56 typedef int (*ipm_send_t)(const struct device *ipmdev, int wait, uint32_t id, 68 * @brief Callback API to get the ID's maximum value 117 * event/semaphore, a high-level driver can implement that. [all …]
|
D | rtc.h | 5 * SPDX-License-Identifier: Apache-2.0 53 * @brief Structure for storing date and time values with sub-second precision. 55 * @details The structure is 1-1 mapped to the struct tm for the members 67 int tm_year; /**< Year - 1900 */ 68 int tm_wday; /**< Day of the week [0, 6] (Sunday = 0) (Unknown = -1) */ 69 int tm_yday; /**< Day of the year [0, 365] (Unknown = -1) */ 70 int tm_isdst; /**< Daylight saving time flag [-1] (Unknown = -1) */ 78 * @param dev Device instance invoking the handler 87 * @param dev Device instance invoking the handler 88 * @param id Alarm id [all …]
|
/Zephyr-latest/include/zephyr/devicetree/ |
D | reset.h | 7 * Copyright (c) 2022, Andrei-Edward Popa 9 * SPDX-License-Identifier: Apache-2.0 20 * @defgroup devicetree-reset-controller Devicetree Reset Controller API 27 * "resets" phandle-array property at an index 31 * reset1: reset-controller@... { ... }; 33 * reset2: reset-controller@... { ... }; 65 * resets phandle-array property by name 69 * reset1: reset-controller@... { ... }; 71 * reset2: reset-controller@... { ... }; 75 * reset-names = "alpha", "beta"; [all …]
|
/Zephyr-latest/drivers/ps2/ |
D | ps2_npcx_controller.h | 4 * SPDX-License-Identifier: Apache-2.0 19 * @param dev Pointer to the device structure for PS/2 controller instance. 20 * @param channel_id Channel ID of the PS/2 to write data. 24 * @retval -EINVAL Channel ID is invalid. 25 * @retval -ETIMEDOUT Timeout occurred for a PS/2 write transaction. 33 * @param dev Pointer to the device structure for PS/2 controller instance. 34 * @param channel_id Channel ID of the PS/2 to enable or disable. 38 * @retval -EINVAL Channel ID is invalid. 46 * @param dev Pointer to the device structure for PS/2 controller instance. 47 * @param channel_id Channel ID of the PS/2 to configure the callback_isr. [all …]
|
/Zephyr-latest/include/zephyr/net/ |
D | dns_sd.h | 8 * SPDX-License-Identifier: Apache-2.0 43 /** RFC 6763 Section 7.2 - inclusive of underscore */ 45 /** RFC 6763 Section 7.2 - inclusive of underscore */ 49 /** RFC 6763 Section 4.1.2 - either _tcp or _udp (case insensitive) */ 57 * Minimum number of segments in a fully-qualified name 63 * Currently sub-types and service domains are unsupported and only the 72 * Maximum number of segments in a fully-qualified name 76 * <instance>.<sn>._tcp.<domain>. 79 * Currently sub-types and service domains are unsupported and only the 92 * when a custom @p _domain or a custom (non-standard) @p _proto is required. [all …]
|
/Zephyr-latest/subsys/bluetooth/services/ots/ |
D | ots.c | 4 * SPDX-License-Identifier: Apache-2.0 124 struct bt_ots *ots = (struct bt_ots *) attr->user_data; in ots_feature_read() 128 return bt_gatt_attr_read(conn, attr, buf, len, offset, &ots->features, in ots_feature_read() 129 sizeof(ots->features)); in ots_feature_read() 136 struct bt_ots *ots = (struct bt_ots *) attr->user_data; in ots_obj_name_read() 140 if (!ots->cur_obj) { in ots_obj_name_read() 146 ots->cur_obj->metadata.name, in ots_obj_name_read() 147 strlen(ots->cur_obj->metadata.name)); in ots_obj_name_read() 156 struct bt_ots *ots = (struct bt_ots *) attr->user_data; in ots_obj_name_write() 163 if (!ots->cur_obj) { in ots_obj_name_write() [all …]
|
/Zephyr-latest/drivers/ethernet/ |
D | phy_gecko.h | 5 * SPDX-License-Identifier: Apache-2.0 26 * @param phy PHY instance 32 * @brief Auto-negotiate and configure link parameters. 34 * @param phy PHY instance 41 * @brief Get PHY ID value. 43 * @param phy PHY instance 44 * @return PHY ID value or 0xFFFFFFFF on failure 51 * @param phy PHY instance
|
/Zephyr-latest/scripts/pylib/twister/twisterlib/ |
D | harness.py | 1 # SPDX-License-Identifier: Apache-2.0 49 self.id = None 65 self.instance: TestInstance | None = None 71 def trace(self) -> bool: 72 return self.instance.handler.options.verbose > 2 75 def status(self) -> TwisterStatus: 79 def status(self, value : TwisterStatus) -> None: 87 def configure(self, instance): argument 88 self.instance = instance 89 config = instance.testsuite.harness_config [all …]
|