Lines Matching refs:sgptr
438 uint32_t sgptr; in ahc_update_residual() local
440 sgptr = ahc_le32toh(scb->hscb->sgptr); in ahc_update_residual()
441 if ((sgptr & SG_RESID_VALID) != 0) in ahc_update_residual()
1141 hscb->sgptr = scb->sg_list_phys | SG_FULL_RESID; in ahc_handle_seqint()
1142 hscb->sgptr = ahc_htole32(hscb->sgptr); in ahc_handle_seqint()
2119 ahc_le32toh(hscb->sgptr),
4182 uint32_t sgptr; in ahc_handle_ign_wide_residue() local
4184 sgptr = ahc_inb(ahc, SCB_RESIDUAL_SGPTR); in ahc_handle_ign_wide_residue()
4185 if ((sgptr & SG_LIST_NULL) != 0 in ahc_handle_ign_wide_residue()
4200 sgptr = ahc_inl(ahc, SCB_RESIDUAL_SGPTR); in ahc_handle_ign_wide_residue()
4203 if ((sgptr & SG_LIST_NULL) != 0) { in ahc_handle_ign_wide_residue()
4216 sgptr &= SG_PTR_MASK; in ahc_handle_ign_wide_residue()
4218 sg = ahc_sg_bus_to_virt(scb, sgptr); in ahc_handle_ign_wide_residue()
4244 sgptr = ahc_sg_virt_to_bus(scb, sg); in ahc_handle_ign_wide_residue()
4246 ahc_outl(ahc, SCB_RESIDUAL_SGPTR, sgptr); in ahc_handle_ign_wide_residue()
4271 uint32_t sgptr; in ahc_reinitialize_dataptrs() local
4277 sgptr = (ahc_inb(ahc, SCB_RESIDUAL_SGPTR + 3) << 24) in ahc_reinitialize_dataptrs()
4282 sgptr &= SG_PTR_MASK; in ahc_reinitialize_dataptrs()
4283 sg = ahc_sg_bus_to_virt(scb, sgptr); in ahc_reinitialize_dataptrs()
6658 uint32_t sgptr; in ahc_calc_residual() local
6679 sgptr = ahc_le32toh(hscb->sgptr); in ahc_calc_residual()
6680 if ((sgptr & SG_RESID_VALID) == 0) in ahc_calc_residual()
6683 sgptr &= ~SG_RESID_VALID; in ahc_calc_residual()
6685 if ((sgptr & SG_LIST_NULL) != 0) in ahc_calc_residual()
6691 if ((sgptr & SG_FULL_RESID) != 0) { in ahc_calc_residual()