Home
last modified time | relevance | path

Searched +full:udma +full:- +full:c (Results 1 – 25 of 90) sorted by relevance

1234

/openbmc/linux/drivers/media/pci/ivtv/
H A Divtv-udma.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com>
6 Copyright (C) 2004 Chris Kennedy <c@groovy.org>
7 Copyright (C) 2005-2007 Hans Verkuil <hverkuil@xs4all.nl>
11 #include "ivtv-driver.h"
12 #include "ivtv-udma.h"
16 dma_page->uaddr = first & PAGE_MASK; in ivtv_udma_get_page_info()
17 dma_page->offset = first & ~PAGE_MASK; in ivtv_udma_get_page_info()
18 dma_page->tail = 1 + ((first+size-1) & ~PAGE_MASK); in ivtv_udma_get_page_info()
19 dma_page->first = (first & PAGE_MASK) >> PAGE_SHIFT; in ivtv_udma_get_page_info()
[all …]
H A Divtv-udma.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com>
4 Copyright (C) 2004 Chris Kennedy <c@groovy.org>
5 Copyright (C) 2006-2007 Hans Verkuil <hverkuil@xs4all.nl>
26 dma_sync_single_for_device(&itv->pdev->dev, itv->udma.SG_handle, in ivtv_udma_sync_for_device()
27 sizeof(itv->udma.SGarray), DMA_TO_DEVICE); in ivtv_udma_sync_for_device()
32 dma_sync_single_for_cpu(&itv->pdev->dev, itv->udma.SG_handle, in ivtv_udma_sync_for_cpu()
33 sizeof(itv->udma.SGarray), DMA_TO_DEVICE); in ivtv_udma_sync_for_cpu()
/openbmc/linux/Documentation/devicetree/bindings/dma/ti/
H A Dk3-udma.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright (C) 2019 Texas Instruments Incorporated
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.
[all …]
/openbmc/linux/drivers/ata/
H A Dpata_amd.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * pata_amd.c - AMD PATA for new ATA layer
4 * (C) 2005-2006 Red Hat Inc
6 * Based on pata-sil680. Errata information is taken from data sheets
7 * and the amd74xx.c driver by Vojtech Pavlik. Nvidia SATA devices are
8 * claimed by sata-nv.c.
30 * timing_setup - shared timing computation and load
49 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in timing_setup()
51 int dn = ap->port_no * 2 + adev->devno; in timing_setup()
63 dev_err(&pdev->dev, "unknown mode %d\n", speed); in timing_setup()
[all …]
H A Dpata_serverworks.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * pata_serverworks.c - Serverworks PATA for new ATA layer
4 * (C) 2005 Red Hat Inc
5 * (C) 2010 Bartlomiej Zolnierkiewicz
9 * serverworks.c
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>
14 * Portions copyright (c) 2001 Sun Microsystems
20 * supports UDMA mode 2 (33 MB/s)
[all …]
H A Dpata_it821x.c2 * pata_it821x.c - IT821x PATA for new ATA layer
3 * (C) 2005 Red Hat Inc
5 * (C) 2007 Bartlomiej Zolnierkiewicz
9 * it821x.c
11 * linux/drivers/ide/pci/it821x.c Version 0.09 December 2004
13 * Copyright (C) 2004 Red Hat
41 * - In pass through mode we do all the work you would expect
42 * - In smart mode the clocking set up is done by the controller generally
44 * - There are a few extra vendor commands that actually talk to the
55 * is a raid volume. Even more cute - the controller can do automated
[all …]
H A Dpata_artop.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * pata_artop.c - ARTOP ATA controller driver
5 * (C) 2006 Red Hat
6 * (C) 2007,2011 Bartlomiej Zolnierkiewicz
8 * Based in part on drivers/ide/pci/aec62xx.c
9 * Copyright (C) 1999-2002 Andre Hedrick <andre@linux-ide.org>
11 * driver by Thibaut VARENE <varenet@parisc-linux.org>
43 * artop62x0_pre_reset - probe begin
57 struct ata_port *ap = link->ap; in artop62x0_pre_reset()
58 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in artop62x0_pre_reset()
[all …]
H A Dpata_via.c1 // 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 …]
H A Dpata_ali.c2 * pata_ali.c - ALI 15x3 PATA for new ATA layer
3 * (C) 2005 Red Hat Inc
6 * linux/drivers/ide/pci/alim15x3.c Version 0.17 2003/01/02
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)
14 * Copyright (C) 2002 Alan Cox <alan@redhat.com>
54 DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"),
55 DMI_MATCH(DMI_BOARD_VERSION, "OmniBook N32N-736"),
[all …]
H A Dpata_atiixp.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * pata_atiixp.c - ATI PATA for new ATA layer
4 * (C) 2005 Red Hat Inc
5 * (C) 2009-2010 Bartlomiej Zolnierkiewicz
9 * linux/drivers/ide/pci/atiixp.c Version 0.01-bart2 Feb. 26, 2004
11 * Copyright (C) 2003 ATI Inc. <hyu@ati.com>
12 * Copyright (C) 2004 Bartlomiej Zolnierkiewicz
39 /* Board has onboard PATA<->SATA converters */
40 .ident = "MSI E350DM-E33",
43 DMI_MATCH(DMI_BOARD_NAME, "E350DM-E33(MS-7720)"),
[all …]
H A Dpata_hpt3x3.c2 * pata_hpt3x3 - HPT3x3 driver
3 * (c) Copyright 2005-2006 Red Hat
9 * linux/drivers/ide/pci/hpt34x.c Version 0.40 Sept 10, 2002
10 * Copyright (C) 1998-2000 Andre Hedrick <andre@linux-ide.org>
28 * hpt3x3_set_piomode - PIO setup
33 * all we have to do is clear the MWDMA and UDMA bits then load the
39 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in hpt3x3_set_piomode()
41 int dn = 2 * ap->port_no + adev->devno; in hpt3x3_set_piomode()
47 r1 |= (adev->pio_mode - XFER_PIO_0) << (3 * dn); in hpt3x3_set_piomode()
48 r2 &= ~(0x11 << dn); /* Clear MWDMA and UDMA bits */ in hpt3x3_set_piomode()
[all …]
H A Dpata_sis.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * pata_sis.c - SiS ATA driver
5 * (C) 2005 Red Hat
6 * (C) 2007,2009 Bartlomiej Zolnierkiewicz
8 * Based upon linux/drivers/ide/pci/sis5513.c
9 * Copyright (C) 1999-2000 Andre Hedrick <andre@linux-ide.org>
10 * Copyright (C) 2002 Lionel Bouton <Lionel.Bouton@inet6.fr>, Maintainer
11 * Copyright (C) 2003 Vojtech Pavlik <vojtech@suse.cz>
19 * ATA133 support for SiS961/962 by L.C. Chang <lcchang@sis.com.tw>
67 while (lap->device) { in sis_short_ata40()
[all …]
H A Dpata_pdc2027x.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * Copyright (C) 1998-2002 Andre Hedrick <andre@linux-ide.org>
9 * Portions Copyright (C) 1999 Promise Technology, Inc.
15 * as Documentation/driver-api/libata.rst
93 { 0x4a, 0x0f, 0xd5 }, /* UDMA mode 0 */
94 { 0x3a, 0x0a, 0xd0 }, /* UDMA mode 1 */
95 { 0x2a, 0x07, 0xcd }, /* UDMA mode 2 */
96 { 0x1a, 0x05, 0xcd }, /* UDMA mode 3 */
97 { 0x1a, 0x03, 0xcd }, /* UDMA mode 4 */
98 { 0x1a, 0x02, 0xcb }, /* UDMA mode 5 */
[all …]
H A Dpata_rdc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * pata_rdc - Driver for later RDC PATA controllers
6 * INCITS 370-2004 (1510D): ATA Host Adapter Standards
30 * rdc_pata_cable_detect - Probe host controller cable detect info
33 * Read 80c cable indicator from ATA PCI device's PCI config
42 struct rdc_host_priv *hpriv = ap->host->private_data; in rdc_pata_cable_detect()
46 mask = 0x30 << (2 * ap->port_no); in rdc_pata_cable_detect()
47 if ((hpriv->saved_iocfg & mask) == 0) in rdc_pata_cable_detect()
53 * rdc_pata_prereset - prereset for PATA host controller
62 struct ata_port *ap = link->ap; in rdc_pata_prereset()
[all …]
H A Dpata_cs5530.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * pata-cs5530.c - CS5530 PATA for new ATA layer
4 * (C) 2005 Red Hat Inc
6 * based upon cs5530.c by Mark Lord.
28 unsigned long bmdma = (unsigned long)ap->ioaddr.bmdma_addr; in cs5530_port_base()
30 return (void __iomem *)((bmdma & ~0x0F) + 0x20 + 0x10 * ap->port_no); in cs5530_port_base()
34 * cs5530_set_piomode - PIO setup
57 if (adev->devno) in cs5530_set_piomode()
60 iowrite32(cs5530_pio_timings[format][adev->pio_mode - XFER_PIO_0], base); in cs5530_set_piomode()
64 * cs5530_set_dmamode - DMA timing setup
[all …]
H A Dpata_it8213.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * pata_it8213.c - iTE Tech. Inc. IT8213 PATA driver
25 * it8213_pre_reset - probe begin
38 struct ata_port *ap = link->ap; in it8213_pre_reset()
39 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in it8213_pre_reset()
40 if (!pci_test_config_bits(pdev, &it8213_enable_bits[ap->port_no])) in it8213_pre_reset()
41 return -ENOENT; in it8213_pre_reset()
47 * it8213_cable_detect - check for 40/80 pin
56 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in it8213_cable_detect()
65 * it8213_set_piomode - Initialize host controller PATA PIO timings
[all …]
H A Dpata_piccolo.c2 * pata_piccolo.c - Toshiba Piccolo PATA/SATA controller driver.
4 * This is basically an update to ata_generic.c to add Toshiba Piccolo support
9 * Elements from ide/pci/generic.c
10 * Copyright (C) 2001-2002 Andre Hedrick <andre@linux-ide.org>
11 * Portions (C) Copyright 2002 Red Hat Inc <alan@redhat.com>
36 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in tosh_set_piomode()
40 conf |= pio[adev->pio_mode - XFER_PIO_0]; in tosh_set_piomode()
46 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in tosh_set_dmamode()
50 if (adev->dma_mode >= XFER_UDMA_0) { in tosh_set_dmamode()
51 int udma = adev->dma_mode - XFER_UDMA_0; in tosh_set_dmamode() local
[all …]
H A Dpata_optidma.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * pata_optidma.c - Opti DMA PATA for new ATA layer
4 * (C) 2006 Red Hat Inc
11 * This driver should support Viper-N+, FireStar, FireStar Plus.
16 * but we do handle UDMA.
22 * UDMA requires a 66MHz FSB
48 * optidma_pre_reset - probe begin
57 struct ata_port *ap = link->ap; in optidma_pre_reset()
58 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in optidma_pre_reset()
63 if (ap->port_no && !pci_test_config_bits(pdev, &optidma_enable_bits)) in optidma_pre_reset()
[all …]
H A Dpata_cmd64x.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * pata_cmd64x.c - CMD64x PATA for new ATA layer
4 * (C) 2005 Red Hat Inc
6 * (C) 2009-2010 Bartlomiej Zolnierkiewicz
7 * (C) 2012 MontaVista Software, LLC <source@mvista.com>
10 * linux/drivers/ide/pci/cmd64x.c Version 1.30 Sept 10, 2002
12 * cmd64x.c: Enable interrupts at initialization time on Ultra/PCI machines.
18 * Copyright (C) 1998 Eddie C. Dost (ecd@skynet.be)
19 * Copyright (C) 1998 David S. Miller (davem@redhat.com)
21 * Copyright (C) 1999-2002 Andre Hedrick <andre@linux-ide.org>
[all …]
H A Dpata_efar.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * pata_efar.c - EFAR PIIX clone controller driver
5 * (C) 2005 Red Hat
6 * (C) 2009-2010 Bartlomiej Zolnierkiewicz
8 * Some parts based on ata_piix.c by Jeff Garzik and others.
11 * Intel ICH controllers the EFAR widened the UDMA mode register bits
29 * efar_pre_reset - Enable bits
43 struct ata_port *ap = link->ap; in efar_pre_reset()
44 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in efar_pre_reset()
46 if (!pci_test_config_bits(pdev, &efar_enable_bits[ap->port_no])) in efar_pre_reset()
[all …]
H A Data_piix.c1 // 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
12 * Copyright header from piix.c:
14 * Copyright (C) 1998-1999 Andrzej Krzysztofowicz, Author and Maintainer
15 * Copyright (C) 1998-2000 Andre Hedrick <andre@linux-ide.org>
16 * Copyright (C) 2003 Red Hat Inc
19 * as Documentation/driver-api/libata.rst
[all …]
H A Dpata_hpt366.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * linux/drivers/ide/pci/hpt366.c Version 0.36 April 25, 2003
9 * Copyright (C) 1999-2003 Andre Hedrick <andre@linux-ide.org>
10 * Portions Copyright (C) 2001 Sun Microsystems, Inc.
11 * Portions Copyright (C) 2003 Red Hat Inc
43 * 16:18 udma_cycle_time. Clock cycles for UDMA xfer?
47 * 28 UDMA enable.
112 * hpt36x_find_mode - find the hpt36x timing
122 struct hpt_clock *clocks = ap->host->private_data; in hpt36x_find_mode()
124 while (clocks->xfer_mode) { in hpt36x_find_mode()
[all …]
H A Dpata_radisys.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * pata_radisys.c - Intel PATA/SATA controllers
5 * (C) 2006 Red Hat <alan@lxorguk.ukuu.org.uk>
7 * Some parts based on ata_piix.c by Jeff Garzik and others.
11 * of the original PIIX. It does however support UDMA 33/66 per channel
30 * radisys_set_piomode - Initialize host controller PATA PIO timings
42 unsigned int pio = adev->pio_mode - XFER_PIO_0; in radisys_set_piomode()
43 struct pci_dev *dev = to_pci_dev(ap->host->dev); in radisys_set_piomode()
48 * See Intel Document 298600-004 for the timing programing rules in radisys_set_piomode()
71 idetm_data |= (control << (4 * adev->devno)); in radisys_set_piomode()
[all …]
H A Dpata_mpc52xx.c2 * drivers/ata/pata_mpc52xx.c
4 * libata driver for the Freescale MPC52xx on-chip IDE interface
6 * Copyright (C) 2006 Sylvain Munaut <tnt@246tNt.com>
7 * Copyright (C) 2003 Mipsys - Benjamin Herrenschmidt
9 * UDMA support based on patches by Freescale (Bernard Kuhn, John Rigby),
68 /* ATAPI-4 PIO specs (in ns) */
77 #define CALC_CLKCYC(c,v) ((((v)+(c)-1)/(c))) argument
81 /* ATAPI-4 MDMA specs (in clocks) */
104 /* ATAPI-4 UDMA specs (in clocks) */
188 #define MPC52xx_ATA_HOSTSTAT_UREP 0x40000000UL /* UDMA Read Extended Pause */
[all …]
/openbmc/linux/sound/soc/ti/
H A Dudma-pcm.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com
14 #include "udma-pcm.h"
42 MODULE_DESCRIPTION("UDMA PCM ASoC platform driver");

1234