Home
last modified time | relevance | path

Searched refs:node (Results 101 – 125 of 1120) sorted by relevance

12345678910>>...45

/Zephyr-latest/drivers/smbus/
Dsmbus_utils.h30 sys_slist_find_and_remove(callbacks, &callback->node); in smbus_callback_set()
33 sys_slist_prepend(callbacks, &callback->node); in smbus_callback_set()
53 !sys_slist_find_and_remove(callbacks, &callback->node)) { in smbus_callback_remove()
73 SYS_SLIST_FOR_EACH_CONTAINER_SAFE(list, cb, tmp, node) { in smbus_fire_callbacks()
/Zephyr-latest/drivers/lora/
DCMakeLists.txt3 # LoRa drivers depend on the include directories exposed by the loramac-node
6 if(TARGET loramac-node)
7 set(ZEPHYR_CURRENT_LIBRARY loramac-node)
9 zephyr_library_named(loramac-node)
/Zephyr-latest/tests/subsys/sensing/src/
Dmain.c15 #define DT_SENSOR_INFO(node) \ argument
17 .name = DT_NODE_FULL_NAME(node), \
18 .friendly_name = DT_PROP(node, friendly_name), \
19 .sensor_types = DT_PROP(node, sensor_types), \
20 .sensor_type_count = DT_PROP_LEN(node, sensor_types), \
/Zephyr-latest/lib/heap/
Dheap_listener.c17 sys_slist_append(&heap_listener_list, &listener->node); in heap_listener_register()
26 sys_slist_find_and_remove(&heap_listener_list, &listener->node); in heap_listener_unregister()
36 SYS_SLIST_FOR_EACH_CONTAINER(&heap_listener_list, listener, node) { in heap_listener_notify_alloc()
52 SYS_SLIST_FOR_EACH_CONTAINER(&heap_listener_list, listener, node) { in heap_listener_notify_free()
68 SYS_SLIST_FOR_EACH_CONTAINER(&heap_listener_list, listener, node) { in heap_listener_notify_resize()
/Zephyr-latest/drivers/usb_c/ppc/
Dnxp_nx20p3483.c423 #define NX20P3483_DRIVER_CFG_INIT(node) \ argument
425 .bus = I2C_DT_SPEC_GET(node), .irq_gpio = GPIO_DT_SPEC_GET(node, irq_gpios), \
426 .snk_ovp_thresh = DT_PROP(node, snk_ovp), .src_use_hv = DT_PROP(node, src_hv), \
427 .src_5v_ocp_thresh = DT_PROP(node, src_5v_ocp), \
428 .src_hv_ocp_thresh = DT_PROP(node, src_hv_ocp), \
431 #define NX20P3483_DRIVER_CFG_ASSERTS(node) \ argument
432 BUILD_ASSERT(DT_PROP(node, snk_ovp) >= NX20P3483_U_THRESHOLD_6_0 && \
433 DT_PROP(node, snk_ovp) <= NX20P3483_U_THRESHOLD_23_0, \
435 BUILD_ASSERT(DT_PROP(node, src_5v_ocp) >= NX20P3483_I_THRESHOLD_0_400 && \
436 DT_PROP(node, src_5v_ocp) <= NX20P3483_I_THRESHOLD_3_400, \
[all …]
/Zephyr-latest/dts/arm/infineon/cat1a/mpns/
DCY8C6144AZI_S4F12.dtsi12 /delete-node/ cpu@0;
15 /delete-node/ &adc1;
17 /delete-node/ &scb3;
DCY8C6144AZI_S4F62.dtsi12 /delete-node/ cpu@0;
15 /delete-node/ &adc1;
17 /delete-node/ &scb3;
DCY8C6144LQI_S4F12.dtsi12 /delete-node/ cpu@0;
15 /delete-node/ &adc1;
17 /delete-node/ &scb3;
DCY8C6144LQI_S4F62.dtsi12 /delete-node/ cpu@0;
15 /delete-node/ &adc1;
17 /delete-node/ &scb3;
/Zephyr-latest/subsys/net/l2/ethernet/
Darp.c73 SYS_SLIST_FOR_EACH_CONTAINER(list, entry, node) { in arp_entry_find()
84 *previous = &entry->node; in arp_entry_find()
106 if (&entry->node != sys_slist_peek_head(&arp_table)) { in arp_entry_find_move_first()
107 sys_slist_remove(&arp_table, prev, &entry->node); in arp_entry_find_move_first()
108 sys_slist_prepend(&arp_table, &entry->node); in arp_entry_find_move_first()
135 sys_slist_remove(&arp_pending_entries, prev, &entry->node); in arp_entry_get_pending()
147 sys_snode_t *node; in arp_entry_get_free() local
149 node = sys_slist_peek_head(&arp_free_entries); in arp_entry_get_free()
150 if (!node) { in arp_entry_get_free()
155 sys_slist_remove(&arp_free_entries, NULL, node); in arp_entry_get_free()
[all …]
/Zephyr-latest/dts/riscv/nordic/
Dnrf54l_05_10_15_cpuflpr.dtsi10 /delete-node/ &cpuapp;
11 /delete-node/ &cpuapp_rram;
12 /delete-node/ &cpuapp_ppb;
13 /delete-node/ &cpuapp_sram;
/Zephyr-latest/scripts/dts/python-devicetree/tests/
Dtest.dts22 node {
44 node {
83 node@0 {
88 node@1 {
119 node@70000000E {
133 node {
144 node {
157 node {
170 node {
184 node@1 {
[all …]
/Zephyr-latest/doc/build/dts/
Dbindings-intro.rst14 each node in the devicetree to a binding file. When this succeeds, the build
15 system uses the information in the binding file both when validating the node's
16 contents and when generating macros for the node.
23 Here is an example devicetree node:
33 Here is a minimal binding file which matches the node:
37 # A YAML binding matching the node
46 The build system matches the ``bar-device`` node to its YAML binding because
47 the node's ``compatible`` property matches the binding's ``compatible:`` line.
57 required ``num-foos`` property is present in the ``bar-device`` node, and that
60 The build system will then generate a macro for the ``bar-device`` node's
[all …]
Dapi-usage.rst26 .. _dt-node-identifiers:
31 To get information about a particular devicetree node, you need a *node
32 identifier* for it. This is a just a C macro that refers to the node.
34 These are the main ways to get a node identifier:
37 Use :c:macro:`DT_PATH()` along with the node's full path in the devicetree,
38 starting from the root node. This is mostly useful if you happen to know the
39 exact node you're looking for.
41 By node label
42 Use :c:macro:`DT_NODELABEL()` to get a node identifier from a :ref:`node
43 label <dt-node-labels>`. Node labels are often provided by SoC :file:`.dtsi`
[all …]
/Zephyr-latest/tests/lib/devicetree/memory_region_flags/pytest/
Dtest_memory_region_flags.py37 node = edt.label2node[label]
38 logger.info(node)
40 region = node.props["zephyr,memory-region"].val
43 origin = node.props["reg"].val[0]
44 length = node.props["reg"].val[1]
/Zephyr-latest/samples/bluetooth/mesh_provisioner/src/
Dmain.c144 static void configure_node(struct bt_mesh_cdb_node *node) in configure_node() argument
154 printk("Configuring node 0x%04x...\n", node->addr); in configure_node()
169 err = bt_mesh_cfg_cli_app_key_add(net_idx, node->addr, net_idx, app_idx, app_key, &status); in configure_node()
176 err = bt_mesh_cfg_cli_comp_data_get(net_idx, node->addr, 0, &status, &buf); in configure_node()
189 elem_addr = node->addr; in configure_node()
203 err = bt_mesh_cfg_cli_mod_app_bind(net_idx, node->addr, elem_addr, app_idx, in configure_node()
218 err = bt_mesh_cfg_cli_mod_app_bind_vnd(net_idx, node->addr, elem_addr, in configure_node()
229 atomic_set_bit(node->flags, BT_MESH_CDB_NODE_CONFIGURED); in configure_node()
232 bt_mesh_cdb_node_store(node); in configure_node()
305 static uint8_t check_unconfigured(struct bt_mesh_cdb_node *node, void *data) in check_unconfigured() argument
[all …]
/Zephyr-latest/drivers/disk/nvme/
Dnvme_cmd.c209 sys_dlist_append(&free_request, &request_pool[idx].node); in nvme_cmd_init()
213 sys_dlist_append(&free_prp_list, &prp_list_pool[idx].node); in nvme_cmd_init()
219 sys_dnode_t *node; in nvme_prp_list_alloc() local
221 node = sys_dlist_peek_head(&free_prp_list); in nvme_prp_list_alloc()
222 if (!node) { in nvme_prp_list_alloc()
227 sys_dlist_remove(node); in nvme_prp_list_alloc()
229 return CONTAINER_OF(node, struct nvme_prp_list, node); in nvme_prp_list_alloc()
235 sys_dlist_append(&free_prp_list, &prp_list->node); in nvme_prp_list_free()
240 if (sys_dnode_is_linked(&request->node)) { in nvme_cmd_request_free()
241 sys_dlist_remove(&request->node); in nvme_cmd_request_free()
[all …]
/Zephyr-latest/subsys/usb/device_next/
Dusbd_config.c38 SYS_SLIST_FOR_EACH_CONTAINER(usbd_configs(uds_ctx, speed), cfg_nd, node) { in usbd_config_get()
64 SYS_SLIST_FOR_EACH_CONTAINER(&cfg_nd->class_list, c_nd, node) { in usbd_config_classes_enable()
258 sys_snode_t *node; in usbd_add_configuration() local
289 SYS_SLIST_FOR_EACH_NODE(&uds_ctx->fs_configs, node) { in usbd_add_configuration()
290 if (node == &cfg_nd->node) { in usbd_add_configuration()
298 SYS_SLIST_FOR_EACH_NODE(&uds_ctx->hs_configs, node) { in usbd_add_configuration()
299 if (node == &cfg_nd->node) { in usbd_add_configuration()
312 if (sys_slist_find_and_remove(configs, &cfg_nd->node)) { in usbd_add_configuration()
332 sys_slist_append(configs, &cfg_nd->node); in usbd_add_configuration()
/Zephyr-latest/include/zephyr/bluetooth/mesh/
Dcdb.h161 void bt_mesh_cdb_node_del(struct bt_mesh_cdb_node *node, bool store);
172 void bt_mesh_cdb_node_update(struct bt_mesh_cdb_node *node, uint16_t addr,
191 void bt_mesh_cdb_node_store(const struct bt_mesh_cdb_node *node);
204 int bt_mesh_cdb_node_key_import(struct bt_mesh_cdb_node *node, const uint8_t in[16]);
217 int bt_mesh_cdb_node_key_export(const struct bt_mesh_cdb_node *node, uint8_t out[16]);
233 typedef uint8_t (*bt_mesh_cdb_node_func_t)(struct bt_mesh_cdb_node *node,
/Zephyr-latest/subsys/lorawan/
DCMakeLists.txt3 # lorawan.c depends on the include directories exposed by the loramac-node
6 if(TARGET loramac-node)
7 set(ZEPHYR_CURRENT_LIBRARY loramac-node)
9 zephyr_library_named(loramac-node)
/Zephyr-latest/doc/kernel/data_structures/
Ddlist.rst10 the head, tail or any internal node). To do this, the list stores two
11 pointers per node, and thus has somewhat higher runtime code and
23 next/prev pointers of a node with :c:func:`sys_dlist_peek_head`,
29 A dlist can be modified in constant time by removing a node with
30 :c:func:`sys_dlist_remove`, by adding a node to the head or tail of a list
32 inserting a node before an existing node with :c:func:`sys_dlist_insert`.
34 As for slist, each node in a dlist can be processed in a natural code
37 starting point, a "SAFE" variant that allows for removing the node
39 provides the pointer to a containing struct instead of the raw node,
43 :c:func:`sys_dlist_insert_at`, which inserts a node that linearly searches
[all …]
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/
Dheartbeat.rst17 the active features on the node. Through this, a receiving node can determine
19 what features the node supports.
35 The node publishes a new Heartbeat message at regular intervals. The
40 The node publishes a new Heartbeat message every time a feature changes. The
48 A node can be configured to subscribe to Heartbeat messages from one node at
53 period, the node keeps track of the number of received Heartbeats as well as
/Zephyr-latest/scripts/kconfig/
Dhardenconfig.py56 for node in kconf.node_iter():
57 for select in node.selects:
59 …options.append(Option(name=node.item.name, current=node.item.str_value, recommended='n', symbol=no…
/Zephyr-latest/subsys/bluetooth/mesh/
Dprovisioner.c43 struct bt_mesh_cdb_node *node; member
57 provisionee.node != NULL) { in reset_state()
58 bt_mesh_cdb_node_del(provisionee.node, false); in reset_state()
282 provisionee.node = in prov_capabilities()
287 if (provisionee.node == NULL) { in prov_capabilities()
294 bt_mesh_prov_link.addr = provisionee.node->addr; in prov_capabilities()
527 sub = bt_mesh_cdb_subnet_get(provisionee.node->net_idx); in send_prov_data()
529 LOG_ERR("No subnet with net_idx %u", provisionee.node->net_idx); in send_prov_data()
543 net_buf_simple_add_be16(&pdu, provisionee.node->net_idx); in send_prov_data()
550 provisionee.node->net_idx, bt_mesh.iv_index, in send_prov_data()
[all …]
/Zephyr-latest/drivers/espi/
Despi_utils.h30 if (!sys_slist_find_and_remove(callbacks, &callback->node)) { in espi_manage_callback()
40 sys_slist_prepend(callbacks, &callback->node); in espi_manage_callback()
59 SYS_SLIST_FOR_EACH_CONTAINER_SAFE(list, cb, tmp, node) { in espi_send_callbacks()

12345678910>>...45