| /NextBSD/sys/geom/vinum/ |
| HD | geom_vinum_create.c | 117 LIST_INSERT_HEAD(&sc->drives, d, drive); in gv_create_drive() 119 LIST_INSERT_AFTER(d2, d, drive); in gv_create_drive() 127 LIST_FOREACH(d2, &sc->drives, drive) { in gv_create_drive() 174 LIST_INSERT_HEAD(&sc->drives, d, drive); in gv_create_drive() 238 d = gv_find_drive(sc, s->drive); in gv_create_sd() 249 strlcpy(d->name, s->drive, sizeof(d->name)); in gv_create_sd() 253 s->name, s->drive); in gv_create_sd() 316 char *drive, buf[30], *vol; in gv_concat() local 351 drive = gctl_get_param(req, buf, NULL); in gv_concat() 352 d = gv_find_drive(sc, drive); in gv_concat() [all …]
|
| HD | geom_vinum_rm.c | 170 LIST_FOREACH_SAFE(d, &sc->drives, drive, d2) { in gv_resetconfig() 185 LIST_FOREACH_SAFE(d, &sc->drives, drive, d2) in gv_resetconfig() 360 LIST_REMOVE(d, drive); in gv_rm_drive() 377 LIST_REMOVE(d, drive); in gv_rm_drive() 380 LIST_INSERT_HEAD(&sc->drives, d, drive); in gv_rm_drive() 382 LIST_INSERT_AFTER(d2, d, drive); in gv_rm_drive()
|
| /NextBSD/sys/gnu/dts/arm/ |
| HD | imx28.dtsi | 217 fsl,drive-strength = <MXS_DRIVE_4mA>; 228 fsl,drive-strength = <MXS_DRIVE_4mA>; 241 fsl,drive-strength = <MXS_DRIVE_4mA>; 265 fsl,drive-strength = <MXS_DRIVE_4mA>; 276 fsl,drive-strength = <MXS_DRIVE_12mA>; 287 fsl,drive-strength = <MXS_DRIVE_4mA>; 298 fsl,drive-strength = <MXS_DRIVE_4mA>; 311 fsl,drive-strength = <MXS_DRIVE_4mA>; 322 fsl,drive-strength = <MXS_DRIVE_4mA>; 333 fsl,drive-strength = <MXS_DRIVE_4mA>; [all …]
|
| HD | imx28-cfa10049.dts | 30 fsl,drive-strength = <MXS_DRIVE_4mA>; 41 fsl,drive-strength = <MXS_DRIVE_4mA>; 51 fsl,drive-strength = <MXS_DRIVE_4mA>; 61 fsl,drive-strength = <MXS_DRIVE_4mA>; 72 fsl,drive-strength = <MXS_DRIVE_4mA>; 82 fsl,drive-strength = <MXS_DRIVE_4mA>; 95 fsl,drive-strength = <MXS_DRIVE_8mA>; 109 fsl,drive-strength = <MXS_DRIVE_8mA>; 136 fsl,drive-strength = <MXS_DRIVE_4mA>; 149 fsl,drive-strength = <MXS_DRIVE_4mA>; [all …]
|
| HD | sun7i-a20.dtsi | 753 allwinner,drive = <SUN4I_PINCTRL_10_MA>; 760 allwinner,drive = <SUN4I_PINCTRL_10_MA>; 767 allwinner,drive = <SUN4I_PINCTRL_10_MA>; 774 allwinner,drive = <SUN4I_PINCTRL_10_MA>; 781 allwinner,drive = <SUN4I_PINCTRL_10_MA>; 788 allwinner,drive = <SUN4I_PINCTRL_10_MA>; 795 allwinner,drive = <SUN4I_PINCTRL_10_MA>; 802 allwinner,drive = <SUN4I_PINCTRL_10_MA>; 809 allwinner,drive = <SUN4I_PINCTRL_10_MA>; 816 allwinner,drive = <SUN4I_PINCTRL_10_MA>; [all …]
|
| HD | hi3620-hi4511.dts | 345 pinctrl-single,drive-strength = <0x30 0xf0>; 359 pinctrl-single,drive-strength = <0x30 0xf0>; 454 pinctrl-single,drive-strength = <0x30 0xf0>; 463 pinctrl-single,drive-strength = <0x30 0xf0>; 472 pinctrl-single,drive-strength = <0x30 0xf0>; 481 pinctrl-single,drive-strength = <0x30 0xf0>; 491 pinctrl-single,drive-strength = <0x30 0xf0>; 502 pinctrl-single,drive-strength = <0x30 0xf0>; 512 pinctrl-single,drive-strength = <0x30 0xf0>; 520 pinctrl-single,drive-strength = <0x30 0xf0>; [all …]
|
| HD | imx28-eukrea-mbmx28lc.dtsi | 200 fsl,drive-strength = <MXS_DRIVE_4mA>; 210 fsl,drive-strength = <MXS_DRIVE_4mA>; 223 fsl,drive-strength = <MXS_DRIVE_4mA>; 233 fsl,drive-strength = <MXS_DRIVE_4mA>; 243 fsl,drive-strength = <MXS_DRIVE_4mA>; 253 fsl,drive-strength = <MXS_DRIVE_4mA>; 263 fsl,drive-strength = <MXS_DRIVE_4mA>; 273 fsl,drive-strength = <MXS_DRIVE_4mA>;
|
| HD | imx23.dtsi | 145 fsl,drive-strength = <MXS_DRIVE_4mA>; 158 fsl,drive-strength = <MXS_DRIVE_4mA>; 169 fsl,drive-strength = <MXS_DRIVE_4mA>; 195 fsl,drive-strength = <MXS_DRIVE_4mA>; 206 fsl,drive-strength = <MXS_DRIVE_12mA>; 219 fsl,drive-strength = <MXS_DRIVE_8mA>; 239 fsl,drive-strength = <MXS_DRIVE_8mA>; 257 fsl,drive-strength = <MXS_DRIVE_4mA>; 294 fsl,drive-strength = <MXS_DRIVE_4mA>; 307 fsl,drive-strength = <MXS_DRIVE_8mA>;
|
| HD | sun4i-a10.dtsi | 645 allwinner,drive = <SUN4I_PINCTRL_10_MA>; 652 allwinner,drive = <SUN4I_PINCTRL_10_MA>; 659 allwinner,drive = <SUN4I_PINCTRL_10_MA>; 666 allwinner,drive = <SUN4I_PINCTRL_10_MA>; 673 allwinner,drive = <SUN4I_PINCTRL_10_MA>; 680 allwinner,drive = <SUN4I_PINCTRL_10_MA>; 687 allwinner,drive = <SUN4I_PINCTRL_10_MA>; 694 allwinner,drive = <SUN4I_PINCTRL_10_MA>; 705 allwinner,drive = <SUN4I_PINCTRL_10_MA>; 712 allwinner,drive = <SUN4I_PINCTRL_30_MA>; [all …]
|
| HD | imx28-cfa10036.dts | 31 fsl,drive-strength = <MXS_DRIVE_4mA>; 41 fsl,drive-strength = <MXS_DRIVE_4mA>; 51 fsl,drive-strength = <MXS_DRIVE_4mA>; 62 fsl,drive-strength = <0>;
|
| HD | imx28-tx28.dts | 509 fsl,drive-strength = <MXS_DRIVE_4mA>; 520 fsl,drive-strength = <MXS_DRIVE_4mA>; 529 fsl,drive-strength = <MXS_DRIVE_4mA>; 561 fsl,drive-strength = <MXS_DRIVE_4mA>; 571 fsl,drive-strength = <MXS_DRIVE_4mA>; 588 fsl,drive-strength = <MXS_DRIVE_4mA>; 597 fsl,drive-strength = <MXS_DRIVE_4mA>; 611 fsl,drive-strength = <MXS_DRIVE_8mA>; 620 fsl,drive-strength = <MXS_DRIVE_4mA>; 631 fsl,drive-strength = <MXS_DRIVE_12mA>; [all …]
|
| HD | imx28-cfa10055.dts | 34 fsl,drive-strength = <MXS_DRIVE_8mA>; 61 fsl,drive-strength = <MXS_DRIVE_4mA>; 74 fsl,drive-strength = <MXS_DRIVE_4mA>; 84 fsl,drive-strength = <MXS_DRIVE_4mA>;
|
| HD | sun7i-a20-bananapro.dts | 182 allwinner,drive = <SUN4I_PINCTRL_10_MA>; 189 allwinner,drive = <SUN4I_PINCTRL_10_MA>; 196 allwinner,drive = <SUN4I_PINCTRL_10_MA>; 203 allwinner,drive = <SUN4I_PINCTRL_10_MA>; 210 allwinner,drive = <SUN4I_PINCTRL_10_MA>; 217 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
|
| HD | imx28-apx4devkit.dts | 51 fsl,drive-strength = <MXS_DRIVE_4mA>; 64 fsl,drive-strength = <MXS_DRIVE_4mA>; 79 fsl,drive-strength = <MXS_DRIVE_8mA>; 88 fsl,drive-strength = <MXS_DRIVE_12mA>;
|
| HD | imx28-cfa10056.dts | 33 fsl,drive-strength = <MXS_DRIVE_8mA>; 46 fsl,drive-strength = <MXS_DRIVE_4mA>; 56 fsl,drive-strength = <MXS_DRIVE_4mA>;
|
| /NextBSD/contrib/less/ |
| HD | lglob.h | 51 #define DECL_GLOB_NAME(fnd,drive,dir,fname,ext,handle) \ argument 53 char drive[_MAX_DRIVE]; \ 66 #define DECL_GLOB_NAME(fnd,drive,dir,fname,ext,handle) \ argument 68 char drive[_MAX_DRIVE]; \ 82 #define DECL_GLOB_NAME(fnd,drive,dir,fname,ext,handle) \ argument 84 char drive[MAXDRIVE]; \
|
| /NextBSD/contrib/ntp/lib/isc/win32/ |
| HD | fsaccess.c | 61 char drive[255]; in is_ntfs() local 81 strncpy(drive, filename, 3); in is_ntfs() 82 drive[3] = '\0'; in is_ntfs() 90 strcpy(drive, "\\\\"); in is_ntfs() 91 strcat(drive, machinename); in is_ntfs() 92 strcat(drive, "\\"); in is_ntfs() 93 strcat(drive, sharename); in is_ntfs() 94 strcat(drive, "\\"); in is_ntfs() 100 GetVolumeInformation(drive, NULL, 0, NULL, 0, NULL, FSType, in is_ntfs()
|
| /NextBSD/usr.sbin/mfiutil/ |
| HD | mfi_drive.c | 47 MFI_TABLE(top, drive); 161 mfi_lookup_drive(int fd, char *drive, uint16_t *device_id) in mfi_lookup_drive() argument 171 val = strtol(drive, &cp, 0); in mfi_lookup_drive() 180 if (toupper(drive[0]) == 'E' || toupper(drive[0]) == 'S') { in mfi_lookup_drive() 181 if (drive[1] == '\0') in mfi_lookup_drive() 183 cp = drive; in mfi_lookup_drive() 184 if (toupper(drive[0]) == 'E') { in mfi_lookup_drive() 223 warnx("Unknown drive %s", drive); in mfi_lookup_drive() 228 warnx("Invalid drive number %s", drive); in mfi_lookup_drive() 382 drive_set_state(char *drive, uint16_t new_state) in drive_set_state() argument [all …]
|
| /NextBSD/sys/boot/i386/boot0/ |
| HD | boot0.S | 154 .set _NXTDRV, B0_OFF+6 # Next drive 227 testb $SETDRV,_FLAGS(%bp) # Set drive number? 239 movb _SETDRV(%bp),%dl # Use stored drive number 247 save_curdrive: movb %dl, (%bp) # Save drive number 251 movw $drive, %si 306 cmpb NHRDRV,%al # drive exist? (from BIOS?) 311 decw %ax # Already drive 0? 324 movb %al,_NXTDRV(%bp) # drive number 325 movw $drive,%di # Display 480 movb _NXTDRV(%bp),%dl # Next drive [all …]
|
| /NextBSD/sys/boot/i386/common/ |
| HD | drv.c | 43 v86.edx = dskp->drive; in drvsize() 75 v86.edx = dskp->drive; in drvread() 85 v86.edx = nblk << 8 | dskp->drive; in drvread() 109 v86.edx = dskp->drive; in drvwrite()
|
| /NextBSD/sys/boot/i386/gptboot/ |
| HD | gptboot.c | 146 dsk.drive = *(uint8_t *)PTOV(ARGS); in main() 147 dsk.type = dsk.drive & DRV_HARD ? TYPE_AD : TYPE_FD; in main() 148 dsk.unit = dsk.drive & DRV_MASK; in main() 214 dsk.drive & DRV_MASK, dev_nm[dsk.type], dsk.unit, in main() 258 kname, dsk.drive & DRV_MASK, dev_nm[dsk.type], dsk.unit, in load() 333 bootinfo.bi_bios_dev = dsk.drive; in load() 419 dsk.drive = (dsk.type <= TYPE_MAXHARD in parse()
|
| /NextBSD/contrib/file/src/ |
| HD | apptype.c | 49 char path[_MAX_PATH], drive[_MAX_DRIVE], dir[_MAX_DIR], in file_os2_apptype() local 61 _splitpath(filename, drive, dir, fname, ext); in file_os2_apptype() 62 (void)sprintf(path, "%s%s%s%s", drive, in file_os2_apptype()
|
| /NextBSD/sys/boot/i386/boot2/ |
| HD | boot2.c | 136 unsigned drive; member 246 dsk.drive = *(uint8_t *)PTOV(ARGS); in main() 247 dsk.type = dsk.drive & DRV_HARD ? TYPE_AD : TYPE_FD; in main() 248 dsk.unit = dsk.drive & DRV_MASK; in main() 293 dsk.drive & DRV_MASK, dev_nm[dsk.type], dsk.unit, in main() 385 bootinfo.bi_bios_dev = dsk.drive; in load() 481 dsk.drive = (dsk.type <= TYPE_MAXHARD in parse() 626 v86.edx = nblk << 8 | dsk.drive; in drvread()
|
| /NextBSD/usr.sbin/mptutil/ |
| HD | mpt_drive.c | 240 mpt_lookup_drive(struct mpt_drive_list *list, const char *drive, in mpt_lookup_drive() argument 248 val = strtol(drive, &cp, 0); in mpt_lookup_drive() 310 drive_set_state(char *drive, U8 Action, U8 State, const char *name) in drive_set_state() argument 328 if (mpt_lookup_drive(list, drive, &PhysDiskNum) < 0) { in drive_set_state() 330 warn("Failed to find drive %s", drive); in drive_set_state()
|
| /NextBSD/sys/boot/i386/zfsboot/ |
| HD | zfsboot.c | 315 int13probe(int drive) in int13probe() argument 320 v86.edx = drive; in int13probe() 324 ((v86.edx & 0xff) != (drive & DRV_MASK))) { /* unit # OK */ in int13probe() 457 dsk->drive = *(uint8_t *)PTOV(ARGS); in main() 458 dsk->type = dsk->drive & DRV_HARD ? TYPE_AD : TYPE_FD; in main() 459 dsk->unit = dsk->drive & DRV_MASK; in main() 470 bootinfo.bi_bios_dev = dsk->drive; in main() 505 dsk->drive = i | DRV_HARD; in main() 506 dsk->type = dsk->drive & TYPE_AD; in main()
|