linux-4.4.1/dma_request_slave_channel()
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#m813562b]
#backlinks
*説明 [#bd9e5abd]
-パス: 複数あり
--CONFIG_DMA_ENGINE 無効: [[linux-4.4.1/include/linux/dma...
--CONFIG_DMA_ENGINE 有効: [[linux-4.4.1/drivers/dma/dmaen...
-FIXME: これは何?
--説明
**引数 [#y75f990b]
-struct device *dev
--
--[[linux-4.4.1/device]]
--const char *name
--
**返り値 [#dd8c2863]
-struct dma_chan *
--
--[[linux-4.4.1/dma_chan]]
**参考 [#i39b45d8]
*実装 [#b763be31]
**CONFIG_DMA_ENGINE 無効: include/linux/dmaengine.h [#y62...
static inline struct dma_chan *dma_request_slave_channel...
...
{
return NULL;
}
**CONFIG_DMA_ENGINE 有効: drivers/dma/dmaengine.c [#t0bfa...
/**
* dma_request_slave_channel - try to allocate an exclus...
* @dev: pointer to client device structure
* @name: slave channel name
*
* Returns pointer to appropriate DMA channel on success...
*/
struct dma_chan *dma_request_slave_channel(struct device...
const char *n...
{
struct dma_chan *ch = dma_request_slave_channel_...
if (IS_ERR(ch))
return NULL;
-
--[[linux-4.4.1/dma_chan]]
--[[linux-4.4.1/dma_request_slave_channel_reason()]]
--[[linux-4.4.1/IS_ERR()]]
dma_cap_set(DMA_PRIVATE, ch->device->cap_mask);
ch->device->privatecnt++;
-
--[[linux-4.4.1/dma_cap_set()]]
return ch;
}
EXPORT_SYMBOL_GPL(dma_request_slave_channel);
-
--[[linux-4.4.1/EXPORT_SYMBOL_GPL()]]
*コメント [#h7fe998d]
終了行:
*参照元 [#m813562b]
#backlinks
*説明 [#bd9e5abd]
-パス: 複数あり
--CONFIG_DMA_ENGINE 無効: [[linux-4.4.1/include/linux/dma...
--CONFIG_DMA_ENGINE 有効: [[linux-4.4.1/drivers/dma/dmaen...
-FIXME: これは何?
--説明
**引数 [#y75f990b]
-struct device *dev
--
--[[linux-4.4.1/device]]
--const char *name
--
**返り値 [#dd8c2863]
-struct dma_chan *
--
--[[linux-4.4.1/dma_chan]]
**参考 [#i39b45d8]
*実装 [#b763be31]
**CONFIG_DMA_ENGINE 無効: include/linux/dmaengine.h [#y62...
static inline struct dma_chan *dma_request_slave_channel...
...
{
return NULL;
}
**CONFIG_DMA_ENGINE 有効: drivers/dma/dmaengine.c [#t0bfa...
/**
* dma_request_slave_channel - try to allocate an exclus...
* @dev: pointer to client device structure
* @name: slave channel name
*
* Returns pointer to appropriate DMA channel on success...
*/
struct dma_chan *dma_request_slave_channel(struct device...
const char *n...
{
struct dma_chan *ch = dma_request_slave_channel_...
if (IS_ERR(ch))
return NULL;
-
--[[linux-4.4.1/dma_chan]]
--[[linux-4.4.1/dma_request_slave_channel_reason()]]
--[[linux-4.4.1/IS_ERR()]]
dma_cap_set(DMA_PRIVATE, ch->device->cap_mask);
ch->device->privatecnt++;
-
--[[linux-4.4.1/dma_cap_set()]]
return ch;
}
EXPORT_SYMBOL_GPL(dma_request_slave_channel);
-
--[[linux-4.4.1/EXPORT_SYMBOL_GPL()]]
*コメント [#h7fe998d]
ページ名: