| /components/legacy/fdt/libfdt/ |
| A D | fdt.c | 160 int fdt_next_node(const void *fdt, int offset, int *depth) in fdt_next_node() argument 179 if (depth) in fdt_next_node() 180 (*depth)++; in fdt_next_node() 184 if (depth && ((--(*depth)) < 0)) in fdt_next_node() 202 int depth = 0; in fdt_first_subnode() local 204 offset = fdt_next_node(fdt, offset, &depth); in fdt_first_subnode() 205 if (offset < 0 || depth != 1) in fdt_first_subnode() 213 int depth = 1; in fdt_next_subnode() local 220 offset = fdt_next_node(fdt, offset, &depth); in fdt_next_subnode() 221 if (offset < 0 || depth < 1) in fdt_next_subnode() [all …]
|
| A D | fdt_ro.c | 159 int depth; in fdt_subnode_offset_namelen() local 163 for (depth = 0; in fdt_subnode_offset_namelen() 166 if ((depth == 1) in fdt_subnode_offset_namelen() 170 if (depth < 0) in fdt_subnode_offset_namelen() 390 int offset, depth, namelen; in fdt_get_path() local 398 for (offset = 0, depth = 0; in fdt_get_path() 401 while (pdepth > depth) { in fdt_get_path() 408 if (pdepth >= depth) { in fdt_get_path() 442 int offset, depth; in fdt_supernode_atdepth_offset() local 450 for (offset = 0, depth = 0; in fdt_supernode_atdepth_offset() [all …]
|
| A D | fdt_wip.c | 118 int depth = 0; in _fdt_node_end_offset() local 120 while ((offset >= 0) && (depth >= 0)) in _fdt_node_end_offset() 121 offset = fdt_next_node(fdt, offset, &depth); in _fdt_node_end_offset()
|
| A D | libfdt.h | 191 int fdt_next_node(const void *fdt, int offset, int *depth);
|
| /components/drivers/ofw/libfdt/ |
| A D | fdt.c | 247 int fdt_next_node(const void *fdt, int offset, int *depth) in fdt_next_node() argument 266 if (depth) in fdt_next_node() 267 (*depth)++; in fdt_next_node() 271 if (depth && ((--(*depth)) < 0)) in fdt_next_node() 289 int depth = 0; in fdt_first_subnode() local 291 offset = fdt_next_node(fdt, offset, &depth); in fdt_first_subnode() 292 if (offset < 0 || depth != 1) in fdt_first_subnode() 300 int depth = 1; in fdt_next_subnode() local 307 offset = fdt_next_node(fdt, offset, &depth); in fdt_next_subnode() 308 if (offset < 0 || depth < 1) in fdt_next_subnode() [all …]
|
| A D | fdt_ro.c | 228 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() 545 int offset, depth, namelen; in fdt_get_path() local 553 for (offset = 0, depth = 0; in fdt_get_path() 556 while (pdepth > depth) { in fdt_get_path() 563 if (pdepth >= depth) { in fdt_get_path() 597 int offset, depth; in fdt_supernode_atdepth_offset() local 605 for (offset = 0, depth = 0; in fdt_supernode_atdepth_offset() [all …]
|
| A D | fdt_wip.c | 75 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_()
|
| A D | libfdt.h | 193 int fdt_next_node(const void *fdt, int offset, int *depth);
|
| /components/drivers/ofw/ |
| A D | ofw.c | 462 static void dts_put_depth(int depth) in dts_put_depth() argument 464 while (depth --> 0) in dts_put_depth() 514 int depth = 0; in ofw_node_dump_dts() local 520 dts_put_depth(depth); in ofw_node_dump_dts() 527 ++depth; in ofw_node_dump_dts() 531 dts_put_depth(depth); in ofw_node_dump_dts() 596 --depth; in ofw_node_dump_dts() 603 ++depth; in ofw_node_dump_dts() 607 dts_put_depth(depth); in ofw_node_dump_dts() 618 --depth; in ofw_node_dump_dts() [all …]
|
| A D | fdt.c | 947 int depth = 0; in fdt_unflatten_single() local 997 np_stack[depth++] = np; in fdt_unflatten_single() 1006 while (depth >= 0) in fdt_unflatten_single() 1019 np = np_stack[--depth]; in fdt_unflatten_single() 1031 } while (depth >= 0); in fdt_unflatten_single()
|
| /components/drivers/usb/cherryusb/class/hub/ |
| A D | usbh_hub.c | 156 static int _usbh_hub_set_depth(struct usbh_hub *hub, uint16_t depth) in _usbh_hub_set_depth() argument 164 setup->wValue = depth; in _usbh_hub_set_depth() 274 static int usbh_hub_set_depth(struct usbh_hub *hub, uint16_t depth) in usbh_hub_set_depth() argument 283 setup->wValue = depth; in usbh_hub_set_depth() 288 return _usbh_hub_set_depth(hub, depth); in usbh_hub_set_depth() 334 if (hport->depth > HUB_MAX_DEPTH) { in usbh_hub_connect() 335 USB_LOG_ERR("Hub depth(%d) is overflow\r\n", hport->depth); in usbh_hub_connect() 345 if ((hport->depth != 0) && (hport->speed == USB_SPEED_SUPER)) { in usbh_hub_connect() 346 ret = usbh_hub_set_depth(hub, hport->depth - 1); in usbh_hub_connect() 616 child->depth = (hub->parent ? hub->parent->depth : 0) + 1; in usbh_hub_events()
|
| /components/drivers/nvme/ |
| A D | nvme.c | 138 if (++tail == queue->depth) in nvme_submit_cmd() 677 if (++head == queue->depth) in nvme_queue_isr() 741 cmd.create_cq.qsize = rt_cpu_to_le16(queue->depth - 1); in nvme_attach_queue() 750 cmd.create_sq.qsize = rt_cpu_to_le16(queue->depth - 1); in nvme_attach_queue() 810 rt_dma_free(nvme->dev, sizeof(*queue->sq_cmds) * queue->depth, in nvme_free_queue() 816 rt_dma_free(nvme->dev, sizeof(*queue->cq_entry) * queue->depth, in nvme_free_queue() 822 int qid, int depth) in nvme_alloc_queue() argument 833 queue->depth = depth; in nvme_alloc_queue() 843 sizeof(*queue->sq_cmds) * depth, &queue->sq_cmds_phy, dma_flags); in nvme_alloc_queue() 861 rt_memset(queue->sq_cmds, 0, sizeof(struct rt_nvme_command) * depth); in nvme_alloc_queue() [all …]
|
| /components/legacy/fdt/src/ |
| A D | dtb_get.c | 330 static void _dtb_node_printf_depth(int depth) in _dtb_node_printf_depth() argument 332 int i = depth; in _dtb_node_printf_depth() 382 static int depth = 0; in _dtb_node_printf_dtb_node_info() local 388 _dtb_node_printf_depth(depth); in _dtb_node_printf_dtb_node_info() 391 ++depth; in _dtb_node_printf_dtb_node_info() 396 _dtb_node_printf_depth(depth); in _dtb_node_printf_dtb_node_info() 452 --depth; in _dtb_node_printf_dtb_node_info() 453 _dtb_node_printf_depth(depth); in _dtb_node_printf_dtb_node_info()
|
| /components/legacy/usb/usbhost/core/ |
| A D | usbhost_core.c | 485 rt_uint32_t ptr, depth = 0; in rt_usbh_get_interface_descriptor() local 494 if(depth++ > 0x20) in rt_usbh_get_interface_descriptor() 529 int count = 0, depth = 0; in rt_usbh_get_endpoint_descriptor() local 541 if(depth++ > 0x20) in rt_usbh_get_endpoint_descriptor()
|
| /components/drivers/usb/cherryusb/core/ |
| A D | usbh_core.h | 106 uint8_t depth; /* distance from root hub */ member
|
| /components/net/lwip/lwip-2.0.3/src/apps/mdns/ |
| A D | mdns.c | 298 mdns_readname_loop(struct pbuf *p, u16_t offset, struct mdns_domain *domain, unsigned depth) in mdns_readname_loop() argument 303 if (depth > 5) { in mdns_readname_loop() 323 res = mdns_readname_loop(p, jumpaddr, domain, depth + 1); in mdns_readname_loop()
|
| /components/drivers/include/drivers/ |
| A D | nvme.h | 813 rt_uint16_t depth; member
|
| /components/net/lwip/lwip-2.1.2/src/apps/mdns/ |
| A D | mdns.c | 355 mdns_readname_loop(struct pbuf *p, u16_t offset, struct mdns_domain *domain, unsigned depth) in mdns_readname_loop() argument 360 if (depth > 5) { in mdns_readname_loop() 380 res = mdns_readname_loop(p, jumpaddr, domain, depth + 1); in mdns_readname_loop()
|
| /components/net/lwip/lwip-2.0.3/doc/doxygen/ |
| A D | lwip.Doxyfile | 2459 # The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the graphs 2460 # generated by dot. A depth value of 3 means that only nodes reachable from the 2465 # DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction.
|
| /components/net/lwip/lwip-2.1.2/doc/doxygen/ |
| A D | lwip.Doxyfile | 2485 # The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the graphs 2486 # generated by dot. A depth value of 3 means that only nodes reachable from the 2491 # DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction.
|
| A D | lwip.Doxyfile.cmake.in | 2485 # The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the graphs 2486 # generated by dot. A depth value of 3 means that only nodes reachable from the 2491 # DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction.
|