37 #define NULL_DESC_BUFFER_SIZE 1
39 #define IOAT_MAX_ORDER 16
40 #define ioat_get_alloc_order() \
41 (min(ioat_ring_alloc_order, IOAT_MAX_ORDER))
42 #define ioat_get_max_alloc_order() \
43 (min(ioat_ring_max_alloc_order, IOAT_MAX_ORDER))
96 return ioat2_ring_size(ioat) - ioat2_ring_active(ioat);
103 num_descs += !!(len & ((1 << ioat->
xfercap_log) - 1));
145 return ioat->
ring[idx & (ioat2_ring_size(ioat) - 1)];
152 writel(addr & 0x00000000FFFFFFFF,