Home
last modified time | relevance | path

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

/drivers/dma/ioat/
Dinit.c120 ioat_init_channel(struct ioatdma_device *ioat_dma,
122 static void ioat_intr_quirk(struct ioatdma_device *ioat_dma);
123 static void ioat_enumerate_channels(struct ioatdma_device *ioat_dma);
124 static int ioat3_dma_self_test(struct ioatdma_device *ioat_dma);
300 static int ioat_dma_self_test(struct ioatdma_device *ioat_dma) in ioat_dma_self_test() argument
305 struct dma_device *dma = &ioat_dma->dma_dev; in ioat_dma_self_test()
306 struct device *dev = &ioat_dma->pdev->dev; in ioat_dma_self_test()
351 tx = ioat_dma->dma_dev.device_prep_dma_memcpy(dma_chan, dma_dest, in ioat_dma_self_test()
403 int ioat_dma_setup_interrupts(struct ioatdma_device *ioat_dma) in ioat_dma_setup_interrupts() argument
406 struct pci_dev *pdev = ioat_dma->pdev; in ioat_dma_setup_interrupts()
[all …]
Ddma.c137 struct ioatdma_device *ioat_dma = ioat_chan->ioat_dma; in ioat_stop() local
138 struct pci_dev *pdev = ioat_dma->pdev; in ioat_stop()
148 switch (ioat_dma->irq_mode) { in ioat_stop()
150 msix = &ioat_dma->msix_entries[chan_id]; in ioat_stop()
375 struct ioatdma_device *ioat_dma = ioat_chan->ioat_dma; in ioat_alloc_ring() local
445 if (ioat_dma->cap & IOAT_CAP_DPS) { in ioat_alloc_ring()
520 ioat_free_sed(struct ioatdma_device *ioat_dma, struct ioat_sed_ent *sed) in ioat_free_sed() argument
525 dma_pool_free(ioat_dma->sed_hw_pool[sed->hw_pool], sed->hw, sed->dma); in ioat_free_sed()
593 struct ioatdma_device *ioat_dma = ioat_chan->ioat_dma; in __cleanup() local
621 if (ioat_dma->cap & IOAT_CAP_DWBES) in __cleanup()
[all …]
Ddma.h23 #define to_dev(ioat_chan) (&(ioat_chan)->ioat_dma->pdev->dev)
24 #define to_pdev(ioat_chan) ((ioat_chan)->ioat_dma->pdev)
26 #define chan_num(ch) ((int)((ch)->reg_base - (ch)->ioat_dma->reg_base) / 0x80)
108 struct ioatdma_device *ioat_dma; member
236 ioat_chan_by_index(struct ioatdma_device *ioat_dma, int index) in ioat_chan_by_index() argument
238 return ioat_dma->idx[index]; in ioat_chan_by_index()
258 u8 ver = ioat_chan->ioat_dma->version; in ioat_suspend()
266 u8 ver = ioat_chan->ioat_dma->version; in ioat_reset()
274 u8 ver = ioat_chan->ioat_dma->version; in ioat_reset_pending()
404 void ioat_kobject_add(struct ioatdma_device *ioat_dma, struct kobj_type *type);
[all …]
Dsysfs.c34 struct ioatdma_device *ioat_dma = to_ioatdma_device(dma); in version_show() local
37 ioat_dma->version >> 4, ioat_dma->version & 0xf); in version_show()
75 void ioat_kobject_add(struct ioatdma_device *ioat_dma, struct kobj_type *type) in ioat_kobject_add() argument
77 struct dma_device *dma = &ioat_dma->dma_dev; in ioat_kobject_add()
96 void ioat_kobject_del(struct ioatdma_device *ioat_dma) in ioat_kobject_del() argument
98 struct dma_device *dma = &ioat_dma->dma_dev; in ioat_kobject_del()
Dprep.c80 ioat3_alloc_sed(struct ioatdma_device *ioat_dma, unsigned int hw_pool) in ioat3_alloc_sed() argument
90 sed->hw = dma_pool_alloc(ioat_dma->sed_hw_pool[hw_pool], in ioat3_alloc_sed()
345 struct ioatdma_device *ioat_dma = ioat_chan->ioat_dma; in __ioat_prep_pq_lock() local
356 int cb32 = (ioat_dma->version < IOAT_VER_3_3) ? 1 : 0; in __ioat_prep_pq_lock()
422 if (ioat_dma->cap & IOAT_CAP_DWBES) in __ioat_prep_pq_lock()
469 struct ioatdma_device *ioat_dma = ioat_chan->ioat_dma; in __ioat_prep_pq16_lock() local
505 desc->sed = ioat3_alloc_sed(ioat_dma, (src_cnt-2) >> 3); in __ioat_prep_pq16_lock()
537 if (ioat_dma->cap & IOAT_CAP_DWBES) in __ioat_prep_pq16_lock()