/src/sys/arch/newsmips/stand/boot/ |
promdev.h | 3 int devtype; member in struct:romdev
|
devopen.c | 95 romdev.devtype = DT_NET; 97 romdev.devtype = DT_BLOCK; 103 if (romdev.devtype == DT_BLOCK) {
|
/src/sys/arch/arc/stand/boot/ |
devopen.c | 49 char devtype[16]; local in function:devopen 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);
|
/src/sys/arch/sgimips/stand/common/ |
devopen.c | 52 char devtype[16]; local in function:devopen 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);
|
/src/sys/arch/hp300/dev/ |
sti_sgc.c | 119 int devtype; local in function:sti_sgc_probe 125 devtype = bus_space_read_1(iot, ioh, 3); 135 if (devtype != STI_DEVTYPE1 && devtype != STI_DEVTYPE4) 147 int devtype, rv = 0; local in function:sti_sgc_cnprobe 157 devtype = bus_space_read_1(bst, romh, 3); 158 if (devtype == STI_DEVTYPE1 || devtype == STI_DEVTYPE4)
|
sti_dio.c | 132 int devtype; local in function:sti_dio_probe 157 devtype = bus_space_read_1(bst, bsh, 3); 160 if (devtype != STI_DEVTYPE1 && devtype != STI_DEVTYPE4)
|
/src/sys/arch/sparc/stand/common/ |
promdev.h | 37 int devtype; /* Kind of device we're booting from */ member in struct:promdata
|
promdev.c | 260 pd->devtype = DT_BLOCK; 262 pd->devtype = getdevtype(fd, prom_bootdevice); 264 if (pd->devtype != DT_BYTE) 267 if (pd->devtype == DT_NET) { 310 if (pd->devtype != DT_BLOCK) { 362 if (pd->devtype == DT_BLOCK) 448 if (pd->devtype == DT_NET) 461 if (pd->devtype == DT_NET)
|
/src/usr.sbin/btattach/ |
btattach.h | 33 struct devtype { struct
|
/src/usr.bin/eject/ |
eject.c | 130 int devtype; local in function:main 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)
|
/src/sys/arch/mvme68k/stand/netboot/ |
config.h | 58 u_short devtype; member in struct:brdid
|
/src/sbin/efi/ |
devpath5.c | 49 devpath_bios_typename(uint devtype) 52 switch (devtype) {
|
/src/sys/arch/ofppc/stand/ofwboot/ |
ofdev.c | 70 char devtype[16]; local in function:filename 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;
|
/src/sys/arch/shark/stand/ofwboot/ |
ofdev.c | 69 char devtype[16]; local in function:filename 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;
|
/src/sys/kern/ |
subr_devsw.c | 135 "int"/*devtype*/, 142 "int"/*devtype*/); 147 "int"/*devtype*/, 153 "int"/*devtype*/, 161 "int"/*devtype*/); 166 "int"/*devtype*/, 173 "int"/*devtype*/); 178 "int"/*devtype*/, 231 "int"/*devtype*/, 238 "int"/*devtype*/); [all...] |
/src/sys/arch/hppa/dev/ |
sti_sgc.c | 159 u_char devtype; local in function:sti_sgc_probe 191 devtype = bus_space_read_1(ca->ca_iot, romh, 3); 193 DPRINTF(("%s: devtype=%d\n", __func__, devtype)); 195 switch (devtype) { 210 DPRINTF(("%s: unknown type (%x)\n", __func__, devtype));
|
/src/sys/rump/librump/rumpvfs/ |
devnodes.c | 44 makeonedevnode(dev_t devtype, const char *devname, 49 error = do_sys_mknod(curlwp, devname, 0666 | devtype, 58 makedevnodes(dev_t devtype, const char *basename, char minchar, 74 if ((error = do_sys_mknod(curlwp, devname, 0666 | devtype,
|
/src/sys/arch/macppc/stand/ofwboot/ |
ofdev.c | 300 char devtype[16]; local in function:parsefilepath 304 devtype[0] = '\0'; 331 if (OF_getprop(dhandle, "device_type", devtype, 332 sizeof devtype) < 0) 333 devtype[0] = '\0'; 343 if (strcmp(devtype, "block") == 0) {
|
/src/sys/arch/sparc/stand/ofwboot/ |
ofdev.c | 80 char devtype[16]; local in function:filename 83 devtype[0] = 0; 100 if (strcmp(devtype, "block") == 0 101 || strcmp(devtype, "scsi") == 0) { 128 } else if (_prom_getprop(dhandle, "device_type", devtype, 129 sizeof devtype) < 0) 130 devtype[0] = 0;
|
/src/sys/arch/x68k/dev/ |
bmd.c | 231 bmdopen(dev_t dev, int oflags, int devtype, struct lwp *l) 241 switch (devtype) { 256 bmdclose(dev_t dev, int fflag, int devtype, struct lwp *l) 262 switch (devtype) {
|
/src/sys/arch/sparc64/dev/ |
pci_machdep.c | 415 char devtype[30]; local in function:pci_intr_map 442 prom_getpropstringA(node, "device_type", devtype, sizeof(devtype)); 444 if (strcmp(intrmap[len].in_class, devtype) == 0) {
|
/src/sys/arch/evbarm/netwalker/ |
netwalker_lcd.c | 178 lcdopen(dev_t dev, int oflags, int devtype, struct lwp *l) 184 lcdclose(dev_t dev, int fflag, int devtype, struct lwp *l)
|
/src/sys/arch/evbarm/g42xxeb/ |
g42xxeb_lcd.c | 312 lcdopen(dev_t dev, int oflags, int devtype, struct lwp *l) 331 lcdclose(dev_t dev, int fflag, int devtype, struct lwp *l)
|
/src/sys/arch/evbarm/lubbock/ |
lubbock_lcd.c | 280 lcdopen( dev_t dev, int oflags, int devtype, struct lwp *l ) 286 lcdclose( dev_t dev, int fflag, int devtype, struct lwp *l )
|
/src/sys/arch/evbarm/smdk2xx0/ |
smdk2410_lcd.c | 274 lcdopen( dev_t dev, int oflags, int devtype, struct proc *p ) 280 lcdclose( dev_t dev, int fflag, int devtype, struct proc *p )
|