Home
last modified time | relevance | path

Searched refs:root (Results 1 – 25 of 218) sorted by relevance

123456789

/Zephyr-latest/lib/libc/minimal/source/math/
Dsqrt.c27 int64double_t root; in sqrt() local
50 root.i = (p_square.i & ~EXP_MASK64) | (exponent + 1023) << 52; in sqrt()
53 last = root; in sqrt()
54 root.d = (root.d + square / root.d) * 0.5; in sqrt()
56 if ((root.i ^ last.i) < MAX_D_ERROR_COUNT) { in sqrt()
60 return root.d; in sqrt()
Dsqrtf.c27 intfloat_t root; in sqrtf() local
50 root.i = (p_square.i & ~EXP_MASK32) | (exponent + 127) << 23; in sqrtf()
53 last = root; in sqrtf()
54 root.f = (root.f + square / root.f) * 0.5f; in sqrtf()
56 if ((root.i ^ last.i) < MAX_F_ERROR_COUNT) { in sqrtf()
60 return root.f; in sqrtf()
/Zephyr-latest/soc/nxp/imx/imx7d/
Dsoc_clk_freq.c14 uint32_t root; in get_pwm_clock_freq() local
20 root = CCM_GetRootMux(CCM, ccmRootPwm1); in get_pwm_clock_freq()
24 root = CCM_GetRootMux(CCM, ccmRootPwm2); in get_pwm_clock_freq()
28 root = CCM_GetRootMux(CCM, ccmRootPwm3); in get_pwm_clock_freq()
32 root = CCM_GetRootMux(CCM, ccmRootPwm4); in get_pwm_clock_freq()
39 switch (root) { in get_pwm_clock_freq()
/Zephyr-latest/tests/subsys/fs/common/
Dtest_fs_dirops.c148 struct testfs_path root; in check_rename() local
184 zassert_equal(testfs_path_init(&root, mp, in check_rename()
187 root.path, in check_rename()
190 zassert_equal(fs_mkdir(root.path), in check_rename()
193 zassert_equal(testfs_build(&root, from_bcmd), in check_rename()
197 zassert_equal(testfs_bcmd_verify_layout(&root, from_bcmd, from_end_bcmd), in check_rename()
201 testfs_path_extend(testfs_path_copy(&from_path, &root), in check_rename()
204 testfs_path_extend(testfs_path_copy(&to_path, &root), in check_rename()
213 testfs_path_extend(testfs_path_copy(&from_path, &root), in check_rename()
222 testfs_path_extend(testfs_path_copy(&from_path, &root), in check_rename()
[all …]
Dtest_fs_util.c225 int testfs_build(struct testfs_path *root, in testfs_build() argument
237 testfs_path_extend(root, in testfs_build()
242 root->path, cp->size, cp->value, rc); in testfs_build()
247 testfs_path_extend(root, "..", TESTFS_PATH_END); in testfs_build()
251 root->path, rc); in testfs_build()
256 testfs_path_extend(root, in testfs_build()
259 rc = fs_mkdir(root->path); in testfs_build()
260 TC_PRINT("mkdir %s: %d\n", root->path, rc); in testfs_build()
265 TC_PRINT("exit directory %s\n", root->path); in testfs_build()
266 testfs_path_extend(root, "..", TESTFS_PATH_END); in testfs_build()
/Zephyr-latest/lib/libc/minimal/source/stdlib/
Dqsort.c54 int root; in sift_down() local
58 for (swap = start, root = swap; left(root) < end; root = swap) { in sift_down()
59 child = left(root); in sift_down()
67 if (right(root) < end && compare(cmp, A(swap), A(right(root))) < 0) { in sift_down()
68 swap = right(root); in sift_down()
71 if (swap == root) { in sift_down()
75 byteswp(A(root), A(swap), size); in sift_down()
/Zephyr-latest/soc/nxp/imx/imx6sx/
Dsoc_clk_freq.c15 uint32_t root; in get_pwm_clock_freq() local
23 root = ccmRootmuxPerclkClkOsc24m; in get_pwm_clock_freq()
31 root = CCM_GetRootMux(CCM, ccmRootPrePeriphClkSel); in get_pwm_clock_freq()
36 switch (root) { in get_pwm_clock_freq()
49 root = ccmRootmuxPeriphClk2OSC24m; in get_pwm_clock_freq()
56 root = CCM_GetRootMux(CCM, ccmRootPll3SwClkSel); in get_pwm_clock_freq()
61 switch (root) { in get_pwm_clock_freq()
/Zephyr-latest/tests/benchmarks/data_structure_perf/rbtree_perf/src/
Drbtree_perf.c134 static void verify_rbtree_perf(struct rbnode *root, struct rbnode *test) in verify_rbtree_perf() argument
138 node_height = search_height_recurse(root, test, node_height); in verify_rbtree_perf()
192 struct rbnode *root = test_rbtree.root; in ZTEST() local
196 verify_rbtree_perf(root, test); in ZTEST()
199 verify_rbtree_perf(root, test); in ZTEST()
207 verify_rbtree_perf(root, test); in ZTEST()
/Zephyr-latest/scripts/
Dlist_shields.py31 for root in args.board_roots:
32 for shields in find_shields_in(root):
37 def find_shields_in(root): argument
38 shields = root / 'boards' / 'shields'
/Zephyr-latest/scripts/dts/python-devicetree/tests/
Dtest_dtlib.py819 phandle = dtlib.to_num(dt.root.props[prop].value[offset:offset + 4])
1563 actual = dt.root.props[prop].type
1669 actual = dt.root.props[prop].to_num(signed)
1675 dt.root.props[prop].to_num()
1707 actual = dt.root.props[prop].to_nums(signed)
1713 dt.root.props[prop].to_nums()
1737 actual = dt.root.props[prop].to_bytes()
1742 dt.root.props[prop].to_bytes()
1760 actual = dt.root.props[prop].to_string()
1765 dt.root.props[prop].to_string()
[all …]
/Zephyr-latest/subsys/fs/
Dfs_impl.c14 static const char *const root = "/"; in fs_impl_strip_prefix() local
21 return *path ? path : root; in fs_impl_strip_prefix()
/Zephyr-latest/soc/nxp/imxrt/imxrt118x/
Dflexspi.c16 clock_name_t root; in flexspi_clock_set_freq() local
37 root = CLOCK_GetRootClockSource(flexspi_clk, in flexspi_clock_set_freq()
40 root_rate = CLOCK_GetFreq(root); in flexspi_clock_set_freq()
/Zephyr-latest/doc/develop/application/
Dapplication-kconfig.include7 # Sources Kconfig.zephyr in the Zephyr root directory.
9 # Note: All 'source' statements work relative to the Zephyr root directory (due
12 # path relative to the Zephyr root).
/Zephyr-latest/soc/nxp/imxrt/imxrt11xx/
Dflexspi.c16 clock_name_t root; in flexspi_clock_set_freq() local
37 root = CLOCK_GetRootClockSource(flexspi_clk, in flexspi_clock_set_freq()
40 root_rate = CLOCK_GetFreq(root); in flexspi_clock_set_freq()
/Zephyr-latest/scripts/footprint/
Dupload_data.py67 root = importer.import_(contents['symbols'])
69 zr = find(root, lambda node: node.name == 'ZEPHYR_BASE')
70 ws = find(root, lambda node: node.name == 'WORKSPACE')
76 trees = [root]
78 for node in PreOrderIter(root, maxlevel=2):
86 root = t.name
88 if node.name == root:
Dsize_report609 root = TreeNode('Root', "root")
610 node_no_paths = TreeNode('(no paths)', ":", parent=root)
615 node_zephyr_base = root
616 node_output_dir = root
617 node_workspace = root
618 node_others = root
631 def _insert_one_elem(root, path, size, addr, section): argument
634 parent = root
641 results = findall_by_attr(root, cur, name="_identifier")
703 if node_zephyr_base is not root:
[all …]
/Zephyr-latest/soc/
DCMakeLists.txt47 # Include all SoC roots except Zephyr, as we are already in the Zephyr SoC root.
50 foreach(root ${local_soc_root})
51 cmake_path(GET root FILENAME name)
52 # A SoC root for HWMv1 may not contain a CMakeLists.txt file on this so
54 if(EXISTS ${root}/soc/CMakeLists.txt)
55 add_subdirectory(${root}/soc soc/${name})
DKconfig.v1.choice8 # This loads custom SoC root Kconfig (only available if custom SoC root are defined)
/Zephyr-latest/cmake/modules/
Dsoc_v1.cmake5 # Configure SoC settings based on Kconfig settings and SoC root.
50 foreach(root ${SOC_ROOT})
51 # Check that the root looks reasonable.
52 if(NOT IS_DIRECTORY "${root}/soc")
54 ${root}
60 if(EXISTS ${root}/soc/${ARCH}/${SOC_PATH})
61 set(SOC_DIR ${root}/soc)
Droot.cmake17 # If a root is defined it will check the list of paths in the root and convert
18 # any relative path to absolute path and update the root list.
19 # If a root is undefined it will still be undefined when this module has loaded.
42 # Zephyr used in unittest mode, use dedicated unittest root.
DFindScaTools.cmake21 foreach(root ${SCA_ROOT})
22 if(EXISTS ${root}/cmake/sca/${ZEPHYR_SCA_VARIANT}/sca.cmake)
23 include(${root}/cmake/sca/${ZEPHYR_SCA_VARIANT}/sca.cmake)
Darch_v1.cmake9 # Configure ARCH settings based on board directory and arch root.
12 # on board directory and arch root.
42 foreach(root ${ARCH_ROOT})
43 if(EXISTS ${root}/arch/${ARCH}/CMakeLists.txt)
44 set(ARCH_DIR ${root}/arch)
Ddoc.cmake12 # - root
23 include(root)
/Zephyr-latest/drivers/i2c/
Di2c_tca954x.c29 const struct device *root; member
39 return channel_config->root->data; in get_root_data_from_channel()
47 return channel_config->root->config; in get_root_config_from_channel()
92 res = tca954x_set_channel(down_cfg->root, down_cfg->chan_mask); in tca954x_transfer()
142 if (!device_is_ready(chan_cfg->root)) { in tca954x_channel_init()
143 LOG_ERR("I2C mux root %s not ready", chan_cfg->root->name); in tca954x_channel_init()
172 .root = DEVICE_DT_GET(DT_PARENT(node_id)), \
/Zephyr-latest/lib/utils/
Drb.c84 stack[sz] = tree->root; in find_and_stack()
106 for (n = tree->root; (n != NULL) && (get_child(n, side) != NULL); in z_rb_get_minmax()
224 if (tree->root == NULL) { in rb_insert()
225 tree->root = node; in rb_insert()
255 tree->root = stack[0]; in rb_insert()
256 CHECK(is_black(tree->root)); in rb_insert()
427 tree->root = node2; in rb_remove()
464 tree->root = child; in rb_remove()
500 tree->root = stack[0]; in rb_remove()
526 struct rbnode *n = tree->root; in rb_contains()
[all …]

123456789