Lines Matching defs:devspec
34 * path in (devspec). If it contains an explicit device specification,
38 ofw_getdev(void **vdev, const char *devspec, const char **path)
47 if (devspec == NULL || strpbrk(devspec, ":@") == NULL) {
50 *path = devspec;
55 * Try to parse the device name off the beginning of the devspec
57 return (devparse(dev, devspec, path));
93 ofw_common_parsedev(struct devdesc **dev, const char *devspec, const char **path,
99 if (ofw_path_to_handle(devspec, ofwtype, &rem_path) == -1)
106 strlcpy(idev->d_path, devspec, min(rem_path - devspec + 1,