Lines Matching refs:xor
73 * extended descriptor of an xor or pq descriptor
137 struct ioat_xor_descriptor *xor = desc->xor;
140 int src_cnt = src_cnt_to_sw(xor->ctl_f.src_cnt);
150 descs[0] = (struct ioat_raw_descriptor *) xor;
159 /* dest is a source in xor validate operations */
160 if (xor->ctl_f.op == IOAT_OP_XOR_VAL) {
161 ioat_unmap(pdev, xor->dst_addr - offset, len,
168 ioat_unmap(pdev, xor->dst_addr - offset, len,
236 struct ioat_xor_descriptor *xor = desc->xor;
238 if (src_cnt_to_sw(xor->ctl_f.src_cnt) > 5)
477 struct ioat_xor_descriptor *xor;
512 xor = desc->xor;
521 descs[0] = (struct ioat_raw_descriptor *) xor;
525 xor->size = xfer_size;
526 xor->dst_addr = dest + offset;
527 xor->ctl = 0;
528 xor->ctl_f.op = op;
529 xor->ctl_f.src_cnt = src_cnt_to_hw(src_cnt);
536 /* last xor descriptor carries the unmap parameters and fence bit */
541 xor->ctl_f.fence = !!(flags & DMA_PREP_FENCE);
907 /* test xor */
917 dev_err(dev, "Self-test xor prep failed\n");
928 dev_err(dev, "Self-test xor setup failed\n");
937 dev_err(dev, "Self-test xor timed out\n");
946 dev_err(dev, "Self-test xor failed compare\n");