Lines Matching refs:s_sacklen
1597 unsigned int sacklen, s_sacklen; in nsp32_busfree_occur() local
1603 s_sacklen = nsp32_read4(base, SAVED_SACK_CNT); in nsp32_busfree_occur()
1609 if (s_sacklen > 0) { in nsp32_busfree_occur()
1621 if (sacklen != s_sacklen) { in nsp32_busfree_occur()
1627 nsp32_adjust_busfree(SCpnt, s_sacklen); in nsp32_busfree_occur()
1719 static void nsp32_adjust_busfree(struct scsi_cmnd *SCpnt, unsigned int s_sacklen) in nsp32_adjust_busfree() argument
1732 s_sacklen -= le32_to_cpu(sgt[old_entry].addr) & 3; in nsp32_adjust_busfree()
1741 if (sentlen > s_sacklen) { in nsp32_adjust_busfree()
1751 if (sentlen == s_sacklen) { in nsp32_adjust_busfree()
1760 restlen = sentlen - s_sacklen; in nsp32_adjust_busfree()
2004 unsigned int s_sacklen; in nsp32_msgin_occur() local
2006 s_sacklen = nsp32_read4(base, SAVED_SACK_CNT); in nsp32_msgin_occur()
2007 if ((execph & MSGIN_02_VALID) && (s_sacklen > 0)) { in nsp32_msgin_occur()
2008 nsp32_adjust_busfree(SCpnt, s_sacklen); in nsp32_msgin_occur()