Lines Matching refs:tmp_buf

57 static void __init sparc32_path_component(struct device_node *dp, char *tmp_buf)  in sparc32_path_component()  argument
68 sprintf(tmp_buf, "%s@%x,%x", in sparc32_path_component()
74 static void __init sbus_path_component(struct device_node *dp, char *tmp_buf) in sbus_path_component() argument
85 sprintf(tmp_buf, "%s@%x,%x", in sbus_path_component()
92 static void __init pci_path_component(struct device_node *dp, char *tmp_buf) in pci_path_component() argument
106 sprintf(tmp_buf, "%s@%x,%x", in pci_path_component()
111 sprintf(tmp_buf, "%s@%x", in pci_path_component()
118 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
171 sprintf(tmp_buf, "%s:%d:%d@%x,%x", in ambapp_path_component()
176 static void __init __build_path_component(struct device_node *dp, char *tmp_buf) in __build_path_component() argument
183 return pci_path_component(dp, tmp_buf); in __build_path_component()
185 return sbus_path_component(dp, tmp_buf); in __build_path_component()
187 return ebus_path_component(dp, tmp_buf); in __build_path_component()
189 return ambapp_path_component(dp, tmp_buf); in __build_path_component()
195 return sparc32_path_component(dp, tmp_buf); in __build_path_component()
201 char tmp_buf[64], *n; in build_path_component() local
203 tmp_buf[0] = '\0'; in build_path_component()
204 __build_path_component(dp, tmp_buf); in build_path_component()
205 if (tmp_buf[0] == '\0') in build_path_component()
206 strcpy(tmp_buf, name); in build_path_component()
208 n = prom_early_alloc(strlen(tmp_buf) + 1); in build_path_component()
209 strcpy(n, tmp_buf); in build_path_component()