Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/usb/storage/
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-v5.4/drivers/scsi/
Daha1740.c218 struct aha1740_sg *sgptr; in aha1740_intr_handle() local
254 sgptr = (struct aha1740_sg *) SCtmp->host_scribble; in aha1740_intr_handle()
261 sgptr->sg_dma_addr); in aha1740_intr_handle()
323 struct aha1740_sg *sgptr; in aha1740_queuecommand_lck() local
392 sgptr = (struct aha1740_sg *) SCpnt->host_scribble; in aha1740_queuecommand_lck()
393 sgptr->sg_dma_addr = sg_dma; in aha1740_queuecommand_lck()
405 cptr = sgptr->sg_chain; in aha1740_queuecommand_lck()
/Linux-v5.4/drivers/scsi/aic7xxx/
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 …]
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()
2112 ahc_le32toh(hscb->sgptr),
4175 uint32_t sgptr; in ahc_handle_ign_wide_residue() local
4177 sgptr = ahc_inb(ahc, SCB_RESIDUAL_SGPTR); in ahc_handle_ign_wide_residue()
4178 if ((sgptr & SG_LIST_NULL) != 0 in ahc_handle_ign_wide_residue()
4193 sgptr = ahc_inl(ahc, SCB_RESIDUAL_SGPTR); in ahc_handle_ign_wide_residue()
[all …]
Daic79xx_inline.h100 void *sgptr, dma_addr_t addr,
Daic7xxx.h460 /*20*/ uint32_t sgptr; member
Daic79xx.h502 /*36*/ uint32_t sgptr; member
Daic7xxx_osm.c1548 scb->hscb->sgptr = in ahc_linux_run_command()
1558 scb->hscb->sgptr = ahc_htole32(SG_LIST_NULL); in ahc_linux_run_command()