*参照元 [#d2a3add9] #backlinks *説明 [#l5c9c847] -パス: [[linux-4.4.1/arch/arm/include/asm/dma-mapping.h]] -FIXME: これは何? --説明 **引数 [#s96884bd] -struct device *dev -- --[[linux-4.4.1/device]] -dma_addr_t addr -- --[[linux-4.4.1/dma_addr_t]] **返り値 [#m3218eb9] -unsigned long -- **参考 [#t2508925] *実装 [#e5ad8962] **__arch_pfn_to_dma 未定義 [#f117a903] - --[[linux-4.4.1/__arch_pfn_to_dma()]] static inline unsigned long dma_to_pfn(struct device *dev, dma_addr_t addr) { unsigned long pfn = __bus_to_pfn(addr); - --[[linux-4.4.1/__bus_to_pfn()]] if (dev) pfn += dev->dma_pfn_offset; return pfn; } **__arch_pfn_to_dma 定義 [#h005bfbd] static inline unsigned long dma_to_pfn(struct device *dev, dma_addr_t addr) { return __arch_dma_to_pfn(dev, addr); - --[[linux-4.4.1/__arch_dma_to_pfn()]] } *コメント [#cde16e32]