Lines Matching refs:pScript

274 	return h->pScript + ((uintptr_t)p - (uintptr_t)h->script);
297 dma_addr_t pScript, pSlots;
307 memory = dma_alloc_coherent(dev, TOTAL_MEM_SIZE, &pScript, GFP_KERNEL);
310 memory = dma_alloc_noncoherent(dev, TOTAL_MEM_SIZE, &pScript,
325 pSlots = pScript + SLOTS_OFFSET;
365 script[LABELPATCHES[j]] = bS_to_host(pScript + SCRIPT[LABELPATCHES[j]]);
368 pScript + MSGOUT_OFFSET);
370 pScript + STATUS_OFFSET);
372 pScript + MSGIN_OFFSET);
375 hostdata->pScript = pScript;
376 dma_sync_single_for_device(hostdata->dev, pScript, sizeof(SCRIPT), DMA_TO_DEVICE);
425 hostdata->script, hostdata->pScript,
429 hostdata->script, hostdata->pScript);
842 resume_offset = hostdata->pScript + Ent_SendMessageWithATN;
852 resume_offset = hostdata->pScript + Ent_SendMessageWithATN;
868 resume_offset = hostdata->pScript + Ent_SendMessageWithATN;
952 resume_offset = hostdata->pScript + Ent_SendMessageWithATN;
1037 slot->resume_offset = hostdata->pScript;
1204 host->host_no, reselection_id, lun, dsp, dsp - hostdata->pScript, hostdata->state, hostdata->command_slot_count);
1246 resume_offset = hostdata->pScript + Ent_GetReselectionWithTag;
1248 resume_offset = hostdata->pScript + Ent_GetReselectionData;
1262 NCR_700_phase[j], dsp - hostdata->pScript);
1274 host->host_no, pun, lun, dsps & 0xfff, dsp, dsp - hostdata->pScript);
1278 host->host_no, pun, lun, dsps, dsp - hostdata->pScript);
1325 DEBUG((" ID %d WARNING: RESELECTION OF BUSY HOST, saving cmd %p, slot %p, addr %x [%04x], resume %x!\n", id, hostdata->cmd, slot, dsp, dsp - hostdata->pScript, resume_offset));
1327 switch(dsp - hostdata->pScript) {
1330 save_for_reselection(hostdata, SCp, Ent_Disconnect2 + hostdata->pScript);
1334 save_for_reselection(hostdata, SCp, Ent_Disconnect4 + hostdata->pScript);
1338 save_for_reselection(hostdata, SCp, Ent_Disconnect6 + hostdata->pScript);
1342 save_for_reselection(hostdata, SCp, Ent_Disconnect8 + hostdata->pScript);
1362 resume_offset = hostdata->pScript + Ent_SelectedAsTarget;
1364 resume_offset = hostdata->pScript + Ent_GetReselectionWithTag;
1366 resume_offset = hostdata->pScript + Ent_GetReselectionData;
1469 slot->resume_offset = hostdata->pScript;
1530 (dsp - (__u32)(hostdata->pScript))/4,
1545 host->host_no, SCp, SCp == NULL ? NULL : SCp->host_scribble, dsp, dsp - hostdata->pScript);
1594 if(dsp == Ent_SendMessage + 8 + hostdata->pScript) {
1600 printk("scsi%d (%d:%d) PHASE MISMATCH IN SEND MESSAGE %d remain, return %p[%04x], phase %s\n", host->host_no, pun, lun, count, (void *)temp, temp - hostdata->pScript, sbcl_to_string(NCR_700_readb(host, SBCL_REG)));
1602 resume_offset = hostdata->pScript + Ent_SendMessagePhaseMismatch;
1651 resume_offset = hostdata->pScript + Ent_MsgInDuringData;
1657 host->host_no, pun, lun, dsp - hostdata->pScript, sbcl_to_string(sbcl));
1677 dsp, dsp - hostdata->pScript);
1716 host->host_no, resume_offset, resume_offset - hostdata->pScript);