Lines Matching refs:pScript
273 return h->pScript + ((uintptr_t)p - (uintptr_t)h->script); in virt_to_dma()
296 dma_addr_t pScript, pSlots; in NCR_700_detect() local
306 memory = dma_alloc_coherent(dev, TOTAL_MEM_SIZE, &pScript, GFP_KERNEL); in NCR_700_detect()
309 memory = dma_alloc_noncoherent(dev, TOTAL_MEM_SIZE, &pScript, in NCR_700_detect()
324 pSlots = pScript + SLOTS_OFFSET; in NCR_700_detect()
364 script[LABELPATCHES[j]] = bS_to_host(pScript + SCRIPT[LABELPATCHES[j]]); in NCR_700_detect()
367 pScript + MSGOUT_OFFSET); in NCR_700_detect()
369 pScript + STATUS_OFFSET); in NCR_700_detect()
371 pScript + MSGIN_OFFSET); in NCR_700_detect()
374 hostdata->pScript = pScript; in NCR_700_detect()
375 dma_sync_single_for_device(hostdata->dev, pScript, sizeof(SCRIPT), DMA_TO_DEVICE); in NCR_700_detect()
424 hostdata->script, hostdata->pScript, in NCR_700_release()
428 hostdata->script, hostdata->pScript); in NCR_700_release()
841 resume_offset = hostdata->pScript + Ent_SendMessageWithATN; in process_extended_message()
851 resume_offset = hostdata->pScript + Ent_SendMessageWithATN; in process_extended_message()
867 resume_offset = hostdata->pScript + Ent_SendMessageWithATN; in process_extended_message()
951 resume_offset = hostdata->pScript + Ent_SendMessageWithATN; in process_message()
1036 slot->resume_offset = hostdata->pScript; in process_script_interrupt()
1203 …host->host_no, reselection_id, lun, dsp, dsp - hostdata->pScript, hostdata->state, hostdata->comma… in process_script_interrupt()
1245 resume_offset = hostdata->pScript + Ent_GetReselectionWithTag; in process_script_interrupt()
1247 resume_offset = hostdata->pScript + Ent_GetReselectionData; in process_script_interrupt()
1261 NCR_700_phase[j], dsp - hostdata->pScript); in process_script_interrupt()
1273 host->host_no, pun, lun, dsps & 0xfff, dsp, dsp - hostdata->pScript); in process_script_interrupt()
1277 host->host_no, pun, lun, dsps, dsp - hostdata->pScript); in process_script_interrupt()
1324 …r %x [%04x], resume %x!\n", id, hostdata->cmd, slot, dsp, dsp - hostdata->pScript, resume_offset)); in process_selection()
1326 switch(dsp - hostdata->pScript) { in process_selection()
1329 save_for_reselection(hostdata, SCp, Ent_Disconnect2 + hostdata->pScript); in process_selection()
1333 save_for_reselection(hostdata, SCp, Ent_Disconnect4 + hostdata->pScript); in process_selection()
1337 save_for_reselection(hostdata, SCp, Ent_Disconnect6 + hostdata->pScript); in process_selection()
1341 save_for_reselection(hostdata, SCp, Ent_Disconnect8 + hostdata->pScript); in process_selection()
1361 resume_offset = hostdata->pScript + Ent_SelectedAsTarget; in process_selection()
1363 resume_offset = hostdata->pScript + Ent_GetReselectionWithTag; in process_selection()
1365 resume_offset = hostdata->pScript + Ent_GetReselectionData; in process_selection()
1468 slot->resume_offset = hostdata->pScript; in NCR_700_start_command()
1528 (dsp - (__u32)(hostdata->pScript))/4, in NCR_700_intr()
1543 … host->host_no, SCp, SCp == NULL ? NULL : SCp->host_scribble, dsp, dsp - hostdata->pScript); in NCR_700_intr()
1592 if(dsp == Ent_SendMessage + 8 + hostdata->pScript) { in NCR_700_intr()
1598 …se %s\n", host->host_no, pun, lun, count, (void *)temp, temp - hostdata->pScript, sbcl_to_string(N… in NCR_700_intr()
1600 resume_offset = hostdata->pScript + Ent_SendMessagePhaseMismatch; in NCR_700_intr()
1649 resume_offset = hostdata->pScript + Ent_MsgInDuringData; in NCR_700_intr()
1655 host->host_no, pun, lun, dsp - hostdata->pScript, sbcl_to_string(sbcl)); in NCR_700_intr()
1675 dsp, dsp - hostdata->pScript); in NCR_700_intr()
1714 host->host_no, resume_offset, resume_offset - hostdata->pScript); in NCR_700_intr()