*参照元 [#xa040968]
#backlinks

*説明 [#nd53a012]
-パス: [[linux-4.4.1/drivers/base/dma-coherent.c]]

-FIXME: これは何?
--説明


**引数 [#tbe7ef9f]
-struct device *dev
--
--[[linux-4.4.1/device]]
-struct dma_coherent_mem *mem
--
--[[linux-4.4.1/dma_coherent_mem]]


**返り値 [#j806f7ce]
-int
--


**参考 [#la6c7d92]


*実装 [#f4efb955]
 static int dma_assign_coherent_memory(struct device *dev,
                                       struct dma_coherent_mem *mem)
 {
         if (dev->dma_mem)
                 return -EBUSY;
 
         dev->dma_mem = mem;
         /* FIXME: this routine just ignores DMA_MEMORY_INCLUDES_CHILDREN */
 
         return 0;
 }


*コメント [#beef2151]


トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS