Searched refs:resid_sgptr (Results 1 – 2 of 2) sorted by relevance
6593 uint32_t resid_sgptr; in ahc_calc_residual() local6624 resid_sgptr = ahc_le32toh(spkt->residual_sg_ptr); in ahc_calc_residual()6628 } else if ((resid_sgptr & SG_LIST_NULL) != 0) { in ahc_calc_residual()6631 } else if ((resid_sgptr & ~SG_PTR_MASK) != 0) { in ahc_calc_residual()6632 panic("Bogus resid sgptr value 0x%x\n", resid_sgptr); in ahc_calc_residual()6641 sg = ahc_sg_bus_to_virt(scb, resid_sgptr & SG_PTR_MASK); in ahc_calc_residual()
9049 uint32_t resid_sgptr; in ahd_calc_residual() local9086 resid_sgptr = ahd_le32toh(spkt->residual_sgptr); in ahd_calc_residual()9090 } else if ((resid_sgptr & SG_LIST_NULL) != 0) { in ahd_calc_residual()9093 } else if ((resid_sgptr & SG_OVERRUN_RESID) != 0) { in ahd_calc_residual()9101 } else if ((resid_sgptr & ~SG_PTR_MASK) != 0) { in ahd_calc_residual()9102 panic("Bogus resid sgptr value 0x%x\n", resid_sgptr); in ahd_calc_residual()9112 sg = ahd_sg_bus_to_virt(ahd, scb, resid_sgptr & SG_PTR_MASK); in ahd_calc_residual()