Searched refs:devspec (Results 1 - 7 of 7) sorted by relevance

/netbsd-current/sys/arch/x68k/stand/libsa/
H A Ddevopen.c36 extern struct devspec devspec[]; /* defined in conf.c */
70 for (i = 0; devspec[i].ds_name != 0; i++) {
71 if (strncmp (devspec[i].ds_name, s,
72 strlen(devspec[i].ds_name)) == 0)
76 if (devspec[i].ds_name == 0)
78 s += strlen(devspec[i].ds_name);
79 *dev = devspec[i].ds_dev;
81 if (devspec[i].ds_net) {
86 if (*unit < 0 || *unit > devspec[
[all...]
H A Dlibx68k.h33 struct devspec { struct
/netbsd-current/sys/arch/ia64/stand/ia64/ski/
H A Ddevicename.c40 static int ski_parsedev(struct ski_devdesc **dev, const char *devspec, const char **path);
44 * path in (devspec). If it contains an explicit device specification,
48 ski_getdev(void **vdev, const char *devspec, const char **path) argument
57 if ((devspec == NULL) ||
58 (devspec[0] == '/') ||
59 (strchr(devspec, ':') == NULL)) {
63 *path = devspec;
68 * Try to parse the device name off the beginning of the devspec
70 return(ski_parsedev(dev, devspec, path));
75 * at the beginning of (devspec)
88 ski_parsedev(struct ski_devdesc **dev, const char *devspec, const char **path) argument
[all...]
H A Dlibski.h50 extern int ski_getdev(void **vdev, const char *devspec, const char **path);
/netbsd-current/sys/arch/ia64/stand/efi/libefi/
H A Ddevicename.c44 static int efi_parsedev(struct efi_devdesc **dev, const char *devspec, const char **path);
48 * path in (devspec). If it contains an explicit device specification,
52 efi_getdev(void **vdev, const char *devspec, const char **path) argument
61 if ((devspec == NULL) ||
62 (devspec[0] == '/') ||
63 (strchr(devspec, ':') == NULL)) {
67 *path = devspec;
72 * Try to parse the device name off the beginning of the devspec
74 return(efi_parsedev(dev, devspec, path));
79 * at the beginning of (devspec)
92 efi_parsedev(struct efi_devdesc **dev, const char *devspec, const char **path) argument
[all...]
H A Defiboot.h58 extern int efi_getdev(void **vdev, const char *devspec, const char **path);
/netbsd-current/sys/arch/x68k/stand/boot/
H A Dconf.c52 const struct devspec devspec[] = { variable in typeref:struct:devspec

Completed in 148 milliseconds