Lines Matching refs:tmp_buf
60 static void __init sparc32_path_component(struct device_node *dp, char *tmp_buf) in sparc32_path_component() argument
70 sprintf(tmp_buf, "%s@%x,%x", in sparc32_path_component()
76 static void __init sbus_path_component(struct device_node *dp, char *tmp_buf) in sbus_path_component() argument
86 sprintf(tmp_buf, "%s@%x,%x", in sbus_path_component()
93 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
129 sprintf(tmp_buf, "%s@%x,%x", in ebus_path_component()
134 static void __init __build_path_component(struct device_node *dp, char *tmp_buf) in __build_path_component() argument
141 return pci_path_component(dp, tmp_buf); in __build_path_component()
143 return sbus_path_component(dp, tmp_buf); in __build_path_component()
145 return ebus_path_component(dp, tmp_buf); in __build_path_component()
151 return sparc32_path_component(dp, tmp_buf); in __build_path_component()
156 char tmp_buf[64], *n; in build_path_component() local
158 tmp_buf[0] = '\0'; in build_path_component()
159 __build_path_component(dp, tmp_buf); in build_path_component()
160 if (tmp_buf[0] == '\0') in build_path_component()
161 strcpy(tmp_buf, dp->name); in build_path_component()
163 n = prom_early_alloc(strlen(tmp_buf) + 1); in build_path_component()
164 strcpy(n, tmp_buf); in build_path_component()