Lines Matching refs:SG

349 		dma_addr_t offset = (dma_addr_t)((unsigned long)&hostdata->slots[j].SG[0]  in NCR_700_detect()
350 - (unsigned long)&hostdata->slots[0].SG[0]); in NCR_700_detect()
1032 slot->SG[0].ins = bS_to_host(SCRIPT_MOVE_DATA_IN | SCSI_SENSE_BUFFERSIZE); in process_script_interrupt()
1033 slot->SG[0].pAddr = bS_to_host(slot->dma_handle); in process_script_interrupt()
1034 slot->SG[1].ins = bS_to_host(SCRIPT_RETURN); in process_script_interrupt()
1035 slot->SG[1].pAddr = 0; in process_script_interrupt()
1037 dma_sync_to_dev(hostdata, slot->SG, sizeof(slot->SG[0])*2); in process_script_interrupt()
1207 __u32 SG = (__u32)bS_to_cpu(hostdata->script[A_SGScriptStartAddress_used[0]]); in process_script_interrupt() local
1211 if(SG >= to32bit(&hostdata->slots[i].pSG[0]) in process_script_interrupt()
1212 && SG <= to32bit(&hostdata->slots[i].pSG[NCR_700_SG_SEGMENTS])) in process_script_interrupt()
1215 … SG segment as being %08x in slot %p, cmd %p, slot->resume_offset=%08x\n", SG, &hostdata->slots[i]… in process_script_interrupt()
1267 …CR_700_command_slot *)SCp->host_scribble)->SG[i].ins, ((struct NCR_700_command_slot *)SCp->host_sc… in process_script_interrupt()
1628 count = (bS_to_cpu(slot->SG[SGcount].ins) & 0x00ffffff); in NCR_700_intr()
1630 slot->SG[SGcount].ins &= bS_to_host(0xff000000); in NCR_700_intr()
1631 slot->SG[SGcount].ins |= bS_to_host(data_transfer); in NCR_700_intr()
1632 pAddr = bS_to_cpu(slot->SG[SGcount].pAddr); in NCR_700_intr()
1639 slot->SG[SGcount].pAddr = bS_to_host(pAddr); in NCR_700_intr()
1643 slot->SG[i].ins = bS_to_host(SCRIPT_NOP); in NCR_700_intr()
1644 slot->SG[i].pAddr = 0; in NCR_700_intr()
1646 dma_sync_to_dev(hostdata, slot->SG, sizeof(slot->SG)); in NCR_700_intr()
1885 slot->SG[i].ins = bS_to_host(move_ins | count); in NCR_700_queuecommand_lck()
1887 i, count, slot->SG[i].ins, (unsigned long)vPtr)); in NCR_700_queuecommand_lck()
1888 slot->SG[i].pAddr = bS_to_host(vPtr); in NCR_700_queuecommand_lck()
1890 slot->SG[i].ins = bS_to_host(SCRIPT_RETURN); in NCR_700_queuecommand_lck()
1891 slot->SG[i].pAddr = 0; in NCR_700_queuecommand_lck()
1892 dma_sync_to_dev(hostdata, slot->SG, sizeof(slot->SG)); in NCR_700_queuecommand_lck()
1895 slot->SG[i].ins)); in NCR_700_queuecommand_lck()