/linux/drivers/block/ |
H A D | amiflop.c | 245 #define SELMASK(drive) (1 << (3 + (drive & 3))) argument 359 static inline int try_fdc(int drive) in try_fdc() argument 361 drive &= 3; in try_fdc() 362 return ((fdc_busy < 0) || (fdc_busy == drive)); in try_fdc() 365 static void get_fdc(int drive) in get_fdc() argument 369 drive &= 3; in get_fdc() 371 printk("get_fdc: drive %d fdc_busy %d fdc_nested %d\n",drive,fdc_busy,fdc_nested); in get_fdc() 374 wait_event(fdc_wait, try_fdc(drive)); in get_fdc() 375 fdc_busy = drive; in get_fdc() 394 static void fd_select (int drive) in fd_select() argument [all …]
|
H A D | floppy.c | 604 static inline bool drive_no_geom(int drive) in drive_no_geom() argument 606 return !current_type[drive] && !ITYPE(drive_state[drive].fd_device); in drive_no_geom() 610 static inline int fd_eject(int drive) in fd_eject() argument 671 static void __reschedule_timeout(int drive, const char *message) in __reschedule_timeout() argument 675 if (drive < 0 || drive >= N_DRIVE) { in __reschedule_timeout() 677 drive = 0; in __reschedule_timeout() 679 delay = drive_params[drive].timeout; in __reschedule_timeout() 682 if (drive_params[drive].flags & FD_DEBUG) in __reschedule_timeout() 687 static void reschedule_timeout(int drive, const char *message) in reschedule_timeout() argument 692 __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 | 794 int drive; in swim_floppy_init() local 819 for (drive = 0; drive < swd->floppy_count; drive++) { in swim_floppy_init() 820 err = blk_mq_alloc_sq_tag_set(&swd->unit[drive].tag_set, in swim_floppy_init() 825 swd->unit[drive].disk = in swim_floppy_init() 826 blk_mq_alloc_disk(&swd->unit[drive].tag_set, &lim, in swim_floppy_init() 827 &swd->unit[drive]); in swim_floppy_init() 828 if (IS_ERR(swd->unit[drive].disk)) { in swim_floppy_init() 829 blk_mq_free_tag_set(&swd->unit[drive].tag_set); in swim_floppy_init() 830 err = PTR_ERR(swd->unit[drive].disk); in swim_floppy_init() 834 swd->unit[drive].swd = swd; in swim_floppy_init() [all …]
|
/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 …]
|
/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 …]
|
/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 …]
|
H A D | sc7180-idp.dts | 496 qcom,drive-strength = <PMIC_GPIO_STRENGTH_MED>; 521 drive-strength = <2>; 528 drive-strength = <2>; 535 drive-strength = <2>; 542 drive-strength = <2>; 557 /* We'll drive RTS, so no pull */ 558 drive-strength = <2>; 563 /* We'll drive TX, so no pull */ 564 drive-strength = <2>; 579 drive-strength = <2>; [all …]
|
H A D | sc7280-herobrine-audio-wcd9385.dtsi | 162 drive-strength = <8>; 171 drive-strength = <8>; 180 drive-strength = <2>; 186 drive-strength = <2>; 192 drive-strength = <2>; 198 drive-strength = <2>; 204 drive-strength = <6>; 209 drive-strength = <6>; 214 drive-strength = <6>;
|
/linux/arch/arm/boot/dts/qcom/ |
H A D | qcom-apq8064-pins.dtsi | 7 drive-strength = <16>; 13 drive-strength = <10>; 19 drive-strength = <10>; 27 drive-strength = <8>; 33 drive-strength = <8>; 39 drive-strength = <8>; 63 drive-strength = <2>; 70 drive-strength = <4>; 98 drive-strength = <16>; 105 drive-strength = <2>; [all …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
H A D | busnv04.c | 31 u8 drive; member 40 u8 val = nvkm_rdvgac(device, 0, bus->drive); in nv04_i2c_bus_drive_scl() 43 nvkm_wrvgac(device, 0, bus->drive, val | 0x01); in nv04_i2c_bus_drive_scl() 51 u8 val = nvkm_rdvgac(device, 0, bus->drive); in nv04_i2c_bus_drive_sda() 54 nvkm_wrvgac(device, 0, bus->drive, val | 0x01); in nv04_i2c_bus_drive_sda() 83 nv04_i2c_bus_new(struct nvkm_i2c_pad *pad, int id, u8 drive, u8 sense, in nv04_i2c_bus_new() argument 93 bus->drive = drive; in nv04_i2c_bus_new()
|
/linux/arch/arm64/boot/dts/hisilicon/ |
H A D | hikey-pinctrl.dtsi | 253 pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>; 262 pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>; 271 pinctrl-single,drive-strength = <DRIVE1_08MA DRIVE_MASK>; 288 pinctrl-single,drive-strength = <DRIVE1_04MA DRIVE_MASK>; 297 pinctrl-single,drive-strength = <DRIVE1_04MA DRIVE_MASK>; 306 pinctrl-single,drive-strength = <DRIVE1_10MA DRIVE_MASK>; 314 pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>; 327 pinctrl-single,drive-strength = <DRIVE1_08MA DRIVE_MASK>; 339 pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>; 348 pinctrl-single,drive-strength = <DRIVE1_08MA DRIVE_MASK>; [all …]
|
H A D | hikey970-pinctrl.dtsi | 236 pinctrl-single,drive-strength = < 260 pinctrl-single,drive-strength = < 284 pinctrl-single,drive-strength = < 308 pinctrl-single,drive-strength = < 330 pinctrl-single,drive-strength = < 352 pinctrl-single,drive-strength = < 374 pinctrl-single,drive-strength = < 395 pinctrl-single,drive-strength = < 416 pinctrl-single,drive-strength = < 437 pinctrl-single,drive-strength = < [all …]
|
/linux/Documentation/userspace-api/ioctl/ |
H A D | hdio.rst | 23 HDIO_DRIVE_TASK execute task and special drive command 24 HDIO_DRIVE_CMD execute a special drive command 84 if the device is not a disk drive or floppy drive, 92 drive geometry is an abstraction which is actually subject 94 are the "bios" values -- presumably the values the drive had 123 ATA drive identity information. For full description, see 132 Returns information that was obtained when the drive was 134 this ioctl does not re-probe the drive to update the 175 registers of the drive. Requires ADMIN and RAWIO access 222 - ENOMSG Device is not a disk drive. [all …]
|
/linux/arch/x86/boot/ |
H A D | mtools.conf.in | 5 # Actual floppy drive 6 drive a: 10 drive v: 14 drive w: 18 drive h: 20 drive p:
|
/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt8186-evb.dts | 115 drive-strength-microamp = <1000>; 125 drive-strength-microamp = <1000>; 135 drive-strength-microamp = <1000>; 145 drive-strength-microamp = <1000>; 155 drive-strength-microamp = <1000>; 165 drive-strength-microamp = <1000>; 175 drive-strength-microamp = <1000>; 185 drive-strength-microamp = <1000>; 195 drive-strength-microamp = <1000>; 205 drive-strength-microamp = <1000>;
|
/linux/arch/arm64/boot/dts/st/ |
H A D | stm32mp25-pinctrl.dtsi | 17 drive-push-pull; 25 drive-push-pull; 31 drive-push-pull; 73 drive-open-drain; 93 drive-push-pull; 99 drive-push-pull; 111 drive-push-pull; 117 drive-push-pull; 123 drive-open-drain; 143 drive-push-pull; [all …]
|
/linux/arch/arm/boot/dts/st/ |
H A D | stm32mp15-pinctrl.dtsi | 59 drive-open-drain; 76 drive-open-drain; 231 drive-push-pull; 237 drive-push-pull; 284 drive-push-pull; 290 drive-push-pull; 337 drive-push-pull; 343 drive-push-pull; 389 drive-push-pull; 395 drive-push-pull; [all …]
|
H A D | stm32mp13-pinctrl.dtsi | 79 drive-push-pull; 100 drive-push-pull; 130 drive-push-pull; 169 drive-push-pull; 190 drive-push-pull; 220 drive-push-pull; 276 drive-open-drain; 295 drive-open-drain; 314 drive-open-drain; 353 drive-push-pull; [all …]
|