Re: [PATCH V02 3/5] dmaengine: core: Introduce new, universal API to request a channel
From: Peter Ujfalusi
Date: Mon Dec 14 2015 - 15:40:22 EST
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/