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()
184 fprintf(f, ";"); in write_propval()
188 fprintf(f, " /* %s */", srcstr); in write_propval()
192 fprintf(f, "\n"); in write_propval()
196 fprintf(f, " ="); in write_propval()
215 fprintf(f, " %s", delim_start[emit_type]); in write_propval()
217 fprintf(f, " %s:", m->ref); in write_propval()
234 fprintf(f, "&{%s}", m_phandle->ref); in write_propval()
236 fprintf(f, "&%s", m_phandle->ref); in write_propval()
257 fprintf(f, pos == len ? "%s" : "%s,", in write_propval()
262 fprintf(f, ";"); in write_propval()
266 fprintf(f, " /* %s */", srcstr); in write_propval()
270 fprintf(f, "\n"); in write_propval()
282 fprintf(f, "%s: ", l->label); in write_tree_source_node()
284 fprintf(f, "%s {", tree->name); in write_tree_source_node()
286 fprintf(f, "/ {"); in write_tree_source_node()
291 fprintf(f, " /* %s */", srcstr); in write_tree_source_node()
295 fprintf(f, "\n"); in write_tree_source_node()
300 fprintf(f, "%s: ", l->label); in write_tree_source_node()
301 fprintf(f, "%s", prop->name); in write_tree_source_node()
305 fprintf(f, "\n"); in write_tree_source_node()
309 fprintf(f, "};"); in write_tree_source_node()
313 fprintf(f, " /* %s */", srcstr); in write_tree_source_node()
317 fprintf(f, "\n"); in write_tree_source_node()
324 fprintf(f, "/dts-v1/;\n\n"); in dt_to_source()
330 fprintf(f, "%s: ", l->label); in dt_to_source()
331 fprintf(f, "/memreserve/\t0x%016llx 0x%016llx;\n", in dt_to_source()