Home
last modified time | relevance | path

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

12345678910>>...20

/linux/drivers/block/
H A Dfloppy.c236 * motor of these drives causes system hangs on some PCI computers. drive
237 * 0 is the low bit (0x1), and drive 7 is the high bit (0x80). Bits are on if
238 * a drive is allowed.
298 #define UNIT(x) ((x) & 0x03) /* drive on fdc */
299 #define FDC(x) (((x) & 0x04) >> 2) /* fdc of drive */
300 /* reverse mapping from unit and fdc to drive */
349 * this struct defines the different floppy drive types.
356 CMOS drive type
357 | Maximum data rate supported by drive type
409 * types (e.g. 360kB diskette in 1.2MB drive, et
600 drive_no_geom(int drive) drive_no_geom() argument
606 fd_eject(int drive) fd_eject() argument
667 __reschedule_timeout(int drive,const char * message) __reschedule_timeout() argument
683 reschedule_timeout(int drive,const char * message) reschedule_timeout() argument
728 disk_change(int drive) disk_change() argument
791 unsigned char drive; set_dor() local
820 twaddle(int fdc,int drive) twaddle() argument
836 int drive; reset_fdc_info() local
852 set_fdc(int drive) set_fdc() argument
884 lock_fdc(int drive) lock_fdc() argument
928 floppy_off(unsigned int drive) floppy_off() argument
958 int drive; scandrives() local
1278 fdc_specify(int fdc,int drive) fdc_specify() argument
1566 check_wp(int fdc,int drive) check_wp() argument
2068 next_valid_format(int drive) next_valid_format() argument
2106 set_floppy(int drive) set_floppy() argument
2224 do_format(int drive,struct format_descr * tmp_format_req) do_format() argument
2259 unsigned int drive = (unsigned long)req->q->disk->private_data; floppy_end_request() local
2771 int drive; redo_fd_request() local
2925 user_reset_fdc(int drive,int arg,bool interruptible) user_reset_fdc() argument
2963 drive_name(int type,int drive) drive_name() argument
3132 int drive; raw_cmd_ioctl() local
3179 floppy_raw_cmd_ioctl(int type,int drive,int cmd,void __user * param) floppy_raw_cmd_ioctl() argument
3200 floppy_raw_cmd_ioctl(int type,int drive,int cmd,void __user * param) floppy_raw_cmd_ioctl() argument
3221 set_geometry(unsigned int cmd,struct floppy_struct * g,int drive,int type,struct block_device * bdev) set_geometry() argument
3342 get_floppy_geometry(int drive,int type,struct floppy_struct ** g) get_floppy_geometry() argument
3361 int drive = (long)disk->private_data; fd_getgeo() local
3397 int drive = (long)bdev->bd_disk->private_data; fd_locked_ioctl() local
3659 int drive, type; compat_set_geometry() local
3681 compat_get_prm(int drive,struct compat_floppy_struct __user * arg) compat_get_prm() argument
3703 compat_setdrvprm(int drive,struct compat_floppy_drive_params __user * arg) compat_setdrvprm() argument
3739 compat_getdrvprm(int drive,struct compat_floppy_drive_params __user * arg) compat_getdrvprm() argument
3773 compat_getdrvstat(int drive,bool poll,struct compat_floppy_drive_struct __user * arg) compat_getdrvstat() argument
3812 compat_getfdcstat(int drive,struct compat_floppy_fdc_state __user * arg) compat_getfdcstat() argument
3841 compat_werrorget(int drive,struct compat_floppy_write_errors __user * arg) compat_werrorget() argument
3865 int drive = (long)bdev->bd_disk->private_data; fd_compat_ioctl() local
3914 int drive; config_types() local
3966 int drive = (long)disk->private_data; floppy_release() local
3987 int drive = (long)disk->private_data; floppy_open() local
4087 int drive = (long)disk->private_data; floppy_check_events() local
4115 int drive; global() member
4122 int drive = cbdata->drive; floppy_rb0_cb() local
4132 __floppy_read_block_0(struct block_device * bdev,int drive) __floppy_read_block_0() argument
4173 int drive = (long)disk->private_data; floppy_revalidate() local
4449 int drive; floppy_cmos_show() local
4500 floppy_available(int drive) floppy_available() argument
4509 floppy_alloc_disk(unsigned int drive,unsigned int type) floppy_alloc_disk() argument
4543 unsigned int drive = (MINOR(dev) & 3) | ((MINOR(dev) & 0x80) >> 5); floppy_probe() local
4569 int i, unit, drive, err; do_floppy_init() local
4894 int drive; floppy_release_irq_and_dma() local
4969 int drive, i; floppy_module_exit() local
[all...]
H A Dataflop.c309 #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 Dswim.c170 enum drive_location location; /* internal or external drive */
171 int head_number; /* single- or double-sided drive */
318 printk(KERN_DEBUG "%s: drive not ready\n", __func__); \ in swim_drive()
326 swim_write(base, mode0, EXTERNAL_DRIVE); /* clear drive 1 bit */ in swim_motor()
327 swim_write(base, mode1, INTERNAL_DRIVE); /* set drive 0 bit */ in swim_motor()
330 swim_write(base, mode0, INTERNAL_DRIVE); /* clear drive 0 bit */ in swim_motor()
331 swim_write(base, mode1, EXTERNAL_DRIVE); /* set drive 1 bit */ in swim_motor()
822 int drive; in swim_floppy_init()
844 for (drive = 0; drive < sw in swim_floppy_init()
794 int drive; swim_floppy_init() local
925 int drive; swim_remove() local
[all...]
/linux/arch/arm64/boot/dts/rockchip/
H A 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/arch/arm/boot/dts/nuvoton/
H A 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 …]
/linux/arch/arm64/boot/dts/qcom/
H A Dmsm8996-sony-xperia-tone.dtsi157 drive-strength = <2>;
162 drive-strength = <2>;
168 drive-strength = <2>;
173 drive-strength = <2>;
178 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
[all...]
H A Dqcs404-evb-4000.dts47 drive-strength = <2>;
63 drive-strength = <16>;
69 drive-strength = <2>;
75 drive-strength = <16>;
81 drive-strength = <2>;
87 drive-strength = <16>;
93 drive-strength = <2>;
H A Dsc7280-herobrine-audio-wcd9385.dtsi165 drive-strength = <8>;
174 drive-strength = <8>;
183 drive-strength = <2>;
189 drive-strength = <2>;
195 drive-strength = <2>;
201 drive-strength = <2>;
207 drive-strength = <6>;
212 drive-strength = <6>;
217 drive-strength = <6>;
H A Dmsm8916-samsung-gt58.dts133 drive-strength = <2>;
140 drive-strength = <2>;
147 drive-strength = <8>;
154 drive-strength = <2>;
161 drive-strength = <2>;
168 drive-strength = <2>;
176 drive-strength = <2>;
183 drive-strength = <2>;
H A Dmsm8939-samsung-a7.dts489 drive-strength = <2>;
496 drive-strength = <2>;
503 drive-strength = <2>;
510 drive-strength = <2>;
517 drive-strength = <2>;
524 drive-strength = <2>;
536 drive-strength = <2>;
544 drive-strength = <2>;
551 drive-strength = <2>;
559 drive-strength = <2>;
[all …]
H A Dmsm8916-samsung-a2015-common.dtsi428 drive-strength = <2>;
436 drive-strength = <2>;
444 drive-strength = <2>;
452 drive-strength = <2>;
460 drive-strength = <8>;
467 drive-strength = <2>;
475 drive-strength = <2>;
488 drive-strength = <2>;
496 drive-strength = <2>;
505 drive-strength = <2>;
[all …]
H A Dmsm8916-samsung-serranove.dts445 drive-strength = <2>;
453 drive-strength = <2>;
461 drive-strength = <2>;
469 drive-strength = <2>;
477 drive-strength = <8>;
485 drive-strength = <2>;
493 drive-strength = <2>;
501 drive-strength = <2>;
510 drive-strength = <2>;
517 drive-strength = <2>;
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A 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/arch/mips/boot/dts/img/
H A 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/arch/arm/boot/dts/nxp/mxs/
H A Dimx28.dtsi222 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 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/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
H A 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/arch/arm64/boot/dts/hisilicon/
H A 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 …]
H A 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 …]
H A Dhikey960-pinctrl.dtsi345 pinctrl-single,drive-strength = <
367 pinctrl-single,drive-strength = <
388 pinctrl-single,drive-strength = <
409 pinctrl-single,drive-strength = <
432 pinctrl-single,drive-strength = <
454 pinctrl-single,drive-strength = <
475 pinctrl-single,drive-strength = <
499 pinctrl-single,drive-strength = <
523 pinctrl-single,drive-strength = <
547 pinctrl-single,drive-strength = <
[all …]
/linux/arch/x86/boot/
H A Dmtools.conf.in5 # Actual floppy drive
6 drive a:
10 drive v:
14 drive w:
18 drive h:
20 drive p:
/linux/Documentation/userspace-api/ioctl/
H A 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 …]
H A 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
70 CDROM_SEND_PACKET send a packet to the drive
117 - ENOSYS cd drive not audio-capable.
138 - ENOSYS cd drive not audio-capable.
162 - ENOSYS cd drive not audio-capable.
193 - ENOSYS cd drive not audio-capable.
222 - ENOSYS cd drive not audio-capable.
[all …]
/linux/arch/arm/boot/dts/st/
H A Dstm32mp13-pinctrl.dtsi79 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 …]
H A Dstm32h7-pinctrl.dtsi52 drive-open-drain;
81 drive-push-pull;
94 drive-push-pull;
100 drive-open-drain;
122 drive-push-pull;
149 drive-push-pull;
162 drive-push-pull;
168 drive-open-drain;
191 drive-push-pull;
205 drive-push-pull;
[all …]

12345678910>>...20