Searched refs:itr_size (Results 1 – 4 of 4) sorted by relevance
/linux-3.4.99/drivers/usb/wusbcore/ |
D | wa-rpipe.c | 267 size_t itr_size; in rpipe_epc_find() local 276 itr_size = ep->extralen; in rpipe_epc_find() 278 while (itr_size > 0) { in rpipe_epc_find() 279 if (itr_size < sizeof(*hdr)) { in rpipe_epc_find() 283 itr - (void *) ep->extra, itr_size); in rpipe_epc_find() 291 if (hdr->bLength > itr_size) { in rpipe_epc_find() 297 hdr->bLength, itr_size); in rpipe_epc_find() 301 itr_size -= hdr->bDescriptorType; in rpipe_epc_find()
|
/linux-3.4.99/drivers/usb/host/ |
D | hwa-hc.c | 528 size_t itr_size, actconfig_idx; in wa_fill_descr() local 533 itr_size = le16_to_cpu(usb_dev->actconfig->desc.wTotalLength); in wa_fill_descr() 534 while (itr_size >= sizeof(*hdr)) { in wa_fill_descr() 540 itr_size); in wa_fill_descr() 544 itr_size -= hdr->bLength; in wa_fill_descr() 551 if (hdr->bLength > itr_size) { /* is it available? */ in wa_fill_descr() 554 itr_size, hdr->bLength); in wa_fill_descr() 605 size_t itr_size, needed, bytes; in hwahc_security_create() local 613 itr_size = le16_to_cpu(usb_dev->actconfig->desc.wTotalLength); in hwahc_security_create() 614 top = itr + itr_size; in hwahc_security_create()
|
/linux-3.4.99/drivers/uwb/ |
D | hwa-rc.c | 748 size_t itr_size, actconfig_idx; in hwarc_get_version() local 754 itr_size = le16_to_cpu(usb_dev->actconfig->desc.wTotalLength); in hwarc_get_version() 755 while (itr_size >= sizeof(*hdr)) { in hwarc_get_version() 761 itr_size); in hwarc_get_version() 765 itr_size -= hdr->bLength; in hwarc_get_version() 772 if (hdr->bLength > itr_size) { /* is it available? */ in hwarc_get_version() 775 itr_size, hdr->bLength); in hwarc_get_version()
|
/linux-3.4.99/drivers/uwb/i1480/dfu/ |
D | usb.c | 165 size_t itr_size = min(read_size, size - itr); in i1480_usb_read() local 170 i1480->cmd_buf + itr, itr_size, in i1480_usb_read() 177 if (result != itr_size) { in i1480_usb_read() 181 __func__, result, itr_size); in i1480_usb_read()
|