| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/dma/ti/ |
| D | k3-udma.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/dma/ti/k3-udma.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Peter Ujfalusi <peter.ujfalusi@ti.com> 13 The UDMA-P is intended to perform similar (but significantly upgraded) 14 functions as the packet-oriented DMA used on previous SoC devices. The UDMA-P 16 The UDMA-P architecture facilitates the segmentation and reassembly of SoC DMA 27 on the Rx PSI-L interface. 29 The UDMA-P also supports acting as both a UTC and UDMA-C for its internal [all …]
|
| /kernel/linux/linux-5.10/drivers/ide/ |
| D | ide-timings.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (c) 1999-2001 Vojtech Pavlik 4 * Copyright (c) 2007-2008 Bartlomiej Zolnierkiewicz 7 * e-mail - mail your message to <vojtech@ucw.cz>, or by paper mail: 16 * PIO 0-5, MWDMA 0-2 and UDMA 0-6 timings (in nanoseconds). 17 * These were taken from ATA/ATAPI-6 standard, rev 0a, except 61 for (t = ide_timing; t->mode != speed; t++) in ide_timing_find_mode() 62 if (t->mode == 0xff) in ide_timing_find_mode() 70 u16 *id = drive->id; in ide_pio_cycle_time() 75 if (ata_id_has_iordy(drive->id)) in ide_pio_cycle_time() [all …]
|
| D | amd74xx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (c) 2000-2002 Vojtech Pavlik 7 * Copyright (c) 2007-2010 Bartlomiej Zolnierkiewicz 39 return (dev->vendor == PCI_VENDOR_ID_NVIDIA) ? 0x10 : 0; in amd_offset() 52 t = (t & ~(3 << ((3 - dn) << 1))) | ((clamp_val(timing->setup, 1, 4) - 1) << ((3 - dn) << 1)); in amd_set_speed() 55 pci_write_config_byte(dev, AMD_8BIT_TIMING + offset + (1 - (dn >> 1)), in amd_set_speed() 56 ((clamp_val(timing->act8b, 1, 16) - 1) << 4) | (clamp_val(timing->rec8b, 1, 16) - 1)); in amd_set_speed() 58 pci_write_config_byte(dev, AMD_DRIVE_TIMING + offset + (3 - dn), in amd_set_speed() 59 ((clamp_val(timing->active, 1, 16) - 1) << 4) | (clamp_val(timing->recover, 1, 16) - 1)); in amd_set_speed() 62 case ATA_UDMA2: t = timing->udma ? (0xc0 | (clamp_val(timing->udma, 2, 5) - 2)) : 0x03; break; in amd_set_speed() [all …]
|
| D | alim15x3.c | 2 * Copyright (C) 1998-2000 Michel Aubry, Maintainer 3 * Copyright (C) 1998-2000 Andrzej Krzysztofowicz, Maintainer 4 * Copyright (C) 1999-2000 CJ, cjtsai@ali.com.tw, Maintainer 6 * Copyright (C) 1998-2000 Andre Hedrick (andre@linux-ide.org) 11 * Copyright (C) 2007-2010 Bartlomiej Zolnierkiewicz 16 * 9/7/99 --Parts from the above author are included and need to be 53 struct pci_dev *pdev = to_pci_dev(hwif->dev); in ali_fifo_control() 54 int pio_fifo = 0x54 + hwif->channel; in ali_fifo_control() 56 int shift = 4 * (drive->dn & 1); in ali_fifo_control() 67 struct pci_dev *dev = to_pci_dev(hwif->dev); in ali_program_timings() [all …]
|
| D | via82cxxx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * Copyright (c) 2000-2002 Vojtech Pavlik 10 * Copyright (c) 2007-2010 Bartlomiej Zolnierkiewicz 113 * via_set_speed - write timing registers 123 struct pci_dev *dev = to_pci_dev(hwif->dev); in via_set_speed() 125 struct via82cxxx_dev *vdev = host->host_priv; in via_set_speed() 128 if (~vdev->via_config->flags & VIA_BAD_AST) { in via_set_speed() 130 t = (t & ~(3 << ((3 - dn) << 1))) | ((clamp_val(timing->setup, 1, 4) - 1) << ((3 - dn) << 1)); in via_set_speed() 134 pci_write_config_byte(dev, VIA_8BIT_TIMING + (1 - (dn >> 1)), in via_set_speed() 135 ((clamp_val(timing->act8b, 1, 16) - 1) << 4) | (clamp_val(timing->rec8b, 1, 16) - 1)); in via_set_speed() [all …]
|
| D | pmac.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * These IDE interfaces are memory-mapped and have a DBDMA channel 8 * Copyright (C) 1998-2003 Paul Mackerras & Ben. Herrenschmidt 9 * Copyright (C) 2007-2008 Bartlomiej Zolnierkiewicz 11 * Some code taken from drivers/ide/ide-dma.c: 13 * Copyright (c) 1995-1998 Mark Lord 15 * TODO: - Use pre-calculated (kauai) timing tables all the time and 44 #define DRV_NAME "ide-pmac" 75 controller_kl_ata3, /* KeyLargo ATA-3 */ 76 controller_kl_ata4, /* KeyLargo ATA-4 */ [all …]
|
| D | hpt366.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 1999-2003 Andre Hedrick <andre@linux-ide.org> 7 * Portions Copyright (C) 2005-2009 MontaVista Software, Inc. 16 * available from http://www.highpoint-tech.com/USA_new/service_support.htm 19 * as the time passes... :-/ 23 * - add function for getting/setting power status of drive 24 * - the HPT370's state machine can get confused. reset it before each dma 26 * - reset state engine whenever we get an error. 27 * - check for busmaster state at end of dma. 28 * - use new highpoint timings. [all …]
|
| /kernel/linux/linux-5.10/drivers/ata/ |
| D | libata-pata-timings.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2003-2004 Red Hat, Inc. All rights reserved. 6 * Copyright 2003-2004 Jeff Garzik 15 * drivers/ide/ide-timing.h and was originally written by Vojtech Pavlik 18 * PIO 0-4, MWDMA 0-2 and UDMA 0-6 timings (in nanoseconds). 19 * These were taken from ATA/ATAPI-6 standard, rev 0a, except 57 #define ENOUGH(v, unit) (((v)-1)/(unit)+1) 63 q->setup = EZ(t->setup, T); in ata_timing_quantize() 64 q->act8b = EZ(t->act8b, T); in ata_timing_quantize() 65 q->rec8b = EZ(t->rec8b, T); in ata_timing_quantize() [all …]
|
| D | pata_ali.c | 2 * pata_ali.c - ALI 15x3 PATA for new ATA layer 8 * Copyright (C) 1998-2000 Michel Aubry, Maintainer 9 * Copyright (C) 1998-2000 Andrzej Krzysztofowicz, Maintainer 10 * Copyright (C) 1999-2000 CJ, cjtsai@ali.com.tw, Maintainer 12 * Copyright (C) 1998-2000 Andre Hedrick (andre@linux-ide.org) 54 DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"), 55 DMI_MATCH(DMI_BOARD_VERSION, "OmniBook N32N-736"), 59 .ident = "Toshiba Satellite S1800-814", 62 DMI_MATCH(DMI_PRODUCT_NAME, "S1800-814"), 71 if (pdev->subsystem_vendor == 0x10CF && pdev->subsystem_device == 0x10AF) in ali_cable_override() [all …]
|
| D | pata_serverworks.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * pata_serverworks.c - Serverworks PATA for new ATA layer 11 * Copyright (C) 1998-2000 Michel Aubry 12 * Copyright (C) 1998-2000 Andrzej Krzysztofowicz 13 * Copyright (C) 1998-2000 Andre Hedrick <andre@linux-ide.org> 20 * supports UDMA mode 2 (33 MB/s) 23 * all revisions support UDMA mode 4 (66 MB/s) 24 * revision A2.0 and up support UDMA mode 5 (100 MB/s) 27 * *** to detect 80-conductor cable presence. *** 49 /* Seagate Barracuda ATA IV Family drives in UDMA mode 5 [all …]
|
| D | pata_via.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * pata_via.c - VIA PATA for new ATA layer 4 * (C) 2005-2006 Red Hat Inc 10 * VIA VT82C561 - early design, uses ata_generic currently 11 * VIA VT82C576 - MWDMA, 33Mhz 12 * VIA VT82C586 - MWDMA, 33Mhz 13 * VIA VT82C586a - Added UDMA to 33Mhz 14 * VIA VT82C586b - UDMA33 15 * VIA VT82C596a - Nonfunctional UDMA66 16 * VIA VT82C596b - Working UDMA66 [all …]
|
| D | ata_piix.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * ata_piix.c - Intel PATA/SATA controllers 6 * Please ALWAYS copy linux-ide@vger.kernel.org 9 * Copyright 2003-2005 Red Hat Inc 10 * Copyright 2003-2005 Jeff Garzik 14 * Copyright (C) 1998-1999 Andrzej Krzysztofowicz, Author and Maintainer 15 * Copyright (C) 1998-2000 Andre Hedrick <andre@linux-ide.org> 19 * as Documentation/driver-api/libata.rst 40 * PIIX4 errata #9 - Only on ultra obscure hw 41 * ICH3 errata #13 - Not observed to affect real hw [all …]
|
| D | pata_atp867x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * pata_atp867x.c - ARTOP 867X 64bit 4-channel UDMA133 ATA controller driver 5 * (C) 2009 Google Inc. John(Jung-Ik) Lee <jilee@google.com> 9 * 2003-2004 by Eric Uhrhane, Google, Inc. 69 #define ATP867X_IOBASE(ap) ((ap)->host->iomap[0]) 109 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in atp867x_set_dmamode() 110 struct atp867x_priv *dp = ap->private_data; in atp867x_set_dmamode() 111 u8 speed = adev->dma_mode; in atp867x_set_dmamode() 113 u8 mode = speed - XFER_UDMA_0 + 1; in atp867x_set_dmamode() 116 * Doc 6.6.9: decrease the udma mode value by 1 for safer UDMA speed in atp867x_set_dmamode() [all …]
|
| D | pata_macio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 54 controller_kl_ata3, /* KeyLargo ATA-3 */ 55 controller_kl_ata4, /* KeyLargo ATA-4 */ 56 controller_un_ata6, /* UniNorth2 ATA-6 */ 57 controller_k2_ata6, /* K2 ATA-6 */ 58 controller_sh_ata6, /* Shasta ATA-6 */ 64 "KeyLargo ATA-3", /* KeyLargo ATA-3 (MDMA only) */ 65 "KeyLargo ATA-4", /* KeyLargo ATA-4 (UDMA/66) */ 66 "UniNorth ATA-6", /* UniNorth2 ATA-6 (UDMA/100) */ 67 "K2 ATA-6", /* K2 ATA-6 (UDMA/100) */ [all …]
|
| D | libata-core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * libata-core.c - helper library for ATA 5 * Copyright 2003-2004 Red Hat, Inc. All rights reserved. 6 * Copyright 2003-2004 Jeff Garzik 9 * as Documentation/driver-api/libata.rst 12 * http://www.sata-io.org/ 16 * http://www.t10.org (SCSI MMC - for ATAPI MMC) 17 * http://www.sata-io.org (SATA) 19 * http://www.qic.org (QIC157 - Tape and DSC) 20 * http://www.ce-ata.org (CE-ATA: not supported) [all …]
|
| D | libata-acpi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * libata-acpi.c 26 …fermode, 0x2=lock/freeze lock, 0x4=DIPM, 0x8=FPDMA non-zero offset, 0x10=FPDMA DMA Setup FIS auto-… 33 u8 tf[REGS_PER_GTF]; /* regs. 0x1f1 - 0x1f7 */ 38 kfree(dev->gtf_cache); in ata_acpi_clear_gtf() 39 dev->gtf_cache = NULL; in ata_acpi_clear_gtf() 50 #define ata_hotplug_data(context) (container_of((context), struct ata_acpi_hotplug_context, hp)->da… 53 * ata_dev_acpi_handle - provide the acpi_handle for an ata_device 62 return dev->flags & ATA_DFLAG_ACPI_DISABLED ? in ata_dev_acpi_handle() 63 NULL : ACPI_HANDLE(&dev->tdev); in ata_dev_acpi_handle() [all …]
|
| D | libata-scsi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * libata-scsi.c - helper library for ATA 5 * Copyright 2003-2004 Red Hat, Inc. All rights reserved. 6 * Copyright 2003-2004 Jeff Garzik 9 * as Documentation/driver-api/libata.rst 12 * - http://www.t10.org/ 13 * - http://www.t13.org/ 38 #include "libata-transport.h" 62 RW_RECOVERY_MPAGE_LEN - 2, 72 CACHE_MPAGE_LEN - 2, [all …]
|
| /kernel/linux/linux-5.10/drivers/dma/ti/ |
| D | k3-udma-private.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com 28 pr_err("UDMA node is not found\n"); in of_xudma_dev_get() 29 return ERR_PTR(-ENODEV); in of_xudma_dev_get() 35 pr_debug("UDMA device not found\n"); in of_xudma_dev_get() 36 return ERR_PTR(-EPROBE_DEFER); in of_xudma_dev_get() 44 pr_debug("UDMA has not been probed\n"); in of_xudma_dev_get() 45 put_device(&pdev->dev); in of_xudma_dev_get() 46 return ERR_PTR(-EPROBE_DEFER); in of_xudma_dev_get() 55 return ud->psil_base; in xudma_dev_get_psil_base() [all …]
|
| D | k3-udma.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com 28 UDMA_CHAN_RT_PEER_REG(0) /* PSI-L: 0x400 */ 30 UDMA_CHAN_RT_PEER_REG(1) /* PSI-L: 0x401 */ 32 UDMA_CHAN_RT_PEER_REG(4) /* PSI-L: 0x404 */ 34 UDMA_CHAN_RT_PEER_REG(8) /* PSI-L: 0x408 */ 102 /* tisci information for PSI-L thread pairing/unpairing */ 109 /* Direct access to UDMA low lever resources for the glue layer */ 126 void xudma_tchan_put(struct udma_dev *ud, struct udma_tchan *p); 127 void xudma_rchan_put(struct udma_dev *ud, struct udma_rchan *p); [all …]
|
| /kernel/linux/linux-5.10/drivers/media/pci/ivtv/ |
| D | ivtvfb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 18 Portions (c) 1998 Gerd Knorr <kraxel@goldbach.in-berlin.de> 29 #include "ivtv-driver.h" 30 #include "ivtv-cards.h" 31 #include "ivtv-i2c.h" 32 #include "ivtv-udma.h" 33 #include "ivtv-mailbox.h" 34 #include "ivtv-firmware.h" 44 static int ivtvfb_card_id = -1; 65 "Only use framebuffer of the specified ivtv card (0-31)\n" [all …]
|
| D | ivtv-fileops.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com> 6 Copyright (C) 2005-2007 Hans Verkuil <hverkuil@xs4all.nl> 10 #include "ivtv-driver.h" 11 #include "ivtv-fileops.h" 12 #include "ivtv-i2c.h" 13 #include "ivtv-queue.h" 14 #include "ivtv-udma.h" 15 #include "ivtv-irq.h" 16 #include "ivtv-vbi.h" [all …]
|
| D | ivtv-irq.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com> 5 Copyright (C) 2005-2007 Hans Verkuil <hverkuil@xs4all.nl> 9 #include "ivtv-driver.h" 10 #include "ivtv-queue.h" 11 #include "ivtv-udma.h" 12 #include "ivtv-irq.h" 13 #include "ivtv-mailbox.h" 14 #include "ivtv-vbi.h" 15 #include "ivtv-yuv.h" [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/ |
| D | ti,k3-am654-cpsw-nuss.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/ti,k3-am654-cpsw-nuss.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Grygorii Strashko <grygorii.strashko@ti.com> 11 - Sekhar Nori <nsekhar@ti.com> 16 CPSW2G NUSS features - the Reduced Gigabit Media Independent Interface (RGMII), 25 Peripheral Root Complex (UDMA-P) controller. 29 priority level Quality Of Service (QOS) support (802.1p) 47 "#address-cells": true [all …]
|
| /kernel/linux/linux-5.10/drivers/scsi/isci/ |
| D | request.c | 7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 78 return &ireq->tc->sgl_pair_ab; in to_sgl_element_pair() 80 return &ireq->tc->sgl_pair_cd; in to_sgl_element_pair() 84 return &ireq->sg_table[idx - 2]; in to_sgl_element_pair() 93 offset = (void *) &ireq->tc->sgl_pair_ab - in to_sgl_element_pair_dma() 94 (void *) &ihost->task_context_table[0]; in to_sgl_element_pair_dma() 95 return ihost->tc_dma + offset; in to_sgl_element_pair_dma() 97 offset = (void *) &ireq->tc->sgl_pair_cd - in to_sgl_element_pair_dma() [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | libata.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright 2003-2005 Red Hat, Inc. All rights reserved. 4 * Copyright 2003-2005 Jeff Garzik 7 * as Documentation/driver-api/libata.rst 16 #include <linux/dma-mapping.h> 28 * Define if arch has non-standard setup. This is a _PCI_ standard 32 #include <asm/libata-portmap.h> 39 * compile-time options: to be removed as soon as all the drivers are 85 #define ata_msg_drv(p) ((p)->msg_enable & ATA_MSG_DRV) argument 86 #define ata_msg_info(p) ((p)->msg_enable & ATA_MSG_INFO) argument [all …]
|