Lines Matching refs:fprintf
58 fprintf(f, "\""); in write_propval_string()
63 fprintf(f, "\\a"); in write_propval_string()
66 fprintf(f, "\\b"); in write_propval_string()
69 fprintf(f, "\\t"); in write_propval_string()
72 fprintf(f, "\\n"); in write_propval_string()
75 fprintf(f, "\\v"); in write_propval_string()
78 fprintf(f, "\\f"); in write_propval_string()
81 fprintf(f, "\\r"); in write_propval_string()
84 fprintf(f, "\\\\"); in write_propval_string()
87 fprintf(f, "\\\""); in write_propval_string()
90 fprintf(f, "\\0"); in write_propval_string()
94 fprintf(f, "%c", c); in write_propval_string()
96 fprintf(f, "\\x%02"PRIx8, c); in write_propval_string()
99 fprintf(f, "\""); in write_propval_string()
110 fprintf(f, "%02"PRIx8, *(const uint8_t*)p); in write_propval_int()
113 fprintf(f, "0x%02"PRIx16, dtb_ld16(p)); in write_propval_int()
116 fprintf(f, "0x%02"PRIx32, dtb_ld32(p)); in write_propval_int()
119 fprintf(f, "0x%02"PRIx64, dtb_ld64(p)); in write_propval_int()
208 fprintf(f, ";"); in write_propval()
212 fprintf(f, " /* %s */", srcstr); in write_propval()
216 fprintf(f, "\n"); in write_propval()
220 fprintf(f, " ="); in write_propval()
239 fprintf(f, " %s", delim_start[emit_type]); in write_propval()
241 fprintf(f, " %s:", m->ref); in write_propval()
258 fprintf(f, "&{%s}", m_phandle->ref); in write_propval()
260 fprintf(f, "&%s", m_phandle->ref); in write_propval()
283 fprintf(f, pos == len ? "%s" : "%s,", in write_propval()
288 fprintf(f, ";"); in write_propval()
292 fprintf(f, " /* %s */", srcstr); in write_propval()
296 fprintf(f, "\n"); in write_propval()
308 fprintf(f, "%s: ", l->label); in write_tree_source_node()
310 fprintf(f, "%s {", tree->name); in write_tree_source_node()
312 fprintf(f, "/ {"); in write_tree_source_node()
317 fprintf(f, " /* %s */", srcstr); in write_tree_source_node()
321 fprintf(f, "\n"); in write_tree_source_node()
326 fprintf(f, "%s: ", l->label); in write_tree_source_node()
327 fprintf(f, "%s", prop->name); in write_tree_source_node()
331 fprintf(f, "\n"); in write_tree_source_node()
335 fprintf(f, "};"); in write_tree_source_node()
339 fprintf(f, " /* %s */", srcstr); in write_tree_source_node()
343 fprintf(f, "\n"); in write_tree_source_node()
350 fprintf(f, "/dts-v1/;\n\n"); in dt_to_source()
356 fprintf(f, "%s: ", l->label); in dt_to_source()
357 fprintf(f, "/memreserve/\t0x%016llx 0x%016llx;\n", in dt_to_source()