Home
last modified time | relevance | path

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

/drivers/dma/ioat/
Ddma.h126 size_t xfercap_log; member
334 u16 num_descs = len >> ioat_chan->xfercap_log; in ioat_xferlen_to_descs()
336 num_descs += !!(len & ((1 << ioat_chan->xfercap_log) - 1)); in ioat_xferlen_to_descs()
Dinit.c557 u8 xfercap_log; in ioat_enumerate_channels() local
569 xfercap_log = readb(ioat_dma->reg_base + IOAT_XFERCAP_OFFSET); in ioat_enumerate_channels()
570 xfercap_log &= 0x1f; /* bits [4:0] valid */ in ioat_enumerate_channels()
571 if (xfercap_log == 0) in ioat_enumerate_channels()
573 dev_dbg(dev, "%s: xfercap = %d\n", __func__, 1 << xfercap_log); in ioat_enumerate_channels()
581 ioat_chan->xfercap_log = xfercap_log; in ioat_enumerate_channels()
Dprep.c123 size_t copy = min_t(size_t, len, 1 << ioat_chan->xfercap_log); in ioat_dma_prep_memcpy_lock()
194 len, 1 << ioat_chan->xfercap_log); in __ioat_prep_xor_lock()
390 1 << ioat_chan->xfercap_log); in __ioat_prep_pq_lock()
498 1 << ioat_chan->xfercap_log); in __ioat_prep_pq16_lock()