参照元

説明

引数

返り値

参考

実装

CONFIG_HAS_DMA 有効: include/asm-generic/dma-mapping-common.h

static inline void *dma_alloc_noncoherent(struct device *dev, size_t size,
                dma_addr_t *dma_handle, gfp_t gfp)
{
        DEFINE_DMA_ATTRS(attrs);
        dma_set_attr(DMA_ATTR_NON_CONSISTENT, &attrs);
        return dma_alloc_attrs(dev, size, dma_handle, gfp, &attrs);
}

CONFIG_HAS_DMA 無効: include/asm-generic/dma-mapping-broken.h

#define dma_alloc_noncoherent(d, s, h, f) dma_alloc_coherent(d, s, h, f)

コメント


トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2016-03-03 (木) 19:05:24