Home
last modified time | relevance | path

Searched refs:depth (Results 1 – 25 of 198) sorted by relevance

12345678

/u-boot/scripts/dtc/libfdt/
A Dfdt.c246 if (depth) in fdt_next_node()
247 (*depth)++; in fdt_next_node()
251 if (depth && ((--(*depth)) < 0)) in fdt_next_node()
257 || ((nextoffset == -FDT_ERR_TRUNCATED) && !depth)) in fdt_next_node()
269 int depth = 0; in fdt_first_subnode() local
271 offset = fdt_next_node(fdt, offset, &depth); in fdt_first_subnode()
272 if (offset < 0 || depth != 1) in fdt_first_subnode()
280 int depth = 1; in fdt_next_subnode() local
287 offset = fdt_next_node(fdt, offset, &depth); in fdt_next_subnode()
288 if (offset < 0 || depth < 1) in fdt_next_subnode()
[all …]
A Dfdt_ro.c228 int depth; in fdt_subnode_offset_namelen() local
232 for (depth = 0; in fdt_subnode_offset_namelen()
235 if ((depth == 1) in fdt_subnode_offset_namelen()
239 if (depth < 0) in fdt_subnode_offset_namelen()
597 int offset, depth; in fdt_supernode_atdepth_offset() local
867 unsigned depth = 0; in fdt_check_full() local
900 if (depth != 0) in fdt_check_full()
905 depth++; in fdt_check_full()
921 if (depth == 0) in fdt_check_full()
923 depth--; in fdt_check_full()
[all …]
A Dfdt_wip.c75 int depth = 0; in fdt_node_end_offset_() local
77 while ((offset >= 0) && (depth >= 0)) in fdt_node_end_offset_()
78 offset = fdt_next_node(fdt, offset, &depth); in fdt_node_end_offset_()
/u-boot/arch/arm/mach-tegra/tegra20/
A Demc.c121 int depth; in find_emc_tables() local
134 depth = 0; in find_emc_tables()
140 offset = fdt_next_node(blob, offset, &depth); in find_emc_tables()
141 if (depth <= 0) in find_emc_tables()
145 if (depth != 1) in find_emc_tables()
179 int depth; in decode_emc() local
206 depth = 0; in decode_emc()
211 COMPAT_NVIDIA_TEGRA20_EMC_TABLE, &depth); in decode_emc()
/u-boot/common/
A Dfdt_region.c43 int depth = -1; in fdt_find_regions() local
85 depth++; in fdt_find_regions()
91 if (!depth && *name) in fdt_find_regions()
99 stack[depth] = want; in fdt_find_regions()
113 if (depth < 0) in fdt_find_regions()
116 want = stack[depth--]; in fdt_find_regions()
120 if (depth == -1) in fdt_find_regions()
372 p->depth = -1; in fdt_first_region()
543 p.depth++; in fdt_next_region()
598 if (p.depth < 0) in fdt_next_region()
[all …]
A Dusb_hub.c80 static int usb_set_hub_depth(struct usb_device *dev, int depth) in usb_set_hub_depth() argument
82 if (depth < 0 || depth > 4) in usb_set_hub_depth()
87 depth, 0, NULL, 0, USB_CNTL_TIMEOUT); in usb_set_hub_depth()
812 int depth = 0; in usb_hub_configure() local
816 depth++; in usb_hub_configure()
820 hub->hub_depth = depth; in usb_hub_configure()
823 debug("set hub (%p) depth to %d\n", dev, depth); in usb_hub_configure()
829 ret = usb_set_hub_depth(dev, depth); in usb_hub_configure()
/u-boot/fs/reiserfs/
A Dreiserfs.c394 char* cache = CACHE(depth); in read_tree_node()
396 if (depth < num_cached) in read_tree_node()
409 blockNr, depth); in read_tree_node()
420 INFO->blocks[depth] = blockNr; in read_tree_node()
430 int depth; in next_key() local
458 depth++; in next_key()
460 printf (" depth=%d, i=%d\n", depth, INFO->next_key_nr[depth]); in next_key()
468 cache = CACHE (depth); in next_key()
471 cache = read_tree_node (INFO->blocks[depth], depth); in next_key()
523 int depth; in search_stat() local
[all …]
/u-boot/doc/device-tree-bindings/video/
A Dsandbox-fb.txt7 log2-depth: Log base 2 of the U-Boot display buffer depth (4=16bpp, 5=32bpp).
16 log2-depth = <5>;
/u-boot/cmd/
A Dclk.c17 static void show_clks(struct udevice *dev, int depth, int last_flag) in show_clks() argument
26 depth++; in show_clks()
31 for (i = depth; i >= 0; i--) { in show_clks()
51 show_clks(child, depth, (last_flag << 1) | is_last); in show_clks()
A Dbedbug.c341 int depth; /* Stack iteration level */ in do_bedbug_stack() local
353 depth = 0; in do_bedbug_stack()
357 printf ("%5d %08lx\n", depth++, bug_ctx.regs->nip); in do_bedbug_stack()
364 printf ("%5d %08lx\n", depth++, func); in do_bedbug_stack()
A Dfdt.c32 static int fdt_print(const char *pathp, char *prop, int depth);
455 int depth = MAX_LEVEL; /* how deep to print */ in do_fdt() local
465 depth = 1; in do_fdt()
481 ret = fdt_print(pathp, prop, depth); in do_fdt()
996 static int fdt_print(const char *pathp, char *prop, int depth) in fdt_print() argument
1049 if (level <= depth) { in fdt_print()
1065 if (level <= depth) in fdt_print()
1084 if (level <= depth) in fdt_print()
1089 if (level <= depth) { in fdt_print()
1104 if (level <= depth) in fdt_print()
/u-boot/doc/device-tree-bindings/net/
A Daltera_tse.txt20 - rx-fifo-depth: MAC receive FIFO buffer depth in bytes
21 - tx-fifo-depth: MAC transmit FIFO buffer depth in bytes
65 rx-fifo-depth = <2048>;
66 tx-fifo-depth = <2048>;
103 rx-fifo-depth = <2048>;
104 tx-fifo-depth = <2048>;
/u-boot/lib/
A Dof_live.c53 static int depth; in unflatten_dt_node() local
213 old_depth = depth; in unflatten_dt_node()
214 *poffset = fdt_next_node(blob, *poffset, &depth); in unflatten_dt_node()
215 if (depth < 0) in unflatten_dt_node()
216 depth = 0; in unflatten_dt_node()
217 while (*poffset > 0 && depth > old_depth) { in unflatten_dt_node()
A Dtrace.c38 int depth; member
107 if (hdr->depth > hdr->depth_limit) { in add_ftrace()
157 hdr->depth++; in __cyg_profile_func_enter()
158 if (hdr->depth > hdr->depth_limit) in __cyg_profile_func_enter()
159 hdr->max_depth = hdr->depth; in __cyg_profile_func_enter()
176 hdr->depth--; in __cyg_profile_func_exit()
/u-boot/drivers/video/sunxi/
A Dlcdc.c46 void lcdc_enable(struct sunxi_lcdc_reg * const lcdc, int depth) in lcdc_enable() argument
57 if (depth == 18) in lcdc_enable()
75 int depth, int dclk_phase) in lcdc_tcon0_mode_set() argument
113 val = (depth == 18) ? 1 : 0; in lcdc_tcon0_mode_set()
118 if (depth == 18 || depth == 16) { in lcdc_tcon0_mode_set()
129 writel(((depth == 18) ? in lcdc_tcon0_mode_set()
/u-boot/drivers/video/
A Dvideomodes.c237 unsigned int *depth, unsigned int *freq, const char **options) in video_get_video_mode() argument
265 *depth = simple_strtoul(p, &p, 10); in video_get_video_mode()
266 if (!*depth) in video_get_video_mode()
299 unsigned int i, xres, yres, depth, refresh; in video_get_ctfb_res_modes() local
305 if (!video_get_video_mode(&xres, &yres, &depth, &refresh, options)) in video_get_ctfb_res_modes()
313 *depth_ret = depth; in video_get_ctfb_res_modes()
319 xres, yres, depth, refresh, (*mode_ret)->xres, in video_get_ctfb_res_modes()
/u-boot/drivers/core/
A Ddump.c13 static void show_devices(struct udevice *dev, int depth, int last_flag) in show_devices() argument
25 for (i = depth; i >= 0; i--) { in show_devices()
44 show_devices(child, depth + 1, (last_flag << 1) | is_last); in show_devices()
/u-boot/arch/arm/mach-imx/imx8/
A Dfdt.c54 int offset = 0, depth = 0; in update_fdt_with_owned_resources() local
58 for (offset = fdt_next_node(blob, offset, &depth); offset > 0; in update_fdt_with_owned_resources()
59 offset = fdt_next_node(blob, offset, &depth)) { in update_fdt_with_owned_resources()
61 fdt_get_name(blob, offset, NULL), depth); in update_fdt_with_owned_resources()
/u-boot/tools/binman/etype/
A Dfit.py140 def _AddNode(base_node, depth, node): argument
175 has_images = depth == 2 and in_images
209 if depth == 1 and in_images:
221 _AddNode(base_node, depth + 1, subnode)
/u-boot/doc/device-tree-bindings/mmc/
A Dsnps,dw-mmc.txt14 * fifo-depth: The maximum size of the tx/rx fifo's. If this property is not
28 fifo-depth = <256>;
/u-boot/drivers/usb/host/
A Dxhci-exynos5.c61 int depth; in xhci_usb_of_to_plat() local
72 depth = 0; in xhci_usb_of_to_plat()
74 COMPAT_SAMSUNG_EXYNOS5_USB3_PHY, &depth); in xhci_usb_of_to_plat()
A Dehci-exynos.c52 int depth; in ehci_usb_of_to_plat() local
63 depth = 0; in ehci_usb_of_to_plat()
65 COMPAT_SAMSUNG_EXYNOS_USB_PHY, &depth); in ehci_usb_of_to_plat()
/u-boot/test/py/tests/
A Dvboot_evil.py67 depth = -1
79 depth += 1
95 object_depth = depth
122 if depth == object_depth:
125 depth -= 1
/u-boot/drivers/net/
A Dhigmacv300.c412 int depth; in higmac_init_hw_queue() local
420 depth = RX_DESC_NUM; in higmac_init_hw_queue()
427 depth = RX_DESC_NUM; in higmac_init_hw_queue()
434 depth = TX_DESC_NUM; in higmac_init_hw_queue()
441 depth = TX_DESC_NUM; in higmac_init_hw_queue()
448 writel(depth << DESC_WORD_SHIFT, priv->base + regdep); in higmac_init_hw_queue()
451 len = depth * sizeof(*desc); in higmac_init_hw_queue()
461 higmac_init_rx_descs(desc, depth); in higmac_init_hw_queue()
/u-boot/arch/arm/mach-nexell/include/mach/
A Ddisplay_dev.h32 unsigned int depth; /* byte per pixel */ member

Completed in 61 milliseconds

12345678