/openbmc/qemu/tests/qemu-iotests/ |
H A D | 172 | 83 QEMU_OPTIONS="" do_run_qemu -drive if=none,file="$TEST_IMG" "$@" | 120 echo === Using -drive options === 122 check_floppy_qtree -drive if=floppy,file="$TEST_IMG" 123 check_floppy_qtree -drive if=floppy,file="$TEST_IMG",index=1 124 check_floppy_qtree -drive if=floppy,file="$TEST_IMG" -drive if=floppy,file="$TEST_IMG.2",index=1 128 echo === Using -drive if=none and -device === 130 check_floppy_qtree -drive if=none,file="$TEST_IMG" -device floppy,drive=none0 131 check_floppy_qtree -drive if=none,file="$TEST_IMG" -device floppy,drive=none0,unit=1 132 check_floppy_qtree -drive if=none,file="$TEST_IMG" -drive if=none,file="$TEST_IMG.2" \ 133 -device floppy,drive=none0 -device floppy,drive=none1,unit=1 [all …]
|
H A D | 142 | 76 run_qemu -drive file="$TEST_IMG",cache=none 77 run_qemu -drive file="$TEST_IMG",cache=directsync 78 run_qemu -drive file="$TEST_IMG",cache=writeback 79 run_qemu -drive file="$TEST_IMG",cache=writethrough 80 run_qemu -drive file="$TEST_IMG",cache=unsafe 81 run_qemu -drive file="$TEST_IMG",cache=invalid_value 96 …echo "$hmp_cmds" | run_qemu -drive "$files","$ids",cache.direct=on | grep -e "Cache" -e "[Cc]annot… 98 …echo "$hmp_cmds" | run_qemu -drive "$files","$ids",file.cache.direct=on | grep -e "Cache" -e "[Cc]… 100 …echo "$hmp_cmds" | run_qemu -drive "$files","$ids",backing.cache.direct=on | grep -e "Cache" -e "[… 102 …echo "$hmp_cmds" | run_qemu -drive "$files","$ids",backing.file.cache.direct=on | grep -e "Cache" … [all …]
|
H A D | 051 | 85 run_qemu -drive file="$TEST_IMG",format=qcow2,unknown_opt=,if=none,id=$device_id 86 run_qemu -drive file="$TEST_IMG",format=qcow2,unknown_opt=on,if=none,id=$device_id 87 run_qemu -drive file="$TEST_IMG",format=qcow2,unknown_opt=1234,if=none,id=$device_id 88 run_qemu -drive file="$TEST_IMG",format=qcow2,unknown_opt=foo,if=none,id=$device_id 94 run_qemu -drive file="$TEST_IMG",format=qcow2,file.unknown_opt= 95 run_qemu -drive file="$TEST_IMG",format=qcow2,file.unknown_opt=on 96 run_qemu -drive file="$TEST_IMG",format=qcow2,file.unknown_opt=1234 97 run_qemu -drive file="$TEST_IMG",format=qcow2,file.unknown_opt=foo 103 run_qemu -drive file="$TEST_IMG",format=foo 104 run_qemu -drive file="$TEST_IMG",driver=foo [all …]
|
H A D | 051.pc.out | 7 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=,if=none,id=drive0 8 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=,if=none,id=drive0: Block format '… 10 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=on,if=none,id=drive0 11 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=on,if=none,id=drive0: Block format… 13 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=1234,if=none,id=drive0 14 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=1234,if=none,id=drive0: Block form… 16 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=foo,if=none,id=drive0 17 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=foo,if=none,id=drive0: Block forma… 22 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,file.unknown_opt= 23 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,file.unknown_opt=: Block protocol 'file' doesn… [all …]
|
H A D | 172.out | 22 drive = "floppy0" 33 drive-type = "288" 51 drive = "floppy0" 62 drive-type = "144" 90 drive = "floppy1" 101 drive-type = "144" 104 drive = "floppy0" 115 drive-type = "288" 147 drive = "floppy1" 158 drive-type = "144" [all …]
|
H A D | 186 | 92 check_info_block -blockdev driver=null-co,read-zeroes=on,node-name=null -device $dev,drive=null 93 …check_info_block -blockdev driver=null-co,read-zeroes=on,node-name=null -device $dev,drive=null,id… 103 …check_info_block -drive if=none,driver=null-co,read-zeroes=on,node-name=null -device $dev,drive=nu… 111 …check_info_block -drive if=none,driver=null-co,read-zeroes=on,node-name=null -device $dev,drive=no… 112 …check_info_block -drive if=none,driver=null-co,read-zeroes=on,node-name=null -device $dev,drive=no… 119 check_info_block -drive if=none 122 check_info_block -drive if=none -device $dev,drive=none0 123 check_info_block -drive if=none -device $dev,drive=none0,id=qdev_id 130 check_info_block -drive if=floppy 131 check_info_block -drive if=floppy,driver=null-co,read-zeroes=on [all …]
|
H A D | 051.out | 7 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=,if=none,id=drive0 8 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=,if=none,id=drive0: Block format '… 10 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=on,if=none,id=drive0 11 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=on,if=none,id=drive0: Block format… 13 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=1234,if=none,id=drive0 14 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=1234,if=none,id=drive0: Block form… 16 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=foo,if=none,id=drive0 17 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=foo,if=none,id=drive0: Block forma… 22 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,file.unknown_opt= 23 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,file.unknown_opt=: Block protocol 'file' doesn… [all …]
|
H A D | 124 | 53 def __init__(self, name, drive): argument 55 self.drive = drive 60 return (self.drive['backup'], None) 67 "%s.%s." % (self.drive['id'], self.name)) 68 suff = "%i.%s" % (num, self.drive['fmt']) 180 def create_anchor_backup(self, drive=None): argument 181 if drive is None: 182 drive = self.drives[-1] 183 res = self.do_qmp_backup(job_id=drive['id'], 184 device=drive['id'], sync='full', [all …]
|
H A D | 186.out | 57 Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device ide-hd,drive=null 65 Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device ide-hd,drive=null,id=qdev_id 73 Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device scsi-hd,drive=null 81 Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device scsi-hd,drive=null,id=qdev_… 89 Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device virtio-blk-pci,drive=null 97 Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device virtio-blk-pci,drive=null,i… 105 Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device floppy,drive=null 114 Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device floppy,drive=null,id=qdev_id 123 Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device ide-cd,drive=null 132 Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device ide-cd,drive=null,id=qdev_id [all …]
|
H A D | 232 | 90 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=on,auto-read-only=off 91 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=on,auto-read-only=on 92 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=on 94 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=off,auto-read-only=off 95 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=off,auto-read-only=on 96 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=off 98 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,auto-read-only=off 99 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,auto-read-only=on 100 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none 108 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=on,auto-read-only=off [all …]
|
/openbmc/linux/drivers/block/ |
H A D | amiflop.c | 244 #define SELMASK(drive) (1 << (3 + (drive & 3))) argument 358 static inline int try_fdc(int drive) in try_fdc() argument 360 drive &= 3; in try_fdc() 361 return ((fdc_busy < 0) || (fdc_busy == drive)); in try_fdc() 364 static void get_fdc(int drive) in get_fdc() argument 368 drive &= 3; in get_fdc() 370 printk("get_fdc: drive %d fdc_busy %d fdc_nested %d\n",drive,fdc_busy,fdc_nested); in get_fdc() 373 wait_event(fdc_wait, try_fdc(drive)); in get_fdc() 374 fdc_busy = drive; in get_fdc() 393 static void fd_select (int drive) in fd_select() argument [all …]
|
H A D | floppy.c | 605 static inline bool drive_no_geom(int drive) in drive_no_geom() argument 607 return !current_type[drive] && !ITYPE(drive_state[drive].fd_device); in drive_no_geom() 611 static inline int fd_eject(int drive) in fd_eject() argument 672 static void __reschedule_timeout(int drive, const char *message) in __reschedule_timeout() argument 676 if (drive < 0 || drive >= N_DRIVE) { in __reschedule_timeout() 678 drive = 0; in __reschedule_timeout() 680 delay = drive_params[drive].timeout; in __reschedule_timeout() 683 if (drive_params[drive].flags & FD_DEBUG) in __reschedule_timeout() 688 static void reschedule_timeout(int drive, const char *message) in reschedule_timeout() argument 693 __reschedule_timeout(drive, message); in reschedule_timeout() [all …]
|
H A D | ataflop.c | 309 #define UD unit[drive] 310 #define UDT unit[drive].disktype 367 #define IS_BUFFERED(drive,side,track) \ argument 368 (BufferDrive == (drive) && BufferSide == (side) && BufferTrack == (track)) 423 static void fd_select_drive( int drive ); 429 static int do_format(int drive, int type, struct atari_format_descr *desc); 430 static void do_fd_action( int drive ); 444 static void setup_req_params( int drive ); 447 static void fd_probe( int drive ); 448 static int fd_test_drive_present( int drive ); [all …]
|
H A D | swim.c | 791 int drive; in swim_floppy_init() local 816 for (drive = 0; drive < swd->floppy_count; drive++) { in swim_floppy_init() 817 err = blk_mq_alloc_sq_tag_set(&swd->unit[drive].tag_set, in swim_floppy_init() 822 swd->unit[drive].disk = in swim_floppy_init() 823 blk_mq_alloc_disk(&swd->unit[drive].tag_set, in swim_floppy_init() 824 &swd->unit[drive]); in swim_floppy_init() 825 if (IS_ERR(swd->unit[drive].disk)) { in swim_floppy_init() 826 blk_mq_free_tag_set(&swd->unit[drive].tag_set); in swim_floppy_init() 827 err = PTR_ERR(swd->unit[drive].disk); in swim_floppy_init() 831 swd->unit[drive].swd = swd; in swim_floppy_init() [all …]
|
/openbmc/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rockchip-pinconf.dtsi | 25 drive-strength = <0>; 31 drive-strength = <1>; 37 drive-strength = <2>; 43 drive-strength = <3>; 49 drive-strength = <4>; 55 drive-strength = <5>; 61 drive-strength = <6>; 67 drive-strength = <7>; 73 drive-strength = <8>; 79 drive-strength = <9>; [all …]
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A D | qru1000-idp.dts | 243 drive-strength = <2>; 248 drive-strength = <2>; 253 drive-strength = <2>; 258 drive-strength = <2>; 263 drive-strength = <2>; 268 drive-strength = <2>; 273 drive-strength = <2>; 278 drive-strength = <2>; 283 drive-strength = <2>; 288 drive-strength = <2>; [all …]
|
H A D | qdu1000-idp.dts | 243 drive-strength = <2>; 248 drive-strength = <2>; 253 drive-strength = <2>; 258 drive-strength = <2>; 263 drive-strength = <2>; 268 drive-strength = <2>; 273 drive-strength = <2>; 278 drive-strength = <2>; 283 drive-strength = <2>; 288 drive-strength = <2>; [all …]
|
H A D | msm8996-sony-xperia-tone.dtsi | 157 drive-strength = <2>; 162 drive-strength = <2>; 168 drive-strength = <2>; 173 drive-strength = <2>; 178 drive-strength = <2>; 243 drive-push-pull; 250 drive-push-pull; 253 qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>; 260 drive-push-pull; 269 drive-push-pull; [all …]
|
/openbmc/linux/arch/arm/boot/dts/nuvoton/ |
H A D | nuvoton-npcm730-gsj-gpio.dtsi | 9 drive-push-pull; 14 drive-push-pull; 19 drive-push-pull; 24 drive-push-pull; 29 drive-push-pull; 34 drive-push-pull; 39 drive-push-pull; 44 drive-push-pull; 59 drive-push-pull; 64 drive-push-pull; [all …]
|
/openbmc/linux/arch/arm/boot/dts/qcom/ |
H A D | qcom-apq8064-pins.dtsi | 14 drive-strengh = <16>; 20 drive-strengh = <10>; 26 drive-strengh = <10>; 34 drive-strengh = <8>; 40 drive-strengh = <8>; 46 drive-strengh = <8>; 66 drive-strength = <16>; 78 drive-strength = <2>; 105 drive-strength = <16>; 118 drive-strength = <2>; [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | i2c.c | 95 info->drive = DCB_I2C_UNUSED; in dcb_i2c_parse() 102 info->drive = nvbios_rd08(bios, ent + 0); in dcb_i2c_parse() 106 info->drive = nvbios_rd08(bios, ent + 1); in dcb_i2c_parse() 109 info->drive = nvbios_rd08(bios, ent + 0) & 0x0f; in dcb_i2c_parse() 119 info->drive = (nvbios_rd16(bios, ent + 0) & 0x01f) >> 0; in dcb_i2c_parse() 120 if (info->drive == 0x1f) in dcb_i2c_parse() 121 info->drive = DCB_I2C_UNUSED; in dcb_i2c_parse() 146 info->drive = nvbios_rd08(bios, ent + 4); in dcb_i2c_parse() 147 if (!info->drive) info->drive = 0x3f; in dcb_i2c_parse() 152 info->drive = nvbios_rd08(bios, ent + 6); in dcb_i2c_parse() [all …]
|
/openbmc/linux/arch/mips/boot/dts/img/ |
H A D | pistachio.dtsi | 372 drive-strength = <4>; 380 drive-strength = <4>; 388 drive-strength = <4>; 396 drive-strength = <4>; 404 drive-strength = <4>; 409 drive-strength = <4>; 416 drive-strength = <2>; 423 drive-strength = <2>; 430 drive-strength = <2>; 437 drive-strength = <2>; [all …]
|
/openbmc/linux/arch/arm/boot/dts/nxp/mxs/ |
H A D | imx28.dtsi | 222 fsl,drive-strength = <MXS_DRIVE_4mA>; 233 fsl,drive-strength = <MXS_DRIVE_4mA>; 246 fsl,drive-strength = <MXS_DRIVE_4mA>; 270 fsl,drive-strength = <MXS_DRIVE_4mA>; 282 fsl,drive-strength = <MXS_DRIVE_12mA>; 293 fsl,drive-strength = <MXS_DRIVE_4mA>; 304 fsl,drive-strength = <MXS_DRIVE_4mA>; 317 fsl,drive-strength = <MXS_DRIVE_4mA>; 328 fsl,drive-strength = <MXS_DRIVE_4mA>; 339 fsl,drive-strength = <MXS_DRIVE_4mA>; [all …]
|
/openbmc/linux/Documentation/hwmon/ |
H A D | drivetemp.rst | 27 the current drive temperature and, if available, temperature limits 30 the drive temperature. 36 Reading the drive temperature may reset the spin down timer on some drives. 39 tools are used to access the drive. 40 With the WD120EFAX drive, reading the drive temperature using the drivetemp 42 reading the drive temperature in this mode will not cause the drive to 43 change its mode (meaning the drive will not spin up). It is unknown if other 46 A known workaround for WD120EFAX drives is to read the drive temperature at 55 available only if reported by the drive. All temperatures are reported in 59 temp1_input Current drive temperature
|
/openbmc/qemu/tests/qemu-iotests/tests/ |
H A D | write-zeroes-unmap | 54 | $QEMU -monitor stdio -drive if=none,file=$TEST_IMG,format=$IMGFMT \ 64 | $QEMU -monitor stdio -drive if=none,file=$TEST_IMG,format=$IMGFMT \ 75 | $QEMU -monitor stdio -drive if=none,file=$TEST_IMG,format=$IMGFMT \ 85 | $QEMU -monitor stdio -drive if=none,file=$TEST_IMG,format=$IMGFMT,discard=off \ 95 | $QEMU -monitor stdio -drive if=none,file=$TEST_IMG,format=$IMGFMT,detect-zeroes=on \ 105 … | $QEMU -monitor stdio -drive if=none,file=$TEST_IMG,format=$IMGFMT,detect-zeroes=on,discard=on \ 115 | $QEMU -monitor stdio -drive if=none,file=$TEST_IMG,format=$IMGFMT,discard=on \ 125 | $QEMU -monitor stdio -drive if=none,file=$TEST_IMG,format=$IMGFMT,discard=on \
|