summaryrefslogtreecommitdiff
path: root/include/linux/usb/xhci-dbgp.h
diff options
context:
space:
mode:
authorPaul Cercueil <paul@crapouillou.net>2024-01-30 15:23:37 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-02-17 19:00:09 +0300
commit99f638dd49ca80538addec6b3733ddb5784c9373 (patch)
treee121218bc1317ae33cd00ef896bfda2e2aaff720 /include/linux/usb/xhci-dbgp.h
parent7ad818eef647fa5d4614a335107ce28cbf1c13c3 (diff)
downloadlinux-99f638dd49ca80538addec6b3733ddb5784c9373.tar.xz
usb: gadget: Support already-mapped DMA SGs
Add a new 'sg_was_mapped' field to the struct usb_request. This field can be used to indicate that the scatterlist associated to the USB transfer has already been mapped into the DMA space, and it does not have to be done internally. Signed-off-by: Paul Cercueil <paul@crapouillou.net> Link: https://lore.kernel.org/r/20240130122340.54813-2-paul@crapouillou.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb/xhci-dbgp.h')
0 files changed, 0 insertions, 0 deletions