linux-4.4.1/arm_dma_alloc()
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#ye710130]
#backlinks
*説明 [#y56324de]
-パス: [[linux-4.4.1/arch/arm/mm/dma-mapping.c]]
-FIXME: これは何?
--説明
**引数 [#z10e9eb3]
-struct device *dev
--
--[[linux-4.4.1/device]]
-size_t size
--
-dma_addr_t *handle
--
--[[linux-4.4.1/dma_addr_t]]
-gfp_t gfp
--
--[[linux-4.4.1/gfp_t]]
-struct dma_attrs *attrs
--
--[[linux-4.4.1/dma_attrs]]
**返り値 [#e700292a]
-void *
--
**参考 [#i433f8b1]
*実装 [#q1493e88]
/*
* Allocate DMA-coherent memory space and return both th...
* virtual and bus address for that space.
*/
void *arm_dma_alloc(struct device *dev, size_t size, dma...
gfp_t gfp, struct dma_attrs *attrs)
{
pgprot_t prot = __get_dma_pgprot(attrs, PAGE_KER...
-
--[[linux-4.4.1/__get_dma_pgprot()]]
return __dma_alloc(dev, size, handle, gfp, prot,...
attrs, __builtin_return_addre...
-
--[[linux-4.4.1/__dma_alloc()]]
--[[linux-4.4.1/__builtin_return_address()]]
}
*コメント [#pbd431b2]
終了行:
*参照元 [#ye710130]
#backlinks
*説明 [#y56324de]
-パス: [[linux-4.4.1/arch/arm/mm/dma-mapping.c]]
-FIXME: これは何?
--説明
**引数 [#z10e9eb3]
-struct device *dev
--
--[[linux-4.4.1/device]]
-size_t size
--
-dma_addr_t *handle
--
--[[linux-4.4.1/dma_addr_t]]
-gfp_t gfp
--
--[[linux-4.4.1/gfp_t]]
-struct dma_attrs *attrs
--
--[[linux-4.4.1/dma_attrs]]
**返り値 [#e700292a]
-void *
--
**参考 [#i433f8b1]
*実装 [#q1493e88]
/*
* Allocate DMA-coherent memory space and return both th...
* virtual and bus address for that space.
*/
void *arm_dma_alloc(struct device *dev, size_t size, dma...
gfp_t gfp, struct dma_attrs *attrs)
{
pgprot_t prot = __get_dma_pgprot(attrs, PAGE_KER...
-
--[[linux-4.4.1/__get_dma_pgprot()]]
return __dma_alloc(dev, size, handle, gfp, prot,...
attrs, __builtin_return_addre...
-
--[[linux-4.4.1/__dma_alloc()]]
--[[linux-4.4.1/__builtin_return_address()]]
}
*コメント [#pbd431b2]
ページ名: