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
163 sprintf(tmp_buf, "%s@%x,%x", name, *intr, reg0); in ambapp_path_component()
166 static void __init __build_path_component(struct device_node *dp, char *tmp_buf) in __build_path_component() argument
173 return pci_path_component(dp, tmp_buf); in __build_path_component()
175 return sbus_path_component(dp, tmp_buf); in __build_path_component()
177 return ebus_path_component(dp, tmp_buf); in __build_path_component()
179 return ambapp_path_component(dp, tmp_buf); in __build_path_component()
185 return sparc32_path_component(dp, tmp_buf); in __build_path_component()
191 char tmp_buf[64], *n; in build_path_component() local
193 tmp_buf[0] = '\0'; in build_path_component()
194 __build_path_component(dp, tmp_buf); in build_path_component()
195 if (tmp_buf[0] == '\0') in build_path_component()
196 strcpy(tmp_buf, name); in build_path_component()
198 n = prom_early_alloc(strlen(tmp_buf) + 1); in build_path_component()
199 strcpy(n, tmp_buf); in build_path_component()