Home
last modified time | relevance | path

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

12345678910>>...32

/linux/drivers/block/
H A Damiflop.c53 * - added trackbuffer for each drive to speed things up
102 #define DSKSEL3 (0x1<<6) /* select drive 3 when low */
103 #define DSKSEL2 (0x1<<5) /* select drive 2 when low */
104 #define DSKSEL1 (0x1<<4) /* select drive 1 when low */
105 #define DSKSEL0 (0x1<<3) /* select drive 0 when low */
176 unsigned long code; /* code returned from drive */
177 char *name; /* description of drive */
199 int disk; /* disk in drive (-1 == unknown) */
201 int busy; /* true when drive is active */
227 #define FD_DD_3 0xffffffff /* double-density 3.5" (880K) drive */
245 SELMASK(drive) global() argument
359 try_fdc(int drive) try_fdc() argument
365 get_fdc(int drive) get_fdc() argument
394 fd_select(int drive) fd_select() argument
418 fd_deselect(int drive) fd_deselect() argument
490 unsigned long drive = ((unsigned long)timer - fd_motor_off() local
509 int drive; floppy_off() local
515 fd_calibrate(int drive) fd_calibrate() argument
567 fd_seek(int drive,int track) fd_seek() argument
624 fd_get_drive_id(int drive) fd_get_drive_id() argument
692 raw_read(int drive) raw_read() argument
718 raw_write(int drive) raw_write() argument
753 post_write(unsigned long drive) post_write() argument
836 amiga_read(int drive) amiga_read() argument
1151 dos_read(int drive) dos_read() argument
1272 ms_putsec(int drive,unsigned long * raw,int cnt) ms_putsec() argument
1424 get_track(int drive,int track) get_track() argument
1462 int drive = floppy - unit; amiflop_rw_cur_segment() local
1528 int drive = MINOR(bdev->bd_dev) & 3; fd_getgeo() local
1540 int drive = p - unit; fd_locked_ioctl() local
1626 int drive; fd_probe() local
1659 int drive = disk->first_minor & 3; floppy_open() local
1713 int drive = p - unit; floppy_release() local
1740 int drive = p - unit; amiga_check_events() local
1778 fd_alloc_disk(int drive,int system) fd_alloc_disk() argument
1810 fd_alloc_drive(int drive) fd_alloc_drive() argument
1842 int drive,drives,nomem; fd_probe_drives() local
[all...]
H A Dfloppy.c240 * motor of these drives causes system hangs on some PCI computers. drive
241 * 0 is the low bit (0x1), and drive 7 is the high bit (0x80). Bits are on if
242 * a drive is allowed.
302 #define UNIT(x) ((x) & 0x03) /* drive on fdc */
303 #define FDC(x) (((x) & 0x04) >> 2) /* fdc of drive */
304 /* reverse mapping from unit and fdc to drive */
353 * this struct defines the different floppy drive types.
360 CMOS drive type
361 | Maximum data rate supported by drive type
413 * types (e.g. 360kB diskette in 1.2MB drive, et
604 drive_no_geom(int drive) drive_no_geom() argument
610 fd_eject(int drive) fd_eject() argument
671 __reschedule_timeout(int drive,const char * message) __reschedule_timeout() argument
687 reschedule_timeout(int drive,const char * message) reschedule_timeout() argument
732 disk_change(int drive) disk_change() argument
795 unsigned char drive; set_dor() local
824 twaddle(int fdc,int drive) twaddle() argument
840 int drive; reset_fdc_info() local
856 set_fdc(int drive) set_fdc() argument
888 lock_fdc(int drive) lock_fdc() argument
932 floppy_off(unsigned int drive) floppy_off() argument
962 int drive; scandrives() local
1282 fdc_specify(int fdc,int drive) fdc_specify() argument
1570 check_wp(int fdc,int drive) check_wp() argument
2072 next_valid_format(int drive) next_valid_format() argument
2110 set_floppy(int drive) set_floppy() argument
2228 do_format(int drive,struct format_descr * tmp_format_req) do_format() argument
2263 unsigned int drive = (unsigned long)req->q->disk->private_data; floppy_end_request() local
2775 int drive; redo_fd_request() local
2929 user_reset_fdc(int drive,int arg,bool interruptible) user_reset_fdc() argument
2967 drive_name(int type,int drive) drive_name() argument
3139 int drive; raw_cmd_ioctl() local
3186 floppy_raw_cmd_ioctl(int type,int drive,int cmd,void __user * param) floppy_raw_cmd_ioctl() argument
3207 floppy_raw_cmd_ioctl(int type,int drive,int cmd,void __user * param) floppy_raw_cmd_ioctl() argument
3228 set_geometry(unsigned int cmd,struct floppy_struct * g,int drive,int type,struct block_device * bdev) set_geometry() argument
3349 get_floppy_geometry(int drive,int type,struct floppy_struct ** g) get_floppy_geometry() argument
3368 int drive = (long)bdev->bd_disk->private_data; fd_getgeo() local
3404 int drive = (long)bdev->bd_disk->private_data; fd_locked_ioctl() local
3666 int drive, type; compat_set_geometry() local
3688 compat_get_prm(int drive,struct compat_floppy_struct __user * arg) compat_get_prm() argument
3710 compat_setdrvprm(int drive,struct compat_floppy_drive_params __user * arg) compat_setdrvprm() argument
3746 compat_getdrvprm(int drive,struct compat_floppy_drive_params __user * arg) compat_getdrvprm() argument
3780 compat_getdrvstat(int drive,bool poll,struct compat_floppy_drive_struct __user * arg) compat_getdrvstat() argument
3819 compat_getfdcstat(int drive,struct compat_floppy_fdc_state __user * arg) compat_getfdcstat() argument
3848 compat_werrorget(int drive,struct compat_floppy_write_errors __user * arg) compat_werrorget() argument
3872 int drive = (long)bdev->bd_disk->private_data; fd_compat_ioctl() local
3921 int drive; config_types() local
3973 int drive = (long)disk->private_data; floppy_release() local
3994 int drive = (long)disk->private_data; floppy_open() local
4094 int drive = (long)disk->private_data; floppy_check_events() local
4122 int drive; global() member
4129 int drive = cbdata->drive; floppy_rb0_cb() local
4139 __floppy_read_block_0(struct block_device * bdev,int drive) __floppy_read_block_0() argument
4180 int drive = (long)disk->private_data; floppy_revalidate() local
4456 int drive; floppy_cmos_show() local
4507 floppy_available(int drive) floppy_available() argument
4516 floppy_alloc_disk(unsigned int drive,unsigned int type) floppy_alloc_disk() argument
4550 unsigned int drive = (MINOR(dev) & 3) | ((MINOR(dev) & 0x80) >> 5); floppy_probe() local
4576 int i, unit, drive, err; do_floppy_init() local
4903 int drive; floppy_release_irq_and_dma() local
4978 int drive, i; floppy_module_exit() local
[all...]
H A Dataflop.c12 * - Disk change detection and drive deselecting after motor-off
15 * don't have an HD drive :-(
20 * - Removed drive type (unknown on atari)
43 * - Let user set max. supported drive type (speeds up format
177 { "D360", 9, 720, 0, 1}, /* 1: 360kb in 720k or 1.2MB drive */
178 { "D720", 9,1440, 0, 0}, /* 2: 720kb in 720k or 1.2MB drive */
275 * MSch: User-provided type information. 'drive' points to
281 * User-provided permanent type information. 'drive' points to
290 int connected; /* !=0 : drive is connected */
309 #define UD unit[drive]
367 IS_BUFFERED(drive,side,track) global() argument
521 fd_select_drive(int drive) fd_select_drive() argument
612 static int drive = 0; check_change() local
743 do_format(int drive,int type,struct atari_format_descr * desc) do_format() argument
835 do_fd_action(int drive) do_fd_action() argument
1440 unsigned int drive = p - unit; floppy_check_events() local
1462 unsigned int drive = p - unit; floppy_revalidate() local
1485 setup_req_params(int drive) setup_req_params() argument
1508 int drive = floppy - unit; ataflop_queue_rq() local
1590 int drive = floppy - unit; fd_locked_ioctl() local
1788 fd_probe(int drive) fd_probe() argument
1831 fd_test_drive_present(int drive) fd_test_drive_present() argument
1880 int drive, cnt = 0; config_types() local
1994 ataflop_alloc_disk(unsigned int drive,unsigned int type) ataflop_alloc_disk() argument
2021 int drive = MINOR(dev) & 3; ataflop_probe() local
[all...]
H A Dswim.c170 enum drive_location location; /* internal or external drive */
171 int head_number; /* single- or double-sided drive */
312 swim_write(base, mode0, EXTERNAL_DRIVE); /* clear drive 1 bit */ in swim_drive()
313 swim_write(base, mode1, INTERNAL_DRIVE); /* set drive 0 bit */ in swim_drive()
315 swim_write(base, mode0, INTERNAL_DRIVE); /* clear drive 0 bit */ in swim_drive()
316 swim_write(base, mode1, EXTERNAL_DRIVE); /* set drive 1 bit */ in swim_drive()
359 /* wait drive is ready */ in swim_head()
794 int drive; in swim_floppy_init() local
819 for (drive = 0; drive < sw in swim_floppy_init()
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
[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
[all...]
/linux/arch/arm64/boot/dts/qcom/
H A Dqru1000-idp.dts234 drive-strength = <2>;
239 drive-strength = <2>;
244 drive-strength = <2>;
249 drive-strength = <2>;
254 drive-strength = <2>;
259 drive-strength = <2>;
264 drive-strength = <2>;
269 drive-strength = <2>;
274 drive-strength = <2>;
279 drive
[all...]
H A Dqdu1000-idp.dts234 drive-strength = <2>;
239 drive-strength = <2>;
244 drive-strength = <2>;
249 drive-strength = <2>;
254 drive-strength = <2>;
259 drive-strength = <2>;
264 drive-strength = <2>;
269 drive-strength = <2>;
274 drive-strength = <2>;
279 drive
[all...]
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>;
243 drive-push-pull;
250 drive-push-pull;
253 qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
260 drive-push-pull;
269 drive
[all...]
H A Dipq9574-rdp433.dts64 drive-strength = <6>;
71 drive-strength = <8>;
79 drive-strength = <6>;
88 drive-strength = <6>;
95 drive-strength = <8>;
103 drive-strength = <6>;
112 drive-strength = <6>;
119 drive-strength = <8>;
127 drive-strength = <6>;
136 drive
[all...]
H A Dipq5332-rdp441.dts67 drive-strength = <8>;
75 drive-strength = <8>;
82 drive-strength = <8>;
90 drive-strength = <8>;
99 drive-strength = <8>;
106 drive-strength = <8>;
114 drive-strength = <8>;
123 drive-strength = <8>;
130 drive-strength = <8>;
137 drive
[all...]
H A Dsc7180-idp.dts496 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
[all...]
/linux/arch/arm/boot/dts/qcom/
H A Dqcom-apq8064-pins.dtsi7 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
[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 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
[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 temperatur
[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
[all...]
/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/st/
H A Dstm32mp25-pinctrl.dtsi17 drive-push-pull;
25 drive-push-pull;
31 drive-push-pull;
73 drive-open-drain;
89 drive-push-pull;
104 drive-push-pull;
122 drive-push-pull;
140 drive-push-pull;
156 drive-push-pull;
172 drive
[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/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
[all...]
/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
[all...]
/linux/arch/arm64/boot/dts/mediatek/
H A Dmt8186-evb.dts115 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
[all...]
/linux/arch/arm/boot/dts/st/
H A Dstm32mp15-pinctrl.dtsi66 drive-open-drain;
83 drive-open-drain;
238 drive-push-pull;
244 drive-push-pull;
291 drive-push-pull;
297 drive-push-pull;
344 drive-push-pull;
350 drive-push-pull;
396 drive-push-pull;
402 drive
[all...]
/linux/arch/arm64/boot/dts/renesas/
H A Dr8a779a0-falcon-ethernet.dtsi147 drive-strength = <24>;
153 drive-strength = <24>;
172 drive-strength = <24>;
178 drive-strength = <24>;
197 drive-strength = <24>;
203 drive-strength = <24>;
222 drive-strength = <24>;
228 drive-strength = <24>;
247 drive-strength = <24>;
253 drive
[all...]

12345678910>>...32