Searched defs:reply_len (Results 1 - 7 of 7) sorted by relevance

/drivers/net/usb/
H A Drndis_host.c227 * specified by @in_len. If @reply_len is not set to -1 then the reply
241 void **reply, int *reply_len)
273 if (*reply_len != -1 && len != *reply_len)
277 *reply_len = len;
317 int reply_len; local
398 reply_len = sizeof *phym;
401 0, (void **) &phym, &reply_len);
423 reply_len = ETH_ALEN;
426 48, (void **) &bp, &reply_len);
239 rndis_query(struct usbnet *dev, struct usb_interface *intf, void *buf, u32 oid, u32 in_len, void **reply, int *reply_len) argument
[all...]
/drivers/s390/crypto/
H A Dzcrypt_pcicc.c357 unsigned int reply_len, pad_len; local
386 reply_len = le16_to_cpu(msg->length) - 2;
387 if (reply_len > outputdatalength)
390 * For all encipher requests, the length of the ciphertext (reply_len)
399 pad_len = outputdatalength - reply_len;
410 if (copy_to_user(outputdata + pad_len, data, reply_len))
H A Dzcrypt_msgtype6.c553 unsigned int reply_len, pad_len; local
582 reply_len = msg->length - 2;
583 if (reply_len > outputdatalength)
586 * For all encipher requests, the length of the ciphertext (reply_len)
595 pad_len = outputdatalength - reply_len;
606 if (copy_to_user(outputdata + pad_len, data, reply_len))
/drivers/macintosh/
H A Dvia-macii.c115 static int reply_len; /* number of bytes received in reply_buf or req->reply */ variable
222 req.reply_len = 0;
266 req->reply_len = 0;
420 reply_len = 0;
426 reply_len = 1;
493 reply_len = 0;
504 BUG_ON(reply_len > 15);
507 reply_len++;
520 req->reply_len = reply_len;
[all...]
H A Dvia-maciisi.c70 static int reply_len; variable
330 req->reply_len = 0;
479 reply_len = 0;
503 reply_len = 0;
552 if (reply_len++ > 16) {
585 req->reply_len = reply_ptr - req->reply;
588 if (req->reply_len <= 2 || (req->reply[1] & 2) != 0) {
590 req->reply_len = 0;
593 req->reply_len -= 2;
594 memmove(req->reply, req->reply + 2, req->reply_len);
[all...]
H A Dsmu.c187 int reply_len; local
205 reply_len = rc == 0 ? smu->cmd_buf->length : 0;
206 DPRINTK("SMU: reply len: %d\n", reply_len);
207 if (reply_len > cmd->reply_len) {
210 reply_len, cmd->reply_len);
211 reply_len = cmd->reply_len;
213 cmd->reply_len
[all...]
/drivers/media/usb/gspca/
H A Dkinect.c134 unsigned int cmd_len, void *replybuf, unsigned int reply_len)
197 if (actual_len > reply_len) {
199 reply_len, actual_len);
200 memcpy(replybuf, ibuf+sizeof(*rhdr), reply_len);
133 send_cmd(struct gspca_dev *gspca_dev, uint16_t cmd, void *cmdbuf, unsigned int cmd_len, void *replybuf, unsigned int reply_len) argument

Completed in 195 milliseconds