linux-4.4.1/dmam_free_coherent()
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#tf7dea63]
#backlinks
*説明 [#pfd99d4f]
-パス: [[linux-4.4.1/drivers/base/dma-mapping.c]]
-FIXME: これは何?
--説明
**引数 [#t4d84a66]
-struct device *dev
--
--[[linux-4.4.1/device]]
-size_t size
--
-void *vaddr
--
-dma_addr_t dma_handle
--
--[[linux-4.4.1/dma_addr_t]]
**返り値 [#p5b962c8]
-なし
**参考 [#s52e7ac8]
*実装 [#p78c403e]
/**
* dmam_free_coherent - Managed dma_free_coherent()
* @dev: Device to free coherent memory for
* @size: Size of allocation
* @vaddr: Virtual address of the memory to free
* @dma_handle: DMA handle of the memory to free
*
* Managed dma_free_coherent().
*/
void dmam_free_coherent(struct device *dev, size_t size,...
dma_addr_t dma_handle)
{
struct dma_devres match_data = { size, vaddr, dm...
-
--[[linux-4.4.1/dma_devres]]
dma_free_coherent(dev, size, vaddr, dma_handle);
-
--[[linux-4.4.1/dma_free_coherent()]]
WARN_ON(devres_destroy(dev, dmam_coherent_releas...
&match_data));
-
--[[linux-4.4.1/WARN_ON()]]
--[[linux-4.4.1/devres_destroy()]]
--[[linux-4.4.1/dmam_coherent_release()]]
}
EXPORT_SYMBOL(dmam_free_coherent);
-
--[[linux-4.4.1/EXPORT_SYMBOL()]]
*コメント [#u9d95910]
終了行:
*参照元 [#tf7dea63]
#backlinks
*説明 [#pfd99d4f]
-パス: [[linux-4.4.1/drivers/base/dma-mapping.c]]
-FIXME: これは何?
--説明
**引数 [#t4d84a66]
-struct device *dev
--
--[[linux-4.4.1/device]]
-size_t size
--
-void *vaddr
--
-dma_addr_t dma_handle
--
--[[linux-4.4.1/dma_addr_t]]
**返り値 [#p5b962c8]
-なし
**参考 [#s52e7ac8]
*実装 [#p78c403e]
/**
* dmam_free_coherent - Managed dma_free_coherent()
* @dev: Device to free coherent memory for
* @size: Size of allocation
* @vaddr: Virtual address of the memory to free
* @dma_handle: DMA handle of the memory to free
*
* Managed dma_free_coherent().
*/
void dmam_free_coherent(struct device *dev, size_t size,...
dma_addr_t dma_handle)
{
struct dma_devres match_data = { size, vaddr, dm...
-
--[[linux-4.4.1/dma_devres]]
dma_free_coherent(dev, size, vaddr, dma_handle);
-
--[[linux-4.4.1/dma_free_coherent()]]
WARN_ON(devres_destroy(dev, dmam_coherent_releas...
&match_data));
-
--[[linux-4.4.1/WARN_ON()]]
--[[linux-4.4.1/devres_destroy()]]
--[[linux-4.4.1/dmam_coherent_release()]]
}
EXPORT_SYMBOL(dmam_free_coherent);
-
--[[linux-4.4.1/EXPORT_SYMBOL()]]
*コメント [#u9d95910]
ページ名: