Searched refs:sgptr (Results 1 - 7 of 7) sorted by relevance
/freebsd-10.3-release/sys/dev/aic7xxx/ |
H A D | aic79xx_inline.h | 234 void *sgptr, bus_addr_t addr, 245 void *sgptr, bus_addr_t addr, bus_size_t len, int last) 252 sg = (struct ahd_dma64_seg *)sgptr; 259 sg = (struct ahd_dma_seg *)sgptr; 322 scb->hscb->sgptr = aic_htole32(scb->sg_list_busaddr|SG_FULL_RESID); 328 scb->hscb->sgptr = aic_htole32(SG_LIST_NULL); 473 uint32_t sgptr; local 475 sgptr = aic_le32toh(scb->hscb->sgptr); 476 if ((sgptr 244 ahd_sg_setup(struct ahd_softc *ahd, struct scb *scb, void *sgptr, bus_addr_t addr, bus_size_t len, int last) argument 489 uint32_t sgptr; local [all...] |
H A D | aic7xxx_inline.h | 273 uint32_t sgptr; local 275 sgptr = aic_le32toh(scb->hscb->sgptr); 276 if ((sgptr & SG_RESID_VALID) != 0)
|
H A D | aic79xx.c | 626 uint32_t sgptr; local 631 sgptr = ahd_inl_scbram(ahd, SCB_SGPTR) & ~SG_FULL_RESID; 632 ahd_outb(ahd, SCB_SGPTR, sgptr); 639 sgptr |= LAST_SEG; 645 ahd_outb(ahd, SG_CACHE_PRE, sgptr); 652 ahd_outl(ahd, SCB_RESIDUAL_SGPTR, sgptr & SG_PTR_MASK); 671 uint32_t sgptr; local 700 sgptr = ahd_inl_scbram(ahd, SCB_RESIDUAL_SGPTR); 710 * the other bytes of the sgptr too. 713 && (sgptr 740 uint32_t sgptr; local 4910 uint32_t sgptr; local 5041 uint32_t sgptr; local 8410 uint32_t sgptr; local [all...] |
H A D | aic7xxx.c | 575 hscb->sgptr = scb->sg_list_phys | SG_FULL_RESID; 576 hscb->sgptr = aic_htole32(hscb->sgptr); 1551 printf(" dataptr:%#x datacnt:%#x sgptr:%#x tag:%#x\n", 1554 aic_le32toh(hscb->sgptr), 3678 uint32_t sgptr; local 3680 sgptr = ahc_inb(ahc, SCB_RESIDUAL_SGPTR); 3681 if ((sgptr & SG_LIST_NULL) != 0 3695 /* Pull in all of the sgptr */ 3696 sgptr 3767 uint32_t sgptr; local 6230 uint32_t sgptr; local [all...] |
H A D | aic7xxx_osm.c | 979 scb->hscb->sgptr = aic_htole32(scb->sg_list_phys|SG_FULL_RESID); 1038 scb->hscb->sgptr = aic_htole32(SG_LIST_NULL);
|
H A D | aic79xx.h | 467 * transfer. The sgptr field is initialized to the bus address for 472 * fields). If no transfer is to occur, sgptr is set to SG_LIST_NULL. 475 * the residual sgptr and datacnt are loaded from the sgptr and the 477 * loaded into the hardware, the residual sgptr is advanced. After 483 * sgptr and dma the scb back into host memory. To sumarize: 486 * o A residual has occurred if SG_FULL_RESID is set in sgptr, 498 * o residual_sgptr and sgptr refer to the "next" sg entry 515 /*36*/ uint32_t sgptr; member in struct:hardware_scb
|
H A D | aic7xxx.h | 437 * transfer. The sgptr field is initialized to the bus address for 442 * fields). If no transfer is to occur, sgptr is set to SG_LIST_NULL. 445 * the residual sgptr and datacnt are loaded from the sgptr and the 447 * loaded into the hardware, the residual sgptr is advanced. After 452 * will set the SG_RESID_VALID flag in sgptr and dma the scb back into 456 * o A residual has occurred if SG_FULL_RESID is set in sgptr, 466 * o residual_sgptr and sgptr refer to the "next" sg entry 476 /*20*/ uint32_t sgptr; member in struct:hardware_scb
|
Completed in 141 milliseconds