天嵌 ARM开发社区

 找回密码
 注册
查看: 3204|回复: 1

.dma_mask和.coherent_dma_mask的作用是什么?

[复制链接]
fengc234 发表于 2012-12-21 21:51:45 | 显示全部楼层 |阅读模式
很多static struct platform_device中的.dev对.dma_mask和.coherent_dma_mask都进行了定义,涉及了DMA的寻址范围,但是我没看出platform_device需要用到DMA,请问这两个元素到底起了什么作用?
亚瑟王 发表于 2012-12-24 09:42:39 | 显示全部楼层
这个是注册平台设备时使用的,至于DMA就要看你的驱动中是如何初始化的了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2024-6-26 21:22 , Processed in 1.046875 second(s), 18 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表