- 31 1月, 2011 22 次提交
-
-
由 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 4 次提交
-
-
由 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>
-
由 Rabin Vincent 提交于
Defaults are "basic mode" for physical channels, and "logical source logical destination" for logical channels. 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 keep it logical by default. 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 提交于
Since we want to reduce the amount of required channel configuration and remove channel_type, don't depend on it to indicate whether the configuration is valid. 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>
-
- 08 10月, 2010 7 次提交
-
-
由 Per Forlin 提交于
Remove obsolete pre_transfer hook in stedma40_chan_cfg. The intent of this hook is merely to handle burst size compensation for ux500 variant MMCI. Remove obsolete stedma40_set_psize since it is only called from pre_transfer. DMAEngine device_control replaces the functionality of stedma40_set_psize. Signed-off-by: NPer Forlin <per.forlin@stericsson.com> Signed-off-by: NDan Williams <dan.j.williams@intel.com>
-
由 Per Forlin 提交于
Set burst for physical or logical channels respectively. Convert the values in dma_cfg to dma reg bits for physical or logical channels. Signed-off-by: NPer Forlin <per.forlin@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NDan Williams <dan.j.williams@intel.com>
-
由 Rabin Vincent 提交于
Fix some leaks of allocated descriptors in error paths. 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 提交于
Fix desc_get to alloc a descriptor from the cache if the ones in the list are waiting for the ack. Also, memzero the descriptor when allocated from the list to ensure all fields are cleared. 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 提交于
clk_get returns an ERR_PTR. 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 value in the array, not the index, specifies the channel to be disabled. 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>
-
由 Ira Snyder 提交于
Now that the DMAEngine API has support for scatterlist to scatterlist copy, implement support for the STE DMA40 DMA controller. Cc: Linus Walleij <linus.ml.walleij@gmail.com> Acked-by: NPer Fridén <per.friden@stericsson.com> Signed-off-by: NIra W. Snyder <iws@ovro.caltech.edu> Signed-off-by: NDan Williams <dan.j.williams@intel.com>
-
- 23 9月, 2010 6 次提交
-
-
由 Jonas Aaberg 提交于
There is no point in pausing what isn't running. Signed-off-by: NJonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NDan Williams <dan.j.williams@intel.com>
-
由 Jonas Aaberg 提交于
LLI allocation is now done on job level instead of channel level. Previously the maximum length of a linked job in hw on a logical channel was 8, since the LLIs where evenly divided. Now only executing jobs have allocated LLIs which increase the length to a maximum of 64 links in HW. Signed-off-by: NJonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NDan Williams <dan.j.williams@intel.com>
-
由 Jonas Aaberg 提交于
Signed-off-by: NJonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NDan Williams <dan.j.williams@intel.com>
-
由 Jonas Aaberg 提交于
The handling of pause detection was slightly incorrect. Signed-off-by: NJonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NDan Williams <dan.j.williams@intel.com>
-
由 Jonas Aaberg 提交于
This patch includes non functional code clean up changes, file header updates and a few magic numbers got defined. Signed-off-by: NJonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NDan Williams <dan.j.williams@intel.com>
-
由 Jonas Aaberg 提交于
If a new job is added on a physical channel that already has a job, the new job is linked in hw to the old job instead of queueing up the jobs. Signed-off-by: NJonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: NLinus Walleij <linus.walleij@stericsson.com> Signed-off-by: NDan Williams <dan.j.williams@intel.com>
-