Searched refs:xfercap_log (Results 1 – 3 of 3) sorted by relevance
127 size_t xfercap_log; member369 u16 num_descs = len >> ioat_chan->xfercap_log; in ioat_xferlen_to_descs()371 num_descs += !!(len & ((1 << ioat_chan->xfercap_log) - 1)); in ioat_xferlen_to_descs()
594 u8 xfercap_log; in ioat_enumerate_channels() local605 xfercap_log = readb(ioat_dma->reg_base + IOAT_XFERCAP_OFFSET); in ioat_enumerate_channels()606 xfercap_log &= 0x1f; /* bits [4:0] valid */ in ioat_enumerate_channels()607 if (xfercap_log == 0) in ioat_enumerate_channels()609 dev_dbg(dev, "%s: xfercap = %d\n", __func__, 1 << xfercap_log); in ioat_enumerate_channels()617 ioat_chan->xfercap_log = xfercap_log; in ioat_enumerate_channels()
135 size_t copy = min_t(size_t, len, 1 << ioat_chan->xfercap_log); in ioat_dma_prep_memcpy_lock()206 len, 1 << ioat_chan->xfercap_log); in __ioat_prep_xor_lock()402 1 << ioat_chan->xfercap_log); in __ioat_prep_pq_lock()510 1 << ioat_chan->xfercap_log); in __ioat_prep_pq16_lock()