Zhangfei Gao
7bb587f4ee
dmaengine: add interface of dma_get_slave_channel
Suggested by Arnd, add dma_get_slave_channel interface
Dma host driver could get specific channel specificied by request line, rather than filter.
host example:
static struct dma_chan *xx_of_dma_simple_xlate(struct of_phandle_args *dma_spec,
struct of_dma *ofdma)
{
struct xx_dma_dev *d = ofdma->of_dma_data;
unsigned int request = dma_spec->args[0];
if (request > d->dma_requests)
return NULL;
return dma_get_slave_channel(&(d->chans[request].vc.chan));
}
probe:
of_dma_controller_register((&op->dev)->of_node, xx_of_dma_simple_xlate, d);
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
2013-08-13 16:32:59 +05:30
..
2013-02-23 17:09:55 -08:00
2013-07-05 11:40:46 +05:30
2013-07-03 16:07:42 -07:00
2013-04-15 09:51:18 +05:30
2013-07-07 11:11:43 -07:00
2013-07-05 11:41:00 +05:30
2013-05-14 10:23:57 +05:30
2013-07-05 11:40:47 +05:30
2013-07-05 11:40:31 +05:30
2013-07-05 11:40:57 +05:30
2013-02-26 09:24:48 -08:00
2013-06-17 13:54:27 +02:00
2013-01-07 17:36:37 +01:00
2013-07-05 11:40:52 +05:30
2013-08-13 16:32:59 +05:30
2012-03-13 11:37:22 +05:30
2013-06-08 02:13:44 +05:30
2013-06-18 10:52:03 +05:30
2013-01-12 05:07:22 -08:00
2013-07-05 11:40:32 +05:30
2012-03-13 11:36:06 +05:30
2013-07-05 11:40:27 +05:30
2013-07-05 11:40:40 +05:30
2012-09-01 08:57:12 -07:00
2013-06-03 21:49:52 +02:00
2013-07-09 10:33:19 -07:00
2010-03-30 22:02:32 +09:00
2013-07-07 11:11:43 -07:00
2013-07-05 11:40:50 +05:30
2013-02-26 09:24:48 -08:00
2013-07-05 11:40:48 +05:30
2013-01-03 15:57:15 -08:00
2013-07-03 16:07:42 -07:00
2013-07-03 16:07:42 -07:00
2013-07-05 11:40:33 +05:30
2013-06-12 07:49:19 +05:30
2013-04-15 09:51:19 +05:30
2013-07-22 14:54:23 +05:30
2013-07-28 19:08:33 +05:30
2013-01-03 15:57:15 -08:00
2013-07-05 11:40:39 +05:30
2013-06-04 11:12:10 +02:00
2013-05-23 21:13:19 +02:00
2013-06-25 11:20:15 -07:00
2013-07-05 11:40:38 +05:30
2013-07-05 11:40:35 +05:30
2011-07-14 04:02:08 +05:30
2013-04-15 09:51:16 +05:30
2012-03-13 11:36:06 +05:30
2012-07-01 14:15:23 +01:00
2012-07-01 14:15:23 +01:00