2005-04-16 15:20:36 -07:00
|
|
|
|
2005-11-19 01:40:46 +11:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2005-11-19 01:40:46 +11:00
|
|
|
|
|
|
|
|
|
2007-10-16 14:54:33 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-07-05 05:05:42 +10:00
|
|
|
|
2009-08-04 19:08:26 +00:00
|
|
|
|
2007-10-16 14:54:33 -05:00
|
|
|
|
2009-05-14 12:42:28 +00:00
|
|
|
|
2007-10-16 14:54:33 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-05-14 12:42:28 +00:00
|
|
|
|
|
|
|
|
|
2011-12-06 14:14:46 +01:00
|
|
|
|
|
|
|
|
|
2009-05-14 12:42:28 +00:00
|
|
|
|
2011-12-06 14:14:46 +01:00
|
|
|
|
|
|
|
|
|
2012-06-14 13:03:04 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-05-14 12:42:28 +00:00
|
|
|
|
2007-10-16 14:54:33 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-05-27 13:50:33 +10:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-10-16 14:54:33 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-03-24 20:50:06 +00:00
|
|
|
|
2007-10-16 14:54:33 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-05-27 13:50:33 +10:00
|
|
|
|
2007-10-16 14:54:33 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-07-05 05:05:45 +10:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
powerpc: Merge 32 and 64-bit dma code
We essentially adopt the 64-bit dma code, with some changes to support
32-bit systems, including HIGHMEM. dma functions on 32-bit are now
invoked via accessor functions which call the correct op for a device based
on archdata dma_ops. If there is no archdata dma_ops, this defaults
to dma_direct_ops.
In addition, the dma_map/unmap_page functions are added to dma_ops
because we can't just fall back on map/unmap_single when HIGHMEM is
enabled. In the case of dma_direct_*, we stop using map/unmap_single
and just use the page version - this saves a lot of ugly
ifdeffing. We leave map/unmap_single in the dma_ops definition,
though, because they are needed by the iommu code, which does not
implement map/unmap_page. Ideally, going forward, we will completely
eliminate map/unmap_single and just have map/unmap_page, if it's
workable for 64-bit.
Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2008-09-12 10:34:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-08-04 19:08:25 +00:00
|
|
|
|
powerpc: Merge 32 and 64-bit dma code
We essentially adopt the 64-bit dma code, with some changes to support
32-bit systems, including HIGHMEM. dma functions on 32-bit are now
invoked via accessor functions which call the correct op for a device based
on archdata dma_ops. If there is no archdata dma_ops, this defaults
to dma_direct_ops.
In addition, the dma_map/unmap_page functions are added to dma_ops
because we can't just fall back on map/unmap_single when HIGHMEM is
enabled. In the case of dma_direct_*, we stop using map/unmap_single
and just use the page version - this saves a lot of ugly
ifdeffing. We leave map/unmap_single in the dma_ops definition,
though, because they are needed by the iommu code, which does not
implement map/unmap_page. Ideally, going forward, we will completely
eliminate map/unmap_single and just have map/unmap_page, if it's
workable for 64-bit.
Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2008-09-12 10:34:46 +00:00
|
|
|
|
2009-08-04 19:08:25 +00:00
|
|
|
|
powerpc: Merge 32 and 64-bit dma code
We essentially adopt the 64-bit dma code, with some changes to support
32-bit systems, including HIGHMEM. dma functions on 32-bit are now
invoked via accessor functions which call the correct op for a device based
on archdata dma_ops. If there is no archdata dma_ops, this defaults
to dma_direct_ops.
In addition, the dma_map/unmap_page functions are added to dma_ops
because we can't just fall back on map/unmap_single when HIGHMEM is
enabled. In the case of dma_direct_*, we stop using map/unmap_single
and just use the page version - this saves a lot of ugly
ifdeffing. We leave map/unmap_single in the dma_ops definition,
though, because they are needed by the iommu code, which does not
implement map/unmap_page. Ideally, going forward, we will completely
eliminate map/unmap_single and just have map/unmap_page, if it's
workable for 64-bit.
Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2008-09-12 10:34:46 +00:00
|
|
|
|
2009-08-04 19:08:25 +00:00
|
|
|
|
2007-10-16 14:54:33 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-03-19 03:40:52 +00:00
|
|
|
|
2007-10-16 14:54:33 -05:00
|
|
|
|
powerpc: Merge 32 and 64-bit dma code
We essentially adopt the 64-bit dma code, with some changes to support
32-bit systems, including HIGHMEM. dma functions on 32-bit are now
invoked via accessor functions which call the correct op for a device based
on archdata dma_ops. If there is no archdata dma_ops, this defaults
to dma_direct_ops.
In addition, the dma_map/unmap_page functions are added to dma_ops
because we can't just fall back on map/unmap_single when HIGHMEM is
enabled. In the case of dma_direct_*, we stop using map/unmap_single
and just use the page version - this saves a lot of ugly
ifdeffing. We leave map/unmap_single in the dma_ops definition,
though, because they are needed by the iommu code, which does not
implement map/unmap_page. Ideally, going forward, we will completely
eliminate map/unmap_single and just have map/unmap_page, if it's
workable for 64-bit.
Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2008-09-12 10:34:46 +00:00
|
|
|
|
2007-10-16 14:54:33 -05:00
|
|
|
|
2008-01-30 01:13:58 +11:00
|
|
|
|
|
|
|
|
|
2009-08-04 19:08:25 +00:00
|
|
|
|
2008-01-30 01:13:58 +11:00
|
|
|
|
|
|
|
|
|
2007-10-16 14:54:33 -05:00
|
|
|
|
|
|
|
|
|
2009-09-21 08:26:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-09-21 08:26:35 +00:00
|
|
|
|
2009-09-21 08:26:34 +00:00
|
|
|
|
|
|
|
|
|
2009-09-21 08:26:35 +00:00
|
|
|
|
2009-09-21 08:26:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-09-21 08:26:35 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-08-04 19:08:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-10-16 14:54:33 -05:00
|
|
|
|
|
|
|
|
|
2009-08-04 19:08:25 +00:00
|
|
|
|
2007-10-16 14:54:33 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-30 19:23:52 +00:00
|
|
|
|
2014-02-11 11:32:38 +11:00
|
|
|
|
2014-09-30 12:39:10 +10:00
|
|
|
|
2007-10-16 14:54:33 -05:00
|
|
|
|
2011-12-06 14:14:46 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-10-16 14:54:33 -05:00
|
|
|
|
2009-08-04 19:08:25 +00:00
|
|
|
|
2009-08-04 19:08:28 +00:00
|
|
|
|
2007-10-16 14:54:33 -05:00
|
|
|
|
|
|
|
|
|
2009-08-04 19:08:28 +00:00
|
|
|
|
2011-12-06 14:14:46 +01:00
|
|
|
|
2009-08-04 19:08:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-10-16 14:54:33 -05:00
|
|
|
|
|
|
|
|
|
2011-12-06 14:14:46 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-10-16 14:54:33 -05:00
|
|
|
|
2009-08-04 19:08:25 +00:00
|
|
|
|
2007-10-16 14:54:33 -05:00
|
|
|
|
|
|
|
|
|
2009-08-04 19:08:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-12-06 14:14:46 +01:00
|
|
|
|
2007-10-16 14:54:33 -05:00
|
|
|
|
|
|
|
|
|
2008-07-25 19:44:49 -07:00
|
|
|
|
2005-11-19 01:40:46 +11:00
|
|
|
|
2009-08-04 19:08:27 +00:00
|
|
|
|
|
|
|
|
|
2012-11-23 14:35:36 -07:00
|
|
|
|
2009-08-04 19:08:27 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-11-19 01:40:46 +11:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-07-10 10:04:57 +09:00
|
|
|
|
|
|
|
|
|
2009-08-04 19:08:22 +00:00
|
|
|
|
|
|
|
|
|
2009-07-10 10:04:57 +09:00
|
|
|
|
2009-08-04 19:08:22 +00:00
|
|
|
|
2009-07-10 10:04:57 +09:00
|
|
|
|
2009-08-04 19:08:22 +00:00
|
|
|
|
2009-07-10 10:04:57 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-12-15 16:47:43 -08:00
|
|
|
|
2009-07-10 10:04:57 +09:00
|
|
|
|
|
|
|
|
|
2009-07-10 10:05:01 +09:00
|
|
|
|
|
|
|
|
|
2009-09-21 08:26:34 +00:00
|
|
|
|
2009-07-10 10:05:01 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-09-21 08:26:34 +00:00
|
|
|
|
2009-07-10 10:05:01 +09:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-03-24 20:50:06 +00:00
|
|
|
|
|
|
|
|
|
2006-12-06 20:38:56 -08:00
|
|
|
|
2005-11-19 01:40:46 +11:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2005-11-19 01:40:46 +11:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-12-16 22:43:46 +01:00
|
|
|
|
2005-11-19 01:40:46 +11:00
|
|
|
|