Lines Matching refs:SCp
299 cmd->SCp.buffer = scsi_sglist(cmd); in initialize_SCp()
300 cmd->SCp.buffers_residual = scsi_sg_count(cmd) - 1; in initialize_SCp()
301 cmd->SCp.ptr = sg_virt(cmd->SCp.buffer); in initialize_SCp()
302 cmd->SCp.this_residual = cmd->SCp.buffer->length; in initialize_SCp()
304 cmd->SCp.buffer = NULL; in initialize_SCp()
305 cmd->SCp.buffers_residual = 0; in initialize_SCp()
306 cmd->SCp.ptr = NULL; in initialize_SCp()
307 cmd->SCp.this_residual = 0; in initialize_SCp()
1200 hostdata->connected->SCp.this_residual -= transferred; in NCR5380_intr()
1201 hostdata->connected->SCp.ptr += transferred; in NCR5380_intr()
2137 if (!cmd->SCp.this_residual && cmd->SCp.buffers_residual) {
2138 ++cmd->SCp.buffer;
2139 --cmd->SCp.buffers_residual;
2140 cmd->SCp.this_residual = cmd->SCp.buffer->length;
2141 cmd->SCp.ptr = sg_virt(cmd->SCp.buffer);
2142 …i%d : %d bytes and %d buffers left\n", instance->host_no, cmd->SCp.this_residual, cmd->SCp.buffers…
2172 …nsfersize && !(hostdata->flags & FLAG_NO_PSEUDO_DMA) && cmd->SCp.this_residual && !(cmd->SCp.this_…
2179 if (NCR5380_transfer_dma(instance, &phase, &len, (unsigned char **) &cmd->SCp.ptr)) {
2194 cmd->SCp.this_residual -= transfersize - len;
2197 NCR5380_transfer_pio(instance, &phase, (int *) &cmd->SCp.this_residual, (unsigned char **)
2198 &cmd->SCp.ptr);
2204 cmd->SCp.Message = tmp;
2237 cmd->result = cmd->SCp.Status | (cmd->SCp.Message << 8);
2270 cmd->result = cmd->SCp.Status | (cmd->SCp.Message << 8);
2271 else if (status_byte(cmd->SCp.Status) != GOOD)
2281 if ((cmd->cmnd[0] != REQUEST_SENSE) && (status_byte(cmd->SCp.Status) == CHECK_CONDITION)) {
2467 cmd->SCp.Status = tmp;
2645 if (!(hostdata->connected->SCp.phase & SR_CD)) {
2647 hostdata->connected->SCp.this_residual -= transferred;
2648 hostdata->connected->SCp.ptr += transferred;