SG 513 arch/alpha/kernel/pci_iommu.c #define SG_ENT_VIRT_ADDRESS(SG) (sg_virt((SG))) SG 514 arch/alpha/kernel/pci_iommu.c #define SG_ENT_PHYS_ADDRESS(SG) __pa(SG_ENT_VIRT_ADDRESS(SG)) SG 36 arch/sparc/kernel/iommu_common.h #define SG_ENT_PHYS_ADDRESS(SG) (__pa(sg_virt((SG)))) SG 325 drivers/scsi/53c700.c dma_addr_t offset = (dma_addr_t)((unsigned long)&hostdata->slots[j].SG[0] SG 326 drivers/scsi/53c700.c - (unsigned long)&hostdata->slots[0].SG[0]); SG 1006 drivers/scsi/53c700.c slot->SG[0].ins = bS_to_host(SCRIPT_MOVE_DATA_IN | SCSI_SENSE_BUFFERSIZE); SG 1007 drivers/scsi/53c700.c slot->SG[0].pAddr = bS_to_host(slot->dma_handle); SG 1008 drivers/scsi/53c700.c slot->SG[1].ins = bS_to_host(SCRIPT_RETURN); SG 1009 drivers/scsi/53c700.c slot->SG[1].pAddr = 0; SG 1011 drivers/scsi/53c700.c dma_cache_sync(hostdata->dev, slot->SG, sizeof(slot->SG[0])*2, DMA_TO_DEVICE); SG 1181 drivers/scsi/53c700.c __u32 SG = (__u32)bS_to_cpu(hostdata->script[A_SGScriptStartAddress_used[0]]); SG 1185 drivers/scsi/53c700.c if(SG >= to32bit(&hostdata->slots[i].pSG[0]) SG 1186 drivers/scsi/53c700.c && SG <= to32bit(&hostdata->slots[i].pSG[NCR_700_SG_SEGMENTS])) SG 1189 drivers/scsi/53c700.c printk(KERN_INFO "IDENTIFIED SG segment as being %08x in slot %p, cmd %p, slot->resume_offset=%08x\n", SG, &hostdata->slots[i], hostdata->slots[i].cmnd, hostdata->slots[i].resume_offset); SG 1242 drivers/scsi/53c700.c printk(KERN_INFO " SG[%d].length = %d, move_insn=%08x, addr %08x\n", i, sg->length, ((struct NCR_700_command_slot *)SCp->host_scribble)->SG[i].ins, ((struct NCR_700_command_slot *)SCp->host_scribble)->SG[i].pAddr); SG 1611 drivers/scsi/53c700.c count = (bS_to_cpu(slot->SG[SGcount].ins) & 0x00ffffff); SG 1613 drivers/scsi/53c700.c slot->SG[SGcount].ins &= bS_to_host(0xff000000); SG 1614 drivers/scsi/53c700.c slot->SG[SGcount].ins |= bS_to_host(data_transfer); SG 1615 drivers/scsi/53c700.c pAddr = bS_to_cpu(slot->SG[SGcount].pAddr); SG 1622 drivers/scsi/53c700.c slot->SG[SGcount].pAddr = bS_to_host(pAddr); SG 1626 drivers/scsi/53c700.c slot->SG[i].ins = bS_to_host(SCRIPT_NOP); SG 1627 drivers/scsi/53c700.c slot->SG[i].pAddr = 0; SG 1629 drivers/scsi/53c700.c dma_cache_sync(hostdata->dev, slot->SG, sizeof(slot->SG), DMA_TO_DEVICE); SG 1874 drivers/scsi/53c700.c slot->SG[i].ins = bS_to_host(move_ins | count); SG 1876 drivers/scsi/53c700.c i, count, slot->SG[i].ins, (unsigned long)vPtr)); SG 1877 drivers/scsi/53c700.c slot->SG[i].pAddr = bS_to_host(vPtr); SG 1879 drivers/scsi/53c700.c slot->SG[i].ins = bS_to_host(SCRIPT_RETURN); SG 1880 drivers/scsi/53c700.c slot->SG[i].pAddr = 0; SG 1881 drivers/scsi/53c700.c dma_cache_sync(hostdata->dev, slot->SG, sizeof(slot->SG), DMA_TO_DEVICE); SG 1884 drivers/scsi/53c700.c slot->SG[i].ins)); SG 172 drivers/scsi/53c700.h struct NCR_700_SG_List SG[NCR_700_SG_SEGMENTS+1]; SG 2287 drivers/scsi/hpsa.c chain_sg = &c->SG[h->max_cmd_sg_entries - 1]; SG 2312 drivers/scsi/hpsa.c chain_sg = &c->SG[h->max_cmd_sg_entries - 1]; SG 2793 drivers/scsi/hpsa.c dma_unmap_single(&pdev->dev, le64_to_cpu(c->SG[i].Addr), SG 2794 drivers/scsi/hpsa.c le32_to_cpu(c->SG[i].Len), SG 2819 drivers/scsi/hpsa.c cp->SG[0].Addr = cpu_to_le64(addr64); SG 2820 drivers/scsi/hpsa.c cp->SG[0].Len = cpu_to_le32(buflen); SG 2821 drivers/scsi/hpsa.c cp->SG[0].Ext = cpu_to_le32(HPSA_SG_LAST); /* we are not chaining */ SG 4568 drivers/scsi/hpsa.c curr_sg = cp->SG; SG 4748 drivers/scsi/hpsa.c curr_sg = cp->SG; SG 6398 drivers/scsi/hpsa.c c->SG[0].Addr = cpu_to_le64(0); SG 6399 drivers/scsi/hpsa.c c->SG[0].Len = cpu_to_le32(0); SG 6403 drivers/scsi/hpsa.c c->SG[0].Addr = cpu_to_le64(temp64); SG 6404 drivers/scsi/hpsa.c c->SG[0].Len = cpu_to_le32(iocommand.buf_size); SG 6405 drivers/scsi/hpsa.c c->SG[0].Ext = cpu_to_le32(HPSA_SG_LAST); /* not chaining */ SG 6522 drivers/scsi/hpsa.c c->SG[i].Addr = cpu_to_le64(0); SG 6523 drivers/scsi/hpsa.c c->SG[i].Len = cpu_to_le32(0); SG 6529 drivers/scsi/hpsa.c c->SG[i].Addr = cpu_to_le64(temp64); SG 6530 drivers/scsi/hpsa.c c->SG[i].Len = cpu_to_le32(buff_size[i]); SG 6531 drivers/scsi/hpsa.c c->SG[i].Ext = cpu_to_le32(0); SG 6533 drivers/scsi/hpsa.c c->SG[--i].Ext = cpu_to_le32(HPSA_SG_LAST); SG 9962 drivers/scsi/hpsa.c VERIFY_OFFSET(SG, 0x78 + 8); SG 428 drivers/scsi/hpsa_cmd.h struct SGDescriptor SG[SG_ENTRIES_IN_CMD]; SG 490 drivers/scsi/hpsa_cmd.h struct SGDescriptor SG[IOACCEL1_MAXSGENTRIES]; SG 122 include/linux/netdev_features.h #define NETIF_F_SG __NETIF_F(SG)