From 6a132416359e36ed77b1319674d7ccb9c1a82694 Mon Sep 17 00:00:00 2001 From: Siva Durga Prasad Paladugu Date: Wed, 29 Apr 2015 10:42:10 +0530 Subject: ci_udc: Update the ci_udc driver to support bulk transfers Update the ci_udc driver to support bulk transfer and also added capability of having multiple dtds if requested data is more than 16K. These changes are tested for both the DFU and lthor. Signed-off-by: Siva Durga Prasad Paladugu --- drivers/usb/gadget/ci_udc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/usb/gadget/ci_udc.h') diff --git a/drivers/usb/gadget/ci_udc.h b/drivers/usb/gadget/ci_udc.h index 346164a..95cc079 100644 --- a/drivers/usb/gadget/ci_udc.h +++ b/drivers/usb/gadget/ci_udc.h @@ -86,6 +86,7 @@ struct ci_req { /* Buffer for the current transfer. Either req.buf/len or b_buf/len */ uint8_t *hw_buf; uint32_t hw_len; + uint32_t dtd_count; }; struct ci_ep { -- cgit v1.1