aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/tidspbridge/core/_tiomap.h
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2010-11-10 13:12:11 -0500
committerOmar Ramirez Luna <omar.ramirez@ti.com>2010-11-10 19:34:44 -0500
commitd0b345f3ee03a7e8823dd3f8dfbb48aaeeac7c89 (patch)
tree1dad2d5e0c7e070fa11c7b7674596eab7210686e /drivers/staging/tidspbridge/core/_tiomap.h
parentac8a139a14db73f96f7b79765c3a9e34d16bdb95 (diff)
Revert "staging: tidspbridge - rename bridge_brd_mem_map/unmap to a proper name"
This reverts commit 4dd1944ab7242d76534c97d5fef0ce541a2f1040. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Omar Ramirez Luna <omar.ramirez@ti.com>
Diffstat (limited to 'drivers/staging/tidspbridge/core/_tiomap.h')
-rw-r--r--drivers/staging/tidspbridge/core/_tiomap.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/drivers/staging/tidspbridge/core/_tiomap.h b/drivers/staging/tidspbridge/core/_tiomap.h
index 877749258ac..c1bf95d756b 100644
--- a/drivers/staging/tidspbridge/core/_tiomap.h
+++ b/drivers/staging/tidspbridge/core/_tiomap.h
@@ -383,28 +383,4 @@ extern s32 dsp_debug;
383 */ 383 */
384int sm_interrupt_dsp(struct bridge_dev_context *dev_context, u16 mb_val); 384int sm_interrupt_dsp(struct bridge_dev_context *dev_context, u16 mb_val);
385 385
386/**
387 * user_to_dsp_map() - maps user to dsp virtual address
388 * @mmu: Pointer to iommu handle.
389 * @uva: Virtual user space address.
390 * @da DSP address
391 * @size Buffer size to map.
392 * @usr_pgs struct page array pointer where the user pages will be stored
393 *
394 * This function maps a user space buffer into DSP virtual address.
395 *
396 */
397u32 user_to_dsp_map(struct iommu *mmu, u32 uva, u32 da, u32 size,
398 struct page **usr_pgs);
399
400/**
401 * user_to_dsp_unmap() - unmaps DSP virtual buffer.
402 * @mmu: Pointer to iommu handle.
403 * @da DSP address
404 *
405 * This function unmaps a user space buffer into DSP virtual address.
406 *
407 */
408int user_to_dsp_unmap(struct iommu *mmu, u32 da);
409
410#endif /* _TIOMAP_ */ 386#endif /* _TIOMAP_ */