Searched refs:xfercap_log (Results 1 – 3 of 3) sorted by relevance
134 size_t xfercap_log; member347 u16 num_descs = len >> ioat_chan->xfercap_log; in ioat_xferlen_to_descs()349 num_descs += !!(len & ((1 << ioat_chan->xfercap_log) - 1)); in ioat_xferlen_to_descs()
583 u8 xfercap_log; in ioat_enumerate_channels() local594 xfercap_log = readb(ioat_dma->reg_base + IOAT_XFERCAP_OFFSET); in ioat_enumerate_channels()595 xfercap_log &= 0x1f; /* bits [4:0] valid */ in ioat_enumerate_channels()596 if (xfercap_log == 0) in ioat_enumerate_channels()598 dev_dbg(dev, "%s: xfercap = %d\n", __func__, 1 << xfercap_log); in ioat_enumerate_channels()606 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()