- 05 9月, 2011 1 次提交
-
-
由 Per Forlin 提交于
Signed-off-by: NPer Forlin <per.forlin@linaro.org> Acked-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NVinod Koul <vinod.koul@intel.com>
-
- 14 7月, 2011 5 次提交
-
-
由 Rabin Vincent 提交于
Currently the runtime config implementation forces the memory side parameters to be the same as the peripheral side. Allow these to be different, and check for misconfiguration. Signed-off-by: NRabin Vincent <rabin.vincent@stericsson.com> Reviewed-by: NUlf HANSSON <ulf.hansson@stericsson.com> Tested-by: NStefan Nilsson <stefan.xk.nilsson@stericsson.com> Reviewed-by: NPer Forlin <per.forlin@stericsson.com> Reviewed-by: NSrinidhi Kasagar <srinidhi.kasagar@stericsson.com> Cc: Robert Marklund <robert.marklund@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NVinod Koul <vinod.koul@intel.com>
-
由 Linus Walleij 提交于
The DMA40 is not a PrimeCell from ARM, but it still use the same ID registers. So let's utilize the existing macros in the PrimeCell header to identify manufacturer and revision of the IP block instead of reinventing the wheel. Cc: Robert Marklund <robert.marklund@stericsson.com> Cc: Per Forlin <per.forlin@linaro.org> Cc: Rabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NVinod Koul <vinod.koul@intel.com>
-
由 Robert Marklund 提交于
This function may be initiated from IRQ context, so the allocation must allocate NOWAIT memory. Signed-off-by: NRobert Marklund <robert.marklund@stericsson.com> Reviewed-by: NRabin Vincent <rabin.vincent@stericsson.com> Reviewed-by: NPhilippe Langlais <philippe.langlais@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NVinod Koul <vinod.koul@intel.com>
-
由 om prakash 提交于
Missing documentation creates kernel-doc warnings, so add the documenation. Signed-off-by: NOm Prakash <omprakash.pal@stericsson.com> Reviewed-by: NRabin Vincent <rabin.vincent@stericsson.com> Reviewed-by: NJonas Aberg <jonas.aberg@stericsson.com> Reviewed-by: NSrinidhi Kasagar <srinidhi.kasagar@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NVinod Koul <vinod.koul@intel.com>
-
由 Per Forlin 提交于
tx_submit will add descriptors to the pending queue. Issue pending will then move the pending descriptors to the transfer queue. Signed-off-by: NPer Forlin <per.forlin@linaro.org> Signed-off-by: NVinod Koul <vinod.koul@intel.com>
-
- 22 6月, 2011 1 次提交
-
-
由 Alexey Dobriyan 提交于
Remove linux/mm.h inclusion from netdevice.h -- it's unused (I've checked manually). To prevent mm.h inclusion via other channels also extract "enum dma_data_direction" definition into separate header. This tiny piece is what gluing netdevice.h with mm.h via "netdevice.h => dmaengine.h => dma-mapping.h => scatterlist.h => mm.h". Removal of mm.h from scatterlist.h was tried and was found not feasible on most archs, so the link was cutoff earlier. Hope people are OK with tiny include file. Note, that mm_types.h is still dragged in, but it is a separate story. Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
-
- 19 5月, 2011 1 次提交
-
-
由 Linus Walleij 提交于
Move the dmaengine subsystem up early in the drivers Makefile so DMA is made available early to all drivers, just like e.g. regulators. Now even regulators can use DMA on the same initlevel. As a result we can bump the ste_dma40 and coh901318 dmaengine drivers down one initlevel to subsys_init(). Signed-off-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NVinod Koul <vinod.koul@intel.com>
-
- 09 5月, 2011 1 次提交
-
-
由 Philippe Langlais 提交于
The compiler nowadays moans about possibly non-assigned variable. Fix this by default-assigning 0. Signed-off-by: NPhilippe Langlais <philippe.langlais@linaro.org> Signed-off-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NVinod Koul <vinod.koul@intel.com>
-
- 31 3月, 2011 1 次提交
-
-
由 Lucas De Marchi 提交于
Fixes generated by 'codespell' and manually reviewed. Signed-off-by: NLucas De Marchi <lucas.demarchi@profusion.mobi>
-
- 31 1月, 2011 28 次提交
-
-
由 Rabin Vincent 提交于
Support cyclic transfers, which are useful for ALSA drivers. Acked-by: NPer Forlin <per.forlin@stericsson.com> Acked-by: NJonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: NRabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NDan Williams <dan.j.williams@intel.com>
-
由 Rabin Vincent 提交于
The current implementation of DMA_TERMINATE_ALL leaves ongoing transfers running. Fix it. Acked-by: NPer Forlin <per.forlin@stericsson.com> Acked-by: NJonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: NRabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NDan Williams <dan.j.williams@intel.com>
-
由 Rabin Vincent 提交于
The DMA_SG cap is enabled on the wrong channel, and the pointers are repeatedly set incorrectly. Fix it and combine the ops settings to a common function. Acked-by: NPer Forlin <per.forlin@stericsson.com> Acked-by: NJonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: NRabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NDan Williams <dan.j.williams@intel.com>
-
由 Rabin Vincent 提交于
Acked-by: NPer Forlin <per.forlin@stericsson.com> Acked-by: NJonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: NRabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NDan Williams <dan.j.williams@intel.com>
-
由 Rabin Vincent 提交于
Acked-by: NPer Forlin <per.forlin@stericsson.com> Acked-by: NJonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: NRabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NDan Williams <dan.j.williams@intel.com>
-
由 Rabin Vincent 提交于
Acked-by: NPer Forlin <per.forlin@stericsson.com> Acked-by: NJonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: NRabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NDan Williams <dan.j.williams@intel.com>
-
由 Rabin Vincent 提交于
Acked-by: NPer Forlin <per.forlin@stericsson.com> Acked-by: NJonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: NRabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NDan Williams <dan.j.williams@intel.com>
-
由 Rabin Vincent 提交于
Acked-by: NPer Forlin <per.forlin@stericsson.com> Acked-by: NJonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: NRabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NDan Williams <dan.j.williams@intel.com>
-
由 Rabin Vincent 提交于
These register writes are better placed in the main source file rather than ll.c. Acked-by: NPer Forlin <per.forlin@stericsson.com> Acked-by: NJonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: NRabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NDan Williams <dan.j.williams@intel.com>
-
由 Rabin Vincent 提交于
Acked-by: NPer Forlin <per.forlin@stericsson.com> Acked-by: NJonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: NRabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NDan Williams <dan.j.williams@intel.com>
-
由 Rabin Vincent 提交于
The dmaengine framework has the API for this now. Acked-by: NPer Forlin <per.forlin@stericsson.com> Acked-by: NJonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: NRabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NDan Williams <dan.j.williams@intel.com>
-
由 Rabin Vincent 提交于
Acked-by: NPer Forlin <per.forlin@stericsson.com> Acked-by: NJonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: NRabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NDan Williams <dan.j.williams@intel.com>
-
由 Rabin Vincent 提交于
Acked-by: NPer Forlin <per.forlin@stericsson.com> Acked-by: NJonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: NRabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NDan Williams <dan.j.williams@intel.com>
-
由 Rabin Vincent 提交于
Acked-by: NPer Forlin <per.forlin@stericsson.com> Acked-by: NJonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: NRabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NDan Williams <dan.j.williams@intel.com>
-
由 Rabin Vincent 提交于
The desc init code can be shared between the mem and slave prep routines. Acked-by: NPer Forlin <per.forlin@stericsson.com> Acked-by: NJonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: NRabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NDan Williams <dan.j.williams@intel.com>
-
由 Rabin Vincent 提交于
To simplify the code. Acked-by: NPer Forlin <per.forlin@stericsson.com> Acked-by: NJonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: NRabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NDan Williams <dan.j.williams@intel.com>
-
由 Rabin Vincent 提交于
Acked-by: NPer Forlin <per.forlin@stericsson.com> Acked-by: NJonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: NRabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NDan Williams <dan.j.williams@intel.com>
-
由 Rabin Vincent 提交于
Map and unmap the LLIs and use dma_sync_single_for_device() appropriately instead of mapping and never unmapping them. Acked-by: NPer Forlin <per.forlin@stericsson.com> Acked-by: NJonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: NRabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NDan Williams <dan.j.williams@intel.com>
-
由 Rabin Vincent 提交于
Map the buffer once and use dma_sync*() appropriately instead of mapping the buffer over and over without unmapping it. Acked-by: NPer Forlin <per.forlin@stericsson.com> Acked-by: NJonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: NRabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NDan Williams <dan.j.williams@intel.com>
-
由 Rabin Vincent 提交于
ALIGN(x * y, y) == x * y ALIGN(aligned + x * y, y) == aligned + x * y Acked-by: NPer Forlin <per.forlin@stericsson.com> Acked-by: NJonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: NRabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NDan Williams <dan.j.williams@intel.com>
-
由 Rabin Vincent 提交于
DB8500v2's DMA40 (revision 3) allows setting event lines as high priority and real time. Acked-by: NPer Forlin <per.forlin@stericsson.com> Acked-by: NJonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: NRabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NDan Williams <dan.j.williams@intel.com>
-
由 Rabin Vincent 提交于
And add DB8500v2 information. Acked-by: NPer Forlin <per.forlin@stericsson.com> Acked-by: NJonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: NRabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NDan Williams <dan.j.williams@intel.com>
-
由 Rabin Vincent 提交于
Almost every use of dev_err in this driver prints the function name. Abstract out wrappers to help with this and reduce code duplication. Acked-by: NPer Forlin <per.forlin@stericsson.com> Acked-by: NJonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: NRabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NDan Williams <dan.j.williams@intel.com>
-
由 Rabin Vincent 提交于
The somewhat confusing check d40c->log_num == D40_PHY_CHAN and its variants are used in several places to check if a channel is logical or physical. Use appropriately named helpers to do this to make the code more readable. Acked-by: NPer Forlin <per.forlin@stericsson.com> Acked-by: NJonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: NRabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NDan Williams <dan.j.williams@intel.com>
-
由 Rabin Vincent 提交于
The register offset computation for accessing channel registers is copy/pasted in several places. Create a helper function to do it. Acked-by: NPer Forlin <per.forlin@stericsson.com> Acked-by: NJonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: NRabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NDan Williams <dan.j.williams@intel.com>
-
由 Rabin Vincent 提交于
This link in hardware with previous jobs code is: - unused, no clients using or requiring this feature - incomplete, being implemented only for physical channels - broken, only working to perform one link Remove it. This also allows us to get rid of the channel pause in the submit_tx() routine. Acked-by: NPer Forlin <per.forlin@stericsson.com> Acked-by: NJonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: NRabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NDan Williams <dan.j.williams@intel.com>
-
由 Rabin Vincent 提交于
The controller sometimes fails to register the enable of the event line when both src and dst event lines are used on the same logical channel. Implement the recommended software workaround, which is to retry the write until it works. Acked-by: NPer Forlin <per.forlin@stericsson.com> Acked-by: NJonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: NRabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NDan Williams <dan.j.williams@intel.com>
-
由 Rabin Vincent 提交于
Acked-by: NPer Forlin <per.forlin@stericsson.com> Acked-by: NJonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: NRabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NDan Williams <dan.j.williams@intel.com>
-
- 05 1月, 2011 1 次提交
-
-
由 Per Forlin 提交于
The maximum transfer size of the stedma40 is (64k-1) x data-width. If the transfer size of one element exceeds this limit the job is split up and sent as linked transfer. Signed-off-by: NPer Forlin <per.forlin@linaro.org> Signed-off-by: NDan Williams <dan.j.williams@intel.com>
-
- 20 10月, 2010 1 次提交
-
-
由 Rabin Vincent 提交于
A bool will suffice. The default is little endian. Acked-by: NJonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: NRabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NDan Williams <dan.j.williams@intel.com>
-