Lines Matching refs:prom_path
103 i_devi_to_promname(dev_info_t *dip, char *prom_path, dev_info_t **alt_dipp) in i_devi_to_promname() argument
116 if (ddi_pathname_obp(dip, prom_path) != NULL) { in i_devi_to_promname()
140 (void) ddi_pathname(pdip, prom_path); in i_devi_to_promname()
162 (void) strcat(prom_path, "/"); in i_devi_to_promname()
163 (void) strcat(prom_path, nodename); in i_devi_to_promname()
165 (void) strcat(prom_path, "@"); in i_devi_to_promname()
166 (void) strcat(prom_path, unit_address); in i_devi_to_promname()
218 char *dev_path, *prom_path; in i_devname_to_promname() local
264 prom_path = kmem_zalloc(MAXPATHLEN, KM_SLEEP); in i_devname_to_promname()
269 ret = i_devi_to_promname(dip, prom_path, &alt_dip); in i_devname_to_promname()
273 (void) strcat(prom_path, minorname); in i_devname_to_promname()
275 (void) snprintf(rptr, rlen, "%s", prom_path); in i_devname_to_promname()
293 bzero(prom_path, MAXPATHLEN); in i_devname_to_promname()
303 if (mdi_pi_pathname_obp(pip, prom_path) != NULL) { in i_devname_to_promname()
319 (void) i_devi_to_promname(pdip, prom_path, &alt_dip); in i_devname_to_promname()
338 (void) strcat(prom_path, "/"); in i_devname_to_promname()
339 (void) strcat(prom_path, nodename); in i_devname_to_promname()
341 (void) strcat(prom_path, "@"); in i_devname_to_promname()
342 (void) strcat(prom_path, unit_address); in i_devname_to_promname()
352 (void) strcat(prom_path, minorname); in i_devname_to_promname()
356 (void) snprintf(rptr, rlen, "%s", prom_path); in i_devname_to_promname()
362 (void) snprintf(optr, olen, "%s", prom_path); in i_devname_to_promname()
386 kmem_free(prom_path, MAXPATHLEN); in i_devname_to_promname()