Lines Matching refs:fprintf
74 fprintf(f, "%s: ", m->ref); in write_propval_string()
77 fprintf(f, "\""); in write_propval_string()
84 fprintf(f, "\\a"); in write_propval_string()
87 fprintf(f, "\\b"); in write_propval_string()
90 fprintf(f, "\\t"); in write_propval_string()
93 fprintf(f, "\\n"); in write_propval_string()
96 fprintf(f, "\\v"); in write_propval_string()
99 fprintf(f, "\\f"); in write_propval_string()
102 fprintf(f, "\\r"); in write_propval_string()
105 fprintf(f, "\\\\"); in write_propval_string()
108 fprintf(f, "\\\""); in write_propval_string()
111 fprintf(f, "\", "); in write_propval_string()
115 fprintf(f, "%s: ", m->ref); in write_propval_string()
119 fprintf(f, "\""); in write_propval_string()
123 fprintf(f, "%c", c); in write_propval_string()
125 fprintf(f, "\\x%02hhx", c); in write_propval_string()
128 fprintf(f, "\""); in write_propval_string()
133 fprintf(f, " %s:", m->ref); in write_propval_string()
143 fprintf(f, "<"); in write_propval_cells()
148 fprintf(f, "%s: ", m->ref); in write_propval_cells()
153 fprintf(f, "0x%x", fdt32_to_cpu(*cp++)); in write_propval_cells()
156 fprintf(f, " "); in write_propval_cells()
162 fprintf(f, " %s:", m->ref); in write_propval_cells()
164 fprintf(f, ">"); in write_propval_cells()
173 fprintf(f, "["); in write_propval_bytes()
177 fprintf(f, "%s: ", m->ref); in write_propval_bytes()
181 fprintf(f, "%02hhx", (unsigned char)(*bp++)); in write_propval_bytes()
184 fprintf(f, " "); in write_propval_bytes()
190 fprintf(f, " %s:", m->ref); in write_propval_bytes()
192 fprintf(f, "]"); in write_propval_bytes()
205 fprintf(f, ";\n"); in write_propval()
223 fprintf(f, " = "); in write_propval()
233 fprintf(f, ";\n"); in write_propval()
244 fprintf(f, "%s: ", l->label); in write_tree_source_node()
246 fprintf(f, "%s {\n", tree->name); in write_tree_source_node()
248 fprintf(f, "/ {\n"); in write_tree_source_node()
253 fprintf(f, "%s: ", l->label); in write_tree_source_node()
254 fprintf(f, "%s", prop->name); in write_tree_source_node()
258 fprintf(f, "\n"); in write_tree_source_node()
262 fprintf(f, "};\n"); in write_tree_source_node()
270 fprintf(f, "/dts-v1/;\n\n"); in dt_to_source()
276 fprintf(f, "%s: ", l->label); in dt_to_source()
277 fprintf(f, "/memreserve/\t0x%016llx 0x%016llx;\n", in dt_to_source()