Home
last modified time | relevance | path

Searched refs:BufLength (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/usb/gadget/function/
H A Drndis.c636 u32 BufLength, BufOffset; in rndis_set_response() local
640 BufLength = le32_to_cpu(buf->InformationBufferLength); in rndis_set_response()
642 if ((BufLength > RNDIS_MAX_TOTAL_SIZE) || in rndis_set_response()
653 pr_debug("%s: Length: %d\n", __func__, BufLength); in rndis_set_response()
657 for (i = 0; i < BufLength; i++) { in rndis_set_response()
668 ((u8 *)buf) + 8 + BufOffset, BufLength, r)) in rndis_set_response()
/openbmc/u-boot/drivers/usb/gadget/
H A Drndis.c853 u32 BufLength, BufOffset; in rndis_set_response() local
862 BufLength = get_unaligned_le32(&buf->InformationBufferLength); in rndis_set_response()
866 debug("%s: Length: %d\n", __func__, BufLength); in rndis_set_response()
870 for (i = 0; i < BufLength; i++) in rndis_set_response()
880 ((u8 *) buf) + 8 + BufOffset, BufLength, r)) in rndis_set_response()