Home
last modified time | relevance | path

Searched refs:ioat_dma (Results 1 – 5 of 5) sorted by relevance

/drivers/dma/ioat/
Dinit.c129 ioat_init_channel(struct ioatdma_device *ioat_dma,
131 static void ioat_intr_quirk(struct ioatdma_device *ioat_dma);
132 static int ioat_enumerate_channels(struct ioatdma_device *ioat_dma);
133 static int ioat3_dma_self_test(struct ioatdma_device *ioat_dma);
309 static int ioat_dma_self_test(struct ioatdma_device *ioat_dma) in ioat_dma_self_test() argument
314 struct dma_device *dma = &ioat_dma->dma_dev; in ioat_dma_self_test()
315 struct device *dev = &ioat_dma->pdev->dev; in ioat_dma_self_test()
358 tx = ioat_dma->dma_dev.device_prep_dma_memcpy(dma_chan, dma_dest, in ioat_dma_self_test()
410 int ioat_dma_setup_interrupts(struct ioatdma_device *ioat_dma) in ioat_dma_setup_interrupts() argument
413 struct pci_dev *pdev = ioat_dma->pdev; in ioat_dma_setup_interrupts()
[all …]
Ddma.c140 struct ioatdma_device *ioat_dma = ioat_chan->ioat_dma; in ioat_stop() local
141 struct pci_dev *pdev = ioat_dma->pdev; in ioat_stop()
151 switch (ioat_dma->irq_mode) { in ioat_stop()
153 msix = &ioat_dma->msix_entries[chan_id]; in ioat_stop()
344 struct ioatdma_device *ioat_dma; in ioat_alloc_ring_ent() local
351 ioat_dma = to_ioatdma_device(chan->device); in ioat_alloc_ring_ent()
511 ioat_free_sed(struct ioatdma_device *ioat_dma, struct ioat_sed_ent *sed) in ioat_free_sed() argument
516 dma_pool_free(ioat_dma->sed_hw_pool[sed->hw_pool], sed->hw, sed->dma); in ioat_free_sed()
583 struct ioatdma_device *ioat_dma = ioat_chan->ioat_dma; in __cleanup() local
612 if (ioat_dma->cap & IOAT_CAP_DWBES) in __cleanup()
[all …]
Dsysfs.c46 struct ioatdma_device *ioat_dma = to_ioatdma_device(dma); in version_show() local
49 ioat_dma->version >> 4, ioat_dma->version & 0xf); in version_show()
71 void ioat_kobject_add(struct ioatdma_device *ioat_dma, struct kobj_type *type) in ioat_kobject_add() argument
73 struct dma_device *dma = &ioat_dma->dma_dev; in ioat_kobject_add()
92 void ioat_kobject_del(struct ioatdma_device *ioat_dma) in ioat_kobject_del() argument
94 struct dma_device *dma = &ioat_dma->dma_dev; in ioat_kobject_del()
Ddma.h35 #define to_dev(ioat_chan) (&(ioat_chan)->ioat_dma->pdev->dev)
36 #define to_pdev(ioat_chan) ((ioat_chan)->ioat_dma->pdev)
38 #define chan_num(ch) ((int)((ch)->reg_base - (ch)->ioat_dma->reg_base) / 0x80)
117 struct ioatdma_device *ioat_dma; member
242 ioat_chan_by_index(struct ioatdma_device *ioat_dma, int index) in ioat_chan_by_index() argument
244 return ioat_dma->idx[index]; in ioat_chan_by_index()
264 u8 ver = ioat_chan->ioat_dma->version; in ioat_suspend()
272 u8 ver = ioat_chan->ioat_dma->version; in ioat_reset()
280 u8 ver = ioat_chan->ioat_dma->version; in ioat_reset_pending()
414 void ioat_kobject_add(struct ioatdma_device *ioat_dma, struct kobj_type *type);
[all …]
Dprep.c92 ioat3_alloc_sed(struct ioatdma_device *ioat_dma, unsigned int hw_pool) in ioat3_alloc_sed() argument
102 sed->hw = dma_pool_alloc(ioat_dma->sed_hw_pool[hw_pool], in ioat3_alloc_sed()
357 struct ioatdma_device *ioat_dma = ioat_chan->ioat_dma; in __ioat_prep_pq_lock() local
368 int cb32 = (ioat_dma->version < IOAT_VER_3_3) ? 1 : 0; in __ioat_prep_pq_lock()
434 if (ioat_dma->cap & IOAT_CAP_DWBES) in __ioat_prep_pq_lock()
481 struct ioatdma_device *ioat_dma = ioat_chan->ioat_dma; in __ioat_prep_pq16_lock() local
517 desc->sed = ioat3_alloc_sed(ioat_dma, (src_cnt-2) >> 3); in __ioat_prep_pq16_lock()
549 if (ioat_dma->cap & IOAT_CAP_DWBES) in __ioat_prep_pq16_lock()