Searched refs:resid_sgptr (Results 1 – 2 of 2) sorted by relevance
6660 uint32_t resid_sgptr; in ahc_calc_residual() local6691 resid_sgptr = ahc_le32toh(spkt->residual_sg_ptr); in ahc_calc_residual()6695 } else if ((resid_sgptr & SG_LIST_NULL) != 0) { in ahc_calc_residual()6698 } else if ((resid_sgptr & ~SG_PTR_MASK) != 0) { in ahc_calc_residual()6699 panic("Bogus resid sgptr value 0x%x\n", resid_sgptr); in ahc_calc_residual()6708 sg = ahc_sg_bus_to_virt(scb, resid_sgptr & SG_PTR_MASK); in ahc_calc_residual()
9145 uint32_t resid_sgptr; in ahd_calc_residual() local9182 resid_sgptr = ahd_le32toh(spkt->residual_sgptr); in ahd_calc_residual()9186 } else if ((resid_sgptr & SG_LIST_NULL) != 0) { in ahd_calc_residual()9189 } else if ((resid_sgptr & SG_OVERRUN_RESID) != 0) { in ahd_calc_residual()9197 } else if ((resid_sgptr & ~SG_PTR_MASK) != 0) { in ahd_calc_residual()9198 panic("Bogus resid sgptr value 0x%x\n", resid_sgptr); in ahd_calc_residual()9208 sg = ahd_sg_bus_to_virt(ahd, scb, resid_sgptr & SG_PTR_MASK); in ahd_calc_residual()