/kernel/linux/linux-5.10/drivers/usb/storage/ |
H A D | protocol.c | 118 * Update the **sgptr and *offset variables so that the next copy will 122 unsigned int buflen, struct scsi_cmnd *srb, struct scatterlist **sgptr, in usb_stor_access_xfer_buf() 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() 121 usb_stor_access_xfer_buf(unsigned char *buffer, unsigned int buflen, struct scsi_cmnd *srb, struct scatterlist **sgptr, unsigned int *offset, enum xfer_buf_dir dir) usb_stor_access_xfer_buf() argument
|
/kernel/linux/linux-6.6/drivers/usb/storage/ |
H A D | protocol.c | 118 * Update the **sgptr and *offset variables so that the next copy will 122 unsigned int buflen, struct scsi_cmnd *srb, struct scatterlist **sgptr, in usb_stor_access_xfer_buf() 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() 121 usb_stor_access_xfer_buf(unsigned char *buffer, unsigned int buflen, struct scsi_cmnd *srb, struct scatterlist **sgptr, unsigned int *offset, enum xfer_buf_dir dir) usb_stor_access_xfer_buf() argument
|
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | aha1740.c | 218 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()
|
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | aha1740.c | 223 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()
|
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/ |
H A D | aic79xx_core.c | 407 void *sgptr, dma_addr_t addr, bus_size_t len, int last) in ahd_sg_setup() 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 406 ahd_sg_setup(struct ahd_softc *ahd, struct scb *scb, void *sgptr, dma_addr_t addr, bus_size_t len, int last) ahd_sg_setup() argument 1431 uint32_t sgptr; ahd_run_data_fifo() local 1476 uint32_t sgptr; ahd_run_data_fifo() local 1545 uint32_t sgptr; ahd_run_data_fifo() local 5682 uint32_t sgptr; ahd_handle_ign_wide_residue() local 5813 uint32_t sgptr; ahd_reinitialize_dataptrs() local 9052 uint32_t sgptr; ahd_calc_residual() local [all...] |
H A D | aic79xx_inline.h | 100 void *sgptr, dma_addr_t addr,
|
H A D | aic7xxx_core.c | 431 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() 2094 printk(" dataptr:%#x datacnt:%#x sgptr:%#x tag:%#x\n", 2097 ahc_le32toh(hscb->sgptr), 4159 uint32_t sgptr; in ahc_handle_ign_wide_residue() local 4248 uint32_t sgptr; ahc_reinitialize_dataptrs() local 6597 uint32_t sgptr; ahc_calc_residual() local [all...] |
H A D | aic7xxx.h | 421 * transfer. The sgptr field is initialized to the bus address for 426 * fields). If no transfer is to occur, sgptr is set to SG_LIST_NULL. 429 * the residual sgptr and datacnt are loaded from the sgptr and the 431 * loaded into the hardware, the residual sgptr is advanced. After 436 * will set the SG_RESID_VALID flag in sgptr and dma the scb back into 440 * o A residual has occurred if SG_FULL_RESID is set in sgptr, 450 * o residual_sgptr and sgptr refer to the "next" sg entry 460 /*20*/ uint32_t sgptr; member
|
H A D | aic79xx.h | 454 * transfer. The sgptr field is initialized to the bus address for 459 * fields). If no transfer is to occur, sgptr is set to SG_LIST_NULL. 462 * the residual sgptr and datacnt are loaded from the sgptr and the 464 * loaded into the hardware, the residual sgptr is advanced. After 470 * sgptr and dma the scb back into host memory. To sumarize: 473 * o A residual has occurred if SG_FULL_RESID is set in sgptr, 485 * o residual_sgptr and sgptr refer to the "next" sg entry 502 /*36*/ uint32_t sgptr; member
|
H A D | aic7xxx_osm.c | 1532 scb->hscb->sgptr = in ahc_linux_run_command() 1542 scb->hscb->sgptr = ahc_htole32(SG_LIST_NULL); in ahc_linux_run_command()
|
/kernel/linux/linux-6.6/drivers/scsi/aic7xxx/ |
H A D | aic79xx_core.c | 407 void *sgptr, dma_addr_t addr, bus_size_t len, int last) in ahd_sg_setup() 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 406 ahd_sg_setup(struct ahd_softc *ahd, struct scb *scb, void *sgptr, dma_addr_t addr, bus_size_t len, int last) ahd_sg_setup() argument 1431 uint32_t sgptr; ahd_run_data_fifo() local 1476 uint32_t sgptr; ahd_run_data_fifo() local 1545 uint32_t sgptr; ahd_run_data_fifo() local 5680 uint32_t sgptr; ahd_handle_ign_wide_residue() local 5811 uint32_t sgptr; ahd_reinitialize_dataptrs() local 9048 uint32_t sgptr; ahd_calc_residual() local [all...] |
H A D | aic79xx_inline.h | 100 void *sgptr, dma_addr_t addr,
|
H A D | aic7xxx_core.c | 431 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() 2092 printk(" dataptr:%#x datacnt:%#x sgptr:%#x tag:%#x\n", 2095 ahc_le32toh(hscb->sgptr), 4157 uint32_t sgptr; in ahc_handle_ign_wide_residue() local 4246 uint32_t sgptr; ahc_reinitialize_dataptrs() local 6592 uint32_t sgptr; ahc_calc_residual() local [all...] |
H A D | aic7xxx.h | 421 * transfer. The sgptr field is initialized to the bus address for 426 * fields). If no transfer is to occur, sgptr is set to SG_LIST_NULL. 429 * the residual sgptr and datacnt are loaded from the sgptr and the 431 * loaded into the hardware, the residual sgptr is advanced. After 436 * will set the SG_RESID_VALID flag in sgptr and dma the scb back into 440 * o A residual has occurred if SG_FULL_RESID is set in sgptr, 450 * o residual_sgptr and sgptr refer to the "next" sg entry 460 /*20*/ uint32_t sgptr; member
|
H A D | aic79xx.h | 454 * transfer. The sgptr field is initialized to the bus address for 459 * fields). If no transfer is to occur, sgptr is set to SG_LIST_NULL. 462 * the residual sgptr and datacnt are loaded from the sgptr and the 464 * loaded into the hardware, the residual sgptr is advanced. After 470 * sgptr and dma the scb back into host memory. To sumarize: 473 * o A residual has occurred if SG_FULL_RESID is set in sgptr, 485 * o residual_sgptr and sgptr refer to the "next" sg entry 502 /*36*/ uint32_t sgptr; member
|
H A D | aic7xxx_osm.c | 1531 scb->hscb->sgptr = in ahc_linux_run_command() 1541 scb->hscb->sgptr = ahc_htole32(SG_LIST_NULL); in ahc_linux_run_command()
|