Lines Matching refs:sgptr

431 	uint32_t sgptr;  in ahc_update_residual()  local
433 sgptr = ahc_le32toh(scb->hscb->sgptr); in ahc_update_residual()
434 if ((sgptr & SG_RESID_VALID) != 0) in ahc_update_residual()
1134 hscb->sgptr = scb->sg_list_phys | SG_FULL_RESID; in ahc_handle_seqint()
1135 hscb->sgptr = ahc_htole32(hscb->sgptr); in ahc_handle_seqint()
2095 ahc_le32toh(hscb->sgptr),
4157 uint32_t sgptr; in ahc_handle_ign_wide_residue() local
4159 sgptr = ahc_inb(ahc, SCB_RESIDUAL_SGPTR); in ahc_handle_ign_wide_residue()
4160 if ((sgptr & SG_LIST_NULL) != 0 in ahc_handle_ign_wide_residue()
4175 sgptr = ahc_inl(ahc, SCB_RESIDUAL_SGPTR); in ahc_handle_ign_wide_residue()
4178 if ((sgptr & SG_LIST_NULL) != 0) { in ahc_handle_ign_wide_residue()
4191 sgptr &= SG_PTR_MASK; in ahc_handle_ign_wide_residue()
4193 sg = ahc_sg_bus_to_virt(scb, sgptr); in ahc_handle_ign_wide_residue()
4219 sgptr = ahc_sg_virt_to_bus(scb, sg); in ahc_handle_ign_wide_residue()
4221 ahc_outl(ahc, SCB_RESIDUAL_SGPTR, sgptr); in ahc_handle_ign_wide_residue()
4246 uint32_t sgptr; in ahc_reinitialize_dataptrs() local
4252 sgptr = (ahc_inb(ahc, SCB_RESIDUAL_SGPTR + 3) << 24) in ahc_reinitialize_dataptrs()
4257 sgptr &= SG_PTR_MASK; in ahc_reinitialize_dataptrs()
4258 sg = ahc_sg_bus_to_virt(scb, sgptr); in ahc_reinitialize_dataptrs()
6592 uint32_t sgptr; in ahc_calc_residual() local
6613 sgptr = ahc_le32toh(hscb->sgptr); in ahc_calc_residual()
6614 if ((sgptr & SG_RESID_VALID) == 0) in ahc_calc_residual()
6617 sgptr &= ~SG_RESID_VALID; in ahc_calc_residual()
6619 if ((sgptr & SG_LIST_NULL) != 0) in ahc_calc_residual()
6625 if ((sgptr & SG_FULL_RESID) != 0) { in ahc_calc_residual()