Lines Matching refs:sgptr
430 uint32_t sgptr;
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;
4134 sgptr = ahc_inb(ahc, SCB_RESIDUAL_SGPTR);
4135 if ((sgptr & SG_LIST_NULL) != 0
4149 /* Pull in all of the sgptr */
4150 sgptr = ahc_inl(ahc, SCB_RESIDUAL_SGPTR);
4153 if ((sgptr & SG_LIST_NULL) != 0) {
4166 sgptr &= SG_PTR_MASK;
4168 sg = ahc_sg_bus_to_virt(scb, sgptr);
4194 sgptr = ahc_sg_virt_to_bus(scb, sg);
4196 ahc_outl(ahc, SCB_RESIDUAL_SGPTR, sgptr);
4221 uint32_t sgptr;
4227 sgptr = (ahc_inb(ahc, SCB_RESIDUAL_SGPTR + 3) << 24)
4232 sgptr &= SG_PTR_MASK;
4233 sg = ahc_sg_bus_to_virt(scb, sgptr);
6593 uint32_t sgptr;
6600 * SG_RESID_VALID clear in sgptr.
6603 * sgptr has SG_FULL_RESID set.
6606 * last transfer, so sgptr was
6614 sgptr = ahc_le32toh(hscb->sgptr);
6615 if ((sgptr & SG_RESID_VALID) == 0)
6618 sgptr &= ~SG_RESID_VALID;
6620 if ((sgptr & SG_LIST_NULL) != 0)
6626 if ((sgptr & SG_FULL_RESID) != 0) {
6633 panic("Bogus resid sgptr value 0x%x\n", resid_sgptr);