Home
last modified time | relevance | path

Searched refs:child (Results 1 – 25 of 52) sorted by relevance

123

/Zephyr-Core-2.7.6/soc/arm/nuvoton_npcx/common/
Dsoc_dt.h95 #define NPCX_DT_CLK_CFG_ITEMS_FUNC(child, inst) \ argument
96 NPCX_DT_CLK_CFG_ITEM_BY_IDX(inst, child)
145 #define NPCX_DT_ALT_ITEMS_FUNC(child, inst) NPCX_DT_ALT_ITEM_BY_IDX(inst, child) argument
246 #define NPCX_DT_IO_ALT_ITEMS_FUNC(child, inst, io_comp) \ argument
247 NPCX_DT_IO_ALT_ITEM_BY_IDX(io_comp, inst, child)
347 #define NPCX_DT_WUI_ITEMS_FUNC(child, inst) NPCX_DT_WUI_ITEM_BY_IDX(inst, child) argument
395 #define NPCX_DT_MIWU_IRQ_TABLE_IDX(child) \ argument
396 DT_PROP(DT_PHANDLE(DT_PARENT(child), parent), index)
406 #define NPCX_DT_MIWU_IRQ_CONNECT_IMPL_CHILD_FUNC(child) \ argument
407 NPCX_DT_MIWU_IRQ_CONNECT_IMPL_CHILD_FUNC_OBJ(child);
[all …]
/Zephyr-Core-2.7.6/lib/os/
Drb.c111 static uint8_t get_side(struct rbnode *parent, struct rbnode *child) in get_side() argument
113 CHECK(get_child(parent, 0U) == child || get_child(parent, 1U) == child); in get_side()
115 return (get_child(parent, 1U) == child) ? 1U : 0U; in get_side()
133 struct rbnode *child = stack[stacksz - 1]; in rotate() local
134 uint8_t side = get_side(parent, child); in rotate()
135 struct rbnode *a = get_child(child, side); in rotate()
136 struct rbnode *b = get_child(child, (side == 0U) ? 1U : 0U); in rotate()
141 set_child(grandparent, get_side(grandparent, parent), child); in rotate()
144 set_child(child, side, a); in rotate()
145 set_child(child, (side == 0U) ? 1U : 0U, parent); in rotate()
[all …]
/Zephyr-Core-2.7.6/include/pm/
Dstate.h190 #define PM_STATE_INFO_DT_ITEMS_LISTIFY_FUNC(child, node_id) \ argument
191 PM_STATE_INFO_DT_ITEM_BY_IDX(node_id, child)
258 #define PM_STATE_DT_ITEMS_LISTIFY_FUNC(child, node_id) \ argument
259 PM_STATE_DT_ITEM_BY_IDX(node_id, child)
/Zephyr-Core-2.7.6/lib/libc/minimal/source/stdlib/
Dqsort.c38 int child; in sift_down() local
42 child = left(root); in sift_down()
45 if (comp(A(swap), A(child), comp_arg) < 0) { in sift_down()
46 swap = child; in sift_down()
/Zephyr-Core-2.7.6/scripts/dts/python-devicetree/tests/
Dtest.dts213 child-1 {
215 child-2 {
357 // Node with 'child-binding:' in binding (along with a recursive
358 // 'child-binding:')
361 child-binding {
363 child-1 {
364 child-prop = <1>;
369 child-2 {
370 child-prop = <3>;
Dtest_edtlib.py213 child = binding.child_binding
214 grandchild = child.child_binding
216 assert set(child.prop2specs.keys()) == {'child-prop-2'}
287 child = top.child_binding
289 assert Path(child.path) == binding_file
291 assert child.compatible is None
296 child = top.child_binding
298 assert Path(child.path) == binding_file
300 assert child.compatible == 'child-compat'
/Zephyr-Core-2.7.6/scripts/pylib/twister/
Dharness.py178 for child in root:
179 if child.tag == 'testsuite':
180 if child.attrib['failures'] != '0':
182 elif child.attrib['skipped'] != '0':
184 elif child.attrib['errors'] != '0':
/Zephyr-Core-2.7.6/include/drivers/led/
Dht16k33.h24 const struct device *child,
/Zephyr-Core-2.7.6/scripts/
Dgen_kobject_list.py402 for child in die.iter_children():
403 if child.tag != "DW_TAG_member":
405 data_member_location = child.attributes.get("DW_AT_data_member_location")
409 child_type = die_get_type_offset(child)
411 cname = die_get_name(child) or "<anon>"
412 m = AggregateTypeMember(child.offset, cname, child_type,
431 for child in die.iter_children():
432 if child.tag != "DW_TAG_subrange_type":
435 if "DW_AT_upper_bound" in child.attributes:
436 ub = child.attributes["DW_AT_upper_bound"]
[all …]
/Zephyr-Core-2.7.6/samples/drivers/led_pwm/
DREADME.rst11 (child nodes) the same test pattern (described below) is executed. The LED API
31 device node must match "pwm-leds". And for each LED, a child node must be
/Zephyr-Core-2.7.6/doc/_scripts/
Dgen_devicetree_rest.py568 child = binding.child_binding
569 while child is not None:
576 if child.prop2specs:
580 print_property_table(child.prop2specs.values(), string_io,
582 child = child.child_binding
/Zephyr-Core-2.7.6/drivers/led/
Dht16k33.c80 const struct device *child; member
242 data->kscan_cb(data->child, row, col, in ht16k33_process_keyscan_data()
289 const struct device *child, in ht16k33_register_keyscan_callback() argument
295 data->child = child; in ht16k33_register_keyscan_callback()
DKconfig.ht16k3319 Enable keyscan child device support in the HT16K33 LED
/Zephyr-Core-2.7.6/include/sys/
Dslist.h209 static inline void z_snode_next_set(sys_snode_t *parent, sys_snode_t *child) in z_snode_next_set() argument
211 parent->next = child; in z_snode_next_set()
Dsflist.h219 sys_sfnode_t *child) in z_sfnode_next_set() argument
223 parent->next_and_flags = cur_flags | (unative_t)child; in z_sfnode_next_set()
/Zephyr-Core-2.7.6/scripts/dts/
Dgen_defines.py485 " ".join(f"fn(DT_{child.z_path_id})" for child in
489 " ".join(f"fn(DT_{child.z_path_id}, __VA_ARGS__)" for child in
498 for child in node.children.values():
499 if child.status == "okay":
841 for child in node.children.values():
842 if "label" in child.props:
843 label = child.props["label"].val
/Zephyr-Core-2.7.6/tests/lib/devicetree/api/
Dapp.overlay397 compatible = "vnd,child-bindings";
399 test_child_a: child-a {
403 test_child_b: child-b {
407 test_child_c: child-c {
416 child {
/Zephyr-Core-2.7.6/doc/guides/dts/
Dbindings.rst117 their parent nodes. These are called "child bindings". If a node describes
120 section below describes how to write child bindings and bus-specific bindings.)
190 child-binding:
213 - :ref:`dt-bindings-child`
566 .. _dt-bindings-child:
571 ``child-binding`` can be used when a node has children that all share the same
572 properties. Each child gets the contents of ``child-binding`` as its binding,
573 though an explicit ``compatible = ...`` on the child node takes precedence, if
576 Consider a binding for a PWM LED node like this one, where the child nodes are
599 child-binding:
[all …]
/Zephyr-Core-2.7.6/scripts/dts/python-devicetree/src/devicetree/
Dedtlib.py278 for child in node.children.values():
279 self._graph.add_edge(child, node)
2414 def _map_interrupt(child, parent, child_spec): argument
2439 "interrupt", child, parent, _raw_unit_addr(child) + child_spec,
2446 def _map_phandle_array_entry(child, parent, child_spec, basename): argument
2459 return _map(basename, child, parent, child_spec, spec_len_fn,
2463 def _map(prefix, child, parent, child_spec, spec_len_fn, require_controller): argument
2498 masked_child_spec = _mask(prefix, child, parent, child_spec)
2527 prefix, child, parent, child_spec, parent_spec)
2537 def _mask(prefix, child, parent, child_spec): argument
[all …]
Ddtlib.py172 for child in self.nodes.values():
173 s += textwrap.indent(child.__str__(), "\t") + "\n"
964 child = node.nodes.get(tok.val) or \
968 _append_no_dup(child.labels, label)
971 child._omit_if_no_ref = True
973 node.nodes[child.name] = child
974 self._parse_node(child)
/Zephyr-Core-2.7.6/boards/arm/mec172xevb_assy6906/
Dmec172xevb_assy6906.dts52 /* Initialize ECIA. Does not initialize child devices */
/Zephyr-Core-2.7.6/drivers/adc/
DKconfig.lmp90xxx49 Enable GPIO child device support in the LMP90xxx ADC driver.
/Zephyr-Core-2.7.6/doc/reference/data_structures/
Drbtree.rst78 each node, either red or black, and enforcing a rule that no red child
79 can be a child of another red child (i.e. that the number of black
100 can be the root, or the two may already be parent/child).
/Zephyr-Core-2.7.6/subsys/net/lib/sockets/
Dsockets_tls.c1482 struct tls_context *child = NULL; in ztls_accept_ctx() local
1496 child = tls_clone(parent); in ztls_accept_ctx()
1497 if (child == NULL) { in ztls_accept_ctx()
1503 fd, child, (const struct fd_op_vtable *)&tls_sock_fd_op_vtable); in ztls_accept_ctx()
1505 child->sock = sock; in ztls_accept_ctx()
1507 ret = tls_mbedtls_init(child, true); in ztls_accept_ctx()
1513 child->flags = 0; in ztls_accept_ctx()
1518 ret = tls_mbedtls_handshake(child, true); in ztls_accept_ctx()
1526 if (child != NULL) { in ztls_accept_ctx()
1527 err = tls_release(child); in ztls_accept_ctx()
/Zephyr-Core-2.7.6/include/
Dsyscall_handler.h124 struct k_thread *child);

123