Searched refs:resid_sgptr (Results 1 – 2 of 2) sorted by relevance
6626 uint32_t resid_sgptr; in ahc_calc_residual() local6657 resid_sgptr = ahc_le32toh(spkt->residual_sg_ptr); in ahc_calc_residual()6661 } else if ((resid_sgptr & SG_LIST_NULL) != 0) { in ahc_calc_residual()6664 } else if ((resid_sgptr & ~SG_PTR_MASK) != 0) { in ahc_calc_residual()6665 panic("Bogus resid sgptr value 0x%x\n", resid_sgptr); in ahc_calc_residual()6674 sg = ahc_sg_bus_to_virt(scb, resid_sgptr & SG_PTR_MASK); in ahc_calc_residual()
9093 uint32_t resid_sgptr; in ahd_calc_residual() local9130 resid_sgptr = ahd_le32toh(spkt->residual_sgptr); in ahd_calc_residual()9134 } else if ((resid_sgptr & SG_LIST_NULL) != 0) { in ahd_calc_residual()9137 } else if ((resid_sgptr & SG_OVERRUN_RESID) != 0) { in ahd_calc_residual()9145 } else if ((resid_sgptr & ~SG_PTR_MASK) != 0) { in ahd_calc_residual()9146 panic("Bogus resid sgptr value 0x%x\n", resid_sgptr); in ahd_calc_residual()9156 sg = ahd_sg_bus_to_virt(ahd, scb, resid_sgptr & SG_PTR_MASK); in ahd_calc_residual()