| /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-6.6/Documentation/devicetree/bindings/dma/ti/ |
| D | k3-udma.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 5 --- 6 $id: http://devicetree.org/schemas/dma/ti/k3-udma.yaml# 7 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 - Peter Ujfalusi <peter.ujfalusi@gmail.com> 15 The UDMA-P is intended to perform similar (but significantly upgraded) 16 functions as the packet-oriented DMA used on previous SoC devices. The UDMA-P 18 The UDMA-P architecture facilitates the segmentation and reassembly of SoC DMA 29 on the Rx PSI-L interface. 31 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 …]
|
| /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 …]
|
| /kernel/linux/linux-6.6/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. *** 50 * 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 55 controller_kl_ata3, /* KeyLargo ATA-3 */ 56 controller_kl_ata4, /* KeyLargo ATA-4 */ 57 controller_un_ata6, /* UniNorth2 ATA-6 */ 58 controller_k2_ata6, /* K2 ATA-6 */ 59 controller_sh_ata6, /* Shasta ATA-6 */ 65 "KeyLargo ATA-3", /* KeyLargo ATA-3 (MDMA only) */ 66 "KeyLargo ATA-4", /* KeyLargo ATA-4 (UDMA/66) */ 67 "UniNorth ATA-6", /* UniNorth2 ATA-6 (UDMA/100) */ 68 "K2 ATA-6", /* K2 ATA-6 (UDMA/100) */ [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() 38 pr_debug("UDMA device not found\n"); in of_xudma_dev_get() 39 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-6.6/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 30 pr_err("UDMA node is not found\n"); in of_xudma_dev_get() 31 return ERR_PTR(-ENODEV); in of_xudma_dev_get() 40 pr_debug("UDMA device not found\n"); in of_xudma_dev_get() 41 return ERR_PTR(-EPROBE_DEFER); in of_xudma_dev_get() 46 pr_debug("UDMA has not been probed\n"); in of_xudma_dev_get() 47 put_device(&pdev->dev); in of_xudma_dev_get() 48 return ERR_PTR(-EPROBE_DEFER); in of_xudma_dev_get() 57 return ud->dev; in xudma_get_device() [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 …]
|
| /kernel/linux/linux-6.6/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 …]
|