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-07-05 11:40:47 +05:30
2013-07-09 12:18:06 -07:00
2013-07-03 11:54:50 -07:00
2013-07-09 10:33:30 -07:00
2013-07-10 11:10:27 -07:00
2013-07-26 12:42:40 -07:00
2013-07-31 14:12:24 -07:00
2013-07-05 12:48:35 -04:00
2013-07-23 12:15:15 -07:00
2013-07-14 11:42:26 -07:00
2013-07-26 14:59:20 +02:00
2013-07-03 16:31:35 -07:00
2013-07-03 16:07:42 -07:00
2013-07-09 10:33:19 -07:00
2013-07-03 16:07:43 -07:00
2013-07-08 01:23:15 -07:00
2013-07-03 16:07:39 -07:00
2013-07-03 16:07:29 -07:00
2013-07-09 16:30:35 -07:00
2013-07-23 15:48:35 -07:00
2013-07-05 11:09:28 +02:00
2013-07-08 10:13:40 -04:00
2013-07-14 19:36:59 -04:00
2013-07-04 13:12:44 +02:00
2013-07-24 17:04:16 +10:00
2013-07-20 05:06:27 +04:00
2013-07-10 23:41:18 +01:00
2013-07-16 10:57:37 -07:00
2013-08-13 16:32:59 +05:30
2013-07-06 14:09:38 -07:00
2013-07-23 16:01:28 -07:00
2013-07-06 14:09:38 -07:00
2013-07-03 13:25:24 +02:00
2013-07-03 16:07:41 -07:00
2013-07-27 20:24:36 +02:00
2013-07-14 11:42:26 -07:00
2013-07-09 10:33:21 -07:00
2013-07-04 10:29:23 -07:00
2013-07-03 16:07:32 -07:00
2013-07-18 13:05:23 -07:00
2013-07-04 11:40:58 -07:00
2013-07-09 18:24:39 -07:00
2013-07-03 13:21:40 -07:00
2013-07-03 16:07:43 -07:00
2013-07-16 22:00:14 -07:00
2013-07-13 13:29:32 +04:00
2013-07-09 10:33:30 -07:00
2013-07-03 16:07:26 -07:00
2013-07-10 18:11:34 -07:00
2013-07-09 10:33:23 -07:00
2013-07-03 16:07:32 -07:00
2013-07-09 10:33:22 -07:00
2013-07-18 16:21:59 -04:00
2013-07-12 12:07:46 +02:00
2013-07-03 16:08:05 -07:00
2013-08-01 15:11:17 -07:00
2013-07-09 17:17:07 -04:00
2013-07-03 16:07:32 -07:00
2013-07-03 16:07:31 -07:00
2013-07-14 19:36:59 -04:00
2013-07-03 16:08:03 -07:00
2013-07-04 15:51:45 -07:00
2013-07-15 01:31:37 +02:00
2013-07-03 16:16:20 +02:00
2013-07-09 10:33:26 -07:00
2013-07-09 10:33:29 -07:00
2013-07-12 12:07:46 +02:00
2013-07-03 16:08:05 -07:00
2013-07-03 16:08:05 -07:00
2013-07-09 10:33:30 -07:00
2013-07-30 14:05:06 +02:00
2013-07-09 12:09:43 -07:00
2013-07-09 10:33:28 -07:00
2013-07-08 13:36:41 +04:00
2013-07-05 11:40:59 +05:30
2013-07-22 19:40:01 -07:00
2013-08-01 15:11:17 -07:00
2013-07-07 19:02:59 +03:00
2013-07-07 19:02:59 +03:00
2013-07-03 16:07:22 -07:00
2013-07-04 14:34:17 -07:00
2013-07-03 16:07:32 -07:00
2013-07-16 10:57:37 -07:00
2013-07-29 13:32:29 +02:00
2013-07-16 15:33:02 -07:00
2013-07-09 10:33:29 -07:00
2013-07-09 10:47:53 +09:30
2013-07-09 18:24:39 -07:00
2013-07-09 10:33:21 -07:00
2013-07-31 14:41:04 -07:00
2013-07-03 16:07:41 -07:00
2013-07-09 10:33:22 -07:00
2013-07-12 12:07:46 +02:00
2013-07-10 18:11:34 -07:00