/linux/drivers/block/ |
H A D | amiflop.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * - now no bugs(?) any more for both HD & DD 10 * - added support for 40 Track 5.25" drives, 80-track hopefully behaves 11 * like 3.5" dd (no way to test - are there any 5.25" drives out there 13 * - wrote formatting routine (maybe dirty, but works) 15 * june/july 1995 added ms-dos support by Joerg Dorchain 17 * - currently only 9 and 18 sector disks 19 * - fixed a bug with the internal trackbuffer when using multiple 21 * - made formatting a bit safer 22 * - added command line and machine based default for "silent" df0 [all …]
|
H A D | floppy.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 * 02.12.91 - Changed to static variables to indicate need for reset 18 * This file is certainly a mess. I've tried my best to get it working, 19 * but I don't like programming floppies, and I have only one anyway. 20 * Urgel. I should check for more errors, and do more graceful error 21 * recovery. Seems there are problems with several drives. I've tried to 28 * handler may not sleep, or a kernel panic will happen. Thus I cannot 29 * call "floppy-on" directly, but have to set a special timer interrupt 34 * 28.02.92 - made track-buffering routines, based on the routines written 39 * Automatic floppy-detection and formatting written by Werner Almesberger [all …]
|
H A D | ataflop.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * - Driver now works interrupt driven 10 * - Support for two drives; should work, but I cannot test that :-( 11 * - Reading is done in whole tracks and buffered to speed up things 12 * - Disk change detection and drive deselecting after motor-off 14 * - Autodetection of disk format (DD/HD); untested yet, because I 15 * don't have an HD drive :-( 18 * - Autodetection works now 19 * - Support for 5 1/4'' disks 20 * - Removed drive type (unknown on atari) [all …]
|
H A D | swim.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 * 2004-08-21 (lv) - Initial implementation 12 * 2008-10-30 (lv) - Port to 2.6 18 #include <linux/blk-mq.h> 39 #define DRIVER_VERSION "Version 0.2 (2008-10-30)" 41 #define REG(x) unsigned char x, x ## _pad[0x200 - 1]; 63 #define swim_write(base, reg, v) out_8(&(base)->write_##reg, (v)) 64 #define swim_read(base, reg) in_8(&(base)->read_##reg) 87 #define iwm_write(base, reg, v) out_8(&(base)->reg, (v)) 88 #define iwm_read(base, reg) in_8(&(base)->reg) [all …]
|
/linux/Documentation/scsi/ |
H A D | st.rst | 1 .. SPDX-License-Identifier: GPL-2.0 17 The driver is generic, i.e., it does not contain any code tailored 18 to any specific tape drive. The tape parameters can be specified with 23 flexible method and applicable to single-user workstations. However, 30 new tape is loaded into the drive or if writing begins at the 32 drive performs auto-detection of the tape format well (like some 33 QIC-drives). The result is that any tape can be read, writing can be 36 for the first time). The first method is applicable if the drive 37 does not perform auto-detection well enough and there is a single 38 "sensible" mode for the device. An example is a DAT drive that is [all …]
|
/linux/Documentation/admin-guide/laptops/ |
H A D | disk-shock-protection.rst | 7 Last modified: 2008-10-03 19 -------- 21 ATA/ATAPI-7 specifies the IDLE IMMEDIATE command with unload feature. 22 Issuing this command should cause the drive to switch to idle mode and 25 a shock protection facility. The idea is to stop all I/O operations on 26 the internal hard drive and park its heads on the ramp when critical 37 ---------------- 42 -EOPNOTSUPP if the device does not support the unload feature. 44 of the respective drive off the platter and block all I/O operations 49 -EOVERFLOW, but heads will be parked anyway and the timeout will be [all …]
|
/linux/arch/arm/boot/dts/st/ |
H A D | stm32mp15-pinctrl.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2017 - All Rights Reserved 6 #include <dt-bindings/pinctrl/stm32-pinfunc.h> 9 /omit-if-no-ref/ 10 adc1_ain_pins_a: adc1-ain-0 { 21 /omit-if-no-ref/ 22 adc1_in6_pins_a: adc1-in6-0 { 28 /omit-if-no-ref/ 29 adc12_ain_pins_a: adc12-ain-0 { 38 /omit-if-no-ref/ [all …]
|
H A D | stm32f7-pinctrl.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2017 - All Rights Reserved 7 #include <dt-bindings/pinctrl/stm32-pinfunc.h> 8 #include <dt-bindings/mfd/stm32f7-rcc.h> 13 #address-cells = <1>; 14 #size-cells = <1>; 16 interrupt-parent = <&exti>; 20 gpio-controller; 21 #gpio-cells = <2>; 22 interrupt-controller; [all …]
|
H A D | stm32h7-pinctrl.dtsi | 2 * Copyright 2017 - Alexandre Torgue <alexandre.torgue@st.com> 4 * This file is dual-licensed: you can use it either under the terms 43 #include <dt-bindings/pinctrl/stm32-pinfunc.h> 47 i2c1_pins_a: i2c1-0 { 51 bias-disable; 52 drive-open-drain; 53 slew-rate = <0>; 57 ethernet_rmii: rmii-0 { 68 slew-rate = <2>; 72 sdmmc1_b4_pins_a: sdmmc1-b4-0 { [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-scsi_tape | 6 Show the number of I/Os currently in-flight between the st 7 module and the SCSI mid-layer. 16 Shows the total amount of time spent waiting for all I/O 17 to and from the tape drive to complete. This includes all 19 drive. An example of other SCSI commands would be tape 23 To determine the amount of time spent waiting for other I/O 33 The number of I/O requests issued to the tape drive other 43 Shows the total number of bytes requested from the tape drive. 55 drive. 65 read I/O requests to complete. [all …]
|
/linux/Documentation/userspace-api/ioctl/ |
H A D | cdrom.rst | 5 - Edward A. Falk <efalk@google.com> 10 the CDROM layer. These are by-and-large implemented (as of Linux 2.6) 23 CDROMSTOP Stop the cdrom drive 24 CDROMSTART Start the cdrom drive 33 CDROMEJECT_SW enable(1)/disable(0) auto-ejecting 34 CDROMMULTISESSION Obtain the start-of-last-session 40 CDROMRESET hard-reset the drive 41 CDROMVOLREAD Get the drive's volume setting 47 CDROMPLAYBLK scsi-cd only, (struct cdrom_blk) 49 CDROMGETSPINDOWN return 4-bit spindown value [all …]
|
/linux/drivers/pinctrl/ |
H A D | pinconf-generic.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2011 ST-Ericsson SA 6 * Written on behalf of Linaro for ST-Ericsson 22 #include <linux/pinctrl/pinconf-generic.h> 28 #include "pinctrl-utils.h" 39 PCONFDUMP(PIN_CONFIG_DRIVE_OPEN_DRAIN, "output drive open drain", NULL, false), 40 PCONFDUMP(PIN_CONFIG_DRIVE_OPEN_SOURCE, "output drive open source", NULL, false), 41 PCONFDUMP(PIN_CONFIG_DRIVE_PUSH_PULL, "output drive push pull", NULL, false), 42 PCONFDUMP(PIN_CONFIG_DRIVE_STRENGTH, "output drive strength", "mA", true), 43 PCONFDUMP(PIN_CONFIG_DRIVE_STRENGTH_UA, "output drive strength", "uA", true), [all …]
|
H A D | pinctrl-digicolor.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 * - GPIO interrupt support 11 * - Pin pad configuration (pull up/down, strength) 23 #include <linux/pinctrl/pinconf-generic.h> 27 #include "pinctrl-utils.h" 29 #define DRIVER_NAME "pinctrl-digicolor" 36 #define PIN_COLLECTIONS ('R' - 'A' + 1) 63 return pmap->desc->pins[selector].name; in dc_get_group_name() 72 *pins = &pmap->desc->pins[selector].number; in dc_get_group_pins() 109 *groups = pmap->pin_names; in dc_get_groups() [all …]
|
/linux/drivers/md/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 20 # after relevant mdadm enhancements - to make "names=yes" 21 # the default - are widely available. 34 Software RAID mini-HOWTO, available from 49 a several-second delay in the boot time due to various 65 tristate "RAID-0 (striping) mode" 69 use the so-called raid0 mode, i.e. it will combine the hard disk 75 Software-RAID mini-HOWTO, available from 85 tristate "RAID-1 (mirroring) mode" 88 A RAID-1 set consists of several disk drives which are exact copies [all …]
|
/linux/drivers/macintosh/ |
H A D | windfarm_pm121.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 * that none of the code has been re-used, it's a complete 17 * re-implementation 21 * controls with a tiny difference. The control-ids of hard-drive-fan 22 * and cpu-fan is swapped. 34 * offset : -19563152 38 * offset : -15650652 44 * offset : -15650652 48 * offset : -19563152 54 * offset : -25431900 [all …]
|
/linux/drivers/media/cec/core/ |
H A D | cec-pin-priv.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * cec-pin-priv.h - internal cec-pin header 13 #include <media/cec-pin.h> 16 ((pin && pin->ops->op && !pin->adap->devnode.unregistered) ? \ 17 pin->ops->op(pin->adap, ## arg) : 0) 21 if (pin && pin->ops->op && \ 22 !pin->adap->devnode.unregistered) \ 23 pin->ops->op(pin->adap, ## arg); \ 36 /* Low-drive was detected, wait for bus to go high */ 38 /* Drive CEC low for the start bit */ [all …]
|
/linux/block/partitions/ |
H A D | acorn.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 1996-2000 Russell King. 36 if (dr->disc_size == 0 && dr->disc_size_high == 0) in adfs_partition() 39 nr_sects = (le32_to_cpu(dr->disc_size_high) << 23) | in adfs_partition() 40 (le32_to_cpu(dr->disc_size) >> 9); in adfs_partition() 43 strlcat(state->pp_buf, " [", PAGE_SIZE); in adfs_partition() 44 strlcat(state->pp_buf, name, PAGE_SIZE); in adfs_partition() 45 strlcat(state->pp_buf, "]", PAGE_SIZE); in adfs_partition() 79 return -1; in riscix_partition() 81 strlcat(state->pp_buf, " [RISCiX]", PAGE_SIZE); in riscix_partition() [all …]
|
/linux/drivers/hwmon/ |
H A D | drivetemp.c | 1 // SPDX-License-Identifier: GPL-2.0 13 * This drive supports reporting the temperature of SATA drives. It can be 16 * The primary means to read drive temperatures and temperature limits 18 * ATA8-ACS. 19 * It can be used to read the current drive temperature, temperature limits, 21 * feature set is documented in "AT Attachment 8 - ATA/ATAPI Command Set 22 * (ATA8-ACS)". 24 * If the SCT Command Transport feature set is not available, drive temperatures 28 * There are three SMART attributes which may report drive temperatures. 30 * http://www.cropel.com/library/smart-attribute-list.aspx). [all …]
|
/linux/drivers/scsi/ |
H A D | megaraid.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 * Driver features - change the values to enable or disable features in the 18 * Command coalescing - This feature allows the driver to be able to combine 19 * two or more commands and issue as one command in order to boost I/O 20 * performance. Useful if the nature of the I/O is sequential. It is not very 21 * useful for random natured I/Os. 26 * Clustering support - Set this flag if you are planning to use the 33 * Driver statistics - Set this flag if you are interested in statics about 34 * number of I/O completed on each logical drive and how many interrupts 42 * Enhanced /proc interface - This feature will allow you to have a more [all …]
|
H A D | megaraid.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * - fixes 10 * - speed-ups (list handling fixes, issued_list, optimizations.) 11 * - lots of cleanups. 14 * - new-style, hotplug-aware pci probing and scsi registration 16 * Version : v2.00.4 Mon Nov 14 14:02:43 EST 2005 - Seokmann Ju 26 * linux-scsi@vger.kernel.org . 44 #include <linux/dma-mapping.h> 72 MODULE_PARM_DESC(max_sectors_per_io, "Maximum number of sectors per I/O request (default=MAX_SECTOR… 79 #define RDINDOOR(adapter) readl((adapter)->mmio_base + 0x20) [all …]
|
/linux/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_warpdrive.c | 4 * Copyright (C) 2012-2014 LSI Corporation 5 * Copyright (C) 2013-2015 Avago Technologies 6 * (mailto: MPT-FusionLinux.pdl@avagotech.com) 21 * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, 50 * _warpdrive_disable_ddio - Disable direct I/O for all the volumes 71 spin_lock_irqsave(&ioc->raid_device_lock, flags); in _warpdrive_disable_ddio() 74 raid_device->direct_io_enabled = 0; in _warpdrive_disable_ddio() 75 spin_unlock_irqrestore(&ioc->raid_device_lock, flags); in _warpdrive_disable_ddio() 82 * mpt3sas_get_num_volumes - Get number of volumes in the ioc 109 * mpt3sas_init_warpdrive_properties - Set properties for warpdrive direct I/O. [all …]
|
/linux/Documentation/admin-guide/ |
H A D | devices.txt | 1 0 Unnamed devices (e.g. non-device mounts) 7 2 = /dev/kmem OBSOLETE - replaced by /proc/kcore 9 4 = /dev/port I/O port access 11 6 = /dev/core OBSOLETE - replaced by /proc/kcore 15 10 = /dev/aio Asynchronous I/O notification interface 18 12 = /dev/oldmem OBSOLETE - replaced by /proc/vmcore 31 2 char Pseudo-TTY masters 37 Pseudo-tty's are named as follows: 40 the 1st through 16th series of 16 pseudo-ttys each, and 44 These are the old-style (BSD) PTY devices; Unix98 [all …]
|
/linux/Documentation/admin-guide/device-mapper/ |
H A D | unstriped.rst | 2 Device-mapper "unstriped" target 8 The device-mapper "unstriped" target provides a transparent mechanism to 9 unstripe a device-mapper "striped" target to access the underlying disks 10 without having to touch the true backing block-device. It can also be 11 used to unstripe a hardware RAID-0 to access backing disks. 27 drive you wish to unstripe. This must be 0 indexed. 33 An example of undoing an existing dm-stripe 34 ------------------------------------------- 47 SEQ_END=$((${NUM}-1)) 55 for i in $(seq 0 ${SEQ_END}); do [all …]
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | nvidia,tegra-pinmux-common.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/nvidia,tegra-pinmux-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jonathan Hunter <jonathanh@nvidia.com> 14 Please refer to pinctrl-bindings.txt in this directory for details of the 22 pin configuration parameters, such as pull-up, tristate, drive strength, 46 $ref: /schemas/types.yaml#/definitions/string-array 57 description: Pull-down/up setting to apply to the pin. [all …]
|
/linux/include/uapi/linux/ |
H A D | fdreg.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 17 /* 82077's tape drive register (R/W) */ 34 #define STATUS_BUSYMASK 0x0F /* drive busy mask */ 36 #define STATUS_DMA 0x20 /* 0- DMA mode */ 37 #define STATUS_DIR 0x40 /* 0- cpu->fdc */ 41 #define ST0_DS 0x03 /* drive select mask */ 51 #define ST1_ND 0x04 /* No Data - unreadable */ 67 #define ST3_DS 0x08 /* drive is double-sided */ 69 #define ST3_RY 0x20 /* drive is ready */ 71 #define ST3_FT 0x80 /* Drive Fault */ [all …]
|