31 May, 2019
1 commit
-
Based on 1 normalized pattern(s):
license terms gnu general public license gpl version 2
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 161 file(s).
Signed-off-by: Thomas Gleixner
Reviewed-by: Allison Randal
Reviewed-by: Alexios Zavras
Reviewed-by: Steve Winslow
Reviewed-by: Richard Fontana
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190528170027.447718015@linutronix.de
Signed-off-by: Greg Kroah-Hartman
08 Jun, 2016
1 commit
-
Fix warning due to d40_width_to_bits() not being used outside
this file. Fixes:drivers/dma/ste_dma40_ll.c:13:4: warning: symbol 'd40_width_to_bits' was not declared. Should it be static?
Signed-off-by: Ben Dooks
Signed-off-by: Vinod Koul
04 Jun, 2013
4 commits
-
Unsure of the author's intentions, rather than just removing the nop,
we're replacing it with a comment containing the possible intention
of the statement OR:ing with 0.Cc: Dan Williams
Cc: Per Forlin
Cc: Rabin Vincent
Acked-by: Vinod Koul
Signed-off-by: Lee Jones
Signed-off-by: Linus Walleij -
When a DMA client requests and configures a DMA channel, it requests
data_width in Bytes. The DMA40 driver then swiftly converts it over to
the necessary register bit value. Unfortunately, for any subsequent
calculations we have to shift '1' by the bit pattern (1 << data_width)
times to make any sense of it.This patch flips the semantics on its head and only converts the value
to its respective register bit pattern when writing to registers. This
way we can use the true data_width (in Bytes) value.Cc: Dan Williams
Cc: Per Forlin
Cc: Rabin Vincent
Acked-by: Vinod Koul
Signed-off-by: Lee Jones
Signed-off-by: Linus Walleij -
The aim is to make the code that little more readable.
Cc: Dan Williams
Cc: Per Forlin
Cc: Rabin Vincent
Acked-by: Vinod Koul
Signed-off-by: Lee Jones
Signed-off-by: Linus Walleij -
STEDMA40_*_TO_* direction definitions are identical in all but name to
the pre-defined generic DMA_*_TO_* ones. Let's make things easy by not
duplicating such things.Cc: Dan Williams
Cc: Per Forlin
Cc: Rabin Vincent
Acked-by: Vinod Koul
Signed-off-by: Lee Jones
Signed-off-by: Linus Walleij
24 May, 2013
3 commits
-
The majority of configuration done in d40_phy_config() pertains
to physical channels. Move the call over to runtime config which
has different code paths for physical and logical channels already,
and make it an exclusive physical channel config function as the
name implies, and drop the is_log argument.Since we moved the call to runtime_config() it only gets called
for device transfers, so encode the small snippet of configuration
pertaining to memcpy channels into the d40_config_memcpy()
function.Acked-by: Vinod Koul
Acked-by: Arnd Bergmann
Signed-off-by: Lee Jones
[rewrote the commit message]
Signed-off-by: Linus Walleij -
During the initial setup of a logical channel, it is necessary to unmask
the GIM in order to receive generated terminal count and error interrupts.
We're separating out this required code so it will be possible to move
the remaining code in d40_phy_cfg(), which is mostly runtime configuration
into the runtime_config() routine.Cc: Dan Williams
Cc: Per Forlin
Cc: Rabin Vincent
Acked-by: Vinod Koul
Acked-by: Arnd Bergmann
Signed-off-by: Lee Jones
Signed-off-by: Linus Walleij -
Devices which utilise DMA use the same device numbers for transmitting
and receiving. In this patch we encode the source and destination
information into one single attribute. We can subsequently exploit the
direction attribute to see which of the transfer directions are being
described. This also lessens the burden on platform data.Cc: Dan Williams
Cc: Per Forlin
Cc: Rabin Vincent
Acked-by: Vinod Koul
Acked-by: Arnd Bergmann
Signed-off-by: Lee Jones
Signed-off-by: Linus Walleij
14 Jan, 2013
3 commits
-
This patch contains various non functional cosmetic fixes.
Acked-by: Linus Walleij
Acked-by: Vinod Koul
Signed-off-by: Fabio Baltieri -
lcpa and lcla are written often and the cache_sync() overhead in writel
is costly, especially for wlan where every single network packet (in RX
mode) corresponds to a separate DMA transfer.Signed-off-by: Per Forlin
Reviewed-by: Narayanan Gopalakrishnan
Reviewed-by: Rabin Vincent
Acked-by: Linus Walleij
Acked-by: Vinod Koul
Signed-off-by: Fabio Baltieri -
This patch sets the SSCFG/SDCFG bit[7] PRI only for physical channel
requests with high priority. For logical channels, this bit will be
zero.Signed-off-by: Narayanan G
Reviewed-by: Rabin Vincent
Acked-by: Linus Walleij
Acked-by: Vinod Koul
Signed-off-by: Fabio Baltieri
05 Nov, 2012
1 commit
-
This moves the DMA40 platform data header from
to where is belongs.Cc: Dan Williams
Cc: Mark Brown
Cc: Ola Lilja
Cc: Herbert Xu
Cc: Andreas Westin
Acked-by: Vinod Koul
Acked-by: Arnd Bergmann
Signed-off-by: Linus Walleij
31 Jan, 2011
9 commits
-
Support cyclic transfers, which are useful for ALSA drivers.
Acked-by: Per Forlin
Acked-by: Jonas Aaberg
Signed-off-by: Rabin Vincent
Signed-off-by: Linus Walleij
Signed-off-by: Dan Williams -
Acked-by: Per Forlin
Acked-by: Jonas Aaberg
Signed-off-by: Rabin Vincent
Signed-off-by: Linus Walleij
Signed-off-by: Dan Williams -
Acked-by: Per Forlin
Acked-by: Jonas Aaberg
Signed-off-by: Rabin Vincent
Signed-off-by: Linus Walleij
Signed-off-by: Dan Williams -
Acked-by: Per Forlin
Acked-by: Jonas Aaberg
Signed-off-by: Rabin Vincent
Signed-off-by: Linus Walleij
Signed-off-by: Dan Williams -
Acked-by: Per Forlin
Acked-by: Jonas Aaberg
Signed-off-by: Rabin Vincent
Signed-off-by: Linus Walleij
Signed-off-by: Dan Williams -
Acked-by: Per Forlin
Acked-by: Jonas Aaberg
Signed-off-by: Rabin Vincent
Signed-off-by: Linus Walleij
Signed-off-by: Dan Williams -
These register writes are better placed in the main source file rather than
ll.c.Acked-by: Per Forlin
Acked-by: Jonas Aaberg
Signed-off-by: Rabin Vincent
Signed-off-by: Linus Walleij
Signed-off-by: Dan Williams -
To simplify the code.
Acked-by: Per Forlin
Acked-by: Jonas Aaberg
Signed-off-by: Rabin Vincent
Signed-off-by: Linus Walleij
Signed-off-by: Dan Williams -
The address to use for DMA should be taken from sg_dma_address() and not
sg_phys().Acked-by: Per Forlin
Acked-by: Jonas Aaberg
Signed-off-by: Rabin Vincent
Signed-off-by: Linus Walleij
Signed-off-by: Dan Williams
05 Jan, 2011
1 commit
-
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: Per Forlin
Signed-off-by: Dan Williams
20 Oct, 2010
2 commits
-
A bool will suffice. The default is little endian.
Acked-by: Jonas Aaberg
Signed-off-by: Rabin Vincent
Signed-off-by: Linus Walleij
Signed-off-by: Dan Williams -
And keep it low priority by default.
Acked-by: Jonas Aaberg
Signed-off-by: Rabin Vincent
Signed-off-by: Linus Walleij
Signed-off-by: Dan Williams
23 Sep, 2010
3 commits
-
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: Jonas Aaberg
Signed-off-by: Linus Walleij
Signed-off-by: Dan Williams -
This patch includes non functional code clean up changes,
file header updates and a few magic numbers got defined.Signed-off-by: Jonas Aaberg
Signed-off-by: Linus Walleij
Signed-off-by: Dan Williams -
The callback got called even when it was not supposed to. Also
removed some not needed interrupt trigger on/off code.Signed-off-by: Jonas Aaberg
Signed-off-by: Linus Walleij
Signed-off-by: Dan Williams
23 Jun, 2010
3 commits
-
Switch to allocating LCLA in memory instead of having a fixed
address.Signed-off-by: Jonas Aaberg
Signed-off-by: Linus Walleij
Signed-off-by: Dan Williams -
We don't want interrupts when the source is done, only when
the destination is done and everything is complete at the
recieveing end of a transfer.Signed-off-by: Jonas Aaberg
Signed-off-by: Linus Walleij
Signed-off-by: Dan Williams -
This cleans up some extra newlines, removes some code duplication
and moves the code to comply better with checkpatch.Signed-off-by: Jonas Aaberg
Signed-off-by: Linus Walleij
Signed-off-by: Dan Williams
15 Apr, 2010
1 commit
-
This is a straightforward driver for the ST-Ericsson DMA40 DMA
controller found in U8500, implemented akin to the existing
COH 901 318 driver.Signed-off-by: Linus Walleij
Acked-by: Srinidh Kasagar
Cc: STEricsson_nomadik_linux@list.st.com
Cc: Alessandro Rubini
Signed-off-by: Andrew Morton
Signed-off-by: Dan Williams