Home
last modified time | relevance | path

Searched refs:BufOffset (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
641 BufOffset = le32_to_cpu(buf->InformationBufferOffset); in rndis_set_response()
643 (BufOffset > RNDIS_MAX_TOTAL_SIZE) || in rndis_set_response()
644 (BufOffset + 8 >= RNDIS_MAX_TOTAL_SIZE)) in rndis_set_response()
654 pr_debug("%s: Offset: %d\n", __func__, BufOffset); in rndis_set_response()
658 pr_debug("%02x ", *(((u8 *) buf) + i + 8 + BufOffset)); 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
863 BufOffset = get_unaligned_le32(&buf->InformationBufferOffset); in rndis_set_response()
867 debug("%s: Offset: %d\n", __func__, BufOffset); in rndis_set_response()
871 debug("%02x ", *(((u8 *) buf) + i + 8 + BufOffset)); in rndis_set_response()
880 ((u8 *) buf) + 8 + BufOffset, BufLength, r)) in rndis_set_response()