Lines Matching refs:instr
296 memcpy(ent, &sr->instr, cmdq->instr_size);
442 sr->instr.dptr0 = cpu_to_be64(sr->in.sgcomp_dma);
445 sr->instr.ih.value = 0;
446 sr->instr.ih.s.g = 1;
447 sr->instr.ih.s.gsz = sr->in.sgmap_cnt;
448 sr->instr.ih.s.ssz = sr->out.sgmap_cnt;
449 sr->instr.ih.s.fsz = FDATA_SIZE + sizeof(struct gphdr);
450 sr->instr.ih.s.tlen = sr->instr.ih.s.fsz + sr->in.total_bytes;
451 sr->instr.ih.value = cpu_to_be64(sr->instr.ih.value);
454 sr->instr.irh.value[0] = 0;
455 sr->instr.irh.s.uddl = MIN_UDD_LEN;
457 sr->instr.irh.s.ctxl = (req->ctrl.s.ctxl / 8);
459 sr->instr.irh.s.destport = SOLICIT_BASE_DPORT + qno;
460 sr->instr.irh.s.ctxc = req->ctrl.s.ctxc;
461 sr->instr.irh.s.arg = req->ctrl.s.arg;
462 sr->instr.irh.s.opcode = req->opcode;
463 sr->instr.irh.value[0] = cpu_to_be64(sr->instr.irh.value[0]);
466 sr->instr.irh.s.ctxp = cpu_to_be64(ctx_handle);
469 sr->instr.slc.value[0] = 0;
470 sr->instr.slc.s.ssz = sr->out.sgmap_cnt;
471 sr->instr.slc.value[0] = cpu_to_be64(sr->instr.slc.value[0]);
474 sr->instr.slc.s.rptr = cpu_to_be64(sr->out.sgcomp_dma);
481 sr->instr.fdata[0] = *((u64 *)&req->gph);
482 sr->instr.fdata[1] = 0;