/* * TI EDMA definitions * * Copyright (C) 2006-2013 Texas Instruments. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. */ /* * This EDMA3 programming framework exposes two basic kinds of resource: * * Channel Triggers transfers, usually from a hardware event but * also manually or by "chaining" from DMA completions. * Each channel is coupled to a Parameter RAM (PaRAM) slot. * * Slot Each PaRAM slot holds a DMA transfer descriptor (PaRAM * "set"), source and destination addresses, a link to a * next PaRAM slot (if any), options for the transfer, and * instructions for updating those addresses. There are * more than twice as many slots as event channels. * * Each PaRAM set describes a sequence of transfers, either for one large * buffer or for several discontiguous smaller buffers. An EDMA transfer * is driven only from a channel, which performs the transfers specified * in its PaRAM slot until there are no more transfers. When that last * transfer completes, the "link" field may be used to reload the channel's * PaRAM slot with a new transfer descriptor. * * The EDMA Channel Controller (CC) maps requests from channels into physical * Transfer Controller (TC) requests when the channel triggers (by hardware * or software events, or by chaining). The two physical DMA channels provided * by the TCs are thus shared by many logical channels. * * DaVinci hardware also has a "QDMA" mechanism which is not currently * supported through this interface. (DSP firmware uses it though.) */ #ifndef EDMA_H_ #define EDMA_H_ enum dma_event_q { EVENTQ_0 = 0, EVENTQ_1 = 1, EVENTQ_2 = 2, EVENTQ_3 = 3, EVENTQ_DEFAULT = -1 }; #define EDMA_CTLR_CHAN(ctlr, chan) (((ctlr) << 16) | (chan)) #define EDMA_CTLR(i) ((i) >> 16) #define EDMA_CHAN_SLOT(i) ((i) & 0xffff) #define EDMA_FILTER_PARAM(ctlr, chan) ((int[]) { EDMA_CTLR_CHAN(ctlr, chan) }) struct edma_rsv_info { const s16 (*rsv_chans)[2]; const s16 (*rsv_slots)[2]; }; struct dma_slave_map; /* platform_data for EDMA driver */ struct edma_soc_info { /* * Default queue is expected to be a low-priority queue. * This way, long transfers on the default queue started * by the codec engine will not cause audio defects. */ enum dma_event_q default_queue; /* Resource reservation for other cores */ struct edma_rsv_info *rsv; /* List of channels allocated for memcpy, terminated with -1 */ s32 *memcpy_channels; s8 (*queue_priority_mapping)[2]; const s16 (*xbar_chans)[2]; const struct dma_slave_map *slave_map; int slavecnt; }; #endif ption> Hosts the 0x221E linux distro kernel.Ubuntu
summaryrefslogtreecommitdiff
path: root/drivers/pci/host/pci-exynos.c
AgeCommit message (Expand)Author
2015-11-02PCI: designware: Simplify dw_pcie_cfg_read/write() interfacesGabriele Paoloni
2015-06-10PCI: designware: Wait for link to come up with consistent styleBjorn Helgaas
2015-04-08PCI: exynos: Fix INTx enablement statement termination errorJaehoon Chung
2014-12-14Merge tag 'driver-core-3.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds
2014-11-13PCI: exynos: Remove unnecessary return statementJingoo Han
2014-10-23PCI: exynos: Add exynos prefix to add_pcie_port()/pcie_init()Jingoo Han
2014-10-20pci: host: drop owner assignment from platform_driversWolfram Sang
2014-06-03Merge branches 'pci/host-designware', 'pci/host-imx6', 'pci/host-mvebu' and '...Bjorn Helgaas
2014-05-30Merge branches 'pci/host-exynos', 'pci/host-imx6', 'pci/resource' and 'pci/mi...Bjorn Helgaas
2014-05-30PCI: designware: Make MSI ISR shared IRQ awareLucas Stach
2014-05-29PCI: exynos: Fix add_pcie_port() section mismatch warningSachin Kamat
2014-05-27PCI: exynos: Remove unnecessary OOM messagesJingoo Han
2014-04-16PCI: designware: Remove unnecessary use of 'conf_lock' spinlockAndrew Murray
2013-12-20PCI: designware: Add dw_pcie prefix before cfg_read/writePratyush Anand
2013-10-29PCI: exynos: Remove redundant of_match_ptrSachin Kamat
2013-10-04PCI: exynos: Add missing clk_disable_unprepare() on error pathWei Yongjun
2013-09-25PCI: exynos: Turn off power of phy block when link failedJingoo Han
2013-09-25PCI: exynos: Add support for MSIJingoo Han
2013-08-29PCI: exynos: Add I/O access wrappersSeungwon Jeon
2013-08-12PCI: exynos: Split into Synopsys part and Exynos partJingoo Han