• Home
  • Raw
  • Download

Lines Matching +full:tx0 +full:- +full:3

1 // SPDX-License-Identifier: GPL-2.0-only
3 * OMAP1/OMAP7xx - specific DMA driver
5 * Copyright (C) 2003 - 2008 Nokia Corporation
10 * OMAP2/3 support Copyright (C) 2004-2007 Texas Instruments, Inc.
11 * Some functions based on earlier dma-omap.c Copyright (C) 2001 RidgeRun, Inc.
13 * Copyright (C) 2010 Texas Instruments Incorporated - https://www.ti.com/
15 * - G, Manjunath Kondaiah <manjugk@ti.com>
24 #include <linux/dma-mapping.h>
26 #include <linux/omap-dma.h>
82 .end = OMAP1_DMA_BASE + SZ_2K - 1,
95 [3] = {
101 .name = "3",
237 w |= 1 << 3; in omap1_show_dma_caps()
257 .name = "omap-dma-engine",
258 .id = -1,
266 { "omap-mcbsp.1", "tx", SDMA_FILTER_PARAM(8) },
267 { "omap-mcbsp.1", "rx", SDMA_FILTER_PARAM(9) },
268 { "omap-mcbsp.2", "tx", SDMA_FILTER_PARAM(10) },
269 { "omap-mcbsp.2", "rx", SDMA_FILTER_PARAM(11) },
270 { "mmci-omap.0", "tx", SDMA_FILTER_PARAM(21) },
271 { "mmci-omap.0", "rx", SDMA_FILTER_PARAM(22) },
275 { "omap_udc", "tx0", SDMA_FILTER_PARAM(29) },
282 { "omap-mcbsp.1", "tx", SDMA_FILTER_PARAM(8) },
283 { "omap-mcbsp.1", "rx", SDMA_FILTER_PARAM(9) },
284 { "omap-mcbsp.3", "tx", SDMA_FILTER_PARAM(10) },
285 { "omap-mcbsp.3", "rx", SDMA_FILTER_PARAM(11) },
286 { "omap-mcbsp.2", "tx", SDMA_FILTER_PARAM(16) },
287 { "omap-mcbsp.2", "rx", SDMA_FILTER_PARAM(17) },
288 { "mmci-omap.0", "tx", SDMA_FILTER_PARAM(21) },
289 { "mmci-omap.0", "rx", SDMA_FILTER_PARAM(22) },
293 { "omap_udc", "tx0", SDMA_FILTER_PARAM(29) },
296 { "mmci-omap.1", "tx", SDMA_FILTER_PARAM(54) },
297 { "mmci-omap.1", "rx", SDMA_FILTER_PARAM(55) },
321 return -ENOMEM; in omap1_system_dma_init()
327 ret = -ENODEV; in omap1_system_dma_init()
333 dev_err(&pdev->dev, "%s: Unable to add resources for %s%d\n", in omap1_system_dma_init()
334 __func__, pdev->name, pdev->id); in omap1_system_dma_init()
340 ret = -ENOMEM; in omap1_system_dma_init()
346 d->dev_caps = ENABLE_1510_MODE; in omap1_system_dma_init()
347 enable_1510_mode = d->dev_caps & ENABLE_1510_MODE; in omap1_system_dma_init()
350 d->dev_caps = ENABLE_16XX_MODE; in omap1_system_dma_init()
352 d->dev_caps |= SRC_PORT; in omap1_system_dma_init()
353 d->dev_caps |= DST_PORT; in omap1_system_dma_init()
354 d->dev_caps |= SRC_INDEX; in omap1_system_dma_init()
355 d->dev_caps |= DST_INDEX; in omap1_system_dma_init()
356 d->dev_caps |= IS_BURST_ONLY4; in omap1_system_dma_init()
357 d->dev_caps |= CLEAR_CSR_ON_READ; in omap1_system_dma_init()
358 d->dev_caps |= IS_WORD_16; in omap1_system_dma_init()
362 d->lch_count = 9; in omap1_system_dma_init()
364 if (d->dev_caps & ENABLE_1510_MODE) in omap1_system_dma_init()
365 d->lch_count = 9; in omap1_system_dma_init()
367 d->lch_count = 16; in omap1_system_dma_init()
384 dev_err(&pdev->dev, "%s: Unable to add resources for %s%d\n", in omap1_system_dma_init()
385 __func__, pdev->name, pdev->id); in omap1_system_dma_init()
391 dev_err(&pdev->dev, "%s: Unable to add resources for %s%d\n", in omap1_system_dma_init()
392 __func__, pdev->name, pdev->id); in omap1_system_dma_init()