/netbsd-6-1-5-RELEASE/sys/arch/newsmips/stand/boot/ |
H A D | promdev.h | 3 int devtype; member in struct:romdev
|
H A D | devopen.c | 95 romdev.devtype = DT_NET; 97 romdev.devtype = DT_BLOCK; 103 if (romdev.devtype == DT_BLOCK) {
|
/netbsd-6-1-5-RELEASE/sys/arch/arc/stand/boot/ |
H A D | devopen.c | 49 char devtype[16]; local 73 strcpy(devtype, "disk"); 104 strcpy(devtype, "disk"); 106 strcpy(devtype, "disk"); 121 printf("devopen: %s type %s file %s\n", namebuf, devtype, cp); 126 if (dp->dv_name && strcmp(devtype, dp->dv_name) == 0) 128 printf("Unknown device '%s'\nKnown devices are:", devtype);
|
/netbsd-6-1-5-RELEASE/sys/arch/sgimips/stand/common/ |
H A D | devopen.c | 52 char devtype[16]; local 82 strcpy(devtype, "scsi"); 84 strcpy(devtype, "dksc"); 99 printf("devopen: %s type %s file %s\n", namebuf, devtype, cp); 104 if (dp->dv_name && strcmp(devtype, dp->dv_name) == 0) 106 printf("Unknown device '%s'\nKnown devices are:", devtype);
|
/netbsd-6-1-5-RELEASE/sys/arch/sparc/stand/common/ |
H A D | promdev.h | 37 int devtype; /* Kind of device we're booting from */ member in struct:promdata
|
H A D | promdev.c | 194 pd->devtype = DT_BLOCK; 196 pd->devtype = getdevtype(fd, prom_bootdevice); 198 if (pd->devtype != DT_BYTE) 201 if (pd->devtype == DT_NET) { 316 if (pd->devtype != DT_BLOCK) { 350 if (pd->devtype == DT_BLOCK) 416 if (pd->devtype == DT_NET) 429 if (pd->devtype == DT_NET)
|
/netbsd-6-1-5-RELEASE/usr.sbin/btattach/ |
H A D | btattach.h | 33 struct devtype { struct
|
/netbsd-6-1-5-RELEASE/usr.bin/eject/ |
H A D | eject.c | 130 int devtype; local 135 devtype = -1; 169 devtype = devtypes[n].type; 173 if (devtype == -1) 198 if (devtype == -1) 199 devtype = guess_devtype(dev_name); 200 if (devtype == -1) 204 if ((devtype & TYPEMASK) == TAPE) 213 if ((devtype & TYPEMASK) == TAPE)
|
/netbsd-6-1-5-RELEASE/sys/arch/mvme68k/stand/netboot/ |
H A D | config.h | 58 u_short devtype; member in struct:brdid
|
/netbsd-6-1-5-RELEASE/sys/rump/librump/rumpvfs/ |
H A D | devnodes.c | 44 rump_vfs_makeonedevnode(dev_t devtype, const char *devname, argument 50 error = do_sys_mknod(curlwp, devname, 0666 | devtype, 59 rump_vfs_makedevnodes(dev_t devtype, const char *basename, char minchar, argument 76 if ((error = do_sys_mknod(curlwp, devname, 0666 | devtype,
|
/netbsd-6-1-5-RELEASE/sys/arch/ofppc/stand/ofwboot/ |
H A D | ofdev.c | 70 char devtype[16]; local 73 devtype[0] = 0; 93 if (!strcmp(devtype, "block")) { 115 if (OF_getprop(dhandle, "device_type", devtype, 116 sizeof devtype) < 0) 117 devtype[0] = 0;
|
/netbsd-6-1-5-RELEASE/sys/arch/shark/stand/ofwboot/ |
H A D | ofdev.c | 69 char devtype[16]; local 72 devtype[0] = 0; 85 if (!strcmp(devtype, "block")) { 98 } else if (OF_getprop(dhandle, "device_type", devtype, sizeof devtype) < 0) 99 devtype[0] = 0;
|
/netbsd-6-1-5-RELEASE/sys/arch/hp700/dev/ |
H A D | sti_sgc.c | 147 u_char devtype; local 179 devtype = bus_space_read_1(ca->ca_iot, romh, 3); 181 DPRINTF(("%s: devtype=%d\n", __func__, devtype)); 183 switch (devtype) { 198 DPRINTF(("%s: unknown type (%x)\n", __func__, devtype));
|
/netbsd-6-1-5-RELEASE/sys/arch/sparc/stand/ofwboot/ |
H A D | ofdev.c | 77 char devtype[16]; local 80 devtype[0] = 0; 97 if (!strcmp(devtype, "block")) { 124 } else if (_prom_getprop(dhandle, "device_type", devtype, 125 sizeof devtype) < 0) 126 devtype[0] = 0;
|
/netbsd-6-1-5-RELEASE/sys/arch/macppc/stand/ofwboot/ |
H A D | ofdev.c | 296 char devtype[16]; local 300 devtype[0] = '\0'; 327 if (OF_getprop(dhandle, "device_type", devtype, 328 sizeof devtype) < 0) 329 devtype[0] = '\0'; 339 if (strcmp(devtype, "block") == 0) {
|
/netbsd-6-1-5-RELEASE/sys/dev/ic/ |
H A D | upc.c | 208 upc_found(struct upc_softc *sc, char const *devtype, int offset, int size, argument 214 ua.ua_devtype = devtype; 227 upc_found2(struct upc_softc *sc, char const *devtype, int offset, int size, argument 233 ua.ua_devtype = devtype;
|
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/wps/ |
H A D | wps.c | 457 char devtype[WPS_DEV_TYPE_BUFSIZE]; local 461 devtype, 462 sizeof(devtype)));
|
H A D | wps_dev_attr.c | 288 char devtype[WPS_DEV_TYPE_BUFSIZE]; local 298 wps_dev_type_bin2str(dev->pri_dev_type, devtype, 299 sizeof(devtype)));
|
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dev/ |
H A D | prototype.c | 135 prototype_open(struct cdev *dev __unused, int oflags __unused, int devtype __unused, struct thread *td __unused)
|
/netbsd-6-1-5-RELEASE/sys/arch/sparc64/dev/ |
H A D | pci_machdep.c | 411 char devtype[30]; local 438 prom_getpropstringA(node, "device_type", devtype, sizeof(devtype)); 440 if (strcmp(intrmap[len].in_class, devtype) == 0) {
|
/netbsd-6-1-5-RELEASE/sys/arch/x68k/dev/ |
H A D | bmd.c | 212 bmdopen(dev_t dev, int oflags, int devtype, struct lwp *l) argument 222 switch (devtype) { 237 bmdclose(dev_t dev, int fflag, int devtype, struct lwp *l) argument 243 switch (devtype) {
|
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/ap/ |
H A D | wps_hostapd.c | 114 char devtype[WPS_DEV_TYPE_BUFSIZE]; local 123 wps_dev_type_bin2str(dev->pri_dev_type, devtype, 124 sizeof(devtype))); 140 wps_dev_type_bin2str(dev->pri_dev_type, devtype, 141 sizeof(devtype))); 171 char devtype[WPS_DEV_TYPE_BUFSIZE]; local 179 wps_dev_type_bin2str(pri_dev_type, devtype, 180 sizeof(devtype)),
|
/netbsd-6-1-5-RELEASE/sys/arch/evbarm/g42xxeb/ |
H A D | g42xxeb_lcd.c | 302 lcdopen(dev_t dev, int oflags, int devtype, struct lwp *l) argument 321 lcdclose(dev_t dev, int fflag, int devtype, struct lwp *l) argument
|
/netbsd-6-1-5-RELEASE/sys/arch/evbarm/lubbock/ |
H A D | lubbock_lcd.c | 270 lcdopen( dev_t dev, int oflags, int devtype, struct lwp *l ) argument 276 lcdclose( dev_t dev, int fflag, int devtype, struct lwp *l ) argument
|
/netbsd-6-1-5-RELEASE/sys/arch/evbarm/smdk2xx0/ |
H A D | smdk2410_lcd.c | 265 lcdopen( dev_t dev, int oflags, int devtype, struct proc *p ) argument 271 lcdclose( dev_t dev, int fflag, int devtype, struct proc *p ) argument
|