| /linux/drivers/block/ |
| 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 …]
|
| /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 …]
|
| H A D | NinjaSCSI.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 WorkBiT NinjaSCSI-3/32Bi driver for Linux 10 This is Workbit corp.'s(http://www.workbit.co.jp/) NinjaSCSI-3 17 :pcmcia-cs: 3.1.27 18 :gcc: gcc-2.95.4 19 :PC card: I-O data PCSC-F (NinjaSCSI-3), 20 I-O data CBSC-II in 16 bit mode (NinjaSCSI-32Bi) 21 :SCSI device: I-O data CDPS-PX24 (CD-ROM drive), 22 Media Intelligent MMO-640GT (Optical disk drive) 27 (a) Check your PC card is true "NinjaSCSI-3" card. [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/Documentation/cdrom/ |
| H A D | cdrom-standard.rst | 2 A Linux CD-ROM standard 14 Linux is probably the Unix-like operating system that supports 18 - The large list of hardware devices available for the many platforms 19 that Linux now supports (i.e., i386-PCs, Sparc Suns, etc.) 20 - The open design of the operating system, such that anybody can write a 22 - There is plenty of source code around as examples of how to write a driver. 29 This divergence of behavior has been very significant for CD-ROM 30 devices; the way a particular drive reacts to a `standard` *ioctl()* 32 their drivers totally inconsistent, the writers of Linux CD-ROM 35 maintain uniform behavior across all the Linux CD-ROM drivers. [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/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/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/arch/arm64/boot/dts/amlogic/ |
| H A D | amlogic-c3.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/reset/amlogic,c3-reset.h> 10 #include <dt-bindings/clock/amlogic,c3-pll-clkc.h> 11 #include <dt-bindings/clock/amlogic,c3-scmi-clkc.h> 12 #include <dt-bindings/clock/amlogic,c3-peripherals-clkc.h> 13 #include <dt-bindings/power/amlogic,c3-pwrc.h> 14 #include <dt-bindings/gpio/amlogic-c3-gpio.h> [all …]
|
| H A D | meson-s4.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/gpio/meson-s4-gpio.h> 10 #include <dt-bindings/clock/amlogic,s4-pll-clkc.h> 11 #include <dt-bindings/clock/amlogic,s4-peripherals-clkc.h> 12 #include <dt-bindings/power/meson-s4-power.h> 13 #include <dt-bindings/reset/amlogic,meson-s4-reset.h> 17 #address-cells = <2>; [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 temperature 218 int i; drivetemp_get_smarttemp() local [all...] |
| /linux/drivers/pinctrl/ |
| 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 …]
|
| 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 …]
|
| /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/arch/arm/boot/dts/st/ |
| 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 …]
|
| H A D | stm32f4-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> 44 #include <dt-bindings/mfd/stm32f4-rcc.h> 49 #address-cells = <1>; 50 #size-cells = <1>; 52 interrupt-parent = <&exti>; 56 gpio-controller; 57 #gpio-cells = <2>; 58 interrupt-controller; [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/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/drivers/input/keyboard/ |
| H A D | qt2160.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * qt2160.c - Atmel AT42QT2160 Touch Sense Controller 35 #define QT2160_CYCLE_INTERVAL 2000 /* msec - 2 sec */ 73 struct qt2160_data *qt2160 = led->qt2160; in qt2160_led_set() 74 struct i2c_client *client = qt2160->client; in qt2160_led_set() 75 u32 drive, pwmen; in qt2160_led_set() local 77 if (value != led->brightness) { in qt2160_led_set() 78 drive = qt2160_read(client, QT2160_CMD_DRIVE_X); in qt2160_led_set() 81 drive |= BIT(led->id); in qt2160_led_set() 82 pwmen |= BIT(led->id); in qt2160_led_set() [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 …]
|
| H A D | starfive,jh7110-sys-pinctrl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/starfive,jh7110-sys-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 Bindings for the JH7110 RISC-V SoC from StarFive Technology Ltd. 13 can be multiplexed and have configurable bias, drive strength, 15 Some peripherals have their I/O go through the 64 "GPIOs". This also 21 - Hal Feng <hal.feng@starfivetech.com> 25 const: starfive,jh7110-sys-pinctrl 39 interrupt-controller: true [all …]
|
| H A D | starfive,jh7110-aon-pinctrl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/starfive,jh7110-aon-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 Bindings for the JH7110 RISC-V SoC from StarFive Technology Ltd. 13 can be multiplexed and have configurable bias, drive strength, 15 Some peripherals such as PWM have their I/O go through the 4 "GPIOs". 18 - Hal Feng <hal.feng@starfivetech.com> 22 const: starfive,jh7110-aon-pinctrl 33 interrupt-controller: true [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 …]
|