Searched refs:sgptr (Results 1 - 16 of 16) sorted by relevance

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/usb/storage/
H A Dprotocol.c130 * Update the **sgptr and *offset variables so that the next copy will
134 unsigned int buflen, struct scsi_cmnd *srb, struct scatterlist **sgptr,
138 struct scatterlist *sg = *sgptr;
155 * the *offset and **sgptr values for the next loop.
197 *sgptr = sg;
133 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) argument
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/usb/storage/
H A Dprotocol.c130 * Update the **sgptr and *offset variables so that the next copy will
134 unsigned int buflen, struct scsi_cmnd *srb, struct scatterlist **sgptr,
138 struct scatterlist *sg = *sgptr;
155 * the *offset and **sgptr values for the next loop.
197 *sgptr = sg;
133 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) argument
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/scsi/
H A Daha1740.c238 struct aha1740_sg *sgptr; local
274 sgptr = (struct aha1740_sg *) SCtmp->host_scribble;
281 sgptr->sg_dma_addr);
342 struct aha1740_sg *sgptr; local
411 sgptr = (struct aha1740_sg *) SCpnt->host_scribble;
412 sgptr->sg_dma_addr = sg_dma;
424 cptr = sgptr->sg_chain;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/scsi/
H A Daha1740.c238 struct aha1740_sg *sgptr; local
274 sgptr = (struct aha1740_sg *) SCtmp->host_scribble;
281 sgptr->sg_dma_addr);
342 struct aha1740_sg *sgptr; local
411 sgptr = (struct aha1740_sg *) SCpnt->host_scribble;
412 sgptr->sg_dma_addr = sg_dma;
424 cptr = sgptr->sg_chain;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/scsi/aic7xxx/
H A Daic79xx_inline.h100 void *sgptr, dma_addr_t addr,
H A Daic79xx_core.c415 void *sgptr, dma_addr_t addr, bus_size_t len, int last)
422 sg = (struct ahd_dma64_seg *)sgptr;
429 sg = (struct ahd_dma_seg *)sgptr;
490 scb->hscb->sgptr = ahd_htole32(scb->sg_list_busaddr|SG_FULL_RESID);
496 scb->hscb->sgptr = ahd_htole32(SG_LIST_NULL);
1056 uint32_t sgptr; local
1058 sgptr = ahd_le32toh(scb->hscb->sgptr);
1059 if ((sgptr & SG_STATUS_VALID) != 0)
1066 uint32_t sgptr; local
414 ahd_sg_setup(struct ahd_softc *ahd, struct scb *scb, void *sgptr, dma_addr_t addr, bus_size_t len, int last) argument
1393 uint32_t sgptr; local
1438 uint32_t sgptr; local
1507 uint32_t sgptr; local
5636 uint32_t sgptr; local
5767 uint32_t sgptr; local
9063 uint32_t sgptr; local
[all...]
H A Daic7xxx_core.c430 uint32_t sgptr; local
432 sgptr = ahc_le32toh(scb->hscb->sgptr);
433 if ((sgptr & SG_RESID_VALID) != 0)
1133 hscb->sgptr = scb->sg_list_phys | SG_FULL_RESID;
1134 hscb->sgptr = ahc_htole32(hscb->sgptr);
4132 uint32_t sgptr; local
4134 sgptr = ahc_inb(ahc, SCB_RESIDUAL_SGPTR);
4135 if ((sgptr
4221 uint32_t sgptr; local
6593 uint32_t sgptr; local
[all...]
H A Daic7xxx.h418 * transfer. The sgptr field is initialized to the bus address for
423 * fields). If no transfer is to occur, sgptr is set to SG_LIST_NULL.
426 * the residual sgptr and datacnt are loaded from the sgptr and the
428 * loaded into the hardware, the residual sgptr is advanced. After
433 * will set the SG_RESID_VALID flag in sgptr and dma the scb back into
437 * o A residual has occurred if SG_FULL_RESID is set in sgptr,
447 * o residual_sgptr and sgptr refer to the "next" sg entry
457 /*20*/ uint32_t sgptr; member in struct:hardware_scb
H A Daic7xxx_osm.c1560 scb->hscb->sgptr =
1570 scb->hscb->sgptr = ahc_htole32(SG_LIST_NULL);
H A Daic79xx.h451 * transfer. The sgptr field is initialized to the bus address for
456 * fields). If no transfer is to occur, sgptr is set to SG_LIST_NULL.
459 * the residual sgptr and datacnt are loaded from the sgptr and the
461 * loaded into the hardware, the residual sgptr is advanced. After
467 * sgptr and dma the scb back into host memory. To sumarize:
470 * o A residual has occurred if SG_FULL_RESID is set in sgptr,
482 * o residual_sgptr and sgptr refer to the "next" sg entry
499 /*36*/ uint32_t sgptr; member in struct:hardware_scb
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/scsi/aic7xxx/
H A Daic79xx_inline.h100 void *sgptr, dma_addr_t addr,
H A Daic79xx_core.c415 void *sgptr, dma_addr_t addr, bus_size_t len, int last)
422 sg = (struct ahd_dma64_seg *)sgptr;
429 sg = (struct ahd_dma_seg *)sgptr;
490 scb->hscb->sgptr = ahd_htole32(scb->sg_list_busaddr|SG_FULL_RESID);
496 scb->hscb->sgptr = ahd_htole32(SG_LIST_NULL);
1056 uint32_t sgptr; local
1058 sgptr = ahd_le32toh(scb->hscb->sgptr);
1059 if ((sgptr & SG_STATUS_VALID) != 0)
1066 uint32_t sgptr; local
414 ahd_sg_setup(struct ahd_softc *ahd, struct scb *scb, void *sgptr, dma_addr_t addr, bus_size_t len, int last) argument
1393 uint32_t sgptr; local
1438 uint32_t sgptr; local
1507 uint32_t sgptr; local
5636 uint32_t sgptr; local
5767 uint32_t sgptr; local
9063 uint32_t sgptr; local
[all...]
H A Daic7xxx_core.c430 uint32_t sgptr; local
432 sgptr = ahc_le32toh(scb->hscb->sgptr);
433 if ((sgptr & SG_RESID_VALID) != 0)
1133 hscb->sgptr = scb->sg_list_phys | SG_FULL_RESID;
1134 hscb->sgptr = ahc_htole32(hscb->sgptr);
4132 uint32_t sgptr; local
4134 sgptr = ahc_inb(ahc, SCB_RESIDUAL_SGPTR);
4135 if ((sgptr
4221 uint32_t sgptr; local
6593 uint32_t sgptr; local
[all...]
H A Daic7xxx.h418 * transfer. The sgptr field is initialized to the bus address for
423 * fields). If no transfer is to occur, sgptr is set to SG_LIST_NULL.
426 * the residual sgptr and datacnt are loaded from the sgptr and the
428 * loaded into the hardware, the residual sgptr is advanced. After
433 * will set the SG_RESID_VALID flag in sgptr and dma the scb back into
437 * o A residual has occurred if SG_FULL_RESID is set in sgptr,
447 * o residual_sgptr and sgptr refer to the "next" sg entry
457 /*20*/ uint32_t sgptr; member in struct:hardware_scb
H A Daic7xxx_osm.c1560 scb->hscb->sgptr =
1570 scb->hscb->sgptr = ahc_htole32(SG_LIST_NULL);
H A Daic79xx.h451 * transfer. The sgptr field is initialized to the bus address for
456 * fields). If no transfer is to occur, sgptr is set to SG_LIST_NULL.
459 * the residual sgptr and datacnt are loaded from the sgptr and the
461 * loaded into the hardware, the residual sgptr is advanced. After
467 * sgptr and dma the scb back into host memory. To sumarize:
470 * o A residual has occurred if SG_FULL_RESID is set in sgptr,
482 * o residual_sgptr and sgptr refer to the "next" sg entry
499 /*36*/ uint32_t sgptr; member in struct:hardware_scb

Completed in 287 milliseconds