Searched refs:xfercap_log (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/dma/ioat/ |
H A D | dma.h | 115 * @xfercap_log; log2 of channel max transfer length (for fast division) 125 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()
|
H A D | init.c | 570 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()
|
H A D | prep.c | 123 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()
|
/kernel/linux/linux-6.6/drivers/dma/ioat/ |
H A D | dma.h | 116 * @xfercap_log; log2 of channel max transfer length (for fast division) 126 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()
|
H A D | init.c | 569 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()
|
H A D | prep.c | 123 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()
|
Completed in 9 milliseconds