Lines Matching refs:sgptr
2291 ahd_le32toh(hscb->sgptr), in ahd_print_scb()
4420 uint32_t sgptr; in ahd_handle_ign_wide_residue() local
4422 sgptr = ahd_inb_scbram(ahd, SCB_RESIDUAL_SGPTR); in ahd_handle_ign_wide_residue()
4423 if ((sgptr & SG_LIST_NULL) != 0 in ahd_handle_ign_wide_residue()
4437 sgptr = ahd_inl_scbram(ahd, SCB_RESIDUAL_SGPTR); in ahd_handle_ign_wide_residue()
4439 if ((sgptr & SG_LIST_NULL) != 0) { in ahd_handle_ign_wide_residue()
4450 sgptr &= SG_PTR_MASK; in ahd_handle_ign_wide_residue()
4454 sg = ahd_sg_bus_to_virt(ahd, scb, sgptr); in ahd_handle_ign_wide_residue()
4481 sgptr = ahd_sg_virt_to_bus(ahd, scb, in ahd_handle_ign_wide_residue()
4487 sg = ahd_sg_bus_to_virt(ahd, scb, sgptr); in ahd_handle_ign_wide_residue()
4514 sgptr = ahd_sg_virt_to_bus(ahd, scb, in ahd_handle_ign_wide_residue()
4527 ahd_outl(ahd, SCB_RESIDUAL_SGPTR, sgptr); in ahd_handle_ign_wide_residue()
4549 uint32_t sgptr; in ahd_reinitialize_dataptrs() local
4583 sgptr = (ahd_inb_scbram(ahd, SCB_RESIDUAL_SGPTR + 3) << 24) in ahd_reinitialize_dataptrs()
4587 sgptr &= SG_PTR_MASK; in ahd_reinitialize_dataptrs()
4596 sg = ahd_sg_bus_to_virt(ahd, scb, sgptr); in ahd_reinitialize_dataptrs()
4611 sg = ahd_sg_bus_to_virt(ahd, scb, sgptr); in ahd_reinitialize_dataptrs()
7877 uint32_t sgptr; in ahd_calc_residual() local
7898 sgptr = ahd_le32toh(hscb->sgptr); in ahd_calc_residual()
7899 if ((sgptr & SG_STATUS_VALID) == 0) in ahd_calc_residual()
7902 sgptr &= ~SG_STATUS_VALID; in ahd_calc_residual()
7904 if ((sgptr & SG_LIST_NULL) != 0) in ahd_calc_residual()
7916 if ((sgptr & SG_FULL_RESID) != 0) { in ahd_calc_residual()