| /rk3399_rockchip-uboot/arch/arm/mach-socfpga/ |
| H A D | pinmux_arria10.c | 12 static int do_pinctr_pin(const void *blob, int child, const char *node_name) in do_pinctr_pin() argument 20 base_addr = fdtdec_get_addr_size(blob, child, "reg", &size); in do_pinctr_pin() 22 cell = fdt_getprop(blob, child, "pinctrl-single,pins", &len); in do_pinctr_pin() 40 int child, len; in do_pinctrl_pins() local 43 child = fdt_first_subnode(blob, node); in do_pinctrl_pins() 45 if (child < 0) in do_pinctrl_pins() 48 node_name = fdt_get_name(blob, child, &len); in do_pinctrl_pins() 52 return do_pinctr_pin(blob, child, node_name); in do_pinctrl_pins() 54 child = fdt_next_subnode(blob, child); in do_pinctrl_pins() 56 if (child < 0) in do_pinctrl_pins() [all …]
|
| H A D | misc_arria10.c | 117 int child, const char *node_name) in find_peripheral_uart() argument 125 base_addr = fdtdec_get_addr_size(blob, child, "reg", &size); in find_peripheral_uart() 127 cell = fdt_getprop(blob, child, "pinctrl-single,pins", in find_peripheral_uart() 151 int child, len; in is_peripheral_uart_true() local 154 child = fdt_first_subnode(blob, node); in is_peripheral_uart_true() 156 if (child < 0) in is_peripheral_uart_true() 159 node_name = fdt_get_name(blob, child, &len); in is_peripheral_uart_true() 163 return find_peripheral_uart(blob, child, node_name); in is_peripheral_uart_true() 165 child = fdt_next_subnode(blob, child); in is_peripheral_uart_true() 166 if (child < 0) in is_peripheral_uart_true() [all …]
|
| H A D | clock_manager_arria10.c | 107 int node, child, len; in of_get_clk_cfg() local 114 child = fdt_first_subnode(blob, node); in of_get_clk_cfg() 115 if (child < 0) in of_get_clk_cfg() 118 child = fdt_first_subnode(blob, child); in of_get_clk_cfg() 119 if (child < 0) in of_get_clk_cfg() 122 node_name = fdt_get_name(blob, child, &len); in of_get_clk_cfg() 126 if (of_get_input_clks(blob, child, &eosc1_hz)) in of_get_clk_cfg() 129 if (of_get_input_clks(blob, child, &cb_intosc_hz)) in of_get_clk_cfg() 132 if (of_get_input_clks(blob, child, &f2s_free_hz)) in of_get_clk_cfg() 135 if (of_to_struct(blob, child, in of_get_clk_cfg() [all …]
|
| /rk3399_rockchip-uboot/scripts/kconfig/ |
| H A D | conf.c | 239 struct menu *child; in conf_choice() local 274 for (child = menu->list; child; child = child->next) { in conf_choice() 275 if (!menu_is_visible(child)) in conf_choice() 277 if (!child->sym) { in conf_choice() 278 printf("%*c %s\n", indent, '*', _(menu_get_prompt(child))); in conf_choice() 282 if (child->sym == def_sym) { in conf_choice() 287 printf(" %d. %s", cnt, _(menu_get_prompt(child))); in conf_choice() 288 if (child->sym->name) in conf_choice() 289 printf(" (%s)", child->sym->name); in conf_choice() 290 if (!sym_has_value(child->sym)) in conf_choice() [all …]
|
| H A D | mconf.c | 470 struct menu *child; in build_conf() local 535 for (child = menu->list; child; child = child->next) { in build_conf() 536 if (menu_is_visible(child) && child->sym == def_sym) in build_conf() 537 def_menu = child; in build_conf() 640 for (child = menu->list; child; child = child->next) in build_conf() 641 build_conf(child); in build_conf() 803 struct menu *child; in conf_choice() local 813 for (child = menu->list; child; child = child->next) { in conf_choice() 814 if (!menu_is_visible(child)) in conf_choice() 816 if (child->sym) in conf_choice() [all …]
|
| H A D | nconf.c | 739 struct menu *child; in build_conf() local 800 for (child = menu->list; child; child = child->next) { in build_conf() 801 if (menu_is_visible(child) && child->sym == def_sym) in build_conf() 802 def_menu = child; in build_conf() 916 for (child = menu->list; child; child = child->next) in build_conf() 917 build_conf(child); in build_conf() 1237 struct menu *child = 0; in conf_choice() local 1253 for (i = 0, child = menu->list; child; child = child->next) { in conf_choice() 1254 if (!show_all_items && !menu_is_visible(child)) in conf_choice() 1257 if (child->sym == sym_get_choice_value(menu->sym)) in conf_choice() [all …]
|
| H A D | gconf.c | 1091 struct menu *child; in fill_row() local 1097 for (child = menu->list; child; child = child->next) { in fill_row() 1098 if (menu_is_visible(child) in fill_row() 1099 && child->sym == def_sym) in fill_row() 1100 def_menu = child; in fill_row() 1218 GtkTreeIter *child = &iter; in gtktree_iter_find_node() local 1222 valid = gtk_tree_model_iter_children(model2, child, parent); in gtktree_iter_find_node() 1226 gtk_tree_model_get(model2, child, 6, &menu, -1); in gtktree_iter_find_node() 1229 memcpy(&found, child, sizeof(GtkTreeIter)); in gtktree_iter_find_node() 1233 ret = gtktree_iter_find_node(child, tofind); in gtktree_iter_find_node() [all …]
|
| H A D | kxgettext.c | 173 struct menu *child; in menu_build_message_list() local 184 for (child = menu->list; child != NULL; child = child->next) in menu_build_message_list() 185 if (child->prompt != NULL) in menu_build_message_list() 186 menu_build_message_list(child); in menu_build_message_list()
|
| H A D | qconf.cc | 588 struct menu* child; in updateMenuList() local 606 for (child = menu->list; child; child = child->next) { in updateMenuList() 608 type = child->prompt ? child->prompt->type : P_UNKNOWN; in updateMenuList() 612 if (!(child->flags & MENU_ROOT)) in updateMenuList() 616 if (child->flags & MENU_ROOT) in updateMenuList() 623 visible = menu_is_visible(child); in updateMenuList() 624 if (!menuSkip(child)) { in updateMenuList() 625 if (!child->sym && !child->list && !child->prompt) in updateMenuList() 627 if (!item || item->menu != child) in updateMenuList() 628 item = new ConfigItem(parent, last, child, visible); in updateMenuList() [all …]
|
| /rk3399_rockchip-uboot/common/ |
| H A D | cli_hush.c | 199 struct child_prog *child; member 395 static int builtin_cd(struct child_prog *child); 396 static int builtin_env(struct child_prog *child); 397 static int builtin_eval(struct child_prog *child); 398 static int builtin_exec(struct child_prog *child); 399 static int builtin_exit(struct child_prog *child); 400 static int builtin_export(struct child_prog *child); 401 static int builtin_fg_bg(struct child_prog *child); 402 static int builtin_help(struct child_prog *child); 403 static int builtin_jobs(struct child_prog *child); [all …]
|
| /rk3399_rockchip-uboot/drivers/i2c/ |
| H A D | sandbox_i2c.c | 27 struct udevice *child; in get_emul() local 38 for (device_find_first_child(dev, &child); child; in get_emul() 39 device_find_next_child(&child)) { in get_emul() 40 if (device_get_uclass_id(child) != UCLASS_I2C_EMUL) in get_emul() 43 ret = device_probe(child); in get_emul() 50 if (child) in get_emul() 51 plat->emul = child; in get_emul()
|
| /rk3399_rockchip-uboot/drivers/misc/ |
| H A D | rockchip_pm_config.c | 69 ofnode child; in parse_mcu_sleep_config() local 81 child = ofnode_first_subnode(mcu_sleep_node); in parse_mcu_sleep_config() 82 if (ofnode_valid(child) == 0) { in parse_mcu_sleep_config() 112 ofnode_for_each_subnode(child, mcu_sleep_node) { in parse_mcu_sleep_config() 117 ret = ofnode_read_u32_array(child, "rockchip,tag", in parse_mcu_sleep_config() 123 __func__, ofnode_get_name(child)); in parse_mcu_sleep_config() 128 len = ofnode_read_size(child, "rockchip,params"); in parse_mcu_sleep_config() 133 __func__, ofnode_get_name(child)); in parse_mcu_sleep_config() 137 ret = ofnode_read_u32_array(child, "rockchip,params", in parse_mcu_sleep_config() 142 __func__, ofnode_get_name(child)); in parse_mcu_sleep_config()
|
| H A D | tegra_car.c | 20 struct udevice *child; in tegra_car_bpmp_bind() local 25 dev_ofnode(dev), &child); in tegra_car_bpmp_bind() 31 &child); in tegra_car_bpmp_bind()
|
| H A D | tegra186_bpmp.c | 110 struct udevice *child; in tegra186_bpmp_bind() local 115 dev_ofnode(dev), &child); in tegra186_bpmp_bind() 121 &child); in tegra186_bpmp_bind() 127 dev_ofnode(dev), &child); in tegra186_bpmp_bind()
|
| /rk3399_rockchip-uboot/lib/ |
| H A D | of_live.c | 123 np->sibling = dad->child; in unflatten_dt_node() 124 dad->child = np; in unflatten_dt_node() 235 if (!dryrun && np->child) { in unflatten_dt_node() 236 struct device_node *child = np->child; in unflatten_dt_node() local 237 np->child = NULL; in unflatten_dt_node() 238 while (child) { in unflatten_dt_node() 239 struct device_node *next = child->sibling; in unflatten_dt_node() 241 child->sibling = np->child; in unflatten_dt_node() 242 np->child = child; in unflatten_dt_node() 243 child = next; in unflatten_dt_node()
|
| /rk3399_rockchip-uboot/cmd/ |
| H A D | usb.c | 353 struct udevice *child; local 355 for (device_find_first_child(dev->dev, &child); 356 child; 357 device_find_next_child(&child)) { 358 if (device_get_uclass_id(child) == UCLASS_BLK) 415 struct udevice *child; local 417 for (device_find_first_child(dev->dev, &child); 418 child; 419 device_find_next_child(&child)) { 422 if (!device_active(child)) [all …]
|
| /rk3399_rockchip-uboot/doc/device-tree-bindings/i2c/ |
| H A D | i2c-mux.txt | 3 An i2c bus multiplexer/switch will have several child busses that are 5 multiplexer/switch will have one child node for each child 12 Required properties for child nodes: 17 Optional properties for child nodes:
|
| /rk3399_rockchip-uboot/include/linux/ |
| H A D | rbtree_augmented.h | 118 struct rb_node *child = node->rb_right, *tmp = node->rb_left; in __rb_erase_augmented() local 132 __rb_change_child(node, child, parent, root); in __rb_erase_augmented() 133 if (child) { in __rb_erase_augmented() 134 child->__rb_parent_color = pc; in __rb_erase_augmented() 139 } else if (!child) { in __rb_erase_augmented() 147 struct rb_node *successor = child, *child2; in __rb_erase_augmented() 148 tmp = child->rb_left; in __rb_erase_augmented() 183 successor->rb_right = child; in __rb_erase_augmented() 184 rb_set_parent(child, successor); in __rb_erase_augmented()
|
| /rk3399_rockchip-uboot/drivers/power/pmic/ |
| H A D | pmic-uclass.c | 28 struct udevice *child; in pmic_bind_children() local 54 child = NULL; in pmic_bind_children() 88 0, node, &child); in pmic_bind_children() 94 debug(" - bound child device: '%s'\n", child->name); in pmic_bind_children() 96 child->driver_data = trailing_strtol(node_name); in pmic_bind_children() 99 child->driver_data); in pmic_bind_children() 103 if (child) in pmic_bind_children()
|
| /rk3399_rockchip-uboot/scripts/dtc/ |
| H A D | livetree.c | 103 struct node *child; in build_node() local 110 for_each_child(new, child) { in build_node() 111 child->parent = new; in build_node() 281 void add_child(struct node *parent, struct node *child) in add_child() argument 285 child->next_sibling = NULL; in add_child() 286 child->parent = parent; in add_child() 292 *p = child; in add_child() 311 struct node *child; in delete_node() local 314 for_each_child(node, child) in delete_node() 315 delete_node(child); in delete_node() [all …]
|
| /rk3399_rockchip-uboot/drivers/core/ |
| H A D | dump.c | 16 struct udevice *child; in show_devices() local 47 list_for_each_entry(child, &dev->child_head, sibling_node) { in show_devices() 48 is_last = list_is_last(&child->sibling_node, &dev->child_head); in show_devices() 49 show_devices(child, depth + 1, (last_flag << 1) | is_last); in show_devices()
|
| H A D | of_access.c | 150 } else if (prev->child) { in of_find_all_nodes() 151 np = prev->child; in of_find_all_nodes() 302 next = prev ? prev->sibling : node->child; in __of_get_next_child() 316 #define __for_each_child_of_node(parent, child) \ argument 317 for (child = __of_get_next_child(parent, NULL); child != NULL; \ 318 child = __of_get_next_child(parent, child)) 323 struct device_node *child; in __of_find_node_by_path() local 330 __for_each_child_of_node(parent, child) { in __of_find_node_by_path() 331 const char *name = strrchr(child->full_name, '/'); in __of_find_node_by_path() 335 return child; in __of_find_node_by_path()
|
| /rk3399_rockchip-uboot/drivers/i2c/muxes/ |
| H A D | max96755f.c | 88 ofnode child; in max96755f_probe() local 111 ofnode_for_each_subnode(child, dev_ofnode(dev)) { in max96755f_probe() 112 if (!ofnode_is_available(child) || in max96755f_probe() 113 !of_find_property(ofnode_to_np(child), "reg", NULL)) in max96755f_probe()
|
| /rk3399_rockchip-uboot/drivers/video/drm/ |
| H A D | rockchip_crtc.c | 236 struct udevice *child; in rockchip_vop_probe() local 246 for (device_find_first_child(dev, &child); in rockchip_vop_probe() 247 child; in rockchip_vop_probe() 248 device_find_next_child(&child)) { in rockchip_vop_probe() 249 ret = device_probe(child); in rockchip_vop_probe() 253 ret = clk_set_defaults(child); in rockchip_vop_probe()
|
| /rk3399_rockchip-uboot/drivers/usb/dwc3/ |
| H A D | dwc3-generic.c | 429 struct udevice *child = NULL; in dwc3_glue_probe() local 443 ret = device_find_first_child(dev, &child); in dwc3_glue_probe() 448 ret = dwc3_glue_clk_init(child, glue); in dwc3_glue_probe() 454 ret = dwc3_glue_reset_init(child, glue); in dwc3_glue_probe() 459 while (child) { in dwc3_glue_probe() 462 dr_mode = usb_get_dr_mode(child->node); in dwc3_glue_probe() 463 device_find_next_child(&child); in dwc3_glue_probe()
|