Lines Matching refs:sgptr
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;
3680 sgptr = ahc_inb(ahc, SCB_RESIDUAL_SGPTR);
3681 if ((sgptr & SG_LIST_NULL) != 0
3695 /* Pull in all of the sgptr */
3696 sgptr = ahc_inl(ahc, SCB_RESIDUAL_SGPTR);
3699 if ((sgptr & SG_LIST_NULL) != 0) {
3712 sgptr &= SG_PTR_MASK;
3714 sg = ahc_sg_bus_to_virt(scb, sgptr);
3740 sgptr = ahc_sg_virt_to_bus(scb, sg);
3742 ahc_outl(ahc, SCB_RESIDUAL_SGPTR, sgptr);
3767 uint32_t sgptr;
3773 sgptr = (ahc_inb(ahc, SCB_RESIDUAL_SGPTR + 3) << 24)
3778 sgptr &= SG_PTR_MASK;
3779 sg = ahc_sg_bus_to_virt(scb, sgptr);
6230 uint32_t sgptr;
6237 * SG_RESID_VALID clear in sgptr.
6240 * sgptr has SG_FULL_RESID set.
6243 * last transfer, so sgptr was
6251 sgptr = aic_le32toh(hscb->sgptr);
6252 if ((sgptr & SG_RESID_VALID) == 0)
6255 sgptr &= ~SG_RESID_VALID;
6257 if ((sgptr & SG_LIST_NULL) != 0)
6263 if ((sgptr & SG_FULL_RESID) != 0) {
6270 panic("Bogus resid sgptr value 0x%x\n", resid_sgptr);