Home
last modified time | relevance | path

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

/drivers/dma/ioat/
Ddma.h125 size_t xfercap_log; member
335 u16 num_descs = len >> ioat_chan->xfercap_log; in ioat_xferlen_to_descs()
337 num_descs += !!(len & ((1 << ioat_chan->xfercap_log) - 1)); in ioat_xferlen_to_descs()
Dinit.c570 u8 xfercap_log; in ioat_enumerate_channels() local
581 xfercap_log = readb(ioat_dma->reg_base + IOAT_XFERCAP_OFFSET); in ioat_enumerate_channels()
582 xfercap_log &= 0x1f; /* bits [4:0] valid */ in ioat_enumerate_channels()
583 if (xfercap_log == 0) in ioat_enumerate_channels()
585 dev_dbg(dev, "%s: xfercap = %d\n", __func__, 1 << xfercap_log); in ioat_enumerate_channels()
593 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()