Searched refs:devspec (Results 1 – 7 of 7) sorted by relevance
/netbsd-src/sys/arch/x68k/stand/libsa/ |
H A D | devopen.c | 36 extern struct devspec devspec[]; /* defined in conf.c */ 70 for (i = 0; devspec[i].ds_name != 0; i++) { in devparse() 71 if (strncmp (devspec[i].ds_name, s, in devparse() 72 strlen(devspec[i].ds_name)) == 0) in devparse() 76 if (devspec[i].ds_name == 0) in devparse() 78 s += strlen(devspec[i].ds_name); in devparse() 79 *dev = devspec[i].ds_dev; in devparse() 81 if (devspec[i].ds_net) { in devparse() 86 if (*unit < 0 || *unit > devspec[i].ds_maxunit) in devparse()
|
H A D | libx68k.h | 33 struct devspec { struct
|
/netbsd-src/sys/arch/ia64/stand/ia64/ski/ |
H A D | devicename.c | 40 static int ski_parsedev(struct ski_devdesc **dev, const char *devspec, const char **path); 48 ski_getdev(void **vdev, const char *devspec, const char **path) in ski_getdev() argument 57 if ((devspec == NULL) || in ski_getdev() 58 (devspec[0] == '/') || in ski_getdev() 59 (strchr(devspec, ':') == NULL)) { in ski_getdev() 63 *path = devspec; in ski_getdev() 70 return(ski_parsedev(dev, devspec, path)); in ski_getdev() 88 ski_parsedev(struct ski_devdesc **dev, const char *devspec, const char **path) in ski_parsedev() argument 98 if (strlen(devspec) < 2) in ski_parsedev() 103 if (!strncmp(devspec, devsw[i].dv_name, strlen(devsw[i].dv_name))) { in ski_parsedev() [all …]
|
H A D | libski.h | 50 extern int ski_getdev(void **vdev, const char *devspec, const char **path);
|
/netbsd-src/sys/arch/ia64/stand/efi/libefi/ |
H A D | devicename.c | 44 static int efi_parsedev(struct efi_devdesc **dev, const char *devspec, const char **path); 52 efi_getdev(void **vdev, const char *devspec, const char **path) in efi_getdev() argument 61 if ((devspec == NULL) || in efi_getdev() 62 (devspec[0] == '/') || in efi_getdev() 63 (strchr(devspec, ':') == NULL)) { in efi_getdev() 67 *path = devspec; in efi_getdev() 74 return(efi_parsedev(dev, devspec, path)); in efi_getdev() 92 efi_parsedev(struct efi_devdesc **dev, const char *devspec, const char **path) in efi_parsedev() argument 102 if (strlen(devspec) < 2) in efi_parsedev() 107 if (!strncmp(devspec, devsw[i].dv_name, strlen(devsw[i].dv_name))) { in efi_parsedev() [all …]
|
H A D | efiboot.h | 58 extern int efi_getdev(void **vdev, const char *devspec, const char **path);
|
/netbsd-src/sys/arch/x68k/stand/boot/ |
H A D | conf.c | 52 const struct devspec devspec[] = { variable
|