Home
last modified time | relevance | path

Searched refs:dev_len (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/usb/usbip/
Dvudc_transfer.c191 unsigned int host_len, dev_len, len; in transfer() local
205 dev_len = req->req.length - req->req.actual; in transfer()
206 len = min(host_len, dev_len); in transfer()
244 if (host_len == dev_len) { in transfer()
249 if (dev_len > host_len) in transfer()
255 if (host_len > dev_len) in transfer()
/Linux-v5.4/drivers/usb/gadget/udc/
Ddummy_hcd.c1390 unsigned host_len, dev_len, len; in transfer() local
1407 dev_len = req->req.length - req->req.actual; in transfer()
1408 len = min(host_len, dev_len); in transfer()
1454 if (host_len == dev_len) { in transfer()
1459 if (dev_len > host_len) in transfer()
1465 if (host_len > dev_len) in transfer()
/Linux-v5.4/sound/pci/hda/
Dhda_codec.c330 int i, dev_len, devices; in snd_hda_get_devices() local
336 dev_len = parm + 1; in snd_hda_get_devices()
337 dev_len = dev_len < max_devices ? dev_len : max_devices; in snd_hda_get_devices()
340 while (devices < dev_len) { in snd_hda_get_devices()
349 if (devices >= dev_len) in snd_hda_get_devices()