Lines Matching +full:0 +full:x11d

49 	int src_off = 0;  in do_async_gen_syndrome()
51 while (src_cnt > 0) { in do_async_gen_syndrome()
76 dma_dest[0] = unmap->addr[disks - 2]; in do_async_gen_syndrome()
119 for (i = 0; i < disks; i++) { in do_sync_gen_syndrome()
135 if (start >= 0) in do_sync_gen_syndrome()
148 for (i = 0; i < src_cnt; i++) { in is_dma_pq_aligned_offs()
149 if (!is_dma_pq_aligned(dev, offs[i], 0, len)) in is_dma_pq_aligned_offs()
157 * @blocks: source blocks from idx 0..disks-3, P @ disks-2 and Q @ disks-1
164 * primitive polynomial of 0x11d and a generator of {02}.
194 (src_cnt <= dma_maxpq(device, 0) || in async_gen_syndrome()
195 dma_maxpq(device, DMA_PREP_CONTINUE) > 0) && in async_gen_syndrome()
198 enum dma_ctrl_flags dma_flags = 0; in async_gen_syndrome()
210 for (i = 0, j = 0; i < src_cnt; i++) { in async_gen_syndrome()
230 unmap->addr[j++] = 0; in async_gen_syndrome()
240 unmap->addr[j++] = 0; in async_gen_syndrome()
259 P(offsets, disks) = 0; in async_gen_syndrome()
263 Q(offsets, disks) = 0; in async_gen_syndrome()
277 return async_tx_find_channel(submit, DMA_PQ_VAL, NULL, 0, blocks, in pq_val_chan()
283 * @blocks: source blocks from idx 0..disks-3, P @ disks-2 and Q @ disks-1
306 enum dma_ctrl_flags dma_flags = submit->cb_fn ? DMA_PREP_INTERRUPT : 0; in async_syndrome_val()
314 if (unmap && disks <= dma_maxpq(device, 0) && in async_syndrome_val()
318 int i, j = 0, src_cnt = 0; in async_syndrome_val()
324 for (i = 0; i < disks-2; i++) in async_syndrome_val()
336 pq[0] = 0; in async_syndrome_val()
339 pq[0] = dma_map_page(dev, P(blocks, disks), in async_syndrome_val()
342 unmap->addr[j++] = pq[0]; in async_syndrome_val()
346 pq[1] = 0; in async_syndrome_val()
399 *pqres = 0; in async_syndrome_val()
415 init_async_submit(submit, 0, NULL, NULL, NULL, scribble); in async_syndrome_val()
447 return 0; in async_pq_init()