Home
last modified time | relevance | path

Searched +full:drive +full:- +full:type (Results 1 – 25 of 1088) sorted by relevance

12345678910>>...44

/kernel/linux/linux-6.6/drivers/block/
Damiflop.c1 // 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 …]
Dataflop.c1 // 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 …]
Dfloppy.c1 // SPDX-License-Identifier: GPL-2.0-only
11 * 02.12.91 - Changed to static variables to indicate need for reset
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
41 * the floppy-change signal detection.
45 * 1992/7/22 -- Hennus Bergman: Added better error reporting, fixed
49 * 1992/9/17: Added DMA allocation & DMA functions. -- hhb.
56 * modeled after the freeware MS-DOS program fdformat/88 V1.8 by
65 * 1993/4/29 -- Linus -- cleaned up the timer handling in the kernel, and
[all …]
Dswim.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/block/
Damiflop.c1 // 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 …]
Dataflop.c1 // 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 …]
Dfloppy.c1 // SPDX-License-Identifier: GPL-2.0-only
11 * 02.12.91 - Changed to static variables to indicate need for reset
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
41 * the floppy-change signal detection.
45 * 1992/7/22 -- Hennus Bergman: Added better error reporting, fixed
49 * 1992/9/17: Added DMA allocation & DMA functions. -- hhb.
56 * modeled after the freeware MS-DOS program fdformat/88 V1.8 by
65 * 1993/4/29 -- Linus -- cleaned up the timer handling in the kernel, and
[all …]
Dswim.c1 // 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>
38 #define DRIVER_VERSION "Version 0.2 (2008-10-30)"
40 #define REG(x) unsigned char x, x ## _pad[0x200 - 1];
62 #define swim_write(base, reg, v) out_8(&(base)->write_##reg, (v))
63 #define swim_read(base, reg) in_8(&(base)->read_##reg)
86 #define iwm_write(base, reg, v) out_8(&(base)->reg, (v))
87 #define iwm_read(base, reg) in_8(&(base)->reg)
[all …]
/kernel/linux/linux-5.10/drivers/ide/
Dide-pm.c1 // SPDX-License-Identifier: GPL-2.0
8 ide_drive_t *drive = to_ide_device(dev); in generic_ide_suspend() local
9 ide_drive_t *pair = ide_get_pair_dev(drive); in generic_ide_suspend()
10 ide_hwif_t *hwif = drive->hwif; in generic_ide_suspend()
17 if ((drive->dn & 1) == 0 || pair == NULL) in generic_ide_suspend()
22 rq = blk_get_request(drive->queue, REQ_OP_DRV_IN, 0); in generic_ide_suspend()
23 ide_req(rq)->type = ATA_PRIV_PM_SUSPEND; in generic_ide_suspend()
24 ide_req(rq)->special = &rqpm; in generic_ide_suspend()
30 blk_execute_rq(drive->queue, NULL, rq, 0); in generic_ide_suspend()
31 ret = scsi_req(rq)->result ? -EIO : 0; in generic_ide_suspend()
[all …]
Dide-acpi.c1 // SPDX-License-Identifier: GPL-2.0
71 printk(KERN_NOTICE"%s detected - disable ACPI _PSx.\n", id->ident); in no_acpi_psx()
98 return ide_noacpi == 0 && hwif->acpidata; in ide_port_acpi()
109 return adev ? adev->handle : NULL; in acpi_get_child()
113 * ide_get_dev_handle - finds acpi_handle and PCI device.function
131 int ret = -ENODEV; in ide_get_dev_handle()
133 bus = pdev->bus->number; in ide_get_dev_handle()
134 devnum = PCI_SLOT(pdev->devfn); in ide_get_dev_handle()
135 func = PCI_FUNC(pdev->devfn); in ide_get_dev_handle()
152 if (dinfo && (dinfo->valid & ACPI_VALID_ADR) && in ide_get_dev_handle()
[all …]
Dicside.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 1996-2004 Russell King.
5 * Please note that this platform does not support 32-bit IDE IO.
15 #include <linux/dma-mapping.h>
74 unsigned int type; member
82 #define ICS_TYPE_NOTYPE ((unsigned int)-1)
84 /* ---------------- Version 5 PCB Support Functions --------------------- */
90 struct icside_state *state = ec->irq_data; in icside_irqenable_arcin_v5()
92 writeb(0, state->irq_port + ICS_ARCIN_V5_INTROFFSET); in icside_irqenable_arcin_v5()
100 struct icside_state *state = ec->irq_data; in icside_irqdisable_arcin_v5()
[all …]
Dide-park.c1 // SPDX-License-Identifier: GPL-2.0
10 static void issue_park_cmd(ide_drive_t *drive, unsigned long timeout) in issue_park_cmd() argument
12 ide_hwif_t *hwif = drive->hwif; in issue_park_cmd()
13 struct request_queue *q = drive->queue; in issue_park_cmd()
18 spin_lock_irq(&hwif->lock); in issue_park_cmd()
19 if (drive->dev_flags & IDE_DFLAG_PARKED) { in issue_park_cmd()
20 int reset_timer = time_before(timeout, drive->sleep); in issue_park_cmd()
23 drive->sleep = timeout; in issue_park_cmd()
25 if (reset_timer && del_timer(&hwif->timer)) in issue_park_cmd()
27 spin_unlock_irq(&hwif->lock); in issue_park_cmd()
[all …]
Dide-atapi.c1 // SPDX-License-Identifier: GPL-2.0-only
16 #define DRV_NAME "ide-atapi"
28 static inline int dev_is_idecd(ide_drive_t *drive) in dev_is_idecd() argument
30 return drive->media == ide_cdrom || drive->media == ide_optical; in dev_is_idecd()
37 int ide_check_atapi_device(ide_drive_t *drive, const char *s) in ide_check_atapi_device() argument
39 u16 *id = drive->id; in ide_check_atapi_device()
52 if (drive->media == ide_floppy && device_type == 5 && in ide_check_atapi_device()
53 !strstr((char *)&id[ATA_ID_PROD], "CD-ROM") && in ide_check_atapi_device()
60 s, drive->name, protocol); in ide_check_atapi_device()
61 else if ((drive->media == ide_floppy && device_type != 0) || in ide_check_atapi_device()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/
Dpincfg-node.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/pincfg-node.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Linus Walleij <linus.walleij@linaro.org>
21 bias-disable:
22 type: boolean
25 bias-high-impedance:
26 type: boolean
27 description: high impedance mode ("third-state", "floating")
[all …]
Dqcom,msm8998-pinctrl.txt6 - compatible:
8 Value type: <string>
9 Definition: must be "qcom,msm8998-pinctrl"
11 - reg:
13 Value type: <prop-encoded-array>
16 - interrupts:
18 Value type: <prop-encoded-array>
21 - interrupt-controller:
23 Value type: <none>
26 - #interrupt-cells:
[all …]
Dqcom,pmic-gpio.txt6 - compatible:
8 Value type: <string>
10 "qcom,pm8005-gpio"
11 "qcom,pm8018-gpio"
12 "qcom,pm8038-gpio"
13 "qcom,pm8058-gpio"
14 "qcom,pm8916-gpio"
15 "qcom,pm8917-gpio"
16 "qcom,pm8921-gpio"
17 "qcom,pm8941-gpio"
[all …]
Dqcom,msm8976-pinctrl.txt6 - compatible:
8 Value type: <string>
9 Definition: must be "qcom,msm8976-pinctrl"
11 - reg:
13 Value type: <prop-encoded-array>
16 - interrupts:
18 Value type: <prop-encoded-array>
21 - interrupt-controller:
23 Value type: <none>
26 - #interrupt-cells:
[all …]
Dqcom,sdm845-pinctrl.txt6 - compatible:
8 Value type: <string>
9 Definition: must be "qcom,sdm845-pinctrl"
11 - reg:
13 Value type: <prop-encoded-array>
16 - interrupts:
18 Value type: <prop-encoded-array>
21 - interrupt-controller:
23 Value type: <none>
26 - #interrupt-cells:
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Di2c.c41 nvkm_warn(&bios->subdev, "ccb %02x not supported\n", *ver); in dcb_i2c_table()
73 struct nvkm_subdev *subdev = &bios->subdev; in dcb_i2c_parse()
83 info->type = DCB_I2C_UNUSED; in dcb_i2c_parse()
85 info->type = DCB_I2C_PMGR; in dcb_i2c_parse()
88 info->type = nvbios_rd08(bios, ent + 0x03); in dcb_i2c_parse()
90 info->type = nvbios_rd08(bios, ent + 0x03) & 0x07; in dcb_i2c_parse()
91 if (info->type == 0x07) in dcb_i2c_parse()
92 info->type = DCB_I2C_UNUSED; in dcb_i2c_parse()
95 info->drive = DCB_I2C_UNUSED; in dcb_i2c_parse()
96 info->sense = DCB_I2C_UNUSED; in dcb_i2c_parse()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Di2c.c41 nvkm_warn(&bios->subdev, "ccb %02x not supported\n", *ver); in dcb_i2c_table()
73 struct nvkm_subdev *subdev = &bios->subdev; in dcb_i2c_parse()
83 info->type = DCB_I2C_UNUSED; in dcb_i2c_parse()
85 info->type = DCB_I2C_PMGR; in dcb_i2c_parse()
88 info->type = nvbios_rd08(bios, ent + 0x03); in dcb_i2c_parse()
90 info->type = nvbios_rd08(bios, ent + 0x03) & 0x07; in dcb_i2c_parse()
91 if (info->type == 0x07) in dcb_i2c_parse()
92 info->type = DCB_I2C_UNUSED; in dcb_i2c_parse()
95 info->drive = DCB_I2C_UNUSED; in dcb_i2c_parse()
96 info->sense = DCB_I2C_UNUSED; in dcb_i2c_parse()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/pinctrl/
Dpincfg-node.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/pincfg-node.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Linus Walleij <linus.walleij@linaro.org>
21 bias-disable:
22 type: boolean
25 bias-high-impedance:
26 type: boolean
27 description: high impedance mode ("third-state", "floating")
[all …]
/kernel/linux/linux-6.6/Documentation/userspace-api/ioctl/
Dcdrom.rst5 - 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 …]
/kernel/linux/linux-5.10/Documentation/userspace-api/ioctl/
Dcdrom.rst5 - 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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Dtlv320adcx140.yaml1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause)
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Texas Instruments TLV320ADCX140 Quad Channel Analog-to-Digital Converter
11 - Dan Murphy <dmurphy@ti.com>
14 The TLV320ADCX140 are multichannel (4-ch analog recording or 8-ch digital
15 PDM microphones recording), high-performance audio, analog-to-digital
28 - const: ti,tlv320adc3140
29 - const: ti,tlv320adc5140
30 - const: ti,tlv320adc6140
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/
Dtlv320adcx140.yaml1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause)
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Texas Instruments TLV320ADCX140 Quad Channel Analog-to-Digital Converter
11 - Andrew Davis <afd@ti.com>
14 The TLV320ADCX140 are multichannel (4-ch analog recording or 8-ch digital
15 PDM microphones recording), high-performance audio, analog-to-digital
28 - ti,tlv320adc3140
29 - ti,tlv320adc5140
30 - ti,tlv320adc6140
[all …]

12345678910>>...44