[PATCH V02 3/5] dmaengine: core: Introduce new, universal API to request a channel

Peter Ujfalusi peter.ujfalusi at ti.com
Mon Dec 14 12:39:38 PST 2015


On 12/14/2015 01:22 PM, Peter Ujfalusi wrote:

>  /**
> + * struct dma_slave_map - associates slave device and it's slave channel with
> + * parameter to be used by a filter function
> + * @devname: name of the device
> + * @slave: slave channel name
> + * @param: opaque parameter to pass to struct dma_filter.fn
> + */
> +struct dma_slave_map {
> +        const char *devname;
> +        const char *slave;
> +        void *param;

??? Tabs got replaced by spaces ???

> +};
> +
> +/**
> + * struct dma_filter - information for slave device/channel to filter_fn/param
> + * mapping
> + * @fn: filter function callback
> + * @mapcnt: number of slave device/channel in the map
> + * @map: array of channel to filter mapping data
> + */
> +struct dma_filter {
> +        dma_filter_fn fn;
> +        int mapcnt;
> +        const struct dma_slave_map *map;

Here also.

-- 
Péter



More information about the linux-arm-kernel mailing list