Lines Matching refs:pScript
273 return h->pScript + ((uintptr_t)p - (uintptr_t)h->script);
296 dma_addr_t pScript, pSlots;
306 memory = dma_alloc_coherent(dev, TOTAL_MEM_SIZE, &pScript, GFP_KERNEL);
309 memory = dma_alloc_noncoherent(dev, TOTAL_MEM_SIZE, &pScript,
324 pSlots = pScript + SLOTS_OFFSET;
364 script[LABELPATCHES[j]] = bS_to_host(pScript + SCRIPT[LABELPATCHES[j]]);
367 pScript + MSGOUT_OFFSET);
369 pScript + STATUS_OFFSET);
371 pScript + MSGIN_OFFSET);
374 hostdata->pScript = pScript;
375 dma_sync_single_for_device(hostdata->dev, pScript, sizeof(SCRIPT), DMA_TO_DEVICE);
424 hostdata->script, hostdata->pScript,
428 hostdata->script, hostdata->pScript);
841 resume_offset = hostdata->pScript + Ent_SendMessageWithATN;
851 resume_offset = hostdata->pScript + Ent_SendMessageWithATN;
867 resume_offset = hostdata->pScript + Ent_SendMessageWithATN;
951 resume_offset = hostdata->pScript + Ent_SendMessageWithATN;
1036 slot->resume_offset = hostdata->pScript;
1203 host->host_no, reselection_id, lun, dsp, dsp - hostdata->pScript, hostdata->state, hostdata->command_slot_count);
1245 resume_offset = hostdata->pScript + Ent_GetReselectionWithTag;
1247 resume_offset = hostdata->pScript + Ent_GetReselectionData;
1261 NCR_700_phase[j], dsp - hostdata->pScript);
1273 host->host_no, pun, lun, dsps & 0xfff, dsp, dsp - hostdata->pScript);
1277 host->host_no, pun, lun, dsps, dsp - hostdata->pScript);
1324 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));
1326 switch(dsp - hostdata->pScript) {
1329 save_for_reselection(hostdata, SCp, Ent_Disconnect2 + hostdata->pScript);
1333 save_for_reselection(hostdata, SCp, Ent_Disconnect4 + hostdata->pScript);
1337 save_for_reselection(hostdata, SCp, Ent_Disconnect6 + hostdata->pScript);
1341 save_for_reselection(hostdata, SCp, Ent_Disconnect8 + hostdata->pScript);
1361 resume_offset = hostdata->pScript + Ent_SelectedAsTarget;
1363 resume_offset = hostdata->pScript + Ent_GetReselectionWithTag;
1365 resume_offset = hostdata->pScript + Ent_GetReselectionData;
1468 slot->resume_offset = hostdata->pScript;
1528 (dsp - (__u32)(hostdata->pScript))/4,
1543 host->host_no, SCp, SCp == NULL ? NULL : SCp->host_scribble, dsp, dsp - hostdata->pScript);
1592 if(dsp == Ent_SendMessage + 8 + hostdata->pScript) {
1598 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)));
1600 resume_offset = hostdata->pScript + Ent_SendMessagePhaseMismatch;
1649 resume_offset = hostdata->pScript + Ent_MsgInDuringData;
1655 host->host_no, pun, lun, dsp - hostdata->pScript, sbcl_to_string(sbcl));
1675 dsp, dsp - hostdata->pScript);
1714 host->host_no, resume_offset, resume_offset - hostdata->pScript);