Lines Matching refs:fdt
43 static int find_chosen_node(void *fdt) in find_chosen_node() argument
47 if (!fdt) in find_chosen_node()
50 offset = fdt_path_offset(fdt, "/secure-chosen"); in find_chosen_node()
53 offset = fdt_path_offset(fdt, "/chosen"); in find_chosen_node()
58 TEE_Result get_console_node_from_dt(void *fdt, int *offs_out, in get_console_node_from_dt() argument
70 offs = find_chosen_node(fdt); in get_console_node_from_dt()
76 prop = fdt_get_property(fdt, offs, "stdout-path", NULL); in get_console_node_from_dt()
97 uart = fdt_get_alias(fdt, stdout_data); in get_console_node_from_dt()
102 offs = fdt_path_offset(fdt, uart); in get_console_node_from_dt()
126 void *fdt; in configure_console_from_dt() local
129 fdt = get_dt(); in configure_console_from_dt()
130 if (get_console_node_from_dt(fdt, &offs, &uart, &parms)) in configure_console_from_dt()
133 dt_drv = dt_find_compatible_driver(fdt, offs); in configure_console_from_dt()
150 if (sdrv->dev_init(dev, fdt, offs, parms) < 0) { in configure_console_from_dt()