sgptr             218 drivers/scsi/aha1740.c 	struct aha1740_sg *sgptr;
sgptr             254 drivers/scsi/aha1740.c 			sgptr = (struct aha1740_sg *) SCtmp->host_scribble;
sgptr             261 drivers/scsi/aha1740.c 					   sgptr->sg_dma_addr);
sgptr             323 drivers/scsi/aha1740.c 	struct aha1740_sg *sgptr;
sgptr             392 drivers/scsi/aha1740.c 	sgptr = (struct aha1740_sg *) SCpnt->host_scribble;
sgptr             393 drivers/scsi/aha1740.c 	sgptr->sg_dma_addr = sg_dma;
sgptr             405 drivers/scsi/aha1740.c 		cptr = sgptr->sg_chain;
sgptr             502 drivers/scsi/aic7xxx/aic79xx.h /*36*/	uint32_t sgptr;
sgptr             407 drivers/scsi/aic7xxx/aic79xx_core.c 	     void *sgptr, dma_addr_t addr, bus_size_t len, int last)
sgptr             414 drivers/scsi/aic7xxx/aic79xx_core.c 		sg = (struct ahd_dma64_seg *)sgptr;
sgptr             421 drivers/scsi/aic7xxx/aic79xx_core.c 		sg = (struct ahd_dma_seg *)sgptr;
sgptr             484 drivers/scsi/aic7xxx/aic79xx_core.c 	scb->hscb->sgptr = ahd_htole32(scb->sg_list_busaddr|SG_FULL_RESID);
sgptr             490 drivers/scsi/aic7xxx/aic79xx_core.c 	scb->hscb->sgptr = ahd_htole32(SG_LIST_NULL);
sgptr            1094 drivers/scsi/aic7xxx/aic79xx_core.c 	uint32_t sgptr;
sgptr            1096 drivers/scsi/aic7xxx/aic79xx_core.c 	sgptr = ahd_le32toh(scb->hscb->sgptr);
sgptr            1097 drivers/scsi/aic7xxx/aic79xx_core.c 	if ((sgptr & SG_STATUS_VALID) != 0)
sgptr            1104 drivers/scsi/aic7xxx/aic79xx_core.c 	uint32_t sgptr;
sgptr            1106 drivers/scsi/aic7xxx/aic79xx_core.c 	sgptr = ahd_le32toh(scb->hscb->sgptr);
sgptr            1107 drivers/scsi/aic7xxx/aic79xx_core.c 	if ((sgptr & SG_STATUS_VALID) != 0)
sgptr            1431 drivers/scsi/aic7xxx/aic79xx_core.c 		uint32_t sgptr;
sgptr            1436 drivers/scsi/aic7xxx/aic79xx_core.c 		sgptr = ahd_inl_scbram(ahd, SCB_SGPTR) & ~SG_FULL_RESID;
sgptr            1437 drivers/scsi/aic7xxx/aic79xx_core.c 		ahd_outb(ahd, SCB_SGPTR, sgptr);
sgptr            1444 drivers/scsi/aic7xxx/aic79xx_core.c 			sgptr |= LAST_SEG;
sgptr            1450 drivers/scsi/aic7xxx/aic79xx_core.c 		ahd_outb(ahd, SG_CACHE_PRE, sgptr);
sgptr            1457 drivers/scsi/aic7xxx/aic79xx_core.c 		ahd_outl(ahd, SCB_RESIDUAL_SGPTR, sgptr & SG_PTR_MASK);
sgptr            1476 drivers/scsi/aic7xxx/aic79xx_core.c 		uint32_t sgptr;
sgptr            1505 drivers/scsi/aic7xxx/aic79xx_core.c 		sgptr = ahd_inl_scbram(ahd, SCB_RESIDUAL_SGPTR);
sgptr            1518 drivers/scsi/aic7xxx/aic79xx_core.c 			 && (sgptr & 0x80) == 0)
sgptr            1519 drivers/scsi/aic7xxx/aic79xx_core.c 				sgptr -= 0x100;
sgptr            1520 drivers/scsi/aic7xxx/aic79xx_core.c 			sgptr &= ~0xFF;
sgptr            1521 drivers/scsi/aic7xxx/aic79xx_core.c 			sgptr |= ahd_inb(ahd, SG_CACHE_SHADOW)
sgptr            1523 drivers/scsi/aic7xxx/aic79xx_core.c 			ahd_outl(ahd, SCB_RESIDUAL_SGPTR, sgptr);
sgptr            1527 drivers/scsi/aic7xxx/aic79xx_core.c 				 sgptr | SG_LIST_NULL);
sgptr            1534 drivers/scsi/aic7xxx/aic79xx_core.c 		ahd_outl(ahd, SCB_SGPTR, sgptr);
sgptr            1545 drivers/scsi/aic7xxx/aic79xx_core.c 		uint32_t sgptr;
sgptr            1573 drivers/scsi/aic7xxx/aic79xx_core.c 			sgptr = ahd_inl_scbram(ahd, SCB_RESIDUAL_SGPTR);
sgptr            1574 drivers/scsi/aic7xxx/aic79xx_core.c 			sgptr &= SG_PTR_MASK;
sgptr            1578 drivers/scsi/aic7xxx/aic79xx_core.c 				sg = ahd_sg_bus_to_virt(ahd, scb, sgptr);
sgptr            1581 drivers/scsi/aic7xxx/aic79xx_core.c 				sgptr += sizeof(*sg);
sgptr            1585 drivers/scsi/aic7xxx/aic79xx_core.c 				sg = ahd_sg_bus_to_virt(ahd, scb, sgptr);
sgptr            1590 drivers/scsi/aic7xxx/aic79xx_core.c 				sgptr += sizeof(*sg);
sgptr            1597 drivers/scsi/aic7xxx/aic79xx_core.c 			ahd_outl(ahd, SCB_RESIDUAL_SGPTR, sgptr);
sgptr            1603 drivers/scsi/aic7xxx/aic79xx_core.c 				sgptr |= LAST_SEG;
sgptr            1608 drivers/scsi/aic7xxx/aic79xx_core.c 			ahd_outb(ahd, SG_CACHE_PRE, sgptr & 0xFF);
sgptr            3611 drivers/scsi/aic7xxx/aic79xx_core.c 	       ahd_le32toh(hscb->sgptr),
sgptr            5710 drivers/scsi/aic7xxx/aic79xx_core.c 		uint32_t sgptr;
sgptr            5712 drivers/scsi/aic7xxx/aic79xx_core.c 		sgptr = ahd_inb_scbram(ahd, SCB_RESIDUAL_SGPTR);
sgptr            5713 drivers/scsi/aic7xxx/aic79xx_core.c 		if ((sgptr & SG_LIST_NULL) != 0
sgptr            5728 drivers/scsi/aic7xxx/aic79xx_core.c 			sgptr = ahd_inl_scbram(ahd, SCB_RESIDUAL_SGPTR);
sgptr            5730 drivers/scsi/aic7xxx/aic79xx_core.c 			if ((sgptr & SG_LIST_NULL) != 0) {
sgptr            5741 drivers/scsi/aic7xxx/aic79xx_core.c 			sgptr &= SG_PTR_MASK;
sgptr            5745 drivers/scsi/aic7xxx/aic79xx_core.c 				sg = ahd_sg_bus_to_virt(ahd, scb, sgptr);
sgptr            5772 drivers/scsi/aic7xxx/aic79xx_core.c 					sgptr = ahd_sg_virt_to_bus(ahd, scb,
sgptr            5778 drivers/scsi/aic7xxx/aic79xx_core.c 				sg = ahd_sg_bus_to_virt(ahd, scb, sgptr);
sgptr            5805 drivers/scsi/aic7xxx/aic79xx_core.c 					sgptr = ahd_sg_virt_to_bus(ahd, scb,
sgptr            5819 drivers/scsi/aic7xxx/aic79xx_core.c 			ahd_outl(ahd, SCB_RESIDUAL_SGPTR, sgptr);
sgptr            5841 drivers/scsi/aic7xxx/aic79xx_core.c 	uint32_t	 sgptr;
sgptr            5874 drivers/scsi/aic7xxx/aic79xx_core.c 	sgptr = ahd_inl_scbram(ahd, SCB_RESIDUAL_SGPTR);
sgptr            5875 drivers/scsi/aic7xxx/aic79xx_core.c 	sgptr &= SG_PTR_MASK;
sgptr            5884 drivers/scsi/aic7xxx/aic79xx_core.c 		sg = ahd_sg_bus_to_virt(ahd, scb, sgptr);
sgptr            5896 drivers/scsi/aic7xxx/aic79xx_core.c 		sg = ahd_sg_bus_to_virt(ahd, scb, sgptr);
sgptr            9092 drivers/scsi/aic7xxx/aic79xx_core.c 	uint32_t sgptr;
sgptr            9113 drivers/scsi/aic7xxx/aic79xx_core.c 	sgptr = ahd_le32toh(hscb->sgptr);
sgptr            9114 drivers/scsi/aic7xxx/aic79xx_core.c 	if ((sgptr & SG_STATUS_VALID) == 0)
sgptr            9117 drivers/scsi/aic7xxx/aic79xx_core.c 	sgptr &= ~SG_STATUS_VALID;
sgptr            9119 drivers/scsi/aic7xxx/aic79xx_core.c 	if ((sgptr & SG_LIST_NULL) != 0)
sgptr            9131 drivers/scsi/aic7xxx/aic79xx_core.c 	if ((sgptr & SG_FULL_RESID) != 0) {
sgptr             100 drivers/scsi/aic7xxx/aic79xx_inline.h 		      void *sgptr, dma_addr_t addr,
sgptr             460 drivers/scsi/aic7xxx/aic7xxx.h /*20*/	uint32_t sgptr;
sgptr             431 drivers/scsi/aic7xxx/aic7xxx_core.c 	uint32_t sgptr;
sgptr             433 drivers/scsi/aic7xxx/aic7xxx_core.c 	sgptr = ahc_le32toh(scb->hscb->sgptr);
sgptr             434 drivers/scsi/aic7xxx/aic7xxx_core.c 	if ((sgptr & SG_RESID_VALID) != 0)
sgptr            1134 drivers/scsi/aic7xxx/aic7xxx_core.c 			hscb->sgptr = scb->sg_list_phys | SG_FULL_RESID;
sgptr            1135 drivers/scsi/aic7xxx/aic7xxx_core.c 			hscb->sgptr = ahc_htole32(hscb->sgptr);
sgptr            2112 drivers/scsi/aic7xxx/aic7xxx_core.c 		ahc_le32toh(hscb->sgptr),
sgptr            4175 drivers/scsi/aic7xxx/aic7xxx_core.c 		uint32_t sgptr;
sgptr            4177 drivers/scsi/aic7xxx/aic7xxx_core.c 		sgptr = ahc_inb(ahc, SCB_RESIDUAL_SGPTR);
sgptr            4178 drivers/scsi/aic7xxx/aic7xxx_core.c 		if ((sgptr & SG_LIST_NULL) != 0
sgptr            4193 drivers/scsi/aic7xxx/aic7xxx_core.c 			sgptr = ahc_inl(ahc, SCB_RESIDUAL_SGPTR);
sgptr            4196 drivers/scsi/aic7xxx/aic7xxx_core.c 			if ((sgptr & SG_LIST_NULL) != 0) {
sgptr            4209 drivers/scsi/aic7xxx/aic7xxx_core.c 			sgptr &= SG_PTR_MASK;
sgptr            4211 drivers/scsi/aic7xxx/aic7xxx_core.c 			sg = ahc_sg_bus_to_virt(scb, sgptr);
sgptr            4237 drivers/scsi/aic7xxx/aic7xxx_core.c 				sgptr = ahc_sg_virt_to_bus(scb, sg);
sgptr            4239 drivers/scsi/aic7xxx/aic7xxx_core.c 			ahc_outl(ahc, SCB_RESIDUAL_SGPTR, sgptr);
sgptr            4264 drivers/scsi/aic7xxx/aic7xxx_core.c 	uint32_t sgptr;
sgptr            4270 drivers/scsi/aic7xxx/aic7xxx_core.c 	sgptr = (ahc_inb(ahc, SCB_RESIDUAL_SGPTR + 3) << 24)
sgptr            4275 drivers/scsi/aic7xxx/aic7xxx_core.c 	sgptr &= SG_PTR_MASK;
sgptr            4276 drivers/scsi/aic7xxx/aic7xxx_core.c 	sg = ahc_sg_bus_to_virt(scb, sgptr);
sgptr            6625 drivers/scsi/aic7xxx/aic7xxx_core.c 	uint32_t sgptr;
sgptr            6646 drivers/scsi/aic7xxx/aic7xxx_core.c 	sgptr = ahc_le32toh(hscb->sgptr);
sgptr            6647 drivers/scsi/aic7xxx/aic7xxx_core.c 	if ((sgptr & SG_RESID_VALID) == 0)
sgptr            6650 drivers/scsi/aic7xxx/aic7xxx_core.c 	sgptr &= ~SG_RESID_VALID;
sgptr            6652 drivers/scsi/aic7xxx/aic7xxx_core.c 	if ((sgptr & SG_LIST_NULL) != 0)
sgptr            6658 drivers/scsi/aic7xxx/aic7xxx_core.c 	if ((sgptr & SG_FULL_RESID) != 0) {
sgptr            1548 drivers/scsi/aic7xxx/aic7xxx_osm.c 		scb->hscb->sgptr =
sgptr            1558 drivers/scsi/aic7xxx/aic7xxx_osm.c 		scb->hscb->sgptr = ahc_htole32(SG_LIST_NULL);
sgptr             122 drivers/usb/storage/protocol.c 	unsigned int buflen, struct scsi_cmnd *srb, struct scatterlist **sgptr,
sgptr             126 drivers/usb/storage/protocol.c 	struct scatterlist *sg = *sgptr;
sgptr             152 drivers/usb/storage/protocol.c 			*sgptr = miter.piter.sg;
sgptr             155 drivers/usb/storage/protocol.c 			*sgptr = sg_next(miter.piter.sg);