Lines Matching refs:tmp_buf
55 static void __init sparc32_path_component(struct device_node *dp, char *tmp_buf) in sparc32_path_component() argument
66 sprintf(tmp_buf, "%s@%x,%x", in sparc32_path_component()
72 static void __init sbus_path_component(struct device_node *dp, char *tmp_buf) in sbus_path_component() argument
83 sprintf(tmp_buf, "%s@%x,%x", in sbus_path_component()
90 static void __init pci_path_component(struct device_node *dp, char *tmp_buf) in pci_path_component() argument
104 sprintf(tmp_buf, "%s@%x,%x", in pci_path_component()
109 sprintf(tmp_buf, "%s@%x", in pci_path_component()
116 static void __init ebus_path_component(struct device_node *dp, char *tmp_buf) in ebus_path_component() argument
128 sprintf(tmp_buf, "%s@%x,%x", in ebus_path_component()
134 static void __init ambapp_path_component(struct device_node *dp, char *tmp_buf) in ambapp_path_component() argument
161 sprintf(tmp_buf, "%s@%x,%x", name, *intr, reg0); in ambapp_path_component()
164 static void __init __build_path_component(struct device_node *dp, char *tmp_buf) in __build_path_component() argument
171 return pci_path_component(dp, tmp_buf); in __build_path_component()
173 return sbus_path_component(dp, tmp_buf); in __build_path_component()
175 return ebus_path_component(dp, tmp_buf); in __build_path_component()
177 return ambapp_path_component(dp, tmp_buf); in __build_path_component()
183 return sparc32_path_component(dp, tmp_buf); in __build_path_component()
189 char tmp_buf[64], *n; in build_path_component() local
191 tmp_buf[0] = '\0'; in build_path_component()
192 __build_path_component(dp, tmp_buf); in build_path_component()
193 if (tmp_buf[0] == '\0') in build_path_component()
194 strcpy(tmp_buf, name); in build_path_component()
196 n = prom_early_alloc(strlen(tmp_buf) + 1); in build_path_component()
197 strcpy(n, tmp_buf); in build_path_component()