Lines Matching refs:tmp_buf

61 static void __init sparc32_path_component(struct device_node *dp, char *tmp_buf)  in sparc32_path_component()  argument
71 sprintf(tmp_buf, "%s@%x,%x", in sparc32_path_component()
77 static void __init sbus_path_component(struct device_node *dp, char *tmp_buf) in sbus_path_component() argument
87 sprintf(tmp_buf, "%s@%x,%x", in sbus_path_component()
94 static void __init pci_path_component(struct device_node *dp, char *tmp_buf) in pci_path_component() argument
107 sprintf(tmp_buf, "%s@%x,%x", in pci_path_component()
112 sprintf(tmp_buf, "%s@%x", in pci_path_component()
119 static void __init ebus_path_component(struct device_node *dp, char *tmp_buf) in ebus_path_component() argument
130 sprintf(tmp_buf, "%s@%x,%x", in ebus_path_component()
136 static void __init ambapp_path_component(struct device_node *dp, char *tmp_buf) in ambapp_path_component() argument
170 sprintf(tmp_buf, "%s:%d:%d@%x,%x", in ambapp_path_component()
175 static void __init __build_path_component(struct device_node *dp, char *tmp_buf) in __build_path_component() argument
182 return pci_path_component(dp, tmp_buf); in __build_path_component()
184 return sbus_path_component(dp, tmp_buf); in __build_path_component()
186 return ebus_path_component(dp, tmp_buf); in __build_path_component()
188 return ambapp_path_component(dp, tmp_buf); in __build_path_component()
194 return sparc32_path_component(dp, tmp_buf); in __build_path_component()
199 char tmp_buf[64], *n; in build_path_component() local
201 tmp_buf[0] = '\0'; in build_path_component()
202 __build_path_component(dp, tmp_buf); in build_path_component()
203 if (tmp_buf[0] == '\0') in build_path_component()
204 strcpy(tmp_buf, dp->name); in build_path_component()
206 n = prom_early_alloc(strlen(tmp_buf) + 1); in build_path_component()
207 strcpy(n, tmp_buf); in build_path_component()