Home
last modified time | relevance | path

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

/linux/drivers/dma/ioat/
H A Ddma.c72 static void ioat_eh(struct ioatdma_chan *ioat_chan);
74 static void ioat_print_chanerrs(struct ioatdma_chan *ioat_chan, u32 chanerr) in ioat_print_chanerrs() argument
80 dev_err(to_dev(ioat_chan), "Err(%d): %s\n", in ioat_print_chanerrs()
94 struct ioatdma_chan *ioat_chan; in ioat_dma_do_interrupt() local
111 ioat_chan = ioat_chan_by_index(instance, bit); in ioat_dma_do_interrupt()
112 if (test_bit(IOAT_RUN, &ioat_chan->state)) in ioat_dma_do_interrupt()
113 tasklet_schedule(&ioat_chan->cleanup_task); in ioat_dma_do_interrupt()
127 struct ioatdma_chan *ioat_chan = data; in ioat_dma_do_interrupt_msix() local
129 if (test_bit(IOAT_RUN, &ioat_chan->state)) in ioat_dma_do_interrupt_msix()
130 tasklet_schedule(&ioat_chan->cleanup_task); in ioat_dma_do_interrupt_msix()
[all …]
H A Dinit.c121 struct ioatdma_chan *ioat_chan, int idx);
405 struct ioatdma_chan *ioat_chan; in ioat_dma_setup_interrupts() local
434 ioat_chan = ioat_chan_by_index(ioat_dma, i); in ioat_dma_setup_interrupts()
437 "ioat-msix", ioat_chan); in ioat_dma_setup_interrupts()
441 ioat_chan = ioat_chan_by_index(ioat_dma, j); in ioat_dma_setup_interrupts()
442 devm_free_irq(dev, msix->vector, ioat_chan); in ioat_dma_setup_interrupts()
555 struct ioatdma_chan *ioat_chan; in ioat_enumerate_channels() local
577 ioat_chan = kzalloc_obj(*ioat_chan); in ioat_enumerate_channels()
578 if (!ioat_chan) in ioat_enumerate_channels()
581 ioat_init_channel(ioat_dma, ioat_chan, i); in ioat_enumerate_channels()
[all …]
H A Dprep.c104 struct ioatdma_chan *ioat_chan = to_ioat_chan(c); in ioat_dma_prep_memcpy_lock() local
112 if (test_bit(IOAT_CHAN_DOWN, &ioat_chan->state)) in ioat_dma_prep_memcpy_lock()
115 num_descs = ioat_xferlen_to_descs(ioat_chan, len); in ioat_dma_prep_memcpy_lock()
117 ioat_check_space_lock(ioat_chan, num_descs) == 0) in ioat_dma_prep_memcpy_lock()
118 idx = ioat_chan->head; in ioat_dma_prep_memcpy_lock()
123 size_t copy = min_t(size_t, len, 1 << ioat_chan->xfercap_log); in ioat_dma_prep_memcpy_lock()
125 desc = ioat_get_ring_ent(ioat_chan, idx + i); 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()
156 struct ioatdma_chan *ioat_chan = to_ioat_chan(c); in __ioat_prep_xor_lock() local
[all …]