Home
last modified time | relevance | path

Searched refs:drive (Results 1 – 25 of 627) sorted by relevance

12345678910>>...26

/Linux-v5.15/drivers/block/
Damiflop.c244 #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 …]
Dfloppy.c605 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 …]
Dataflop.c306 #define UD unit[drive]
307 #define UDT unit[drive].disktype
364 #define IS_BUFFERED(drive,side,track) \ argument
365 (BufferDrive == (drive) && BufferSide == (side) && BufferTrack == (track))
420 static void fd_select_drive( int drive );
426 static int do_format(int drive, int type, struct atari_format_descr *desc);
427 static void do_fd_action( int drive );
441 static void setup_req_params( int drive );
444 static void fd_probe( int drive );
445 static int fd_test_drive_present( int drive );
[all …]
Dswim.c777 int drive; in swim_floppy_init() local
802 for (drive = 0; drive < swd->floppy_count; drive++) { in swim_floppy_init()
803 err = blk_mq_alloc_sq_tag_set(&swd->unit[drive].tag_set, in swim_floppy_init()
808 swd->unit[drive].disk = in swim_floppy_init()
809 blk_mq_alloc_disk(&swd->unit[drive].tag_set, in swim_floppy_init()
810 &swd->unit[drive]); in swim_floppy_init()
811 if (IS_ERR(swd->unit[drive].disk)) { in swim_floppy_init()
812 blk_mq_free_tag_set(&swd->unit[drive].tag_set); in swim_floppy_init()
813 err = PTR_ERR(swd->unit[drive].disk); in swim_floppy_init()
817 swd->unit[drive].swd = swd; in swim_floppy_init()
[all …]
/Linux-v5.15/arch/arm64/boot/dts/qcom/
Dmsm8916-pins.dtsi13 drive-strength = <16>;
21 drive-strength = <2>;
29 drive-strength = <16>;
37 drive-strength = <2>;
45 drive-strength = <12>;
52 drive-strength = <16>;
62 drive-strength = <2>;
70 drive-strength = <12>;
77 drive-strength = <16>;
87 drive-strength = <2>;
[all …]
Dmsm8996-sony-xperia-tone.dtsi159 drive-strength = <2>;
164 drive-strength = <2>;
170 drive-strength = <2>;
175 drive-strength = <2>;
180 drive-strength = <2>;
246 drive-push-pull;
253 drive-push-pull;
256 qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
263 drive-push-pull;
272 drive-push-pull;
[all …]
Dsc7180-idp.dts474 qcom,drive-strength = <PMIC_GPIO_STRENGTH_MED>;
508 drive-strength = <2>;
518 drive-strength = <2>;
528 drive-strength = <2>;
538 drive-strength = <2>;
556 /* We'll drive RTS, so no pull */
558 drive-strength = <2>;
563 /* We'll drive TX, so no pull */
565 drive-strength = <2>;
584 drive-strength = <2>;
[all …]
Dqcs404-evb-4000.dts45 drive-strength = <2>;
61 drive-strength = <16>;
67 drive-strength = <2>;
73 drive-strength = <16>;
79 drive-strength = <2>;
85 drive-strength = <16>;
91 drive-strength = <2>;
Dmsm8994.dtsi762 drive-strength = <16>;
769 drive-strength = <2>;
777 drive-strength = <16>;
785 drive-strength = <2>;
792 drive-strength = <2>;
799 drive-strength = <2>;
806 drive-strength = <2>;
813 drive-strength = <2>;
820 drive-strength = <2>;
827 drive-strength = <2>;
[all …]
/Linux-v5.15/arch/arm64/boot/dts/rockchip/
Drockchip-pinconf.dtsi25 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-v5.15/arch/arm/boot/dts/
Dnuvoton-npcm730-gsj-gpio.dtsi9 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 …]
Dqcom-apq8064-pins.dtsi14 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 …]
Dimx28.dtsi224 fsl,drive-strength = <MXS_DRIVE_4mA>;
235 fsl,drive-strength = <MXS_DRIVE_4mA>;
248 fsl,drive-strength = <MXS_DRIVE_4mA>;
272 fsl,drive-strength = <MXS_DRIVE_4mA>;
284 fsl,drive-strength = <MXS_DRIVE_12mA>;
295 fsl,drive-strength = <MXS_DRIVE_4mA>;
306 fsl,drive-strength = <MXS_DRIVE_4mA>;
319 fsl,drive-strength = <MXS_DRIVE_4mA>;
330 fsl,drive-strength = <MXS_DRIVE_4mA>;
341 fsl,drive-strength = <MXS_DRIVE_4mA>;
[all …]
Dstm32mp15-pinctrl.dtsi42 drive-open-drain;
57 drive-open-drain;
165 drive-push-pull;
171 drive-push-pull;
216 drive-push-pull;
222 drive-push-pull;
267 drive-push-pull;
273 drive-push-pull;
316 drive-push-pull;
357 drive-push-pull;
[all …]
/Linux-v5.15/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Di2c.c95 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-v5.15/arch/mips/boot/dts/img/
Dpistachio.dtsi372 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-v5.15/Documentation/hwmon/
Ddrivetemp.rst27 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-v5.15/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
Dbusnv04.c31 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-v5.15/arch/arm64/boot/dts/amlogic/
Dmeson-g12-common.dtsi357 drive-strength-microamp = <4000>;
364 drive-strength-microamp = <4000>;
376 drive-strength-microamp = <4000>;
392 drive-strength-microamp = <4000>;
401 drive-strength-microamp = <4000>;
410 drive-strength-microamp = <4000>;
420 drive-strength-microamp = <4000>;
438 drive-strength-microamp = <3000>;
448 drive-strength-microamp = <3000>;
457 drive-strength-microamp = <3000>;
[all …]
/Linux-v5.15/arch/arm64/boot/dts/mediatek/
Dmt8183-pumpkin.dts172 mediatek,drive-strength-adv = <00>;
181 mediatek,drive-strength-adv = <00>;
190 mediatek,drive-strength-adv = <00>;
199 mediatek,drive-strength-adv = <00>;
208 mediatek,drive-strength-adv = <00>;
217 mediatek,drive-strength-adv = <00>;
241 drive-strength = <MTK_DRIVE_14mA>;
247 drive-strength = <MTK_DRIVE_14mA>;
253 drive-strength = <MTK_DRIVE_14mA>;
270 drive-strength = <MTK_DRIVE_14mA>;
[all …]
/Linux-v5.15/arch/arm64/boot/dts/hisilicon/
Dhikey-pinctrl.dtsi253 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 …]
Dhikey970-pinctrl.dtsi236 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-v5.15/Documentation/userspace-api/ioctl/
Dhdio.rst23 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 …]
Dcdrom.rst23 CDROMSTOP Stop the cdrom drive
24 CDROMSTART Start the cdrom drive
40 CDROMRESET hard-reset the drive
41 CDROMVOLREAD Get the drive's volume setting
67 CDROM_SEND_PACKET send a packet to the drive
114 - ENOSYS cd drive not audio-capable.
135 - ENOSYS cd drive not audio-capable.
159 - ENOSYS cd drive not audio-capable.
190 - ENOSYS cd drive not audio-capable.
219 - ENOSYS cd drive not audio-capable.
[all …]
/Linux-v5.15/arch/x86/boot/
Dmtools.conf.in5 # Actual floppy drive
6 drive a:
10 drive v:
14 drive w:
18 drive h:

12345678910>>...26