*参照元 [#e399445b]
#backlinks

*説明 [#wc0ba2b7]
-パス: [[linux-4.4.1/include/linux/dmaengine.h]]

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


**参考 [#pd1c5a42]


*実装 [#f80bc2e5]
 /**
  * struct dma_chan - devices supply DMA channels, clients use them
  * @device: ptr to the dma device who supplies this channel, always !%NULL
  * @cookie: last cookie value returned to client
  * @completed_cookie: last completed cookie for this channel
  * @chan_id: channel ID for sysfs
  * @dev: class device for sysfs
  * @device_node: used to add this to the device chan list
  * @local: per-cpu pointer to a struct dma_chan_percpu
  * @client_count: how many clients are using this channel
  * @table_count: number of appearances in the mem-to-mem allocation table
  * @router: pointer to the DMA router structure
  * @route_data: channel specific data for the router
  * @private: private data for certain client-channel associations
  */
 struct dma_chan {
         struct dma_device *device;
         dma_cookie_t cookie;
         dma_cookie_t completed_cookie;
 
-
--[[linux-4.4.1/dma_device]]
--[[linux-4.4.1/dma_cookie_t]]

         /* sysfs */
         int chan_id;
         struct dma_chan_dev *dev;
 
-
--[[linux-4.4.1/dma_chan_dev]]

         struct list_head device_node;
         struct dma_chan_percpu __percpu *local;
         int client_count;
         int table_count;
 
-
--[[linux-4.4.1/list_head]]
--[[linux-4.4.1/dma_chan_percpu]]

         /* DMA router */
         struct dma_router *router;
         void *route_data;
 
-
--[[linux-4.4.1/dma_router]]

         void *private;
 };


*コメント [#s0647830]


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