Lines Matching refs:wraplen
294 unsigned int wraplen;
299 wraplen = (KINGSUN_SND_PACKET_SIZE & ~0x7) - 0x10;
300 if (wraplen > kingsun->tx_buf_clear_used)
301 wraplen = kingsun->tx_buf_clear_used;
305 padlen = obfuscate_tx_buffer(kingsun->tx_buf_clear, wraplen,
310 kingsun->tx_setuprequest->wValue = cpu_to_le16(wraplen);
322 kingsun->tx_buf_clear_sent = (ret == 0) ? wraplen : 0;
391 unsigned int wraplen;
405 wraplen =
407 kingsun->tx_buf_clear_used = wraplen;