Lines Matching defs:devspec
40 * path in (devspec). If it contains an explicit device specification,
44 ofw_getdev(void **vdev, const char *devspec, const char **path)
53 if ((devspec == NULL) ||
54 ((strchr(devspec, '@') == NULL) &&
55 (strchr(devspec, ':') == NULL))) {
59 *path = devspec;
64 * Try to parse the device name off the beginning of the devspec
66 return(ofw_parsedev(dev, devspec, path));
71 * at the beginning of (devspec). Return a pointer to the remaining
75 ofw_parsedev(struct ofw_devdesc **dev, const char *devspec, const char **path)
89 for (p = s = devspec; *s != '\0'; p = s) {
92 len = s - devspec;
93 bcopy(devspec, name, len);
118 p = devspec + strlen(dv->dv_name);