Home
last modified time | relevance | path

Searched refs:sgptr (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/usb/storage/
H A Dprotocol.c122 unsigned int buflen, struct scsi_cmnd *srb, struct scatterlist **sgptr, in usb_stor_access_xfer_buf() argument
126 struct scatterlist *sg = *sgptr; in usb_stor_access_xfer_buf()
152 *sgptr = miter.piter.sg; in usb_stor_access_xfer_buf()
155 *sgptr = sg_next(miter.piter.sg); in usb_stor_access_xfer_buf()
/linux/drivers/scsi/
H A Daha1740.c223 struct aha1740_sg *sgptr; in aha1740_intr_handle() local
259 sgptr = (struct aha1740_sg *) SCtmp->host_scribble; in aha1740_intr_handle()
266 sgptr->sg_dma_addr); in aha1740_intr_handle()
331 struct aha1740_sg *sgptr; in aha1740_queuecommand_lck() local
400 sgptr = (struct aha1740_sg *) SCpnt->host_scribble; in aha1740_queuecommand_lck()
401 sgptr->sg_dma_addr = sg_dma; in aha1740_queuecommand_lck()
413 cptr = sgptr->sg_chain; in aha1740_queuecommand_lck()
/linux/drivers/scsi/aic7xxx/
H A Daic79xx_core.c407 void *sgptr, dma_addr_t addr, bus_size_t len, int last) in ahd_sg_setup() argument
414 sg = (struct ahd_dma64_seg *)sgptr; in ahd_sg_setup()
421 sg = (struct ahd_dma_seg *)sgptr; in ahd_sg_setup()
484 scb->hscb->sgptr = ahd_htole32(scb->sg_list_busaddr|SG_FULL_RESID); in ahd_setup_data_scb()
490 scb->hscb->sgptr = ahd_htole32(SG_LIST_NULL); in ahd_setup_noxfer_scb()
1094 uint32_t sgptr; in ahd_update_residual() local
1096 sgptr = ahd_le32toh(scb->hscb->sgptr); in ahd_update_residual()
1097 if ((sgptr & SG_STATUS_VALID) != 0) in ahd_update_residual()
1104 uint32_t sgptr; in ahd_complete_scb() local
1106 sgptr = ahd_le32toh(scb->hscb->sgptr); in ahd_complete_scb()
[all …]
H A Daic7xxx_core.c431 uint32_t sgptr; in ahc_update_residual() local
433 sgptr = ahc_le32toh(scb->hscb->sgptr); in ahc_update_residual()
434 if ((sgptr & SG_RESID_VALID) != 0) in ahc_update_residual()
1134 hscb->sgptr = scb->sg_list_phys | SG_FULL_RESID; in ahc_handle_seqint()
1135 hscb->sgptr = ahc_htole32(hscb->sgptr); in ahc_handle_seqint()
2095 ahc_le32toh(hscb->sgptr),
4157 uint32_t sgptr; in ahc_handle_ign_wide_residue() local
4159 sgptr = ahc_inb(ahc, SCB_RESIDUAL_SGPTR); in ahc_handle_ign_wide_residue()
4160 if ((sgptr & SG_LIST_NULL) != 0 in ahc_handle_ign_wide_residue()
4175 sgptr = ahc_inl(ahc, SCB_RESIDUAL_SGPTR); in ahc_handle_ign_wide_residue()
[all …]
H A Daic79xx_inline.h100 void *sgptr, dma_addr_t addr,
H A Daic79xx.h502 /*36*/ uint32_t sgptr; member
H A Daic7xxx_osm.c1539 scb->hscb->sgptr = in ahc_linux_run_command()
1549 scb->hscb->sgptr = ahc_htole32(SG_LIST_NULL); in ahc_linux_run_command()