Re: [PATCH 1/3] usb: musb: cppi41: Add new methods for platform driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/13/2017 5:58 PM, Alexandre Bailon wrote:

Currently, the CPPI 4.1 driver is not completely generic and
only work on dsps.
Add two methods which will help to move platform code from CPPI 4.1 to

Methods usually mean (in the kernel) the function pointers in a structure (i.e. more like the virtual methods in C++).

MUSB glue driver:
- cppi41_register_dma_callback() to register a platform dma_callback
  (e.g to acknowledge interrupt on DMA completion).
- cppi41_dma_controller_to_musb() to convert a dma_controller pointer to
  a musb pointer. This required to get a musb pointer from DMA callbacks.

Signed-off-by: Alexandre Bailon <abailon@xxxxxxxxxxxx>
[...]

MBR, Sergei

--
To unsubscribe from this list: send the line "unsubscribe dmaengine" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux