Lines Matching refs:pScript

274 	return h->pScript + ((uintptr_t)p - (uintptr_t)h->script);  in virt_to_dma()
297 dma_addr_t pScript, pSlots; in NCR_700_detect() local
307 memory = dma_alloc_coherent(dev, TOTAL_MEM_SIZE, &pScript, GFP_KERNEL); in NCR_700_detect()
310 memory = dma_alloc_noncoherent(dev, TOTAL_MEM_SIZE, &pScript, in NCR_700_detect()
325 pSlots = pScript + SLOTS_OFFSET; in NCR_700_detect()
365 script[LABELPATCHES[j]] = bS_to_host(pScript + SCRIPT[LABELPATCHES[j]]); in NCR_700_detect()
368 pScript + MSGOUT_OFFSET); in NCR_700_detect()
370 pScript + STATUS_OFFSET); in NCR_700_detect()
372 pScript + MSGIN_OFFSET); in NCR_700_detect()
375 hostdata->pScript = pScript; in NCR_700_detect()
376 dma_sync_single_for_device(hostdata->dev, pScript, sizeof(SCRIPT), DMA_TO_DEVICE); in NCR_700_detect()
425 hostdata->script, hostdata->pScript, in NCR_700_release()
429 hostdata->script, hostdata->pScript); in NCR_700_release()
842 resume_offset = hostdata->pScript + Ent_SendMessageWithATN; in process_extended_message()
852 resume_offset = hostdata->pScript + Ent_SendMessageWithATN; in process_extended_message()
868 resume_offset = hostdata->pScript + Ent_SendMessageWithATN; in process_extended_message()
952 resume_offset = hostdata->pScript + Ent_SendMessageWithATN; in process_message()
1037 slot->resume_offset = hostdata->pScript; in process_script_interrupt()
1204 …host->host_no, reselection_id, lun, dsp, dsp - hostdata->pScript, hostdata->state, hostdata->comma… in process_script_interrupt()
1246 resume_offset = hostdata->pScript + Ent_GetReselectionWithTag; in process_script_interrupt()
1248 resume_offset = hostdata->pScript + Ent_GetReselectionData; in process_script_interrupt()
1262 NCR_700_phase[j], dsp - hostdata->pScript); in process_script_interrupt()
1274 host->host_no, pun, lun, dsps & 0xfff, dsp, dsp - hostdata->pScript); in process_script_interrupt()
1278 host->host_no, pun, lun, dsps, dsp - hostdata->pScript); in process_script_interrupt()
1325 …r %x [%04x], resume %x!\n", id, hostdata->cmd, slot, dsp, dsp - hostdata->pScript, resume_offset)); in process_selection()
1327 switch(dsp - hostdata->pScript) { in process_selection()
1330 save_for_reselection(hostdata, SCp, Ent_Disconnect2 + hostdata->pScript); in process_selection()
1334 save_for_reselection(hostdata, SCp, Ent_Disconnect4 + hostdata->pScript); in process_selection()
1338 save_for_reselection(hostdata, SCp, Ent_Disconnect6 + hostdata->pScript); in process_selection()
1342 save_for_reselection(hostdata, SCp, Ent_Disconnect8 + hostdata->pScript); in process_selection()
1362 resume_offset = hostdata->pScript + Ent_SelectedAsTarget; in process_selection()
1364 resume_offset = hostdata->pScript + Ent_GetReselectionWithTag; in process_selection()
1366 resume_offset = hostdata->pScript + Ent_GetReselectionData; in process_selection()
1469 slot->resume_offset = hostdata->pScript; in NCR_700_start_command()
1529 (dsp - (__u32)(hostdata->pScript))/4, in NCR_700_intr()
1544 … host->host_no, SCp, SCp == NULL ? NULL : SCp->host_scribble, dsp, dsp - hostdata->pScript); in NCR_700_intr()
1593 if(dsp == Ent_SendMessage + 8 + hostdata->pScript) { in NCR_700_intr()
1599 …se %s\n", host->host_no, pun, lun, count, (void *)temp, temp - hostdata->pScript, sbcl_to_string(N… in NCR_700_intr()
1601 resume_offset = hostdata->pScript + Ent_SendMessagePhaseMismatch; in NCR_700_intr()
1650 resume_offset = hostdata->pScript + Ent_MsgInDuringData; in NCR_700_intr()
1656 host->host_no, pun, lun, dsp - hostdata->pScript, sbcl_to_string(sbcl)); in NCR_700_intr()
1676 dsp, dsp - hostdata->pScript); in NCR_700_intr()
1715 host->host_no, resume_offset, resume_offset - hostdata->pScript); in NCR_700_intr()