Home
last modified time | relevance | path

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

/linux-6.15/drivers/dma/ioat/
H A Ddma.c174 ioat_chan->issued = ioat_chan->head; in __ioat_issue_pending()
179 __func__, ioat_chan->head, ioat_chan->tail, in __ioat_issue_pending()
180 ioat_chan->issued, ioat_chan->dmacount); in __ioat_issue_pending()
220 __func__, ioat_chan->head, ioat_chan->tail, ioat_chan->issued); in __ioat_start_null_desc()
252 ioat_chan->issued = ioat_chan->tail; in __ioat_restart_chan()
258 __func__, ioat_chan->head, ioat_chan->tail, in __ioat_restart_chan()
259 ioat_chan->issued, ioat_chan->dmacount); in __ioat_restart_chan()
328 ioat_chan->head += ioat_chan->produce; in ioat_tx_submit_unlock()
474 ioat_chan->tail, ioat_chan->issued); in ioat_check_space_lock()
483 ioat_chan->tail, ioat_chan->issued); in ioat_check_space_lock()
[all …]
H A Ddma.h23 #define to_dev(ioat_chan) (&(ioat_chan)->ioat_dma->pdev->dev) argument
24 #define to_pdev(ioat_chan) ((ioat_chan)->ioat_dma->pdev) argument
257 u8 ver = ioat_chan->ioat_dma->version; in ioat_suspend()
265 u8 ver = ioat_chan->ioat_dma->version; in ioat_reset()
309 return 1 << ioat_chan->alloc_order; in ioat_ring_size()
315 return CIRC_CNT(ioat_chan->head, ioat_chan->tail, in ioat_ring_active()
316 ioat_ring_size(ioat_chan)); in ioat_ring_active()
322 return CIRC_CNT(ioat_chan->head, ioat_chan->issued, in ioat_ring_pending()
323 ioat_ring_size(ioat_chan)); in ioat_ring_pending()
328 return ioat_ring_size(ioat_chan) - ioat_ring_active(ioat_chan); in ioat_ring_space()
[all …]
H A Dsysfs.c45 struct ioatdma_chan *ioat_chan; in ioat_attr_show() local
52 return entry->show(&ioat_chan->dma_chan, page); in ioat_attr_show()
60 struct ioatdma_chan *ioat_chan; in ioat_attr_store() local
81 struct ioatdma_chan *ioat_chan = to_ioat_chan(c); in ioat_kobject_add() local
88 dev_warn(to_dev(ioat_chan), in ioat_kobject_add()
90 kobject_put(&ioat_chan->kobj); in ioat_kobject_add()
105 kobject_del(&ioat_chan->kobj); in ioat_kobject_del()
106 kobject_put(&ioat_chan->kobj); in ioat_kobject_del()
113 struct ioatdma_chan *ioat_chan = to_ioat_chan(c); in ring_size_show() local
121 struct ioatdma_chan *ioat_chan = to_ioat_chan(c); in ring_active_show() local
[all …]
H A Dinit.c577 ioat_chan = kzalloc(sizeof(*ioat_chan), GFP_KERNEL); in ioat_enumerate_channels()
578 if (!ioat_chan) in ioat_enumerate_channels()
608 if (!ioat_chan->ring) in ioat_free_chan_resources()
611 ioat_stop(ioat_chan); in ioat_free_chan_resources()
628 desc = ioat_get_ring_ent(ioat_chan, ioat_chan->head + i); in ioat_free_chan_resources()
637 desc = ioat_get_ring_ent(ioat_chan, ioat_chan->tail + i); in ioat_free_chan_resources()
677 if (ioat_chan->ring) in ioat_alloc_chan_resources()
704 ioat_chan->head = 0; in ioat_alloc_chan_resources()
706 ioat_chan->tail = 0; in ioat_alloc_chan_resources()
1220 if (!ioat_chan) in ioat_shutdown()
[all …]
H A Dprep.c118 idx = ioat_chan->head; in ioat_dma_prep_memcpy_lock()
136 dump_desc_dbg(ioat_chan, desc); in ioat_dma_prep_memcpy_lock()
144 dump_desc_dbg(ioat_chan, desc); in ioat_dma_prep_memcpy_lock()
187 idx = ioat_chan->head; in __ioat_prep_xor_lock()
219 dump_desc_dbg(ioat_chan, desc); in __ioat_prep_xor_lock()
383 idx = ioat_chan->head; in __ioat_prep_pq_lock()
390 1 << ioat_chan->xfercap_log); in __ioat_prep_pq_lock()
489 idx = ioat_chan->head; in __ioat_prep_pq16_lock()
507 dev_err(to_dev(ioat_chan), in __ioat_prep_pq16_lock()
715 desc = ioat_get_ring_ent(ioat_chan, ioat_chan->head); in ioat_prep_interrupt_lock()
[all …]