Lines Matching refs:u32Cnt
820 U32 u32Cnt; in ms_qtd_pack() local
828 u32Cnt = 0x1000 - (tBufAddr & 0x0fff); /* rest of that page */ in ms_qtd_pack()
829 if (total < u32Cnt) /* ... iff needed */ in ms_qtd_pack()
830 u32Cnt = total; in ms_qtd_pack()
837 for (i = 1; u32Cnt < total && i < 5; i++) in ms_qtd_pack()
842 u32Cnt = ((u32Cnt+0x1000) < total) ? (u32Cnt+0x1000) : total; in ms_qtd_pack()
846 if (u32Cnt != total) in ms_qtd_pack()
847 u32Cnt -= (u32Cnt % iMaxpkt); in ms_qtd_pack()
849 pQtd->hw_token = (u32Cnt << 16) | iToken; in ms_qtd_pack()
850 pQtd->length = u32Cnt; in ms_qtd_pack()
860 return u32Cnt; in ms_qtd_pack()